WordPress Infinite Scroll – Ajax Load More - Version 5.5.0.1

Version Description

  • September 15, 2021 =

  • FIX - Fixed possible issue with page location and document title being passed incorrectly to Google Analytics when using the Single Posts add-on.

  • FIX - Added various admin fixes for WordPress 5.8.

  • FIX - Removed PHP warnings that could appear on initial plugin installation if WP_DEBUG is enabled.

  • FIX - Attempted fix of license activation/deactivation problems some users have experienced.

  • NEW - Added new almWooCommerceLoaded and almElementorLoaded JavaScript callback function that is triggered after a successful Ajax load when using the WooCommerce and Elementor add-ons.

Download this release

Release Info

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

Code changes from version 5.5.0 to 5.5.0.1

README.txt CHANGED
@@ -1,10 +1,11 @@
1
  === WordPress Infinite Scroll - Ajax Load More ===
2
  Contributors: dcooney, connekthq
3
  Donate link: https://connekthq.com/donate/
4
- Tags: infinite scroll, load more, scroll, infinite, lazy load, lazy loading, endless scroll, pagination, ajax pagination, ajax, ajax posts, woocommerce, ajax load more, masonry
5
  Requires at least: 4.4
 
6
  Tested up to: 5.8
7
- Stable tag: 5.5.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -73,6 +74,8 @@ The Ajax Load More [Shortcode Builder](https://connekthq.com/plugins/ajax-load-m
73
 
74
  → [View Shortcode Builder](https://connekthq.com/plugins/ajax-load-more/docs/shortcode-builder/)
75
 
 
 
76
  #### Example Ajax Load More Shortcode
77
 
78
  [ajax_load_more post_type="post, portfolio" posts_per_page="6" button_label="Load More"]
@@ -104,39 +107,39 @@ The Ajax Load More [Shortcode Builder](https://connekthq.com/plugins/ajax-load-m
104
 
105
  → [See All Examples](https://connekthq.com/plugins/ajax-load-more/examples/)
106
 
107
- **Note**: The [Custom Repeater Add-On](;;;AllExampleshttpsAllExampleshttpsAllExampleshttpshttps://connekthq.com/plugins/ajax-load-more/custom-repeaters/) has been installed for use on each of our product demos.
108
 
109
  [youtube https://www.youtube.com/watch?v=EQ57i6dkOew]
110
 
111
  ### Add-ons
112
 
113
- The following [add-ons](;;;https://connekthq.com/plugins/ajax-load-more/add-ons/) are available to increase the functionality of Ajax Load More.
114
-
115
- - **[Cache](;;;https://connekthq.com/plugins/ajax-load-more/add-ons/cache/)**: Improve website performance by caching the results of Ajax server requests.
116
- - **[Call to Actions](;;;https://connekthq.com/plugins/ajax-load-more/add-ons/call-to-actions/)**: Extend Ajax Load More with advertisement and call to action content blocks.
117
- - **[Comments](;;;https://connekthq.com/plugins/ajax-load-more/add-ons/comments/)**: Load and display WordPress blog comments using the core Ajax Load More infinite scroll functionality.
118
- - **[Custom Repeaters](;;;https://connekthq.com/plugins/ajax-load-more/add-ons/custom-repeaters/)**: Create, modify and delete repeater templates as you need them with absolutely zero restrictions.
119
- - **[Elementor](;;;https://connekthq.com/plugins/ajax-load-more/add-ons/elementor/)**: Add infinite scroll or load more to your Elementor Posts and WooCommerce listing widgets with Ajax Load More and the intuitive Elementor Widget Connector.
120
- - **[Filters](;;;https://connekthq.com/plugins/ajax-load-more/add-ons/filters/)**: Front-end and admin functionality for creating, managing and displaying Ajax Load More filters.
121
- - **[Layouts](;;;https://connekthq.com/plugins/ajax-load-more/add-ons/layouts/)**: Predefined responsive layouts for Ajax Load More repeater templates.
122
- - **[Next Page](;;;https://connekthq.com/plugins/ajax-load-more/add-ons/next-page/)**: Infinite scroll multipage WordPress content with Ajax Load More and the Next Page add-on.
123
- - **[Paging](;;;https://connekthq.com/plugins/ajax-load-more/add-ons/paging/)**: Replace the default lazy load/infinite scroll functionality of Ajax Load More with a numbered navigation system.
124
- - **[Preloaded](;;;https://connekthq.com/plugins/ajax-load-more/add-ons/preloaded/)**: Load an initial set of posts before sending any Ajax requests to your server.
125
- - **[SEO](;;;https://connekthq.com/plugins/ajax-load-more/add-ons/search-engine-optimization/)**: Generate unique paging URLs with each Ajax Load More query.
126
- - **[Single Post](;;;https://connekthq.com/plugins/ajax-load-more/add-ons/single-post/)**: Enable infinite scrolling of single posts on your WordPress post templates.
127
- - **[Theme Repeaters](;;;https://connekthq.com/plugins/ajax-load-more/add-ons/theme-repeaters/)**: Manage Ajax Load More repeater templates from within your current theme directory.
128
- - **[Users](;;;https://connekthq.com/plugins/ajax-load-more/add-ons/users/)**: Lazy loading WordPress Users with Ajax Load More.
129
- - **[WooCommerce](;;;https://connekthq.com/plugins/ajax-load-more/add-ons/woocommerce/)**: Infinite scroll WooCommerce products with Ajax Load More.
130
 
131
  ### Extensions
132
 
133
- The following free [extensions](;;;https://connekthq.com/plugins/ajax-load-more/extensions/) are available to provide compatibility with popular WordPress plugins and core features.
134
 
135
- - **[Advanced Custom Fields](;;;https://connekthq.com/plugins/ajax-load-more/extensions/advanced-custom-fields/)**: Display field type data with Ajax Load More.
136
- - **[Relevanssi](;;;https://connekthq.com/plugins/ajax-load-more/extensions/relevanssi/)**: Display Relevanssi search results with Ajax Load More.
137
- - **[REST API](;;;https://connekthq.com/plugins/ajax-load-more/extensions/rest-api/)**: Enable compatibility with the WordPress REST API.
138
- - **[SearchWP](;;;https://connekthq.com/plugins/ajax-load-more/extensions/searchwp/)**: Display SearchWP query results with Ajax Load More.
139
- - **[Term Query](;;;https://wordpress.org/plugins/ajax-load-more-for-terms/)**: Infinite scroll WordPress Terms.
140
 
141
  ### Callback Functions
142
 
@@ -206,7 +209,7 @@ Repeater template data is saved into your WordPress database as well as written
206
  = Can I use custom fields in a repeater? =
207
 
208
  Yes, but you will need to define $post at the top of the repeater before requesting your custom fields. Like so:
209
- global $post;
210
 
211
  = Which browsers are supported? =
212
 
@@ -260,33 +263,41 @@ How to install Ajax Load More.
260
 
261
  == Changelog ==
262
 
 
 
 
 
 
 
 
 
263
  = 5.5.0 - July 8, 2021 =
264
- * UPDATE - Added support for image lazy loading in the WooCommece and Elementor add-ons. If a `data-src` attribute is present on an image in the Ajaz results, Ajax Load More will now automatically load the image.
265
- * FIX - Fixed PHP warning that could appear if Ajax Load More settings had not been previously been updated.
266
- * FIX - Fixed issue with Call to Actions settings not appearing in Shortcode Builder if that was the only add-on installed.
267
- * FIX - Fixed issue where extensions may not appear in Shortcode Builder.
268
- * FIX - Fixed issue where ALM_DEBUG was always set to true when using Elementor or WooCommerce add-ons.
269
 
 
 
 
 
 
270
 
271
  = 5.4.5 - April 20, 2021 =
272
- * NEW - Added new `lazy_images` parameter that provides a potential fix for images not loading when other plugins/scripts are hooked into the sites image loading process.
273
- * NEW - Added filter that can disable the `<noscript/>` functionality of the SEO and Filters add-ons.
274
- `add_filter( 'alm_disable_noscript_{alm_id}', '__return_true' );`
275
- * FIX - Added fix for issue where Load More button would not disable if zero posts were available on initial page load.
276
- * FIX - Updated fix for `postcount === undefined` JavaScript error when an issue occurs in a Repeater Template and the return data is corrupt.
277
- * UPDATE - Updated Masonry parameters and how they are passed and handled inside Ajax Load More.
278
- * UPDATE - Admin UI/UX updates and refresh.
279
 
 
 
 
 
 
 
 
280
 
281
  = 5.4.4 - March 31, 2021 =
282
 
283
- * FIX - Fixed issue when filtering and updating the Load More button label.
284
- * FIX - Fixed JS error when using `transition_container="false"` and `transition="false"` in the same shortcode.
285
- * FIX - Fixed 'Cannot read property postcount of undefined' error that can appear. The underlying still exists and I've been unable to solve it but the error is now surpressed and Ajax Load More will function as expected. A console warning will be rendered in it's place.
286
- * UPDATE - Updated core ALM button CSS selectors.
287
- * UPDATE - Admin UI/UX updates to Shortcode Builder and Settings screen.
288
- * UPDATE - Attempting to fix with license activation script to prevent issues with `wp_remote_post`.
289
- * UPDATE - Added console warning if Ajax Load More is not able to access meta object in Ajax response.
290
 
291
  = 5.4.3 - February 11, 2021 =
292
 
@@ -314,7 +325,7 @@ How to install Ajax Load More.
314
 
315
  = 5.4.1 - November 25, 2020 =
316
 
317
- ** UPGRADE NOTICE for Elementor Add-on Users**
318
  We have updated the Elementor add-on settings for how Ajax Load More determines the next page of content during infinite scroll.
319
  Ajax Load More no longer uses the `Numbers` pagination type, please follow the steps below to update your widget after update.
320
 
@@ -323,7 +334,7 @@ Ajax Load More no longer uses the `Numbers` pagination type, please follow the s
323
  3. Update the `Pagination` type in the Posts Widget from `Numbers` to `Numbers + Previous/Next` or just `Previous/Next`.
324
  4. View the [Guide](https://connekthq.com/plugins/ajax-load-more/add-ons/elementor/#configuration) if you require addtional information.
325
 
326
- ** OTHER UPDATES **
327
 
328
  - NEW - Added new `scroll_direction` parameter that allows for horizontal scrolling of Ajax Load More by setting `scroll_direction="horizontal"` in your shortcode or `alm_render` method.
329
  - To horizontal scroll ALM you MUST use a `scroll_container` as seen in the [Scroll Direction example](https://connekthq.com/plugins/ajax-load-more/examples/scroll-direction/).
@@ -338,7 +349,6 @@ Ajax Load More no longer uses the `Numbers` pagination type, please follow the s
338
  - NEW - Added new `alm_disable_noscript` filter to disable all `<noscript/>` tags generated by ALM. `add_filter( 'alm_disable_noscript', '__return_true' );`
339
  - UPDATE - Updated [Pace.js](https://github.com/CodeByZach/pace) library that is used for progress bar functionality.
340
 
341
-
342
  = 5.3.0 - April 22, 2020 =
343
 
344
  - NEW - Added support and core functionality for new [WooCommerce add-on](https://connekthq.com/plugins/ajax-load-more/add-ons/woocommerce/).
@@ -358,14 +368,12 @@ Ajax Load More no longer uses the `Numbers` pagination type, please follow the s
358
  - UPDATE - Updated `.alm-listing` CSS styles to better integrate with WooCommerce.
359
  - UPDATE - Added new Single Post [implementation](https://connekthq.com/plugins/ajax-load-more/add-ons/single-posts/#implementation) technique.
360
 
361
-
362
  = 5.1.2 - June 24, 2019 =
363
 
364
  - NEW - Added direct WooCommerce integration using the `woocommerce` shortcode parameter. Blog post and docs coming soon how to use this new parameter with archive and product listing pages.
365
  - FIX - Fixed issue with element scroll and auto-focus in iOS and Android devices.
366
  - UPDATE - Removing REST API code introduced in 5.1 that caused issues for some users. Please make sure you clear your site cache and any combined JavaScript.
367
 
368
-
369
  = 5.1.0.1 - May 7, 2019 =
370
 
371
  - UPDATE - After the 5.1.0 launch I discovered an issue with the REST API and WooCommerce. I have reverted the default REST API Usage until I can sort this out. 😢
@@ -391,15 +399,12 @@ What's New in 5.1.0
391
  - FIX - Fixed issue with `meta_value` shortcode parameter. Passing zero as a value was returning false and not the number.
392
  - FIX - Fixed IE11 issue where filtering was not working with camelCase data attributes.
393
 
394
-
395
  = 5.0.0 - March 8, 2019 =
396
  ...
397
 
398
-
399
  = 4.0 - November 5, 2018 =
400
  ...
401
 
402
-
403
  = 2.0 - June 20, 2014 =
404
 
405
  - Ajax Load More
1
  === WordPress Infinite Scroll - Ajax Load More ===
2
  Contributors: dcooney, connekthq
3
  Donate link: https://connekthq.com/donate/
4
+ Tags: infinite scroll, load more, ajax, lazy load, endless scroll, infinite scrolling, lazy loading, pagination, ajax, ajax posts, woocommerce, ajax load more, masonry
5
  Requires at least: 4.4
6
+ Requires PHP: 5.6
7
  Tested up to: 5.8
8
+ Stable tag: 5.5.0.1
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
74
 
75
  &rarr; [View Shortcode Builder](https://connekthq.com/plugins/ajax-load-more/docs/shortcode-builder/)
76
 
77
+ ---
78
+
79
  #### Example Ajax Load More Shortcode
80
 
81
  [ajax_load_more post_type="post, portfolio" posts_per_page="6" button_label="Load More"]
107
 
108
  &rarr; [See All Examples](https://connekthq.com/plugins/ajax-load-more/examples/)
109
 
110
+ **Note**: The [Custom Repeater Add-On](AllExampleshttpsAllExampleshttpsAllExampleshttpshttps://connekthq.com/plugins/ajax-load-more/custom-repeaters/) has been installed for use on each of our product demos.
111
 
112
  [youtube https://www.youtube.com/watch?v=EQ57i6dkOew]
113
 
114
  ### Add-ons
115
 
116
+ The following [add-ons](https://connekthq.com/plugins/ajax-load-more/add-ons/) are available to increase the functionality of Ajax Load More.
117
+
118
+ - **[Cache](https://connekthq.com/plugins/ajax-load-more/add-ons/cache/)**: Improve website performance by caching the results of Ajax server requests.
119
+ - **[Call to Actions](https://connekthq.com/plugins/ajax-load-more/add-ons/call-to-actions/)**: Extend Ajax Load More with advertisement and call to action content blocks.
120
+ - **[Comments](https://connekthq.com/plugins/ajax-load-more/add-ons/comments/)**: Load and display WordPress blog comments using the core Ajax Load More infinite scroll functionality.
121
+ - **[Custom Repeaters](https://connekthq.com/plugins/ajax-load-more/add-ons/custom-repeaters/)**: Create, modify and delete repeater templates as you need them with absolutely zero restrictions.
122
+ - **[Elementor](https://connekthq.com/plugins/ajax-load-more/add-ons/elementor/)**: Add infinite scroll or load more to your Elementor Posts and WooCommerce listing widgets with Ajax Load More and the intuitive Elementor Widget Connector.
123
+ - **[Filters](https://connekthq.com/plugins/ajax-load-more/add-ons/filters/)**: Front-end and admin functionality for creating, managing and displaying Ajax Load More filters.
124
+ - **[Layouts](https://connekthq.com/plugins/ajax-load-more/add-ons/layouts/)**: Predefined responsive layouts for Ajax Load More repeater templates.
125
+ - **[Next Page](https://connekthq.com/plugins/ajax-load-more/add-ons/next-page/)**: Infinite scroll multipage WordPress content with Ajax Load More and the Next Page add-on.
126
+ - **[Paging](https://connekthq.com/plugins/ajax-load-more/add-ons/paging/)**: Replace the default lazy load/infinite scroll functionality of Ajax Load More with a numbered navigation system.
127
+ - **[Preloaded](https://connekthq.com/plugins/ajax-load-more/add-ons/preloaded/)**: Load an initial set of posts before sending any Ajax requests to your server.
128
+ - **[SEO](https://connekthq.com/plugins/ajax-load-more/add-ons/search-engine-optimization/)**: Generate unique paging URLs with each Ajax Load More query.
129
+ - **[Single Post](https://connekthq.com/plugins/ajax-load-more/add-ons/single-post/)**: Enable infinite scrolling of single posts on your WordPress post templates.
130
+ - **[Theme Repeaters](https://connekthq.com/plugins/ajax-load-more/add-ons/theme-repeaters/)**: Manage Ajax Load More repeater templates from within your current theme directory.
131
+ - **[Users](https://connekthq.com/plugins/ajax-load-more/add-ons/users/)**: Lazy loading WordPress Users with Ajax Load More.
132
+ - **[WooCommerce](https://connekthq.com/plugins/ajax-load-more/add-ons/woocommerce/)**: Infinite scroll WooCommerce products with Ajax Load More.
133
 
134
  ### Extensions
135
 
136
+ The following free [extensions](https://connekthq.com/plugins/ajax-load-more/extensions/) are available to provide compatibility with popular WordPress plugins and core features.
137
 
138
+ - **[Advanced Custom Fields](https://connekthq.com/plugins/ajax-load-more/extensions/advanced-custom-fields/)**: Display field type data with Ajax Load More.
139
+ - **[Relevanssi](https://connekthq.com/plugins/ajax-load-more/extensions/relevanssi/)**: Display Relevanssi search results with Ajax Load More.
140
+ - **[REST API](https://connekthq.com/plugins/ajax-load-more/extensions/rest-api/)**: Enable compatibility with the WordPress REST API.
141
+ - **[SearchWP](https://connekthq.com/plugins/ajax-load-more/extensions/searchwp/)**: Display SearchWP query results with Ajax Load More.
142
+ - **[Term Query](https://wordpress.org/plugins/ajax-load-more-for-terms/)**: Infinite scroll WordPress Terms.
143
 
144
  ### Callback Functions
145
 
209
  = Can I use custom fields in a repeater? =
210
 
211
  Yes, but you will need to define $post at the top of the repeater before requesting your custom fields. Like so:
212
+ global $post;theImplementationGuidehttpstheImplementationGuidehttpstheImplementationGuidehttpstheImplementationGuidehttpstheImplementationGuidehttpstheImplementationGuidehttpstheImplementationGuidehttpstheImplementationGuidehttpstheImplementationGuidehttpstheImplementationGuidehttpstheImplementationGuidehttps
213
 
214
  = Which browsers are supported? =
215
 
263
 
264
  == Changelog ==
265
 
266
+ = 5.5.0.1 - September 15, 2021 =
267
+
268
+ - FIX - Fixed possible issue with page location and document title being passed incorrectly to Google Analytics when using the Single Posts add-on.
269
+ - FIX - Added various admin fixes for WordPress 5.8.
270
+ - FIX - Removed PHP warnings that could appear on initial plugin installation if `WP_DEBUG` is enabled.
271
+ - FIX - Attempted fix of license activation/deactivation problems some users have experienced.
272
+ - NEW - Added new `almWooCommerceLoaded` and `almElementorLoaded` JavaScript callback function that is triggered after a successful Ajax load when using the WooCommerce and Elementor add-ons.
273
+
274
  = 5.5.0 - July 8, 2021 =
 
 
 
 
 
275
 
276
+ - UPDATE - Added support for image lazy loading in the WooCommece and Elementor add-ons. If a `data-src` attribute is present on an image in the Ajaz results, Ajax Load More will now automatically load the image.
277
+ - FIX - Fixed PHP warning that could appear if Ajax Load More settings had not been previously been updated.
278
+ - FIX - Fixed issue with Call to Actions settings not appearing in Shortcode Builder if that was the only add-on installed.
279
+ - FIX - Fixed issue where extensions may not appear in Shortcode Builder.
280
+ - FIX - Fixed issue where ALM_DEBUG was always set to true when using Elementor or WooCommerce add-ons.
281
 
282
  = 5.4.5 - April 20, 2021 =
 
 
 
 
 
 
 
283
 
284
+ - NEW - Added new `lazy_images` parameter that provides a potential fix for images not loading when other plugins/scripts are hooked into the sites image loading process.
285
+ - NEW - Added filter that can disable the `<noscript/>` functionality of the SEO and Filters add-ons.
286
+ `add_filter( 'alm_disable_noscript_{alm_id}', '__return_true' );`
287
+ - FIX - Added fix for issue where Load More button would not disable if zero posts were available on initial page load.
288
+ - FIX - Updated fix for `postcount === undefined` JavaScript error when an issue occurs in a Repeater Template and the return data is corrupt.
289
+ - UPDATE - Updated Masonry parameters and how they are passed and handled inside Ajax Load More.
290
+ - UPDATE - Admin UI/UX updates and refresh.
291
 
292
  = 5.4.4 - March 31, 2021 =
293
 
294
+ - FIX - Fixed issue when filtering and updating the Load More button label.
295
+ - FIX - Fixed JS error when using `transition_container="false"` and `transition="false"` in the same shortcode.
296
+ - FIX - Fixed 'Cannot read property postcount of undefined' error that can appear. The underlying still exists and I've been unable to solve it but the error is now surpressed and Ajax Load More will function as expected. A console warning will be rendered in it's place.
297
+ - UPDATE - Updated core ALM button CSS selectors.
298
+ - UPDATE - Admin UI/UX updates to Shortcode Builder and Settings screen.
299
+ - UPDATE - Attempting to fix with license activation script to prevent issues with `wp_remote_post`.
300
+ - UPDATE - Added console warning if Ajax Load More is not able to access meta object in Ajax response.
301
 
302
  = 5.4.3 - February 11, 2021 =
303
 
325
 
326
  = 5.4.1 - November 25, 2020 =
327
 
328
+ **UPGRADE NOTICE for Elementor Add-on Users**
329
  We have updated the Elementor add-on settings for how Ajax Load More determines the next page of content during infinite scroll.
330
  Ajax Load More no longer uses the `Numbers` pagination type, please follow the steps below to update your widget after update.
331
 
334
  3. Update the `Pagination` type in the Posts Widget from `Numbers` to `Numbers + Previous/Next` or just `Previous/Next`.
335
  4. View the [Guide](https://connekthq.com/plugins/ajax-load-more/add-ons/elementor/#configuration) if you require addtional information.
336
 
337
+ **OTHER UPDATES**
338
 
339
  - NEW - Added new `scroll_direction` parameter that allows for horizontal scrolling of Ajax Load More by setting `scroll_direction="horizontal"` in your shortcode or `alm_render` method.
340
  - To horizontal scroll ALM you MUST use a `scroll_container` as seen in the [Scroll Direction example](https://connekthq.com/plugins/ajax-load-more/examples/scroll-direction/).
349
  - NEW - Added new `alm_disable_noscript` filter to disable all `<noscript/>` tags generated by ALM. `add_filter( 'alm_disable_noscript', '__return_true' );`
350
  - UPDATE - Updated [Pace.js](https://github.com/CodeByZach/pace) library that is used for progress bar functionality.
351
 
 
352
  = 5.3.0 - April 22, 2020 =
353
 
354
  - NEW - Added support and core functionality for new [WooCommerce add-on](https://connekthq.com/plugins/ajax-load-more/add-ons/woocommerce/).
368
  - UPDATE - Updated `.alm-listing` CSS styles to better integrate with WooCommerce.
369
  - UPDATE - Added new Single Post [implementation](https://connekthq.com/plugins/ajax-load-more/add-ons/single-posts/#implementation) technique.
370
 
 
371
  = 5.1.2 - June 24, 2019 =
372
 
373
  - NEW - Added direct WooCommerce integration using the `woocommerce` shortcode parameter. Blog post and docs coming soon how to use this new parameter with archive and product listing pages.
374
  - FIX - Fixed issue with element scroll and auto-focus in iOS and Android devices.
375
  - UPDATE - Removing REST API code introduced in 5.1 that caused issues for some users. Please make sure you clear your site cache and any combined JavaScript.
376
 
 
377
  = 5.1.0.1 - May 7, 2019 =
378
 
379
  - UPDATE - After the 5.1.0 launch I discovered an issue with the REST API and WooCommerce. I have reverted the default REST API Usage until I can sort this out. 😢
399
  - FIX - Fixed issue with `meta_value` shortcode parameter. Passing zero as a value was returning false and not the number.
400
  - FIX - Fixed IE11 issue where filtering was not working with camelCase data attributes.
401
 
 
402
  = 5.0.0 - March 8, 2019 =
403
  ...
404
 
 
405
  = 4.0 - November 5, 2018 =
406
  ...
407
 
 
408
  = 2.0 - June 20, 2014 =
409
 
410
  - Ajax Load More
admin/admin.php CHANGED
@@ -40,14 +40,11 @@ function alm_plugin_update_messages(){
40
  }
41
  alm_plugin_update_messages();
42
 
43
-
44
-
45
- /*
46
- * alm_prefix_plugin_update_message
47
- * Add extra message to plugin updater about expired/inactive licenses
48
- *
49
- * @since 5.2
50
- */
51
  function alm_prefix_plugin_update_message( $data, $response ) {
52
  $addons = alm_get_addons();
53
  $slug = $response->slug;
@@ -155,7 +152,6 @@ function alm_transient_notification($message = '', $transient = '', $duration =
155
  }
156
  }
157
 
158
-
159
  /**
160
  * Set transient via Ajax.
161
  *
@@ -208,96 +204,95 @@ add_action( 'admin_init', 'alm_repeaters_export' );
208
  /**
209
  * Activate Add-on licenses.
210
  *
211
- * @since 2.8.3
212
- */
213
  function alm_license_activation(){
214
 
215
- if (current_user_can( 'edit_theme_options' )){
 
 
216
 
217
- $nonce = $_GET['nonce'];
218
- $type = $_GET['type']; // activate / deactivate.
219
- $item_id = $_GET['item'];
220
- $license = $_GET['license'];
221
- $url = $_GET['url'];
222
- $upgrade = $_GET['upgrade'];
223
- $status = $_GET['status'];
224
- $key = $_GET['key'];
225
-
226
- // Check our nonce, if they don't match then bounce!
227
- if ( ! wp_verify_nonce( $nonce, 'alm_repeater_nonce' ) ) {
228
- die( 'Error - unable to verify nonce, please try again.' );
229
- }
230
 
231
- // API Action.
232
- if ( 'activate' === $type || 'check' === $type ) {
233
- $action = 'activate_license';
234
- } else {
235
- $action = 'deactivate_license';
236
- }
237
 
238
- // Create the params for the request.
239
- $api_params = array(
240
- 'edd_action' => $action,
241
- 'license' => $license,
242
- 'item_id' => $item_id, // the ID of our product in EDD.
243
- 'url' => home_url()
244
- );
 
245
 
246
- // Call API.
247
- $response = wp_remote_post( ALM_STORE_URL,
248
- array(
249
- 'method' => 'POST',
250
- 'body' => $api_params,
251
- 'timeout' => 45
252
- //'sslverify' => true,
253
- //'blocking' => true
254
- )
255
- );
256
 
257
- // make sure the response came back okay.
258
- if ( is_wp_error( $response ) ) {
259
- return false;
260
- }
 
261
 
262
- $license_data = $response['body'];
263
- $license_data = json_decode( $license_data ); // decode the license data.
264
 
265
- $return['success'] = $license_data->success;
266
 
267
- $msg = '';
268
- if ( 'activate' === $type ) {
269
- $return['license_limit'] = $license_data->license_limit;
270
- $return['expires'] = $license_data->expires;
271
- $return['site_count'] = $license_data->site_count;
272
- $return['activations_left'] = $license_data->activations_left;
273
- $return['item_name'] = $license_data->item_name;
274
 
275
- if ( $license_data->activations_left === 0 && $license_data->success === false ) {
276
- $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.';
277
- }
278
  }
279
- $return['msg'] = $msg;
280
-
281
- // If error, make error the status of the license.
282
- $license_status = ( isset( $license_data->error )) ? $license_data->error : $license_data->license;
283
 
284
- $return['license'] = $license_status;
 
285
 
286
- // Update the options table.
287
- update_option( $status, $license_status );
288
- update_option( $key, $license );
289
 
290
- // Set transient value to store license status.
291
- set_transient( "alm_{$item_id}_{$license}", $license_status, 96 * HOUR_IN_SECONDS ); // 4 days
 
292
 
293
- // Send the response.
294
- wp_send_json( $return );
295
 
296
- } else {
297
-
298
- echo __( 'You don\'t belong here.', 'ajax-load-more' );
299
 
300
- }
301
  }
302
 
303
  /**
@@ -1580,99 +1575,101 @@ function alm_container_type_callback() {
1580
  }
1581
 
1582
  /**
1583
- * Add classes to the Ajax Load More wrapper
1584
  *
1585
  * @since 2.0.0
1586
  */
1587
  function alm_class_callback(){
1588
  $options = get_option( 'alm_settings' );
1589
 
 
 
1590
  $html = '<label for="alm_settings[_alm_classname]">'.__( 'Add custom classes to the <i>.alm-listing</i> container - classes are applied globally and will appear with every instance of Ajax Load More. <span style="display:block">You can also add classes when building a shortcode.</span>', 'ajax-load-more' ).'</label><br/>';
1591
- $html .= '<input type="text" id="alm_settings[_alm_classname]" name="alm_settings[_alm_classname]" value="'.$options['_alm_classname'].'" placeholder="posts listing etc..." /> ';
1592
 
1593
  echo $html;
1594
  }
1595
 
1596
  /**
1597
- * Get button color
1598
  *
1599
  * @since 2.0.0
1600
  */
1601
  function alm_btn_color_callback() {
1602
 
1603
- $options = get_option( 'alm_settings' );
1604
- $type = $options['_alm_btn_color'];
1605
-
1606
- if(!isset($type))
1607
- $options['_alm_btn_color'] = '0';
1608
 
1609
- $selected0 = '';
1610
- if($type == 'default' ) $selected0 = 'selected="selected"';
1611
 
1612
- $selected1 = '';
1613
- if($type == 'blue' ) $selected1 = 'selected="selected"';
1614
 
1615
- $selected2 = '';
1616
- if($type == 'green' ) $selected2 = 'selected="selected"';
1617
 
1618
- $selected3 = '';
1619
- if($type == 'red' ) $selected3 = 'selected="selected"';
1620
 
1621
- $selected4 = '';
1622
- if($type == 'purple' ) $selected4 = 'selected="selected"';
1623
 
1624
- $selected5 = '';
1625
- if($type == 'grey' ) $selected5 = 'selected="selected"';
1626
 
1627
- $selected6 = '';
1628
- if($type == 'white' ) $selected6 = 'selected="selected"';
1629
 
1630
- $selected13 = '';
1631
- if($type == 'light-grey' ) $selected13 = 'selected="selected"';
1632
 
1633
- $selected7 = '';
1634
- if($type == 'infinite classic' ) $selected7 = 'selected="selected"';
1635
 
1636
- $selected8 = '';
1637
- if($type == 'infinite skype' ) $selected8 = 'selected="selected"';
1638
 
1639
- $selected9 = '';
1640
- if($type == 'infinite ring' ) $selected9 = 'selected="selected"';
1641
 
1642
- $selected10 = '';
1643
- if($type == 'infinite fading-blocks' ) $selected10 = 'selected="selected"';
1644
 
1645
- $selected11 = '';
1646
- if($type == 'infinite fading-circles' ) $selected11 = 'selected="selected"';
1647
 
1648
- $selected12 = '';
1649
- if($type == 'infinite chasing-arrows' ) $selected12 = 'selected="selected"';
1650
 
1651
- $html = '<label for="alm_settings_btn_color">'.__( 'Select an Ajax loading style - you can choose between a <strong>Button</strong> or <strong>Infinite Scroll</strong>', 'ajax-load-more' );
1652
- $html .= '.<br/><span style="display:block">Selecting an Infinite Scroll style will remove the click interaction and load content on scroll <u>only</u>.</span>';
1653
- $html .= '</label>';
1654
- $html .= '<select id="alm_settings_btn_color" name="alm_settings[_alm_btn_color]">';
1655
 
1656
- $html .= '<optgroup label="'. __( 'Button Style (Dark)', 'ajax-load-more' ) .'">';
1657
- $html .= '<option value="default" class="alm-color default" ' . $selected0 .'>Default</option>';
1658
- $html .= '<option value="blue" class="alm-color blue" ' . $selected1 .'>Blue</option>';
1659
- $html .= '<option value="green" class="alm-color green" ' . $selected2 .'>Green</option>';
1660
- $html .= '<option value="purple" class="alm-color purple" ' . $selected4 .'>Purple</option>';
1661
- $html .= '<option value="grey" class="alm-color grey" ' . $selected5 .'>Grey</option>';
1662
- $html .= '</optgroup>';
1663
- $html .= '<optgroup label="'. __( 'Button Style (Light)', 'ajax-load-more' ) .'">';
1664
- $html .= '<option value="white" class="alm-color white" ' . $selected6 .'>White</option>';
1665
- $html .= '<option value="light-grey" class="alm-color light-grey" ' . $selected13 .'>Light Grey</option>';
1666
- $html .= '</optgroup>';
1667
 
1668
- $html .= '<optgroup label="'. __( 'Infinite Scroll (No Button)', 'ajax-load-more' ) .'">';
1669
- $html .= '<option value="infinite classic" class="infinite classic" ' . $selected7 .'>Classic</option>';
1670
- $html .= '<option value="infinite skype" class="infinite skype" ' . $selected8 .'>Skype</option>';
1671
- $html .= '<option value="infinite ring" class="infinite ring" ' . $selected9 .'>Circle Fill</option>';
1672
- $html .= '<option value="infinite fading-blocks" class="infinite fading-blocks" ' . $selected10 .'>Fading Blocks</option>';
1673
- $html .= '<option value="infinite fading-circles" class="infinite fading-circles" ' . $selected11 .'>Fading Circles</option>';
1674
- $html .= '<option value="infinite chasing-arrows" class="infinite chasing-arrows" ' . $selected12 .'>Chasing Arrows</option>';
1675
- $html .= '</optgroup>';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1676
 
1677
  $html .= '</select>';
1678
 
40
  }
41
  alm_plugin_update_messages();
42
 
43
+ /**
44
+ * Add extra message to plugin updater about expired/inactive licenses
45
+ *
46
+ * @since 5.2
47
+ */
 
 
 
48
  function alm_prefix_plugin_update_message( $data, $response ) {
49
  $addons = alm_get_addons();
50
  $slug = $response->slug;
152
  }
153
  }
154
 
 
155
  /**
156
  * Set transient via Ajax.
157
  *
204
  /**
205
  * Activate Add-on licenses.
206
  *
207
+ * @since 2.8.3
208
+ */
209
  function alm_license_activation(){
210
 
211
+ if (! current_user_can( 'edit_theme_options' )){
212
+ return;
213
+ }
214
 
215
+ $nonce = $_GET['nonce'];
216
+ $type = $_GET['type']; // activate / deactivate.
217
+ $item_id = $_GET['item'];
218
+ $license = $_GET['license'];
219
+ $url = $_GET['url'];
220
+ $upgrade = $_GET['upgrade'];
221
+ $status = $_GET['status'];
222
+ $key = $_GET['key'];
223
+
224
+ // Check our nonce, if they don't match then bounce!
225
+ if ( ! wp_verify_nonce( $nonce, 'alm_repeater_nonce' ) ) {
226
+ die( 'Error - unable to verify nonce, please try again.' );
227
+ }
228
 
229
+ // API Action.
230
+ if ( 'activate' === $type || 'check' === $type ) {
231
+ $action = 'activate_license';
232
+ } else {
233
+ $action = 'deactivate_license';
234
+ }
235
 
236
+ // Create the params for the request.
237
+ $api_params = array(
238
+ 'edd_action' => $action,
239
+ 'license' => $license,
240
+ 'item_id' => $item_id, // the ID of our product in EDD.
241
+ 'url' => home_url(),
242
+ 'environment' => function_exists( 'wp_get_environment_type' ) ? wp_get_environment_type() : 'production',
243
+ );
244
 
245
+ // Call API.
246
+ $response = wp_remote_post( ALM_STORE_URL,
247
+ array(
248
+ 'method' => 'POST',
249
+ 'body' => $api_params,
250
+ 'timeout' => 30,
251
+ 'sslverify' => false,
252
+ //'blocking' => true
253
+ )
254
+ );
255
 
256
+ // Make sure the response came back okay.
257
+ if ( is_wp_error( $response ) ) {
258
+ wp_send_json( $response );
259
+ //return false;
260
+ }
261
 
262
+ $license_data = $response['body'];
263
+ $license_data = json_decode( $license_data ); // decode the license data.
264
 
265
+ $return['success'] = $license_data->success;
266
 
267
+ $msg = '';
268
+ if ( 'activate' === $type ) {
269
+ $return['license_limit'] = $license_data->license_limit;
270
+ $return['expires'] = $license_data->expires;
271
+ $return['site_count'] = $license_data->site_count;
272
+ $return['activations_left'] = $license_data->activations_left;
273
+ $return['item_name'] = $license_data->item_name;
274
 
275
+ if ( $license_data->activations_left === 0 && $license_data->success === false ) {
276
+ $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.';
 
277
  }
278
+ }
279
+ $return['msg'] = $msg;
 
 
280
 
281
+ // If error, make error the status of the license.
282
+ $license_status = ( isset( $license_data->error )) ? $license_data->error : $license_data->license;
283
 
284
+ $return['license'] = $license_status;
 
 
285
 
286
+ // Update the options table.
287
+ update_option( $status, $license_status );
288
+ update_option( $key, $license );
289
 
290
+ // Set transient value to store license status.
291
+ set_transient( "alm_{$item_id}_{$license}", $license_status, 96 * HOUR_IN_SECONDS ); // 4 days
292
 
293
+ // Send the response.
294
+ wp_send_json( $return );
 
295
 
 
296
  }
297
 
298
  /**
1575
  }
1576
 
1577
  /**
1578
+ * Add classes to the Ajax Load More wrapper.
1579
  *
1580
  * @since 2.0.0
1581
  */
1582
  function alm_class_callback(){
1583
  $options = get_option( 'alm_settings' );
1584
 
1585
+ $class = isset( $options ) && isset($options['_alm_classname']) ? $options['_alm_classname'] : '';
1586
+
1587
  $html = '<label for="alm_settings[_alm_classname]">'.__( 'Add custom classes to the <i>.alm-listing</i> container - classes are applied globally and will appear with every instance of Ajax Load More. <span style="display:block">You can also add classes when building a shortcode.</span>', 'ajax-load-more' ).'</label><br/>';
1588
+ $html .= '<input type="text" id="alm_settings[_alm_classname]" name="alm_settings[_alm_classname]" value="' . $class . '" placeholder="posts listing etc..." /> ';
1589
 
1590
  echo $html;
1591
  }
1592
 
1593
  /**
1594
+ * Get button color.
1595
  *
1596
  * @since 2.0.0
1597
  */
1598
  function alm_btn_color_callback() {
1599
 
1600
+ $options = get_option( 'alm_settings' );
 
 
 
 
1601
 
1602
+ $type = isset( $options ) && isset($options['_alm_btn_color']) ? $options['_alm_btn_color'] : '';
 
1603
 
1604
+ if(!isset($type)) $options['_alm_btn_color'] = '0';
 
1605
 
1606
+ $selected0 = '';
1607
+ if($type == 'default' ) $selected0 = 'selected="selected"';
1608
 
1609
+ $selected1 = '';
1610
+ if($type == 'blue' ) $selected1 = 'selected="selected"';
1611
 
1612
+ $selected2 = '';
1613
+ if($type == 'green' ) $selected2 = 'selected="selected"';
1614
 
1615
+ $selected3 = '';
1616
+ if($type == 'red' ) $selected3 = 'selected="selected"';
1617
 
1618
+ $selected4 = '';
1619
+ if($type == 'purple' ) $selected4 = 'selected="selected"';
1620
 
1621
+ $selected5 = '';
1622
+ if($type == 'grey' ) $selected5 = 'selected="selected"';
1623
 
1624
+ $selected6 = '';
1625
+ if($type == 'white' ) $selected6 = 'selected="selected"';
1626
 
1627
+ $selected13 = '';
1628
+ if($type == 'light-grey' ) $selected13 = 'selected="selected"';
1629
 
1630
+ $selected7 = '';
1631
+ if($type == 'infinite classic' ) $selected7 = 'selected="selected"';
1632
 
1633
+ $selected8 = '';
1634
+ if($type == 'infinite skype' ) $selected8 = 'selected="selected"';
1635
 
1636
+ $selected9 = '';
1637
+ if($type == 'infinite ring' ) $selected9 = 'selected="selected"';
1638
 
1639
+ $selected10 = '';
1640
+ if($type == 'infinite fading-blocks' ) $selected10 = 'selected="selected"';
1641
 
1642
+ $selected11 = '';
1643
+ if($type == 'infinite fading-circles' ) $selected11 = 'selected="selected"';
 
 
1644
 
1645
+ $selected12 = '';
1646
+ if($type == 'infinite chasing-arrows' ) $selected12 = 'selected="selected"';
 
 
 
 
 
 
 
 
 
1647
 
1648
+ $html = '<label for="alm_settings_btn_color">'.__( 'Select an Ajax loading style - you can choose between a <strong>Button</strong> or <strong>Infinite Scroll</strong>', 'ajax-load-more' );
1649
+ $html .= '.<br/><span style="display:block">Selecting an Infinite Scroll style will remove the click interaction and load content on scroll <u>only</u>.</span>';
1650
+ $html .= '</label>';
1651
+ $html .= '<select id="alm_settings_btn_color" name="alm_settings[_alm_btn_color]">';
1652
+
1653
+ $html .= '<optgroup label="'. __( 'Button Style (Dark)', 'ajax-load-more' ) .'">';
1654
+ $html .= '<option value="default" class="alm-color default" ' . $selected0 .'>Default</option>';
1655
+ $html .= '<option value="blue" class="alm-color blue" ' . $selected1 .'>Blue</option>';
1656
+ $html .= '<option value="green" class="alm-color green" ' . $selected2 .'>Green</option>';
1657
+ $html .= '<option value="purple" class="alm-color purple" ' . $selected4 .'>Purple</option>';
1658
+ $html .= '<option value="grey" class="alm-color grey" ' . $selected5 .'>Grey</option>';
1659
+ $html .= '</optgroup>';
1660
+ $html .= '<optgroup label="'. __( 'Button Style (Light)', 'ajax-load-more' ) .'">';
1661
+ $html .= '<option value="white" class="alm-color white" ' . $selected6 .'>White</option>';
1662
+ $html .= '<option value="light-grey" class="alm-color light-grey" ' . $selected13 .'>Light Grey</option>';
1663
+ $html .= '</optgroup>';
1664
+
1665
+ $html .= '<optgroup label="'. __( 'Infinite Scroll (No Button)', 'ajax-load-more' ) .'">';
1666
+ $html .= '<option value="infinite classic" class="infinite classic" ' . $selected7 .'>Classic</option>';
1667
+ $html .= '<option value="infinite skype" class="infinite skype" ' . $selected8 .'>Skype</option>';
1668
+ $html .= '<option value="infinite ring" class="infinite ring" ' . $selected9 .'>Circle Fill</option>';
1669
+ $html .= '<option value="infinite fading-blocks" class="infinite fading-blocks" ' . $selected10 .'>Fading Blocks</option>';
1670
+ $html .= '<option value="infinite fading-circles" class="infinite fading-circles" ' . $selected11 .'>Fading Circles</option>';
1671
+ $html .= '<option value="infinite chasing-arrows" class="infinite chasing-arrows" ' . $selected12 .'>Chasing Arrows</option>';
1672
+ $html .= '</optgroup>';
1673
 
1674
  $html .= '</select>';
1675
 
admin/dist/css/admin.css CHANGED
@@ -521,7 +521,8 @@ disabled look for disabled choices in the results dropdown
521
  background: #fff url("../../img/alm-logo-48x48.svg") no-repeat 20px 20px;
522
  font-size: 18px;
523
  font-weight: 800;
524
- border-bottom: 1px solid #e1e1e1; }
 
525
  @media screen and (min-width: 768px) {
526
  .ajax-load-more .header-wrap h1 {
527
  font-size: 21px; } }
@@ -2625,7 +2626,8 @@ hr.indented {
2625
  margin: 0 0 20px;
2626
  text-transform: uppercase; }
2627
  .admin.ajax-load-more .ajax-load-more-wrap ul.alm-paging li span {
2628
- padding: 0; }
 
2629
 
2630
  .admin.ajax-load-more.settings {
2631
  /* Table Overrides */ }
521
  background: #fff url("../../img/alm-logo-48x48.svg") no-repeat 20px 20px;
522
  font-size: 18px;
523
  font-weight: 800;
524
+ border-bottom: 1px solid #e1e1e1;
525
+ width: 100%; }
526
  @media screen and (min-width: 768px) {
527
  .ajax-load-more .header-wrap h1 {
528
  font-size: 21px; } }
2626
  margin: 0 0 20px;
2627
  text-transform: uppercase; }
2628
  .admin.ajax-load-more .ajax-load-more-wrap ul.alm-paging li span {
2629
+ padding: 0;
2630
+ margin: 0; }
2631
 
2632
  .admin.ajax-load-more.settings {
2633
  /* Table Overrides */ }
admin/dist/js/admin.js CHANGED
@@ -1638,12 +1638,11 @@ jQuery(document).ready(function ($) {
1638
  }
1639
  });
1640
 
1641
- /*
1642
- * Activate License
1643
  *
1644
- * @since 2.8.3
1645
  */
1646
-
1647
  var almActivating = false;
1648
  $(document).on('click', '.license-btn', function (e) {
1649
  e.preventDefault();
@@ -1709,8 +1708,8 @@ jQuery(document).ready(function ($) {
1709
  almActivating = false;
1710
  },
1711
 
1712
- error: function error(xhr, status, _error2) {
1713
- console.log(status);
1714
  $('.loading', parent).delay(250).fadeOut(300);
1715
  almActivating = false;
1716
  }
@@ -1718,9 +1717,10 @@ jQuery(document).ready(function ($) {
1718
  }
1719
  });
1720
 
1721
- /*
1722
- * Get layout value Ajax
1723
- * @since 2.8.7
 
1724
  */
1725
  $(document).on('click', '.alm-layout-selection li a.layout', function (e) {
1726
  e.preventDefault();
@@ -1777,9 +1777,10 @@ jQuery(document).ready(function ($) {
1777
  }
1778
  });
1779
 
1780
- /*
1781
- * Dismiss Sharing (Transient)
1782
- * @since 2.8.7
 
1783
  */
1784
  $(document).on('click', '.alm-notification--dismiss', function (e) {
1785
  e.preventDefault();
@@ -1803,9 +1804,10 @@ jQuery(document).ready(function ($) {
1803
  });
1804
  });
1805
 
1806
- /*
1807
- * Set Transient (Transient)
1808
- * @since 4.0
 
1809
  */
1810
  $(document).on('click', '.alm-transient button.notice-dismiss', function (e) {
1811
  e.preventDefault();
@@ -1833,11 +1835,11 @@ jQuery(document).ready(function ($) {
1833
  });
1834
  });
1835
 
1836
- /*
1837
- * Scroll to setting section
1838
- * @since 2.7.3
 
1839
  */
1840
-
1841
  $(document).on('change', '#alm-settings-nav', function (e) {
1842
  e.preventDefault();
1843
  var el = $(this),
1638
  }
1639
  });
1640
 
1641
+ /**
1642
+ * Activate License.
1643
  *
1644
+ * @since 2.8.3
1645
  */
 
1646
  var almActivating = false;
1647
  $(document).on('click', '.license-btn', function (e) {
1648
  e.preventDefault();
1708
  almActivating = false;
1709
  },
1710
 
1711
+ error: function error(status, _error2) {
1712
+ console.log(status, _error2);
1713
  $('.loading', parent).delay(250).fadeOut(300);
1714
  almActivating = false;
1715
  }
1717
  }
1718
  });
1719
 
1720
+ /**
1721
+ * Get layout value Ajax.
1722
+ *
1723
+ * @since 2.8.7
1724
  */
1725
  $(document).on('click', '.alm-layout-selection li a.layout', function (e) {
1726
  e.preventDefault();
1777
  }
1778
  });
1779
 
1780
+ /**
1781
+ * Dismiss Sharing (Transient).
1782
+ *
1783
+ * @since 2.8.7
1784
  */
1785
  $(document).on('click', '.alm-notification--dismiss', function (e) {
1786
  e.preventDefault();
1804
  });
1805
  });
1806
 
1807
+ /**
1808
+ * Set Transient (Transient).
1809
+ *
1810
+ * @since 4.0
1811
  */
1812
  $(document).on('click', '.alm-transient button.notice-dismiss', function (e) {
1813
  e.preventDefault();
1835
  });
1836
  });
1837
 
1838
+ /**
1839
+ * Scroll to setting section.
1840
+ *
1841
+ * @since 2.7.3
1842
  */
 
1843
  $(document).on('change', '#alm-settings-nav', function (e) {
1844
  e.preventDefault();
1845
  var el = $(this),
admin/img/bkg-chkbox_off.png CHANGED
File without changes
admin/img/bkg-chkbox_on.png CHANGED
File without changes
admin/img/bkg-chkbox_selected.png CHANGED
File without changes
admin/img/bkg-radio_on.png CHANGED
File without changes
admin/img/bkg-radio_selected.png CHANGED
File without changes
admin/includes/components/repeater-options.php CHANGED
File without changes
admin/includes/cta/test.php CHANGED
File without changes
admin/includes/cta/writeable.php CHANGED
File without changes
admin/src/js/admin.js CHANGED
@@ -373,12 +373,11 @@ jQuery(document).ready(function ($) {
373
  }
374
  });
375
 
376
- /*
377
- * Activate License
378
  *
379
- * @since 2.8.3
380
  */
381
-
382
  var almActivating = false;
383
  $(document).on('click', '.license-btn', function (e) {
384
  e.preventDefault();
@@ -444,8 +443,8 @@ jQuery(document).ready(function ($) {
444
  almActivating = false;
445
  },
446
 
447
- error: function (xhr, status, error) {
448
- console.log(status);
449
  $('.loading', parent).delay(250).fadeOut(300);
450
  almActivating = false;
451
  },
@@ -453,9 +452,10 @@ jQuery(document).ready(function ($) {
453
  }
454
  });
455
 
456
- /*
457
- * Get layout value Ajax
458
- * @since 2.8.7
 
459
  */
460
  $(document).on('click', '.alm-layout-selection li a.layout', function (e) {
461
  e.preventDefault();
@@ -512,9 +512,10 @@ jQuery(document).ready(function ($) {
512
  }
513
  });
514
 
515
- /*
516
- * Dismiss Sharing (Transient)
517
- * @since 2.8.7
 
518
  */
519
  $(document).on('click', '.alm-notification--dismiss', function (e) {
520
  e.preventDefault();
@@ -538,9 +539,10 @@ jQuery(document).ready(function ($) {
538
  });
539
  });
540
 
541
- /*
542
- * Set Transient (Transient)
543
- * @since 4.0
 
544
  */
545
  $(document).on('click', '.alm-transient button.notice-dismiss', function (e) {
546
  e.preventDefault();
@@ -568,11 +570,11 @@ jQuery(document).ready(function ($) {
568
  });
569
  });
570
 
571
- /*
572
- * Scroll to setting section
573
- * @since 2.7.3
 
574
  */
575
-
576
  $(document).on('change', '#alm-settings-nav', function (e) {
577
  e.preventDefault();
578
  var el = $(this),
373
  }
374
  });
375
 
376
+ /**
377
+ * Activate License.
378
  *
379
+ * @since 2.8.3
380
  */
 
381
  var almActivating = false;
382
  $(document).on('click', '.license-btn', function (e) {
383
  e.preventDefault();
443
  almActivating = false;
444
  },
445
 
446
+ error: function (status, error) {
447
+ console.log(status, error);
448
  $('.loading', parent).delay(250).fadeOut(300);
449
  almActivating = false;
450
  },
452
  }
453
  });
454
 
455
+ /**
456
+ * Get layout value Ajax.
457
+ *
458
+ * @since 2.8.7
459
  */
460
  $(document).on('click', '.alm-layout-selection li a.layout', function (e) {
461
  e.preventDefault();
512
  }
513
  });
514
 
515
+ /**
516
+ * Dismiss Sharing (Transient).
517
+ *
518
+ * @since 2.8.7
519
  */
520
  $(document).on('click', '.alm-notification--dismiss', function (e) {
521
  e.preventDefault();
539
  });
540
  });
541
 
542
+ /**
543
+ * Set Transient (Transient).
544
+ *
545
+ * @since 4.0
546
  */
547
  $(document).on('click', '.alm-transient button.notice-dismiss', function (e) {
548
  e.preventDefault();
570
  });
571
  });
572
 
573
+ /**
574
+ * Scroll to setting section.
575
+ *
576
+ * @since 2.7.3
577
  */
 
578
  $(document).on('change', '#alm-settings-nav', function (e) {
579
  e.preventDefault();
580
  var el = $(this),
admin/src/scss/admin.scss CHANGED
@@ -1291,6 +1291,7 @@ hr.indented {
1291
  }
1292
  ul.alm-paging li span {
1293
  padding: 0;
 
1294
  }
1295
  }
1296
 
1291
  }
1292
  ul.alm-paging li span {
1293
  padding: 0;
1294
+ margin: 0;
1295
  }
1296
  }
1297
 
admin/src/scss/partials/_header.scss CHANGED
@@ -10,6 +10,7 @@
10
  font-size: 18px;
11
  font-weight: 800;
12
  border-bottom: 1px solid $border;
 
13
  @media screen and (min-width: 768px) {
14
  font-size: 21px;
15
  }
10
  font-size: 18px;
11
  font-weight: 800;
12
  border-bottom: 1px solid $border;
13
+ width: 100%;
14
  @media screen and (min-width: 768px) {
15
  font-size: 21px;
16
  }
admin/views/licenses.php CHANGED
@@ -1,183 +1,174 @@
1
  <?php
2
- $pg_title = (has_action('alm_pro_installed')) ? __('Pro License', 'ajax-load-more') : __('Licenses', 'ajax-load-more');
3
- $pg_desc = (has_action('alm_pro_installed')) ? __('Enter your Pro license key to enable updates from the plugins dashboard', 'ajax-load-more') : __('Enter your license keys below to enable <a href="admin.php?page=ajax-load-more-add-ons">add-on</a> updates from the plugins dashboard', 'ajax-load-more');
4
  ?>
5
  <div class="admin ajax-load-more" id="alm-licenses">
6
  <div class="wrap main-cnkt-wrap">
7
-
8
  <header class="header-wrap">
9
- <h1>
10
- <?php echo ALM_TITLE; ?>: <strong><?php echo $pg_title; ?></strong>
11
- <em><?php echo $pg_desc; ?>.</em>
12
- </h1>
13
- <?php alm_render_transient_notification(); ?>
14
- </header>
15
-
16
- <div class="ajax-load-more-inner-wrapper">
17
-
18
- <div class="cnkt-main">
19
-
20
- <h3><?php
21
- if(has_action('alm_pro_installed')){
22
- _e('License Key', 'ajax-load-more');
23
- } else {
24
- _e('License Keys', 'ajax-load-more');
25
- }
26
- ?></h3>
27
-
28
- <p>
29
- <?php
30
- if(has_action('alm_pro_installed')){
31
- _e('Enter your Ajax Load More Pro license key to receive plugin update notifications directly within the <a href="plugins.php">WP Plugins dashboard</a>.', 'ajax-load-more');
32
- } else {
33
- _e('Enter a key for each of your Ajax Load More add-ons to receive plugin update notifications directly within the <a href="plugins.php">WP Plugins dashboard</a>.', 'ajax-load-more');
34
- }
35
- ?>
36
- </p>
37
-
38
- <?php
39
-
40
- $addons = (has_action('alm_pro_installed')) ? alm_get_pro_addon() : alm_get_addons();
41
- $addon_count = 0;
42
-
43
- foreach($addons as $addon){
44
-
45
- $name = $addon['name'];
46
- $intro = $addon['intro'];
47
- $desc = $addon['desc'];
48
- $action = $addon['action'];
49
- $key = $addon['key'];
50
- $license = get_option($key);
51
- $status = $addon['status'];
52
- $settings_field = $addon['settings_field'];
53
- $url = $addon['url'];
54
- $img = $addon['img'];
55
- $item_id = $addon['item_id'];
56
-
57
-
58
- // If installed
59
- if(!has_action($action)){
60
- continue;
61
- }
62
-
63
- $addon_count++;
64
-
65
- // Check license
66
- $license_status = alm_license_check($item_id, $license, $status);
67
-
68
- ?>
69
-
70
- <div class="license" id="license-<?php echo sanitize_title_with_dashes($name); ?>">
71
- <div class="license-title">
72
- <div class="status <?php echo ($license_status === 'valid') ? 'valid' : 'invalid'; ?> "></div>
73
- <h2><?php echo $name; ?></h2>
74
- </div>
75
- <div class="license-wrap">
76
- <form method="post" action="options.php">
77
-
78
- <?php if( $license_status !== false && $license_status == 'valid' ) { ?>
79
- <!-- nothing -->
80
- <?php } else { ?>
81
- <div class="no-license">
82
- <h4><?php _e('Don\'t have a license?', 'ajax-load-more'); ?></h4>
83
- <p><?php _e('A valid license is required to activate and receive plugin updates directly in your WordPress dashboard', 'ajax-load-more'); ?> &rarr; <a href="<?php echo $url; ?>?utm_source=WP%20Admin&utm_medium=Licenses&utm_campaign=<?php echo $name; ?>" target="blank"><strong><?php _e('Purchase Now', 'ajax-load-more'); ?>!</strong></a></p>
84
- </div>
85
- <?php } ?>
86
-
87
- <?php settings_fields($settings_field); ?>
88
-
89
- <label class="description offscreen" for="<?php echo $key; ?>"><?php _e('Enter License Key', 'ajax-load-more'); ?></label>
90
- <div class="license-key-field">
91
- <input id="<?php echo $key; ?>" name="<?php echo $key; ?>" type="text" class="regular-text" value="<?php esc_attr_e( $license ); ?>" placeholder="<?php _e('Enter License Key', 'ajax-load-more'); ?>" />
92
- <?php if( $license_status !== false && $license_status == 'valid' ) { ?>
93
- <span class="status active">
94
- <?php _e('Active', 'ajax-load-more'); ?>
95
- </span>
96
- <?php } else { ?>
97
- <span class="status inactive">
98
- <?php
99
- if($license_status === 'expired'){
100
- _e('Expired', 'ajax-load-more');
101
- }else{
102
- _e('Inactive', 'ajax-load-more');
103
- }
104
- ?>
105
- </span>
106
- <?php } ?>
107
- </div>
108
-
109
- <?php
110
- $nonce = 'alm_'. $item_id .'_license_nonce';
111
- wp_nonce_field( $nonce, $nonce );
112
- ?>
113
-
114
- <div class="license-btn-wrap"
115
- data-name="<?php echo $item_id; ?>"
116
- data-url="<?php echo ALM_STORE_URL; ?>"
117
- data-option-status="<?php echo $status; ?>"
118
- data-option-key="<?php echo $key; ?>"
119
- data-upgrade-url="<?php echo $url; ?>">
120
- <button type="button" class="activate license-btn <?php if($license_status === 'valid'){ echo 'hide'; } ?> button button-primary" data-type="activate">
121
- <?php _e('Activate License', 'ajax-load-more'); ?>
122
- </button>
123
- <button type="button" class="deactivate license-btn <?php if($license_status !== 'valid'){ echo 'hide'; } ?> button button-secondary" data-type="deactivate">
124
- <?php _e('Deactivate License', 'ajax-load-more'); ?>
125
- </button>
126
- <button type="button" class="check-licence license-btn <?php if($license_status !== 'valid'){ echo 'hide'; } ?> button button-secondary" data-type="check">
127
- <i class="fa fa-refresh" aria-hidden="true"></i> <?php _e('Refresh Status', 'ajax-load-more'); ?>
128
- </button>
129
- <?php if($license_status === 'expired'){
130
- if(isset($license) && !empty($license)){
131
- $store = ALM_STORE_URL;
132
- $url = "{$store}/checkout/?edd_license_key={$license}&download_id={$item_id}";
133
- }
134
- ?>
135
- <a class="button renew-btn" href="<?php echo $url; ?>" target="_blank">
136
- <?php _e('Renew License', 'ajax-load-more'); ?></a>
137
- <?php } ?>
138
- </div>
139
- </form>
140
- </div>
141
- <div class="loading"></div>
142
- </div>
143
- <?php } unset($addons); ?>
144
-
145
- <?php
146
- // No add-ons installed
147
- if($addon_count == 0) :
148
- ?>
149
- <div class="spacer"></div>
150
- <div class="license-no-addons">
151
- <p><?php _e('You do not have any Ajax Load More add-ons installed', 'ajax-load-more'); ?> | <a href="admin.php?page=ajax-load-more-add-ons"><strong><?php _e('Browse Add-ons', 'ajax-load-more'); ?></strong></a> | <a href="https://connekthq.com/plugins/ajax-load-more/pro/" target="_blank"><strong><?php _e('Go Pro', 'ajax-load-more'); ?></strong></a></p>
152
- </div>
153
- <?php endif; ?>
154
- </div>
155
-
156
- <aside class="cnkt-sidebar">
157
- <div id="cnkt-sticky-wrapper">
158
- <div id="cnkt-sticky">
159
  <div class="cta">
160
- <h3><?php _e('About Licenses', 'ajax-load-more'); ?></h3>
161
- <div class="cta-inner">
162
- <ul>
163
- <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>
164
- <li><?php _e('If you cannot locate your key please open a support ticket by filling out the <a href="https://connekthq.com/contact/">support form</a> and reference the email address used when you completed the purchase.', 'ajax-load-more'); ?></li>
165
- <li>
166
- <strong><?php _e('Are you having issues updating an add-on?', 'ajax-load-more'); ?></strong><br/>
167
- <?php _e('Please try deactivating and then re-activating each license. Once you\'ve done that, try running the update again.', 'ajax-load-more'); ?></li>
168
- </ul>
169
  </div>
170
- <div class="major-publishing-actions">
171
- <a class="button button-primary" target="_blank" href="https://connekthq.com/account/">
172
- <?php _e('Your Account', 'ajax-load-more'); ?>
173
- </a>
174
  </div>
175
  </div>
176
- </div>
177
- </div>
178
  <div class="clear"></div>
179
  </aside>
180
-
181
  <div class="clear"></div>
182
 
183
  </div>
1
  <?php
2
+ $alm_pg_title = ( has_action( 'alm_pro_installed' ) ) ? __( 'Pro License', 'ajax-load-more' ) : __( 'Licenses', 'ajax-load-more' );
3
+ $alm_pg_desc = ( has_action( 'alm_pro_installed' ) ) ? __( 'Enter your Pro license key to enable updates from the plugins dashboard', 'ajax-load-more' ) : __( 'Enter your license keys below to enable <a href="admin.php?page=ajax-load-more-add-ons">add-on</a> updates from the plugins dashboard', 'ajax-load-more' );
4
  ?>
5
  <div class="admin ajax-load-more" id="alm-licenses">
6
  <div class="wrap main-cnkt-wrap">
 
7
  <header class="header-wrap">
8
+ <h1>
9
+ <?php echo ALM_TITLE; ?>: <strong><?php echo esc_html( $alm_pg_title ); ?></strong>
10
+ <em><?php echo $alm_pg_desc; ?>.</em>
11
+ </h1>
12
+ <?php alm_render_transient_notification(); ?>
13
+ </header>
14
+ <div class="ajax-load-more-inner-wrapper">
15
+ <div class="cnkt-main">
16
+ <h3>
17
+ <?php
18
+ if ( has_action( 'alm_pro_installed' ) ) {
19
+ esc_html_e( 'License Key', 'ajax-load-more' );
20
+ } else {
21
+ esc_html_e( 'License Keys', 'ajax-load-more' );
22
+ }
23
+ ?>
24
+ </h3>
25
+ <p>
26
+ <?php
27
+ if ( has_action( 'alm_pro_installed' ) ) {
28
+ _e( 'Enter your Ajax Load More Pro license key to receive plugin update notifications directly within the <a href="plugins.php">WP Plugins dashboard</a>.', 'ajax-load-more' );
29
+ } else {
30
+ _e( 'Enter a key for each of your Ajax Load More add-ons to receive plugin update notifications directly within the <a href="plugins.php">WP Plugins dashboard</a>.', 'ajax-load-more' );
31
+ }
32
+ ?>
33
+ </p>
34
+ <?php
35
+ $addons = has_action( 'alm_pro_installed' ) ? alm_get_pro_addon() : alm_get_addons();
36
+ $addon_count = 0;
37
+
38
+ foreach ( $addons as $addon ) {
39
+
40
+ $name = $addon['name'];
41
+ $intro = $addon['intro'];
42
+ $desc = $addon['desc'];
43
+ $action = $addon['action'];
44
+ $key = $addon['key'];
45
+ $license = get_option( $key );
46
+ $status = $addon['status'];
47
+ $settings_field = $addon['settings_field'];
48
+ $url = $addon['url'];
49
+ $img = $addon['img'];
50
+ $item_id = $addon['item_id'];
51
+
52
+ // If installed.
53
+ if ( ! has_action( $action ) ) {
54
+ continue;
55
+ }
56
+
57
+ $addon_count++;
58
+
59
+ // Check license.
60
+ $license_status = alm_license_check( $item_id, $license, $status );
61
+
62
+ ?>
63
+
64
+ <div class="license" id="license-<?php echo sanitize_title_with_dashes( $name ); ?>">
65
+ <div class="license-title">
66
+ <div class="status <?php echo ( $license_status === 'valid' ) ? 'valid' : 'invalid'; ?> "></div>
67
+ <h2><?php echo $name; ?></h2>
68
+ </div>
69
+ <div class="license-wrap">
70
+ <form method="post" action="options.php">
71
+
72
+ <?php if ( $license_status !== false && $license_status == 'valid' ) { ?>
73
+ <!-- nothing -->
74
+ <?php } else { ?>
75
+ <div class="no-license">
76
+ <h4><?php _e( 'Don\'t have a license?', 'ajax-load-more' ); ?></h4>
77
+ <p><?php _e( 'A valid license is required to activate and receive plugin updates directly in your WordPress dashboard', 'ajax-load-more' ); ?> &rarr; <a href="<?php echo $url; ?>?utm_source=WP%20Admin&utm_medium=Licenses&utm_campaign=<?php echo $name; ?>" target="blank"><strong><?php _e( 'Purchase Now', 'ajax-load-more' ); ?>!</strong></a></p>
78
+ </div>
79
+ <?php } ?>
80
+
81
+ <?php settings_fields( $settings_field ); ?>
82
+
83
+ <label class="description offscreen" for="<?php echo $key; ?>"><?php esc_html_e( 'Enter License Key', 'ajax-load-more' ); ?></label>
84
+ <div class="license-key-field">
85
+ <input id="<?php echo esc_html( $key ); ?>" name="<?php echo esc_html( $key ); ?>" type="text" class="regular-text" value="<?php esc_attr_e( $license ); ?>" placeholder="<?php _e( 'Enter License Key', 'ajax-load-more' ); ?>" />
86
+ <?php if ( $license_status !== false && 'valid' === $license_status ) { ?>
87
+ <span class="status active"><?php esc_attr_e( 'Active', 'ajax-load-more' ); ?></span>
88
+ <?php } else { ?>
89
+ <span class="status inactive"><?php echo 'expired' === $license_status ? esc_html__( 'Expired', 'ajax-load-more' ) : esc_html__( 'Inactive', 'ajax-load-more' ); ?></span>
90
+ <?php } ?>
91
+ </div>
92
+
93
+ <?php
94
+ $nonce = 'alm_' . esc_html( $item_id ) . '_license_nonce';
95
+ wp_nonce_field( $nonce, $nonce );
96
+ ?>
97
+
98
+ <div class="license-btn-wrap"
99
+ data-name="<?php echo $item_id; ?>"
100
+ data-url="<?php echo ALM_STORE_URL; ?>"
101
+ data-option-status="<?php echo $status; ?>"
102
+ data-option-key="<?php echo $key; ?>"
103
+ data-upgrade-url="<?php echo $url; ?>">
104
+ <?php
105
+ $a_btn_class = 'valid' === $license_status ? ' hide' : '';
106
+ $d_btn_class = 'valid' !== $license_status ? ' hide' : '';
107
+ ?>
108
+ <?php // Activate License. ?>
109
+ <button type="button" class="activate license-btn<?php echo esc_html( $a_btn_class ); ?> button button-primary" data-type="activate">
110
+ <?php _e( 'Activate License', 'ajax-load-more' ); ?>
111
+ </button>
112
+ <?php // Deactivate License. ?>
113
+ <button type="button" class="deactivate license-btn<?php echo esc_html( $d_btn_class ); ?> button button-secondary" data-type="deactivate">
114
+ <?php _e( 'Deactivate License', 'ajax-load-more' ); ?>
115
+ </button>
116
+ <?php // Refresh License. ?>
117
+ <button type="button" class="check-licence license-btn<?php echo esc_html( $d_btn_class ); ?> button button-secondary" data-type="check">
118
+ <i class="fa fa-refresh" aria-hidden="true"></i> <?php _e( 'Refresh Status', 'ajax-load-more' ); ?>
119
+ </button>
120
+ <?php
121
+ // Expired license.
122
+ if ( 'expired' === $license_status ) {
123
+ if ( isset( $license ) && ! empty( $license ) ) {
124
+ $store = ALM_STORE_URL;
125
+ $url = "{$store}/checkout/?edd_license_key={$license}&download_id={$item_id}";
126
+ }
127
+ ?>
128
+ <a class="button renew-btn" href="<?php echo $url; ?>" target="_blank">
129
+ <?php _e( 'Renew License', 'ajax-load-more' ); ?>
130
+ </a>
131
+ <?php } ?>
132
+ </div>
133
+ </form>
134
+ </div>
135
+ <div class="loading"></div>
136
+ </div>
137
+ <?php } unset( $addons ); ?>
138
+
139
+ <?php
140
+ // No add-ons installed.
141
+ if ( $addon_count == 0 ) :
142
+ ?>
143
+ <div class="spacer"></div>
144
+ <div class="license-no-addons">
145
+ <p><?php esc_html_e( 'You do not have any Ajax Load More add-ons installed', 'ajax-load-more' ); ?> | <a href="admin.php?page=ajax-load-more-add-ons"><strong><?php _e( 'Browse Add-ons', 'ajax-load-more' ); ?></strong></a> | <a href="https://connekthq.com/plugins/ajax-load-more/pro/" target="_blank"><strong><?php _e( 'Go Pro', 'ajax-load-more' ); ?></strong></a></p>
146
+ </div>
147
+ <?php endif; ?>
148
+ </div>
149
+
150
+ <aside class="cnkt-sidebar">
151
+ <div id="cnkt-sticky-wrapper">
152
+ <div id="cnkt-sticky">
 
 
 
 
 
153
  <div class="cta">
154
+ <h3><?php _e( 'About Licenses', 'ajax-load-more' ); ?></h3>
155
+ <div class="cta-inner">
156
+ <ul>
157
+ <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>
158
+ <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>
159
+ <li><strong><?php _e( 'Are you having issues updating an add-on?', 'ajax-load-more' ); ?></strong><br/><?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>
160
+ </ul>
 
 
161
  </div>
162
+ <div class="major-publishing-actions">
163
+ <a class="button button-primary" target="_blank" href="https://connekthq.com/account/">
164
+ <?php _e( 'Your Account', 'ajax-load-more' ); ?>
165
+ </a>
166
  </div>
167
  </div>
168
+ </div>
169
+ </div>
170
  <div class="clear"></div>
171
  </aside>
 
172
  <div class="clear"></div>
173
 
174
  </div>
admin/views/repeater-templates.php CHANGED
File without changes
ajax-load-more.php CHANGED
@@ -7,15 +7,15 @@
7
  * Author: Darren Cooney
8
  * Twitter: @KaptonKaos
9
  * Author URI: https://connekthq.com
10
- * Version: 5.5.0
11
  * License: GPL
12
  * Copyright: Darren Cooney & Connekt Media
13
  *
14
  * @package AjaxLoadMore
15
  */
16
 
17
- define( 'ALM_VERSION', '5.5.0' );
18
- define( 'ALM_RELEASE', 'July 8, 2021' );
19
  define( 'ALM_STORE_URL', 'https://connekthq.com' );
20
 
21
  /**
7
  * Author: Darren Cooney
8
  * Twitter: @KaptonKaos
9
  * Author URI: https://connekthq.com
10
+ * Version: 5.5.0.1
11
  * License: GPL
12
  * Copyright: Darren Cooney & Connekt Media
13
  *
14
  * @package AjaxLoadMore
15
  */
16
 
17
+ define( 'ALM_VERSION', '5.5.0.1' );
18
+ define( 'ALM_RELEASE', 'September 15, 2021' );
19
  define( 'ALM_STORE_URL', 'https://connekthq.com' );
20
 
21
  /**
core/classes/class-alm-queryargs.php CHANGED
@@ -12,398 +12,393 @@ if ( ! defined( 'ABSPATH' ) ) {
12
  exit;
13
  }
14
 
15
- if(!class_exists('ALM_QUERY_ARGS')):
16
 
17
  /**
18
  * Ajax Load More Query Args class.
19
  */
20
- class ALM_QUERY_ARGS {
21
 
22
- /**
23
- * This function will return a generated $args array.
24
- *
25
- * @since 3.7
26
- * @param $a array
27
- * @return $args
28
- */
29
-
30
- public static function alm_build_queryargs($a, $is_ajax = true){
31
-
32
- // Post ID
33
- $id = (isset($a['id'])) ? $a['id'] : '';
34
-
35
- // Post ID
36
- $post_id = (isset($a['post_id'])) ? $a['post_id'] : '';
37
-
38
- // Posts Per Page
39
- $posts_per_page = (isset($a['posts_per_page'])) ? $a['posts_per_page'] : 5;
40
-
41
- // Post Type
42
- if($is_ajax){
43
- $post_type = (isset($a['post_type'])) ? explode(",", $a['post_type']) : 'post';
44
- } else {
45
- $post_type = explode(",", $a['post_type']);
46
- }
47
-
48
- // Format
49
- $post_format = (isset($a['post_format'])) ? $a['post_format'] : '';
50
-
51
- // Category
52
- $category = (isset($a['category'])) ? $a['category'] : '';
53
- $category__and = (isset($a['category__and'])) ? $a['category__and'] : '';
54
- $category__not_in = (isset($a['category__not_in'])) ? $a['category__not_in'] : '';
55
-
56
- // Tags
57
- $tag = (isset($a['tag'])) ? $a['tag'] : '';
58
- $tag__and = (isset($a['tag__and'])) ? $a['tag__and'] : '';
59
- $tag__not_in = (isset($a['tag__not_in'])) ? $a['tag__not_in'] : '';
60
-
61
- // Taxonomy
62
- $taxonomy = (isset($a['taxonomy'])) ? $a['taxonomy'] : '';
63
- $taxonomy_terms = (isset($a['taxonomy_terms'])) ? $a['taxonomy_terms'] : '';
64
- $taxonomy_operator = (isset($a['taxonomy_operator'])) ? $a['taxonomy_operator'] : '';
65
- if(empty($taxonomy_operator))
66
- $taxonomy_operator = 'IN';
67
- $taxonomy_relation = (isset($a['taxonomy_relation'])) ? $a['taxonomy_relation'] : 'AND';
68
- if(empty($taxonomy_relation))
69
- $taxonomy_relation = 'AND';
70
-
71
- // Date
72
- $year = (isset($a['year'])) ? $a['year'] : '';
73
- $month = (isset($a['month'])) ? $a['month'] : '';
74
- $day = (isset($a['day'])) ? $a['day'] : '';
75
-
76
- // Custom Fields
77
- $meta_key = (isset($a['meta_key'])) ? $a['meta_key'] : '';
78
- $meta_value = (isset($a['meta_value'])) ? $a['meta_value'] : '';
79
-
80
- $meta_compare = (isset($a['meta_compare'])) ? $a['meta_compare'] : '';
81
- $meta_compare = (empty($meta_compare)) ? 'IN' : $meta_compare;
82
-
83
- $meta_type = (isset($a['meta_type'])) ? $a['meta_type'] : '';
84
- $meta_type = (empty($meta_type)) ? 'CHAR' : $meta_type;
85
-
86
- $meta_relation = (isset($a['meta_relation'])) ? $a['meta_relation'] : '';
87
- $meta_relation = (empty($meta_relation)) ? 'AND' : $meta_relation;
88
-
89
- // Search
90
- $s = (isset($a['search'])) ? $a['search'] : '';
91
-
92
- // Custom Args
93
- $custom_args = (isset($a['custom_args'])) ? $a['custom_args'] : '';
94
-
95
- // Custom Args
96
- $vars = (isset($a['vars'])) ? $a['vars'] : '';
97
-
98
- // Author
99
- $author_id = (isset($a['author'])) ? $a['author'] : '';
100
-
101
- // Ordering
102
- $order = (isset($a['order'])) ? $a['order'] : 'DESC';
103
- $orderby = (isset($a['orderby'])) ? $a['orderby'] : 'date';
104
-
105
- // Sticky, Include, Exclude, Offset, Status
106
- $sticky = (isset($a['sticky_posts'])) ? $a['sticky_posts'] : '';
107
- $sticky = ($sticky === 'true') ? true : false;
108
-
109
- // Post IN
110
- $post__in = (isset($a['post__in'])) ? $a['post__in'] : '';
111
-
112
- // Exclude
113
- $post__not_in = (isset($a['post__not_in'])) ? $a['post__not_in'] : '';
114
- $exclude = (isset($a['exclude'])) ? $a['exclude'] : '';
115
-
116
- // Offset
117
- $offset = (isset($a['offset'])) ? $a['offset'] : 0;
118
-
119
- // Post Status
120
- $post_status = (isset($a['post_status'])) ? $a['post_status'] : 'publish';
121
- if(empty($post_status))
122
- $post_status = 'publish';
123
- if($post_status != 'publish' && $post_status != 'inherit'){
124
- // If not 'publish', confirm user has rights to view these old posts.
125
- if (current_user_can( 'edit_theme_options' ) ) {
126
- $post_status = $post_status;
127
- } else {
128
- $post_status = 'publish';
129
- }
130
- }
131
-
132
- // Advanced Custom Fields
133
- // Only used for Relationship Field. Gallery, Repeater and Flex Content is in the ACF extension.
134
- if($is_ajax){
135
- $acf = (isset($a['acf'])) ? true : false;
136
- if($acf){
137
- $acf_post_id = (isset($a['acf']['post_id'])) ? $a['acf']['post_id'] : ''; // Post ID
138
- $acf_field_type = (isset($a['acf']['field_type'])) ? $a['acf']['field_type'] : ''; // Field Type
139
- $acf_field_name = (isset($a['acf']['field_name'])) ? $a['acf']['field_name'] : ''; // Field Name
140
- $acf_parent_field_name = (isset($a['acf']['parent_field_name'])) ? $a['acf']['parent_field_name'] : ''; // Parent Field Name
141
- }
142
-
143
- } else {
144
- // If Preloaded, $a needs to access acf data differently.
145
- if(isset($a['acf'] ) ) {
146
- if($a['acf'] === 'true'){
147
- $acf_post_id = (isset($a['acf_post_id'])) ? $a['acf_post_id'] : ''; // Post ID
148
- $acf_field_type = (isset($a['acf_field_type'])) ? $a['acf_field_type'] : ''; // Field Type
149
- $acf_field_name = (isset($a['acf_field_name'])) ? $a['acf_field_name'] : ''; // Field Name
150
- $acf_parent_field_name = (isset($a['acf_parent_field_name'])) ? $a['acf_parent_field_name'] : ''; // Parent Field Name
151
- }
152
- }
153
- }
154
-
155
- // Create $args array
156
- $args = array(
157
- 'post_type' => $post_type,
158
- 'posts_per_page' => $posts_per_page,
159
- 'offset' => $offset,
160
- 'order' => $order,
161
- 'orderby' => $orderby,
162
- 'post_status' => $post_status,
163
- 'ignore_sticky_posts' => true
164
- );
165
-
166
- // Post Format & Taxonomy
167
- // * Both use tax_query, so we need to combine these queries
168
- if ( ! empty( $post_format) || !empty($taxonomy ) ) {
169
-
170
- $tax_query_total = count(explode(":", $taxonomy)); // Total $taxonomy objects
171
- $taxonomy = explode(":", $taxonomy); // convert to array
172
- $taxonomy_terms = explode(":", $taxonomy_terms); // convert to array
173
- $taxonomy_operator = explode(":", $taxonomy_operator); // convert to array
174
-
175
- if(empty($taxonomy ) ) {
176
-
177
- // Post Format only
178
- $args['tax_query'] = array(
179
- alm_get_post_format($post_format),
180
- );
181
-
182
- }else{
183
-
184
- // Post Formats
 
 
185
  $args['tax_query'] = array(
186
  'relation' => $taxonomy_relation,
187
- alm_get_post_format($post_format)
188
  );
189
 
190
  // Loop Taxonomies
191
- for($tax_i = 0; $tax_i < $tax_query_total; $tax_i++){
192
- $args['tax_query'][] = alm_get_taxonomy_query($taxonomy[$tax_i], $taxonomy_terms[$tax_i], $taxonomy_operator[$tax_i]);
193
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
194
 
195
- }
196
-
197
- }
198
-
199
- // Category
200
- if ( ! empty( $category ) ) {
201
- $args['category_name'] = $category;
202
- }
203
- if ( ! empty( $category__and ) ) {
204
- $args['category__and'] = explode(",", $category__and);
205
- }
206
-
207
- // Category Not In
208
- if ( ! empty( $category__not_in ) ) {
209
- $exclude_cats = explode(",",$category__not_in);
210
- $args['category__not_in'] = $exclude_cats;
211
- }
212
-
213
- // Tag
214
- if ( ! empty( $tag ) ) {
215
- $args['tag'] = $tag;
216
- }
217
- if ( ! empty( $tag__and ) ) {
218
- $args['tag__and'] = explode(",", $tag__and);
219
- }
220
-
221
- // Tag Not In
222
- if ( ! empty( $tag__not_in ) ) {
223
- $exclude_tags = explode(",",$tag__not_in);
224
- $args['tag__not_in'] = $exclude_tags;
225
- }
226
-
227
- // Date (not using date_query as there was issue with year/month archives)
228
- if ( ! empty( $year ) ) {
229
- $args['year'] = $year;
230
- }
231
- if ( ! empty( $month ) ) {
232
- $args['monthnum'] = $month;
233
- }
234
- if ( ! empty( $day ) ) {
235
- $args['day'] = $day;
236
- }
237
-
238
- // Meta Query
239
- if ( ! empty( $meta_key) && isset($meta_value) || !empty($meta_key) && $meta_compare !== "IN"){
240
-
241
- // Parse multiple meta query
242
- $meta_query_total = count(explode(":", $meta_key)); // Total meta_query objects
243
- $meta_keys = explode(":", $meta_key); // convert to array
244
- $meta_value = explode(":", $meta_value); // convert to array
245
- $meta_compare = explode(":", $meta_compare); // convert to array
246
- $meta_type = explode(":", $meta_type); // convert to array
247
-
248
- // Loop Meta Query
249
- $args['meta_query'] = array(
250
- 'relation' => $meta_relation
251
- );
252
- for($mq_i = 0; $mq_i < $meta_query_total; $mq_i++){
253
- $args['meta_query'][] = alm_get_meta_query($meta_keys[$mq_i], $meta_value[$mq_i], $meta_compare[$mq_i], $meta_type[$mq_i]);
254
  }
255
  }
256
 
257
- // Meta_key, used for ordering by meta value
258
- if ( ! empty( $meta_key ) ) {
259
- if (strpos($orderby, 'meta_value') !== false) { // Only order by meta_key, if $orderby is set to meta_value{_num}
260
- $meta_key_single = explode(":", $meta_key);
261
- $args['meta_key'] = $meta_key_single[0];
262
- }
263
- }
264
-
265
- // Author
266
- if ( ! empty( $author_id ) ) {
267
- $args['author'] = $author_id;
268
- }
269
-
270
- // Search Term
271
- if ( ! empty( $s ) ) {
272
- $args['s'] = $s;
273
- }
274
-
275
- // Custom Args
276
- if ( ! empty( $custom_args ) ) {
277
- $args = self::parse_custom_args($args, $custom_args);
278
- }
279
 
280
  // Vars
281
- if ( ! empty( $vars ) ) {
282
- $args = self::parse_custom_vars($args, $vars);
283
- }
284
-
285
- // Include posts
286
- if ( ! empty( $post__in ) ) {
287
- $post__in = explode(",",$post__in);
288
- $args['post__in'] = $post__in;
289
- }
290
-
291
- // Exclude posts
292
- if ( ! empty( $post__not_in ) ) {
293
- $post__not_in = explode(",",$post__not_in);
294
- $args['post__not_in'] = $post__not_in;
295
- }
296
- if ( ! empty( $exclude ) ) { // Deprecate this soon - 2.8.5 */
297
- $exclude = explode(",",$exclude);
298
- $args['post__not_in'] = $exclude;
299
- }
300
-
301
- // Language
302
- if ( ! empty( $lang ) ) {
303
- $args['lang'] = $lang;
304
- }
305
-
306
- // Sticky Posts
307
- if($sticky){
308
- $sticky_posts = get_option( 'sticky_posts' ); // Get all sticky post ids
309
- $sticky_post__not_in = isset($args['post__not_in']) ? $args['post__not_in'] : '';
310
-
311
- if($is_ajax){ // Is an Ajax Query
312
-
313
- $sticky_query_args = $args;
314
-
315
- $sticky_query_args['post__not_in'] = $sticky_posts;
316
- $sticky_query_args['posts_per_page'] = -1;
317
- $sticky_query_args['fields'] = 'ids';
318
-
319
- $sticky_query = new WP_Query($sticky_query_args); // Query all non sticky posts
320
-
321
- // If has sticky and regular posts
322
- if($sticky_posts && $sticky_query->posts){
323
- $standard_posts = $sticky_query->posts;
324
- if($standard_posts){
325
- $sticky_ids = array_merge($sticky_posts, $standard_posts); // merge regular posts with sticky
326
- $args['post__in'] = alm_sticky_post__not_in($sticky_ids, $sticky_post__not_in);
327
- $args['orderby'] = 'post__in'; // set orderby to order by post__in.
328
- }
329
- }
330
-
331
- } else { // Preloaded
332
-
333
- // If more sticky posts than $posts_per_page run a secondary query to get posts to fill query.
334
- if(count($sticky_posts) <= $posts_per_page){
335
-
336
- $sticky_query_args = $args;
337
-
338
- $sticky_query_args['post__not_in'] = $sticky_posts;
339
- $sticky_query_args['posts_per_page'] = -1;
340
- $sticky_query_args['fields'] = 'ids';
341
-
342
-
343
- $sticky_query = new WP_Query($sticky_query_args); // Query all non sticky posts
344
-
345
- // If has sticky and regular posts
346
- if($sticky_posts && $sticky_query->posts){
347
- $standard_posts = $sticky_query->posts;
348
- if($standard_posts){
349
- $sticky_ids = array_merge($sticky_posts, $standard_posts); // merge regular posts with sticky
350
- $sticky_ids = alm_sticky_post__not_in($sticky_ids, $sticky_post__not_in);
351
- $args['orderby'] = 'post__in'; // set orderby to order by post__in.
352
- }
353
- }
354
-
355
- }else{
356
- $sticky_ids = $sticky_posts; // Pass get_option('sticky_posts');
357
- }
358
-
359
- // If has sticky posts.
360
- if($sticky_posts){
361
- $args['post__in'] = $sticky_ids;
362
- $args['orderby'] = 'post__in'; // set orderby to order by post__in.
363
- }
364
-
365
- }
366
-
367
- }
368
-
369
- // Advanced Custom Fields
370
- if ( ! empty( $acf_field_type) && !empty($acf_field_name) && function_exists('get_field' ) ) {
371
- if($acf_field_type === 'relationship'){ // Relationship Field
372
- $acf_post_id = (empty($acf_post_id)) ? $post_id : $acf_post_id;
373
- $acf_post_ids = [];
374
-
375
- if(empty($acf_parent_field_name ) ) {
376
- // Get field value from ACF
377
- $acf_post_ids = get_field($acf_field_name, $acf_post_id);
378
- } else {
379
- // Call function in ACF extension
380
- if(function_exists('alm_acf_loop_gallery_rows' ) ) {
381
  // Sub Fields
382
- $acf_post_ids = alm_acf_loop_relationship_rows($acf_parent_field_name, $acf_field_name, $acf_post_id);
383
  }
384
- }
385
- $args['post__in'] = ($acf_post_ids) ? $acf_post_ids : array(0);
386
- }
387
- }
388
-
389
- /**
390
- * Custom `alm_id` query parameter in the WP_Query
391
- * This allows pre_get_posts to parse based on ALM ID
392
- */
393
  $args['alm_id'] = $id;
394
 
395
- // Return $args
396
- return $args;
397
 
398
  }
399
 
400
  /**
401
  * Parse a var parameter as string into array.
402
  *
403
- * @param object $args The current $args array.
404
  * @param string argument The parameter to parse.
405
  */
406
- public static function parse_custom_vars( $args, $param ){
407
  if ( empty( $param ) ) {
408
  return $args;
409
  }
@@ -415,9 +410,9 @@ if(!class_exists('ALM_QUERY_ARGS')):
415
  $array = [];
416
 
417
  // Loop each $param.
418
- foreach( $params as $param ){
419
- $param = explode( ':', $param ); // Split the $argument at ':'.
420
- $array[$param[0]] = $param[1];
421
  }
422
 
423
  $args['alm_vars'] = $array;
@@ -430,26 +425,25 @@ if(!class_exists('ALM_QUERY_ARGS')):
430
  /**
431
  * Parse `custom_args` string parameter into array.
432
  *
433
- * @param object $args The current $args array.
434
- * @param string $argument The parameter to parse.
435
  */
436
- public static function parse_custom_args($args, $param){
437
 
438
  // Split the $param at `;`.
439
  $array = explode( ';', $param );
440
 
441
  // Loop each $argument.
442
- foreach($array as $arg){
443
 
444
- $arg = preg_replace('/\s+/', '', $arg); // Remove all whitespace.
445
- $arg = explode( ':',$arg ); // Split at `:`.
446
  $argument_arr = explode( ',', $arg[1] ); // explode $argument[1] at `,`.
447
- if(sizeof($argument_arr) > 1){
448
- $args[$arg[0]] = $argument_arr;
449
- }else{
450
- $args[$arg[0]] = $arg[1];
451
  }
452
-
453
  }
454
 
455
  // Return parsed $args.
12
  exit;
13
  }
14
 
15
+ if ( ! class_exists( 'ALM_QUERY_ARGS' ) ) :
16
 
17
  /**
18
  * Ajax Load More Query Args class.
19
  */
20
+ class ALM_QUERY_ARGS {
21
 
22
+ /**
23
+ * This function will return a generated $args array.
24
+ *
25
+ * @since 3.7
26
+ * @param $a array
27
+ * @return $args
28
+ */
29
+
30
+ public static function alm_build_queryargs( $a, $is_ajax = true ) {
31
+
32
+ // Post ID
33
+ $id = ( isset( $a['id'] ) ) ? $a['id'] : '';
34
+
35
+ // Post ID
36
+ $post_id = ( isset( $a['post_id'] ) ) ? $a['post_id'] : '';
37
+
38
+ // Posts Per Page
39
+ $posts_per_page = ( isset( $a['posts_per_page'] ) ) ? $a['posts_per_page'] : 5;
40
+
41
+ // Post Type
42
+ if ( $is_ajax ) {
43
+ $post_type = ( isset( $a['post_type'] ) ) ? explode( ',', $a['post_type'] ) : 'post';
44
+ } else {
45
+ $post_type = explode( ',', $a['post_type'] );
46
+ }
47
+
48
+ // Format
49
+ $post_format = ( isset( $a['post_format'] ) ) ? $a['post_format'] : '';
50
+
51
+ // Category
52
+ $category = ( isset( $a['category'] ) ) ? $a['category'] : '';
53
+ $category__and = ( isset( $a['category__and'] ) ) ? $a['category__and'] : '';
54
+ $category__not_in = ( isset( $a['category__not_in'] ) ) ? $a['category__not_in'] : '';
55
+
56
+ // Tags
57
+ $tag = ( isset( $a['tag'] ) ) ? $a['tag'] : '';
58
+ $tag__and = ( isset( $a['tag__and'] ) ) ? $a['tag__and'] : '';
59
+ $tag__not_in = ( isset( $a['tag__not_in'] ) ) ? $a['tag__not_in'] : '';
60
+
61
+ // Taxonomy
62
+ $taxonomy = ( isset( $a['taxonomy'] ) ) ? $a['taxonomy'] : '';
63
+ $taxonomy_terms = ( isset( $a['taxonomy_terms'] ) ) ? $a['taxonomy_terms'] : '';
64
+ $taxonomy_operator = ( isset( $a['taxonomy_operator'] ) ) ? $a['taxonomy_operator'] : '';
65
+ if ( empty( $taxonomy_operator ) ) {
66
+ $taxonomy_operator = 'IN';
67
+ }
68
+ $taxonomy_relation = ( isset( $a['taxonomy_relation'] ) ) ? $a['taxonomy_relation'] : 'AND';
69
+ if ( empty( $taxonomy_relation ) ) {
70
+ $taxonomy_relation = 'AND';
71
+ }
72
+
73
+ // Date
74
+ $year = ( isset( $a['year'] ) ) ? $a['year'] : '';
75
+ $month = ( isset( $a['month'] ) ) ? $a['month'] : '';
76
+ $day = ( isset( $a['day'] ) ) ? $a['day'] : '';
77
+
78
+ // Custom Fields
79
+ $meta_key = ( isset( $a['meta_key'] ) ) ? $a['meta_key'] : '';
80
+ $meta_value = ( isset( $a['meta_value'] ) ) ? $a['meta_value'] : '';
81
+
82
+ $meta_compare = ( isset( $a['meta_compare'] ) ) ? $a['meta_compare'] : '';
83
+ $meta_compare = ( empty( $meta_compare ) ) ? 'IN' : $meta_compare;
84
+
85
+ $meta_type = ( isset( $a['meta_type'] ) ) ? $a['meta_type'] : '';
86
+ $meta_type = ( empty( $meta_type ) ) ? 'CHAR' : $meta_type;
87
+
88
+ $meta_relation = ( isset( $a['meta_relation'] ) ) ? $a['meta_relation'] : '';
89
+ $meta_relation = ( empty( $meta_relation ) ) ? 'AND' : $meta_relation;
90
+
91
+ // Search
92
+ $s = ( isset( $a['search'] ) ) ? $a['search'] : '';
93
+
94
+ // Custom Args
95
+ $custom_args = ( isset( $a['custom_args'] ) ) ? $a['custom_args'] : '';
96
+
97
+ // Custom Args
98
+ $vars = ( isset( $a['vars'] ) ) ? $a['vars'] : '';
99
+
100
+ // Author
101
+ $author_id = ( isset( $a['author'] ) ) ? $a['author'] : '';
102
+
103
+ // Ordering
104
+ $order = ( isset( $a['order'] ) ) ? $a['order'] : 'DESC';
105
+ $orderby = ( isset( $a['orderby'] ) ) ? $a['orderby'] : 'date';
106
+
107
+ // Sticky, Include, Exclude, Offset, Status
108
+ $sticky = ( isset( $a['sticky_posts'] ) ) ? $a['sticky_posts'] : '';
109
+ $sticky = ( $sticky === 'true' ) ? true : false;
110
+
111
+ // Post IN
112
+ $post__in = ( isset( $a['post__in'] ) ) ? $a['post__in'] : '';
113
+
114
+ // Exclude
115
+ $post__not_in = ( isset( $a['post__not_in'] ) ) ? $a['post__not_in'] : '';
116
+ $exclude = ( isset( $a['exclude'] ) ) ? $a['exclude'] : '';
117
+
118
+ // Offset
119
+ $offset = ( isset( $a['offset'] ) ) ? $a['offset'] : 0;
120
+
121
+ // Post Status
122
+ $post_status = ( isset( $a['post_status'] ) ) ? $a['post_status'] : 'publish';
123
+ if ( empty( $post_status ) ) {
124
+ $post_status = 'publish';
125
+ }
126
+ if ( $post_status != 'publish' && $post_status != 'inherit' ) {
127
+ // If not 'publish', confirm user has rights to view these old posts.
128
+ if ( current_user_can( 'edit_theme_options' ) ) {
129
+ $post_status = $post_status;
130
+ } else {
131
+ $post_status = 'publish';
132
+ }
133
+ }
134
+
135
+ // Advanced Custom Fields
136
+ // Only used for Relationship Field. Gallery, Repeater and Flex Content is in the ACF extension.
137
+ if ( $is_ajax ) {
138
+ $acf = ( isset( $a['acf'] ) ) ? true : false;
139
+ if ( $acf ) {
140
+ $acf_post_id = ( isset( $a['acf']['post_id'] ) ) ? $a['acf']['post_id'] : ''; // Post ID
141
+ $acf_field_type = ( isset( $a['acf']['field_type'] ) ) ? $a['acf']['field_type'] : ''; // Field Type
142
+ $acf_field_name = ( isset( $a['acf']['field_name'] ) ) ? $a['acf']['field_name'] : ''; // Field Name
143
+ $acf_parent_field_name = ( isset( $a['acf']['parent_field_name'] ) ) ? $a['acf']['parent_field_name'] : ''; // Parent Field Name
144
+ }
145
+ } else {
146
+ // If Preloaded, $a needs to access acf data differently.
147
+ if ( isset( $a['acf'] ) ) {
148
+ if ( $a['acf'] === 'true' ) {
149
+ $acf_post_id = ( isset( $a['acf_post_id'] ) ) ? $a['acf_post_id'] : ''; // Post ID
150
+ $acf_field_type = ( isset( $a['acf_field_type'] ) ) ? $a['acf_field_type'] : ''; // Field Type
151
+ $acf_field_name = ( isset( $a['acf_field_name'] ) ) ? $a['acf_field_name'] : ''; // Field Name
152
+ $acf_parent_field_name = ( isset( $a['acf_parent_field_name'] ) ) ? $a['acf_parent_field_name'] : ''; // Parent Field Name
153
+ }
154
+ }
155
+ }
156
+
157
+ // Create $args array
158
+ $args = array(
159
+ 'post_type' => $post_type,
160
+ 'posts_per_page' => $posts_per_page,
161
+ 'offset' => $offset,
162
+ 'order' => $order,
163
+ 'orderby' => $orderby,
164
+ 'post_status' => $post_status,
165
+ 'ignore_sticky_posts' => true,
166
+ );
167
+
168
+ // Post Format & Taxonomy
169
+ // * Both use tax_query, so we need to combine these queries
170
+ if ( ! empty( $post_format ) || ! empty( $taxonomy ) ) {
171
+
172
+ $tax_query_total = count( explode( ':', $taxonomy ) ); // Total $taxonomy objects
173
+ $taxonomy = explode( ':', $taxonomy ); // convert to array
174
+ $taxonomy_terms = explode( ':', $taxonomy_terms ); // convert to array
175
+ $taxonomy_operator = explode( ':', $taxonomy_operator ); // convert to array
176
+
177
+ if ( empty( $taxonomy ) ) {
178
+
179
+ // Post Format only
180
+ $args['tax_query'] = array(
181
+ alm_get_post_format( $post_format ),
182
+ );
183
+
184
+ } else {
185
+
186
+ // Post Formats
187
  $args['tax_query'] = array(
188
  'relation' => $taxonomy_relation,
189
+ alm_get_post_format( $post_format ),
190
  );
191
 
192
  // Loop Taxonomies
193
+ for ( $tax_i = 0; $tax_i < $tax_query_total; $tax_i++ ) {
194
+ $args['tax_query'][] = alm_get_taxonomy_query( $taxonomy[ $tax_i ], $taxonomy_terms[ $tax_i ], $taxonomy_operator[ $tax_i ] );
195
  }
196
+ }
197
+ }
198
+
199
+ // Category
200
+ if ( ! empty( $category ) ) {
201
+ $args['category_name'] = $category;
202
+ }
203
+ if ( ! empty( $category__and ) ) {
204
+ $args['category__and'] = explode( ',', $category__and );
205
+ }
206
+
207
+ // Category Not In
208
+ if ( ! empty( $category__not_in ) ) {
209
+ $exclude_cats = explode( ',', $category__not_in );
210
+ $args['category__not_in'] = $exclude_cats;
211
+ }
212
+
213
+ // Tag
214
+ if ( ! empty( $tag ) ) {
215
+ $args['tag'] = $tag;
216
+ }
217
+ if ( ! empty( $tag__and ) ) {
218
+ $args['tag__and'] = explode( ',', $tag__and );
219
+ }
220
 
221
+ // Tag Not In
222
+ if ( ! empty( $tag__not_in ) ) {
223
+ $exclude_tags = explode( ',', $tag__not_in );
224
+ $args['tag__not_in'] = $exclude_tags;
225
+ }
226
+
227
+ // Date (not using date_query as there was issue with year/month archives)
228
+ if ( ! empty( $year ) ) {
229
+ $args['year'] = $year;
230
+ }
231
+ if ( ! empty( $month ) ) {
232
+ $args['monthnum'] = $month;
233
+ }
234
+ if ( ! empty( $day ) ) {
235
+ $args['day'] = $day;
236
+ }
237
+
238
+ // Meta Query
239
+ if ( ! empty( $meta_key ) && isset( $meta_value ) || ! empty( $meta_key ) && $meta_compare !== 'IN' ) {
240
+
241
+ // Parse multiple meta query
242
+ $meta_query_total = count( explode( ':', $meta_key ) ); // Total meta_query objects.
243
+ $meta_keys = explode( ':', $meta_key ); // convert to array.
244
+ $meta_value = explode( ':', $meta_value ); // convert to array.
245
+ $meta_compare = explode( ':', $meta_compare ); // convert to array.
246
+ $meta_type = explode( ':', $meta_type ); // convert to array.
247
+
248
+ // Loop Meta Query
249
+ $args['meta_query'] = array(
250
+ 'relation' => $meta_relation,
251
+ );
252
+ for ( $mq_i = 0; $mq_i < $meta_query_total; $mq_i++ ) {
253
+ $args['meta_query'][] = alm_get_meta_query( $meta_keys[ $mq_i ], $meta_value[ $mq_i ], $meta_compare[ $mq_i ], $meta_type[ $mq_i ] );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
254
  }
255
  }
256
 
257
+ // Meta_key, used for ordering by meta value
258
+ if ( ! empty( $meta_key ) ) {
259
+ if ( strpos( $orderby, 'meta_value' ) !== false ) { // Only order by meta_key, if $orderby is set to meta_value{_num}
260
+ $meta_key_single = explode( ':', $meta_key );
261
+ $args['meta_key'] = $meta_key_single[0];
262
+ }
263
+ }
264
+
265
+ // Author
266
+ if ( ! empty( $author_id ) ) {
267
+ $args['author'] = $author_id;
268
+ }
269
+
270
+ // Search Term
271
+ if ( ! empty( $s ) ) {
272
+ $args['s'] = $s;
273
+ }
274
+
275
+ // Custom Args
276
+ if ( ! empty( $custom_args ) ) {
277
+ $args = self::parse_custom_args( $args, $custom_args );
278
+ }
279
 
280
  // Vars
281
+ if ( ! empty( $vars ) ) {
282
+ $args = self::parse_custom_vars( $args, $vars );
283
+ }
284
+
285
+ // Include posts
286
+ if ( ! empty( $post__in ) ) {
287
+ $post__in = explode( ',', $post__in );
288
+ $args['post__in'] = $post__in;
289
+ }
290
+
291
+ // Exclude posts
292
+ if ( ! empty( $post__not_in ) ) {
293
+ $post__not_in = explode( ',', $post__not_in );
294
+ $args['post__not_in'] = $post__not_in;
295
+ }
296
+ if ( ! empty( $exclude ) ) { // Deprecate this soon - 2.8.5 */
297
+ $exclude = explode( ',', $exclude );
298
+ $args['post__not_in'] = $exclude;
299
+ }
300
+
301
+ // Language
302
+ if ( ! empty( $lang ) ) {
303
+ $args['lang'] = $lang;
304
+ }
305
+
306
+ // Sticky Posts
307
+ if ( $sticky ) {
308
+ $sticky_posts = get_option( 'sticky_posts' ); // Get all sticky post ids
309
+ $sticky_post__not_in = isset( $args['post__not_in'] ) ? $args['post__not_in'] : '';
310
+
311
+ if ( $is_ajax ) { // Is an Ajax Query
312
+
313
+ $sticky_query_args = $args;
314
+
315
+ $sticky_query_args['post__not_in'] = $sticky_posts;
316
+ $sticky_query_args['posts_per_page'] = -1;
317
+ $sticky_query_args['fields'] = 'ids';
318
+
319
+ $sticky_query = new WP_Query( $sticky_query_args ); // Query all non sticky posts
320
+
321
+ // If has sticky and regular posts
322
+ if ( $sticky_posts && $sticky_query->posts ) {
323
+ $standard_posts = $sticky_query->posts;
324
+ if ( $standard_posts ) {
325
+ $sticky_ids = array_merge( $sticky_posts, $standard_posts ); // merge regular posts with sticky
326
+ $args['post__in'] = alm_sticky_post__not_in( $sticky_ids, $sticky_post__not_in );
327
+ $args['orderby'] = 'post__in'; // set orderby to order by post__in.
328
+ }
329
+ }
330
+ } else { // Preloaded
331
+
332
+ // If more sticky posts than $posts_per_page run a secondary query to get posts to fill query.
333
+ if ( count( $sticky_posts ) <= $posts_per_page ) {
334
+
335
+ $sticky_query_args = $args;
336
+
337
+ $sticky_query_args['post__not_in'] = $sticky_posts;
338
+ $sticky_query_args['posts_per_page'] = -1;
339
+ $sticky_query_args['fields'] = 'ids';
340
+
341
+ $sticky_query = new WP_Query( $sticky_query_args ); // Query all non sticky posts
342
+
343
+ // If has sticky and regular posts
344
+ if ( $sticky_posts && $sticky_query->posts ) {
345
+ $standard_posts = $sticky_query->posts;
346
+ if ( $standard_posts ) {
347
+ $sticky_ids = array_merge( $sticky_posts, $standard_posts ); // merge regular posts with sticky
348
+ $sticky_ids = alm_sticky_post__not_in( $sticky_ids, $sticky_post__not_in );
349
+ $args['orderby'] = 'post__in'; // set orderby to order by post__in.
350
+ }
351
+ }
352
+ } else {
353
+ $sticky_ids = $sticky_posts; // Pass get_option('sticky_posts');
354
+ }
355
+
356
+ // If has sticky posts.
357
+ if ( $sticky_posts ) {
358
+ $args['post__in'] = $sticky_ids;
359
+ $args['orderby'] = 'post__in'; // set orderby to order by post__in.
360
+ }
361
+ }
362
+ }
363
+
364
+ // Advanced Custom Fields
365
+ if ( ! empty( $acf_field_type ) && ! empty( $acf_field_name ) && function_exists( 'get_field' ) ) {
366
+ if ( $acf_field_type === 'relationship' ) { // Relationship Field
367
+ $acf_post_id = ( empty( $acf_post_id ) ) ? $post_id : $acf_post_id;
368
+ $acf_post_ids = [];
369
+
370
+ if ( empty( $acf_parent_field_name ) ) {
371
+ // Get field value from ACF
372
+ $acf_post_ids = get_field( $acf_field_name, $acf_post_id );
373
+ } else {
374
+ // Call function in ACF extension
375
+ if ( function_exists( 'alm_acf_loop_gallery_rows' ) ) {
 
 
 
 
 
376
  // Sub Fields
377
+ $acf_post_ids = alm_acf_loop_relationship_rows( $acf_parent_field_name, $acf_field_name, $acf_post_id );
378
  }
379
+ }
380
+ $args['post__in'] = ( $acf_post_ids ) ? $acf_post_ids : array( 0 );
381
+ }
382
+ }
383
+
384
+ /**
385
+ * Custom `alm_id` query parameter in the WP_Query
386
+ * This allows pre_get_posts to parse based on ALM ID
387
+ */
388
  $args['alm_id'] = $id;
389
 
390
+ // Return $args
391
+ return $args;
392
 
393
  }
394
 
395
  /**
396
  * Parse a var parameter as string into array.
397
  *
398
+ * @param object $args The current $args array.
399
  * @param string argument The parameter to parse.
400
  */
401
+ public static function parse_custom_vars( $args, $param ) {
402
  if ( empty( $param ) ) {
403
  return $args;
404
  }
410
  $array = [];
411
 
412
  // Loop each $param.
413
+ foreach ( $params as $param ) {
414
+ $param = explode( ':', $param ); // Split the $argument at ':'.
415
+ $array[ $param[0] ] = $param[1];
416
  }
417
 
418
  $args['alm_vars'] = $array;
425
  /**
426
  * Parse `custom_args` string parameter into array.
427
  *
428
+ * @param object $args The current $args array.
429
+ * @param string $argument The parameter to parse.
430
  */
431
+ public static function parse_custom_args( $args, $param ) {
432
 
433
  // Split the $param at `;`.
434
  $array = explode( ';', $param );
435
 
436
  // Loop each $argument.
437
+ foreach ( $array as $arg ) {
438
 
439
+ $arg = preg_replace( '/\s+/', '', $arg ); // Remove all whitespace.
440
+ $arg = explode( ':', $arg ); // Split at `:`.
441
  $argument_arr = explode( ',', $arg[1] ); // explode $argument[1] at `,`.
442
+ if ( sizeof( $argument_arr ) > 1 ) {
443
+ $args[ $arg[0] ] = $argument_arr;
444
+ } else {
445
+ $args[ $arg[0] ] = $arg[1];
446
  }
 
447
  }
448
 
449
  // Return parsed $args.
core/classes/includes/preloaded.php CHANGED
File without changes
core/dist/js/ajax-load-more.js CHANGED
@@ -288,7 +288,7 @@ function elementorInit(alm) {
288
  *
289
  * @param {HTMLElement} content
290
  * @param {object} alm
291
- * @param {String} pageTitle
292
  * @since 5.3.0
293
  */
294
 
@@ -308,6 +308,11 @@ function elementor(content, alm) {
308
  // Convert NodeList to Array
309
  items = Array.prototype.slice.call(items);
310
 
 
 
 
 
 
311
  // Load the items
312
  _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
313
  return regeneratorRuntime.wrap(function _callee$(_context) {
@@ -1188,9 +1193,14 @@ function woocommerce(content, alm) {
1188
  var url = alm.addons.woocommerce_settings.paged_urls[page];
1189
 
1190
  if (container && products && url) {
1191
- // Convert NodeList to Array
1192
  products = Array.prototype.slice.call(products);
1193
 
 
 
 
 
 
1194
  // Load the Products
1195
  _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
1196
  return regeneratorRuntime.wrap(function _callee$(_context) {
@@ -1387,6 +1397,7 @@ function returnButton(text, link, label, seperator) {
1387
  * Get total count of WooCommerce containers.
1388
  *
1389
  * @param {string} container The container class.
 
1390
  */
1391
  function getContainerCount(container) {
1392
  if (!container) {
@@ -4154,34 +4165,45 @@ exports.tab = tab;
4154
  */
4155
 
4156
  var tracking = function tracking(path) {
4157
- if (typeof gtag === 'function') {
4158
- // Gtag GA Tracking
4159
- gtag('event', 'page_view', {
4160
- page_path: path
4161
- });
4162
- if (alm_localize.ga_debug) {
4163
- console.log('Pageview sent to Google Analytics (gtag)');
 
 
 
 
 
 
 
4164
  }
4165
- }
4166
- if (typeof ga === 'function') {
4167
- // Deprecated GA Tracking
4168
- ga('send', 'pageview', path);
4169
- if (alm_localize.ga_debug) {
4170
- console.log('Pageview sent to Google Analytics (ga)');
 
 
4171
  }
4172
- }
4173
- if (typeof __gaTracker === 'function') {
4174
- // Monster Insights
4175
- __gaTracker('send', 'pageview', path);
4176
- if (alm_localize.ga_debug) {
4177
- console.log('Pageview sent to Google Analytics (__gaTracker)');
 
 
4178
  }
4179
- }
4180
 
4181
- // Dispatch global Analytics callback
4182
- if (typeof almAnalytics === 'function') {
4183
- window.almAnalytics(path);
4184
- }
 
4185
  };
4186
  exports.tracking = tracking;
4187
 
@@ -6092,9 +6114,9 @@ function _asyncToGenerator(fn) {
6092
  * @param {HTMLElement} container
6093
  * @param {HTMLElement} items
6094
  * @param {Object} alm
6095
- * @param {String} pageTitle
6096
- * @param {String} url
6097
- * @param {String} className
6098
  */
6099
  var loadItems = function loadItems(container, items, alm, pageTitle) {
6100
  var url = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : window.location;
288
  *
289
  * @param {HTMLElement} content
290
  * @param {object} alm
291
+ * @param {string} pageTitle
292
  * @since 5.3.0
293
  */
294
 
308
  // Convert NodeList to Array
309
  items = Array.prototype.slice.call(items);
310
 
311
+ // Trigger almElementorLoaded callback.
312
+ if (typeof almElementorLoaded === 'function') {
313
+ window.almElementorLoaded(items);
314
+ }
315
+
316
  // Load the items
317
  _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
318
  return regeneratorRuntime.wrap(function _callee$(_context) {
1193
  var url = alm.addons.woocommerce_settings.paged_urls[page];
1194
 
1195
  if (container && products && url) {
1196
+ // Convert NodeList to Array.
1197
  products = Array.prototype.slice.call(products);
1198
 
1199
+ // Trigger almWooCommerceLoaded callback.
1200
+ if (typeof almWooCommerceLoaded === 'function') {
1201
+ window.almWooCommerceLoaded(products);
1202
+ }
1203
+
1204
  // Load the Products
1205
  _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
1206
  return regeneratorRuntime.wrap(function _callee$(_context) {
1397
  * Get total count of WooCommerce containers.
1398
  *
1399
  * @param {string} container The container class.
1400
+ * @return {Number} The total umber of containers.
1401
  */
1402
  function getContainerCount(container) {
1403
  if (!container) {
4165
  */
4166
 
4167
  var tracking = function tracking(path) {
4168
+ setTimeout(function () {
4169
+ // Delay to allow for state change.
4170
+ path = path.replace(/\/\//g, '/'); // Replace instance of a double backslash.
4171
+
4172
+ if (typeof gtag === 'function') {
4173
+ // Gtag GA Tracking
4174
+ gtag('event', 'page_view', {
4175
+ page_title: document.title,
4176
+ page_location: window.location.href,
4177
+ page_path: window.location.pathname
4178
+ });
4179
+ if (alm_localize.ga_debug) {
4180
+ console.log('Pageview sent to Google Analytics (gtag)');
4181
+ }
4182
  }
4183
+
4184
+ if (typeof ga === 'function') {
4185
+ // Deprecated GA Tracking
4186
+ ga('set', 'page', path);
4187
+ ga('send', 'pageview');
4188
+ if (alm_localize.ga_debug) {
4189
+ console.log('Pageview sent to Google Analytics (ga)');
4190
+ }
4191
  }
4192
+
4193
+ if (typeof __gaTracker === 'function') {
4194
+ // Monster Insights
4195
+ __gaTracker('set', 'page', path);
4196
+ __gaTracker('send', 'pageview');
4197
+ if (alm_localize.ga_debug) {
4198
+ console.log('Pageview sent to Google Analytics (__gaTracker)');
4199
+ }
4200
  }
 
4201
 
4202
+ // Dispatch global Analytics callback
4203
+ if (typeof almAnalytics === 'function') {
4204
+ window.almAnalytics(path);
4205
+ }
4206
+ }, 250);
4207
  };
4208
  exports.tracking = tracking;
4209
 
6114
  * @param {HTMLElement} container
6115
  * @param {HTMLElement} items
6116
  * @param {Object} alm
6117
+ * @param {string} pageTitle
6118
+ * @param {string} url
6119
+ * @param {string} className
6120
  */
6121
  var loadItems = function loadItems(container, items, alm, pageTitle) {
6122
  var url = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : window.location;
core/dist/js/ajax-load-more.js.map ADDED
@@ -0,0 +1 @@
 
1
+ {"version":3,"sources":["webpack://ajaxloadmore/webpack/bootstrap","webpack://ajaxloadmore/./core/src/js/addons/cache.js","webpack://ajaxloadmore/./core/src/js/addons/elementor.js","webpack://ajaxloadmore/./core/src/js/addons/filters.js","webpack://ajaxloadmore/./core/src/js/addons/seo.js","webpack://ajaxloadmore/./core/src/js/addons/singleposts.js","webpack://ajaxloadmore/./core/src/js/addons/woocommerce.js","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/dispatchScrollEvent.js","webpack://ajaxloadmore/./core/src/js/helpers/getCacheUrl.js","webpack://ajaxloadmore/./core/src/js/helpers/getParameterByName.js","webpack://ajaxloadmore/./core/src/js/helpers/getQueryVariable.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/helpers/tableWrap.js","webpack://ajaxloadmore/./core/src/js/modules/almDebug.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/getButtonURL.js","webpack://ajaxloadmore/./core/src/js/modules/getScrollPercentage.js","webpack://ajaxloadmore/./core/src/js/modules/insertScript.js","webpack://ajaxloadmore/./core/src/js/modules/lazyImages.js","webpack://ajaxloadmore/./core/src/js/modules/loadImage.js","webpack://ajaxloadmore/./core/src/js/modules/loadItems.js","webpack://ajaxloadmore/./core/src/js/modules/loadPrevious.js","webpack://ajaxloadmore/./core/src/js/modules/masonry.js","webpack://ajaxloadmore/./core/src/js/modules/noResults.js","webpack://ajaxloadmore/./core/src/js/modules/placeholder.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/./core/src/js/modules/tableofcontents.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/lib/noConflict.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/noConflict.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/buildFullPath.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/mergeConfig.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/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/isAxiosError.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/core-js/es6/index.js","webpack://ajaxloadmore/./node_modules/core-js/fn/array/flat-map.js","webpack://ajaxloadmore/./node_modules/core-js/fn/array/includes.js","webpack://ajaxloadmore/./node_modules/core-js/fn/object/entries.js","webpack://ajaxloadmore/./node_modules/core-js/fn/object/get-own-property-descriptors.js","webpack://ajaxloadmore/./node_modules/core-js/fn/object/values.js","webpack://ajaxloadmore/./node_modules/core-js/fn/promise/finally.js","webpack://ajaxloadmore/./node_modules/core-js/fn/string/pad-end.js","webpack://ajaxloadmore/./node_modules/core-js/fn/string/pad-start.js","webpack://ajaxloadmore/./node_modules/core-js/fn/string/trim-end.js","webpack://ajaxloadmore/./node_modules/core-js/fn/string/trim-start.js","webpack://ajaxloadmore/./node_modules/core-js/fn/symbol/async-iterator.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_a-function.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_a-number-value.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_add-to-unscopables.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_advance-string-index.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_an-instance.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_an-object.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_array-copy-within.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_array-fill.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_array-includes.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_array-methods.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_array-reduce.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_array-species-constructor.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_array-species-create.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_bind.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_classof.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_cof.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_collection-strong.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_collection-weak.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_collection.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_core.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_create-property.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_ctx.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_date-to-iso-string.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_date-to-primitive.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_defined.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_descriptors.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_dom-create.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_enum-bug-keys.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_enum-keys.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_export.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_fails-is-regexp.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_fails.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_fix-re-wks.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_flags.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_flatten-into-array.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_for-of.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_function-to-string.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_global.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_has.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_hide.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_html.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_ie8-dom-define.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_inherit-if-required.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_invoke.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_iobject.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_is-array-iter.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_is-array.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_is-integer.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_is-object.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_is-regexp.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_iter-call.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_iter-create.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_iter-define.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_iter-detect.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_iter-step.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_iterators.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_library.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_math-expm1.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_math-fround.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_math-log1p.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_math-sign.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_meta.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_microtask.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_new-promise-capability.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_object-assign.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_object-create.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_object-dp.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_object-dps.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_object-gopd.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_object-gopn-ext.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_object-gopn.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_object-gops.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_object-gpo.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_object-keys-internal.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_object-keys.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_object-pie.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_object-sap.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_object-to-array.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_own-keys.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_parse-float.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_parse-int.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_perform.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_promise-resolve.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_property-desc.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_redefine-all.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_redefine.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_regexp-exec-abstract.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_regexp-exec.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_same-value.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_set-proto.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_set-species.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_set-to-string-tag.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_shared-key.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_shared.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_species-constructor.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_strict-method.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_string-at.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_string-context.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_string-html.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_string-pad.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_string-repeat.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_string-trim.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_string-ws.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_task.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_to-absolute-index.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_to-index.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_to-integer.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_to-iobject.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_to-length.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_to-object.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_to-primitive.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_typed-array.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_typed-buffer.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_typed.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_uid.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_user-agent.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_validate-collection.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_wks-define.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_wks-ext.js","webpack://ajaxloadmore/./node_modules/core-js/modules/_wks.js","webpack://ajaxloadmore/./node_modules/core-js/modules/core.get-iterator-method.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.array.copy-within.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.array.every.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.array.fill.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.array.filter.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.array.find-index.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.array.find.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.array.for-each.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.array.from.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.array.index-of.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.array.is-array.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.array.iterator.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.array.join.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.array.last-index-of.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.array.map.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.array.of.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.array.reduce-right.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.array.reduce.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.array.slice.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.array.some.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.array.sort.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.array.species.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.date.now.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.date.to-iso-string.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.date.to-json.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.date.to-primitive.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.date.to-string.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.function.bind.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.function.has-instance.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.function.name.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.map.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.math.acosh.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.math.asinh.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.math.atanh.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.math.cbrt.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.math.clz32.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.math.cosh.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.math.expm1.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.math.fround.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.math.hypot.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.math.imul.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.math.log10.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.math.log1p.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.math.log2.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.math.sign.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.math.sinh.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.math.tanh.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.math.trunc.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.number.constructor.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.number.epsilon.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.number.is-finite.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.number.is-integer.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.number.is-nan.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.number.is-safe-integer.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.number.max-safe-integer.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.number.min-safe-integer.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.number.parse-float.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.number.parse-int.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.number.to-fixed.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.number.to-precision.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.object.assign.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.object.create.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.object.define-properties.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.object.define-property.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.object.freeze.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.object.get-own-property-descriptor.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.object.get-own-property-names.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.object.get-prototype-of.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.object.is-extensible.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.object.is-frozen.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.object.is-sealed.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.object.is.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.object.keys.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.object.prevent-extensions.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.object.seal.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.object.set-prototype-of.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.object.to-string.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.parse-float.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.parse-int.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.promise.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.reflect.apply.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.reflect.construct.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.reflect.define-property.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.reflect.delete-property.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.reflect.enumerate.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.reflect.get-own-property-descriptor.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.reflect.get-prototype-of.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.reflect.get.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.reflect.has.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.reflect.is-extensible.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.reflect.own-keys.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.reflect.prevent-extensions.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.reflect.set-prototype-of.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.reflect.set.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.regexp.constructor.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.regexp.exec.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.regexp.flags.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.regexp.match.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.regexp.replace.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.regexp.search.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.regexp.split.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.regexp.to-string.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.set.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.string.anchor.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.string.big.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.string.blink.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.string.bold.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.string.code-point-at.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.string.ends-with.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.string.fixed.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.string.fontcolor.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.string.fontsize.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.string.from-code-point.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.string.includes.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.string.italics.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.string.iterator.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.string.link.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.string.raw.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.string.repeat.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.string.small.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.string.starts-with.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.string.strike.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.string.sub.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.string.sup.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.string.trim.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.symbol.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.typed.array-buffer.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.typed.data-view.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.typed.float32-array.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.typed.float64-array.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.typed.int16-array.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.typed.int32-array.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.typed.int8-array.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.typed.uint16-array.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.typed.uint32-array.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.typed.uint8-array.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.typed.uint8-clamped-array.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.weak-map.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es6.weak-set.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es7.array.flat-map.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es7.array.includes.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es7.object.entries.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es7.object.get-own-property-descriptors.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es7.object.values.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es7.promise.finally.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es7.string.pad-end.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es7.string.pad-start.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es7.string.trim-left.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es7.string.trim-right.js","webpack://ajaxloadmore/./node_modules/core-js/modules/es7.symbol.async-iterator.js","webpack://ajaxloadmore/./node_modules/core-js/modules/web.dom.iterable.js","webpack://ajaxloadmore/./node_modules/core-js/modules/web.immediate.js","webpack://ajaxloadmore/./node_modules/core-js/modules/web.timers.js","webpack://ajaxloadmore/./node_modules/core-js/web/index.js","webpack://ajaxloadmore/./node_modules/ev-emitter/ev-emitter.js","webpack://ajaxloadmore/./node_modules/focus-options-polyfill/index.js","webpack://ajaxloadmore/./node_modules/imagesloaded/imagesloaded.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/regenerator-runtime/runtime.js","webpack://ajaxloadmore/./node_modules/smoothscroll-polyfill/dist/smoothscroll.js"],"names":["createCacheFile","wooCache","type","alm","content","name","formData","alm_localize","axios","console","elementorInit","elementor","elementorLoaded","elementorGetContent","elementorCreateParams","target","nextPage","item","window","document","resizeTimeout","setTimeout","clearTimeout","positionMasonryItems","pageTitle","title","container","items","url","Array","resolve","nextPageNum","data","html","meta","postcount","totalposts","debug","response","div","elementorGetNextPage","JSON","elementorGetWidgetType","setElementorClasses","parseInt","elementorGetNextUrl","parseMasonryConfig","settings","heights","columnsCount","columnsCountTablet","columnsCountMobile","verticalSpaceBetween","columns","breakpoints","windowW","row","Math","index","itemHeight","itemPosition","jQuery","indexAtRow","pullHeight","pagination","element","href","parseQuerystring","buildFilterURL","createMasonryFiltersPage","createMasonryFiltersPages","FILTERS_CLASSNAME","query","obj","cache_dir","key","decodeURIComponent","value","Object","path","querystring","page","qs","masonryFiltersAtts","pagenum","posts_per_page","return_data","i","elements","k","updatedQS","createMasonrySEOPage","createMasonrySEOPages","createSEOAttributes","seo_class","masonrySEOAtts","singlePostHTML","customElements","singlePostsGetCustomElements","wooInit","woocommerce","woocommerceLoaded","wooReset","wooGetContent","count","getContainerCount","currentPage","products","prevURL","label","prevPageNum","prevPage","almWooCommerceResultsText","currentResults","results","link","sep","returnButton","button","text","containers","queryParams","resultsText","require","imagesLoaded","smoothscroll","alm_is_filtering","ajaxloadmore","el","alm_no_results","singlePostPreviewData","button_label","height","className","tabNav","activeTab","almChildren","almChildArray","btnWrap","cache_page","queryType","action","acf","post_id","field_type","field_name","parent_field_name","acf_parent_field_name","term_query","taxonomy","hide_empty","number","term_query_number","nextpage","urls","scroll","pageviews","startpage","nested","single_post","id","slug","single_post_slug","comments","per_page","style","template","callback","comments_callback","users","role","include","exclude","order","orderby","usersOrderby","cta","cta_position","cta_repeater","cta_theme_repeater","config","arrayFormat","encode","ajaxURL","params","alm_rest_url","tab_template","alm_rest_template","wp","result","isPaged","reveal","pagingContent","total","is_cache","singlePreview","filters_class","preloaded_class","container_array","pages","p","alm_reveal","p2","insertScript","almFiltersAddonComplete","almTabsComplete","classes","loader","styles","pTop","pBtm","h","initial_id","excluded_terms","post_type","init","location","error","e","resize","resizeEvent","trigger","btnPos","scrollTrigger","scrollHeight","scrollWidth","scrollPosition","direction","code","nextpage_pages","nextpage_first","nextpage_total","alm_instances","filter","transition","speed","reset","props","instance","tab","tracking","gtag","page_title","page_location","page_path","pathname","ga","__gaTracker","start","almScroll","top","behavior","getOffset","rect","scrollLeft","scrollTop","left","render","options","nodeNameArray","almAppendChild","almAppendChildren","array","almDomParser","parser","dispatchScrollEvent","delay","getCacheUrl","firstpage","cache_url","ext","filtersPath","nextpage_cache_url","getParameterByName","regex","getQueryVariable","vars","pair","ownProps","resArray","toStr","isCallable","toInteger","Number","isNaN","isFinite","maxSafeInteger","toLength","len","C","arrayLike","mapFn","arguments","T","A","kValue","NodeList","thisArg","arr","configurable","enumerable","writable","Element","CharacterData","DocumentType","Function","aArgs","fToBind","FNOP","fBound","ObjectProto","defineGetter","defineSetter","lookupGetter","lookupSetter","hasOwnProp","prop","descriptor","getter","setter","propDescriptor","get","that","attributes","attsLength","toUpperCase","n0","HTML5_DOMStringMap","attribute","attrVal","attrName","propName","set","almGetAjaxParams","almGetRestParams","canonical_url","encodeURIComponent","offset","repeater","seo_start_page","start_page","escape","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","post__in","post__not_in","search","s","custom_args","lang","preloaded","preloaded_amount","srcsetPolyfill","ua","imgs","img","stripEmptyNodes","nodes","node","tableWrap","table_reveal","table_reveal_array","almDebug","localize","almFadeIn","op","timer","clearInterval","almFadeOut","fadeEffect","almFilter","almFilterTransition","new_el","almCompleteFilterTransition","listing","paging","almSetFilters","almFilterComplete","getButtonURL","rel","setButtonAtts","getScrollPercentage","is_negative","raw_distance","wh","newdistance","children","replace","isScript","clone","script","lazyImages","lazyImagesReplace","images","replaceSrc","loadImage","loadItems","matchVal","loadItem","focusItem","createLoadPreviousButton","parent","almMasonry","almMasonryConfig","selector","columnWidth","animation","horizontalOrder","masonry_init","duration","hidden","visible","defaults","itemSelector","transitionDuration","hiddenStyle","transform","opacity","visibleStyle","alm_masonry_vars","masonry_config","almNoResults","showPlaceholder","hidePlaceholder","almResultsText","almGetResultsText","almInitResultsText","resultsType","post_count","total_posts","almRenderResultsText","setFocus","is_filtering","moveFocus","isSafari","scrollContainer","preventScroll","setLocalizedVars","almSetPostCount","pc","pa","tableOfContents","clearTOC","from_preloaded","totalPosts","startPage","filterStartPage","nextpageStartPage","createTOCButton","toc","getTOCLabel","thePage","posts","funcName"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;;;;;;;;QCvEgBA,e,GAAAA,e;QA6BAC,Q,GAAAA,Q;;AAxChB;;;;;;;;AAEA;;;;;;;;;AASO,uCAA0D;AAAA,KAAnBC,OAAmB,oEAAZ,UAAY;;AAChE,KAAIC,+BAA+B,CAA/BA,WAA2CC,YAA/C,IAA+D;AAC9D;AACA;;AAED,KAAIC,OAAOH,oBAAoBC,WAApBD,4BAAwDC,WAAnE,CAAWD,CAAX;;AAEA,KAAII,WAAW,IAAf,QAAe,EAAf;AACAA;AACAA,6BAA4BC,aAA5BD;AACAA,6BAA4BH,WAA5BG;AACAA,oCAAmCH,WAAnCG;AACAA,kCAAiCH,IAAjCG;AACAA;AACAA,yBAAwBF,QAAxBE,IAAwBF,EAAxBE;;AAEAE,sBAAWD,aAAXC,wBAAgD,oBAAoB;AACnEC,cAAY,wBAAwBN,IAApCM;AADDD;AAGA;;AAED;;;;;;;;AAQO,gCAAgC;AACtC,KAAIL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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;;;;;;;;;;;;;AClLa;;AAEb,YAAY,mBAAO,CAAC,kDAAS;AAC7B,WAAW,mBAAO,CAAC,gEAAgB;AACnC,YAAY,mBAAO,CAAC,4DAAc;AAClC,kBAAkB,mBAAO,CAAC,wEAAoB;AAC9C,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;AACA,qBAAqB,mBAAO,CAAC,gFAAwB;;AAErD;;AAEA;AACA;;;;;;;;;;;;;ACvDa;;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,YAAY,mBAAO,CAAC,qDAAY;AAChC,eAAe,mBAAO,CAAC,yEAAqB;AAC5C,yBAAyB,mBAAO,CAAC,iFAAsB;AACvD,sBAAsB,mBAAO,CAAC,2EAAmB;AACjD,kBAAkB,mBAAO,CAAC,mEAAe;;AAEzC;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,GAAG;AACH;AACA;;AAEA;;AAEA;AACA;AACA;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,GAAG;;AAEH;AACA;AACA,GAAG;;AAEH;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,gDAAgD;AAChD;AACA;AACA,yBAAyB;AACzB,KAAK;AACL;AACA,CAAC;;AAED;AACA;AACA;AACA,gDAAgD;AAChD;AACA;AACA;AACA,KAAK;AACL;AACA,CAAC;;AAED;;;;;;;;;;;;;AC9Fa;;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,oBAAoB,mBAAO,CAAC,mFAA0B;AACtD,kBAAkB,mBAAO,CAAC,+EAAwB;;AAElD;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;ACnBa;;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;;AAEpC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;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;;;;;;;;;;;;;AC9Ea;;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;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;ACzCa;;AAEb,YAAY,mBAAO,CAAC,mDAAU;;AAE9B;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL,2BAA2B;AAC3B,KAAK;AACL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;;AAEH;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;;AAEA;AACA;;;;;;;;;;;;;ACtFa;;AAEb,kBAAkB,mBAAO,CAAC,mEAAe;;AAEzC;AACA;AACA;AACA,WAAW,SAAS;AACpB,WAAW,SAAS;AACpB,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;ACxBa;;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;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;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,CAAC;;AAED;AACA;AACA,CAAC;;AAED;;;;;;;;;;;;;;ACjGa;;AAEb;AACA;AACA;AACA,mBAAmB,iBAAiB;AACpC;AACA;AACA;AACA;AACA;;;;;;;;;;;;;ACVa;;AAEb,YAAY,mBAAO,CAAC,qDAAY;;AAEhC;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;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;;;;;;;;;;;;ACrEa;;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,0CAA0C;AAC1C,SAAS;;AAET;AACA,4DAA4D,wBAAwB;AACpF;AACA,SAAS;;AAET;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA,kCAAkC;AAClC,+BAA+B,aAAa,EAAE;AAC9C;AACA;AACA,KAAK;AACL;;;;;;;;;;;;;ACpDa;;AAEb;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;ACba;;AAEb;AACA;AACA;AACA,WAAW,EAAE;AACb,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;;;;;;;;;;;;ACVa;;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,KAAK;;AAEL;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;;;;;;;;;;;;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;;AAEnC;;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;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,YAAY,QAAQ;AACpB;AACA;AACA;AACA;AACA;;AAEA;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;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,4BAA4B;AAC5B,KAAK;AACL;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,WAAW,OAAO;AAClB,YAAY,OAAO;AACnB;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;A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ACb,SAAS,mBAAO,CAAC,kEAAc;AAC/B,aAAa,mBAAO,CAAC,0EAAkB;AACvC,kBAAkB,mBAAO,CAAC,wEAAiB;AAC3C,UAAU,mBAAO,CAAC,sDAAQ;AAC1B,iBAAiB,mBAAO,CAAC,sEAAgB;AACzC,YAAY,mBAAO,CAAC,4DAAW;AAC/B,kBAAkB,mBAAO,CAAC,sEAAgB;AAC1C,WAAW,mBAAO,CAAC,kEAAc;AACjC,iBAAiB,mBAAO,CAAC,sEAAgB;AACzC,kBAAkB,mBAAO,CAAC,sEAAgB;AAC1C,cAAc,mBAAO,CAAC,wDAAS;AAC/B,eAAe,mBAAO,CAAC,sFAAwB;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;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;A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ACA;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,kEAAc;AAC5C,iBAAiB,mBAAO,CAAC,0EAAkB;;AAE3C;AACA;AACA;AACA;;;;;;;;;;;;ACPA;AACA,gBAAgB,mBAAO,CAAC,oEAAe;AACvC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;ACnBa;AACb;AACA,YAAY,mBAAO,CAAC,0DAAU;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,kEAAc;AACrC,kBAAkB,mBAAO,CAAC,wEAAiB;AAC3C;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;ACRA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACJA;AACA,kBAAkB,mBAAO,CAAC,0DAAU;AACpC,iCAAiC,QAAQ,mBAAmB,UAAU,EAAE,EAAE;AAC1E,CAAC;;;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A;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,kEAAc;AACrC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;ACZa;AACb;AACA,cAAc,mBAAO,CAAC,gEAAa;AACnC,eAAe,mBAAO,CAAC,kEAAc;AACrC,eAAe,mBAAO,CAAC,kEAAc;AACrC,UAAU,mBAAO,CAAC,sDAAQ;AAC1B,2BAA2B,mBAAO,CAAC,sDAAQ;;AAE3C;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,OAAO;AACP;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;;ACtCA,UAAU,mBAAO,CAAC,sDAAQ;AAC1B,WAAW,mBAAO,CAAC,kEAAc;AACjC,kBAAkB,mBAAO,CAAC,0EAAkB;AAC5C,eAAe,mBAAO,CAAC,kEAAc;AACrC,eAAe,mBAAO,CAAC,kEAAc;AACrC,gBAAgB,mBAAO,CAAC,8FAA4B;AACpD;AACA;AACA;AACA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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,oEAAe;;AAEvC;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;;;;;;;;;;;;;ACjBa;AACb;AACA,kBAAkB,mBAAO,CAAC,sEAAgB;AAC1C,cAAc,mBAAO,CAAC,sEAAgB;AACtC,WAAW,mBAAO,CAAC,sEAAgB;AACnC,UAAU,mBAAO,CAAC,oEAAe;AACjC,eAAe,mBAAO,CAAC,kEAAc;AACrC,cAAc,mBAAO,CAAC,8DAAY;AAClC;;AAEA;AACA,6BAA6B,mBAAO,CAAC,0DAAU;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;AACA;AACA;AACA,GAAG;AACH,CAAC;;;;;;;;;;;;ACrCD;AACA,eAAe,mBAAO,CAAC,kEAAc;AACrC,UAAU,mBAAO,CAAC,oEAAe;AACjC,kBAAkB,mBAAO,CAAC,0EAAkB;AAC5C,eAAe,mBAAO,CAAC,oEAAe;AACtC,yBAAyB;AACzB;;AAEA;AACA;AACA;AACA,eAAe,mBAAO,CAAC,oEAAe;AACtC;AACA;AACA;AACA;AACA;AACA,EAAE,mBAAO,CAAC,wDAA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UAAU,mBAAO,CAAC,oEAAe;AACjC,aAAa,mBAAO,CAAC,4DAAW;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,sDAAQ;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,oEAAe;AACvC;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACNA;AACA,gBAAgB,mBAAO,CAAC,oEAAe;AACvC,eAAe,mBAAO,CAAC,kEAAc;AACrC;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACTA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACLA;AACA,cAAc,mBAAO,CAAC,8DAAY;AAClC,cAAc,mBAAO,CAAC,8DAAY;AAClC;AACA;AACA;;;;;;;;;;;;ACLA;AACA,gBAAgB,mBAAO,CAAC,oEAAe;AACvC;AACA;AACA,2DAA2D;AAC3D;;;;;;;;;;;;ACLA;AACA,cAAc,mBAAO,CAAC,8DAAY;AAClC;AACA;AACA;;;;;;;;;;;;ACJA;AACA,eAAe,mBAAO,CAAC,kEAAc;AACrC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;ACXa;AACb,IAAI,mBAAO,CAAC,sEAAgB;AAC5B,gBAAgB,mBAAO,CAAC,8DAAY;AACpC,eAAe,mBAAO,CAAC,4DAAW;AAClC,cAAc,mBAAO,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mBAAO,CAAC,sEAAgB;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,0BAA0B,aAAa;AACvC,OAAO;AACP;;AAE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A;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,4DAAW;AAChC,WAAW,mBAAO,CAAC,wDAA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AACA,CAAC;;;;;;;;;;;;ACRD;AACA,cAAc,mBAAO,CAAC,4DAAW;AACjC,gBAAgB,mBAAO,CAAC,oEAAe;AACvC;;AAEA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACTD;AACA,cAAc,mBAAO,CAAC,4DAAW;;AAEjC,8BAA8B,qCAAqC;;;;;;;;;;;;ACHnE;AACA,cAAc,mBAAO,CAAC,4DAAW;;AAEjC,8BAA8B,sCAAsC;;;;;;;;;;;;ACHpE,cAAc,mBAAO,CAAC,4DAAW;AACjC,kBAAkB,mBAAO,CAAC,sEAAgB;AAC1C;AACA,+EAA+E,0BAA0B;;;;;;;;;;;;ACHzG,cAAc,mBAAO,CAAC,4DAAW;AACjC,gBAAgB,mBAAO,CAAC,kEAAc;AACtC;AACA,2EAA2E,sBAAsB;;;;;;;;;;;;;ACHpF;AACb,cAAc,mBAAO,CAAC,4DAAW;AACjC,gBAAgB,mBAAO,CAAC,oEAAe;AACvC,mBAAmB,mBAAO,CAAC,4EAAmB;AAC9C,aAAa,mBAAO,CAAC,0EAAkB;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,0DAAU;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,K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AAW;AACjC,gBAAgB,mBAAO,CAAC,kEAAc;AACtC;AACA,0DAA0D,sBAAsB;;;;;;;;;;;;;ACHnE;AACb,cAAc,mBAAO,CAAC,8DAAY;AAClC,aAAa,mBAAO,CAAC,4DAAW;AAChC,UAAU,mBAAO,CAAC,sDAAQ;AAC1B,cAAc,mBAAO,CAAC,8DAAY;AAClC,cAAc,mBAAO,CAAC,4DAAW;AACjC,eAAe,mBAAO,CAAC,kEAAc;AACrC,gBAAgB,mBAAO,CAAC,oEAAe;AACvC,iBAAiB,mBAAO,CAAC,sEAAgB;AACzC,YAAY,mBAAO,CAAC,4DAAW;AAC/B,yBAAyB,mBAAO,CAAC,sFAAwB;AACzD,WAAW,mBAAO,CAAC,wDAAS;AAC5B,gBAAgB,mBAAO,CAAC,kEAAc;AACtC,iCAAiC,mBAAO,CAAC,4FAA2B;AACpE,cAAc,mBAAO,CAAC,8DAAY;AAClC,gBAAgB,mBAAO,CAAC,oEAAe;AACvC,qBAAqB,mBAAO,CAAC,8EAAoB;AACjD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yBAAyB;AACzB;AACA;;AAEA;AACA;AACA;AACA;AACA,+CAA+C,EAAE,mBAAO,CAAC,sDAAQ;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,wEAAiB;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,kFAAsB;AAC9B,mBAAO,CAAC,sEAAgB;AACxB,UAAU,mBAAO,CAAC,wDAAS;;AAE3B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA,CAAC;AACD,gDAAgD,mBAAO,CAAC,sEAAgB;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,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,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,kEAAc;AACrC,gBAAgB,mBAAO,CAAC,oEAAe;AACvC,iBAAiB,mBAAO,CAAC,wFAAyB;;AAElD;AACA,mBAAO,CAAC,oEAAe;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,kEAAc;AACrC,eAAe,mBAAO,CAAC,kEAAc;AACrC,yBAAyB,mBAAO,CAAC,sFAAwB;AACzD,yBAAyB,mBAAO,CAAC,wFAAyB;AAC1D,eAAe,mBAAO,CAAC,kEAAc;AACrC,qBAAqB,mBAAO,CAAC,wFAAyB;AACtD,iBAAiB,mBAAO,CAAC,sEAAgB;AACzC,YAAY,mBAAO,CAAC,0DAAU;AAC9B;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,qCAAqC,yBAAyB,EAAE;;AAEhE;AACA,mBAAO,CAAC,oEAAe;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,8EAAoB;AAC5B,eAAe,mBAAO,CAAC,kEAAc;AACrC,aAAa,mBAAO,CAAC,0DAAU;AAC/B,kBAAkB,mBAAO,CAAC,sEAAgB;AAC1C;AACA;;AAEA;AACA,EAAE,mBAAO,CAAC,gEAAa;AACvB;;AAEA;AACA,IAAI,mBAAO,CAAC,0DAAU,eAAe,wBAAwB,0BAA0B,YAAY,EAAE;AACrG;AACA;AACA;AACA;AACA,GAAG;AACH;AACA,CAAC;AACD;AACA;AACA,GAAG;AACH;;;;;;;;;;;;;ACxBa;AACb,aAAa,mBAAO,CAAC,kFAAsB;AAC3C,eAAe,mBAAO,CAAC,sFAAwB;AAC/C;;AAEA;AACA,iBAAiB,mBAAO,CAAC,oEAAe;AACxC,yBAAyB,mEAAmE;AAC5F,CAAC;AACD;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;;ACbY;AACb;AACA,mBAAO,CAAC,sEAAgB;AACxB;AACA;AACA;AACA,CAAC;;;;;;;;;;;;;ACNY;AACb;AACA,mBAAO,CAAC,sEAAgB;AACxB;AACA;AACA;AACA,CAAC;;;;;;;;;;;;;ACNY;AACb;AACA,mBAAO,CAAC,sEAAgB;AACxB;AACA;AACA;AACA,CAAC;;;;;;;;;;;;;ACNY;AACb;AACA,mBAAO,CAAC,sEAAgB;AACxB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;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,sEAAgB;AAC1B,EAAE,mBAAO,CAAC,oEAAe;AACzB;;AAEA,sBAAsB,mBAAO,CAAC,8DAAY;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,8CAA8C,YAAY,EAAE;;AAE5D;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,wDAAS;AACrD;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;ACrPa;AACb,cAAc,mBAAO,CAAC,4DAAW;AACjC,aAAa,mBAAO,CAAC,0DAAU;AAC/B,aAAa,mBAAO,CAAC,wEAAiB;AACtC,eAAe,mBAAO,CAAC,kEAAc;AACrC,sBAAsB,mBAAO,CAAC,kFAAsB;AACpD,eAAe,mBAAO,CAAC,kEAAc;AACrC,eAAe,mBAAO,CAAC,kEAAc;AACrC,kBAAkB,mBAAO,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ACA;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;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,8BAA8B;AAC9B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,OAAO;AACP;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,qBAAqB,+BAA+B;AACpD;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,CAAC;;;;;;;;;;;;ACnGD;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;;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;;AAEA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;;;;;;;;;;;;ACtBa;;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;AACA;;AAEA;AACA;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;;AAEA;AACA;;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;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;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;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA,mBAAmB,iBAAiB;AACpC;AACA;AACA;AACA;;AAEA;AACA;;;;;;;;;;;;;AChQa;;AAEb,YAAY,mBAAO,CAAC,+CAAS;AAC7B,cAAc,mBAAO,CAAC,mDAAW;AACjC;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;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,KAAK;AACL;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,oBAAoB,4DAA4D;AAChF,KAAK;AACL;AACA,KAAK;AACL;AACA;AACA;;AAEA,mBAAmB,oBAAoB;AACvC;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;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;AACA;;AAEA;AACA;;AAEA;AACA;AACA,2CAA2C;AAC3C;AACA,SAAS;AACT;AACA;AACA;AACA;;AAEA;AACA;;;;;;;;;;;;;ACrRa;;AAEb,cAAc,mBAAO,CAAC,mDAAW;;AAEjC;AACA;;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;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;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;AACA;AACA;AACA,KAAK;AACL;AACA;;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;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,uBAAuB,gBAAgB;AACvC;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;AC1PA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,gBAAgB;AAChB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,aAAa;AACb,GAAG;AACH;AACA;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;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;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;;AAEA;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;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;;AAEA;AACA;AACA;AACA;AACA;;AAEA,CAAC;AACD;AACA;AACA;AACA;AACA,EAAE,KAA0B,oBAAoB,SAAE;AAClD;;AAEA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;AC3uBA;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;AACA;AACA;;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","import axios from 'axios';\n\n/**\n * createCacheFile\n * Create a single post cache file\n *\n * @param {Object} alm\n * @param {String} content\n * @param {String} type\n * @since 5.3.1\n */\nexport function createCacheFile(alm, content, type = 'standard') {\n\tif (alm.addons.cache !== 'true' || !content || content === '') {\n\t\treturn false;\n\t}\n\n\tlet name = type === 'single' ? alm.addons.single_post_id : `page-${alm.page + 1}`;\n\n\tlet formData = new FormData();\n\tformData.append('action', 'alm_cache_from_html');\n\tformData.append('security', alm_localize.alm_nonce);\n\tformData.append('cache_id', alm.addons.cache_id);\n\tformData.append('cache_logged_in', alm.addons.cache_logged_in);\n\tformData.append('canonical_url', alm.canonical_url);\n\tformData.append('name', name);\n\tformData.append('html', content.trim());\n\n\taxios.post(alm_localize.ajaxurl, formData).then(function (response) {\n\t\tconsole.log('Cache created for: ' + alm.canonical_url);\n\t});\n}\n\n/**\n * wooCache\n * Create a WooCommerce cache file\n *\n * @param {Object} alm\n * @param {String} content\n * @since 5.3.1\n */\nexport function wooCache(alm, content) {\n\tif (alm.addons.cache !== 'true' || !content || content === '') {\n\t\treturn false;\n\t}\n\n\tlet formData = new FormData();\n\tformData.append('action', 'alm_cache_from_html');\n\tformData.append('security', alm_localize.alm_nonce);\n\tformData.append('cache_id', alm.addons.cache_id);\n\tformData.append('cache_logged_in', alm.addons.cache_logged_in);\n\tformData.append('canonical_url', alm.canonical_url);\n\tformData.append('name', `page-${alm.page}`);\n\tformData.append('html', content.trim());\n\n\taxios.post(alm_localize.ajaxurl, formData).then(function (response) {\n\t\tconsole.log('Cache created for post: ' + alm.canonical_url);\n\t\t//console.log(response);\n\t});\n}\n","import { setButtonAtts } from '../modules/getButtonURL';\nimport { lazyImages } from '../modules/lazyImages';\nimport loadItems from '../modules/loadItems';\n\n/**\n * Set up the instance on Elementor\n *\n * @param {object} alm\n * @since 5.3.0\n */\n\nexport function elementorInit(alm) {\n\tif (!alm.addons.elementor || !alm.addons.elementor_type || !alm.addons.elementor_type === 'posts') {\n\t\treturn false;\n\t}\n\tlet target = alm.addons.elementor_element;\n\n\tif (target) {\n\t\t// Set button data attributes\n\t\talm.button.dataset.page = alm.addons.elementor_paged;\n\n\t\t// Set button URL\n\t\tlet nextPage = alm.addons.elementor_next_page_url;\n\t\talm.button.dataset.url = nextPage ? nextPage : '';\n\n\t\t// Set a11y attributes\n\t\ttarget.setAttribute('aria-live', 'polite');\n\t\ttarget.setAttribute('aria-atomic', 'true');\n\n\t\talm.listing.removeAttribute('aria-live');\n\t\talm.listing.removeAttribute('aria-atomic');\n\n\t\t// Set data atts on 1st grid item\n\t\tlet item = target.querySelector(`.${alm.addons.elementor_item_class}`); // Get first `.product` item\n\t\tif (item) {\n\t\t\titem.classList.add('alm-elementor');\n\t\t\titem.dataset.url = window.location;\n\t\t\titem.dataset.page = alm.addons.elementor_paged;\n\t\t\titem.dataset.pageTitle = document.title;\n\t\t}\n\n\t\tif (alm.addons.elementor_paged > 1) {\n\t\t\t// maybe soon\n\t\t\t//almElementorResultsTextInit(alm);\n\t\t}\n\n\t\t// Masonry Window Resize. Delay for masonry to be added via Elementor.\n\t\tif (alm.addons.elementor_masonry) {\n\t\t\tlet resizeTimeout;\n\t\t\tsetTimeout(function () {\n\t\t\t\twindow.addEventListener('resize', function () {\n\t\t\t\t\tclearTimeout(resizeTimeout);\n\t\t\t\t\tresizeTimeout = setTimeout(function () {\n\t\t\t\t\t\tpositionMasonryItems(alm, `.${alm.addons.elementor_container_class}`, `.${alm.addons.elementor_item_class}`);\n\t\t\t\t\t}, 100);\n\t\t\t\t});\n\t\t\t}, 250);\n\t\t}\n\t}\n}\n\n/**\n * Core ALM Elementor loader.\n *\n * @param {HTMLElement} content\n * @param {object} alm\n * @param {string} pageTitle\n * @since 5.3.0\n */\n\nexport function elementor(content, alm, pageTitle = document.title) {\n\tif (!content || !alm) {\n\t\treturn false;\n\t}\n\n\treturn new Promise((resolve) => {\n\t\tlet container = alm.addons.elementor_element.querySelector(`.${alm.addons.elementor_container_class}`); // Get post container\n\t\tlet items = content.querySelectorAll(`.${alm.addons.elementor_item_class}`); // Get all items in container\n\t\tlet url = alm.addons.elementor_current_url; // Current Page URL\n\n\t\tif (container && items && url) {\n\t\t\t// Convert NodeList to Array\n\t\t\titems = Array.prototype.slice.call(items);\n\n\t\t\t// Trigger almElementorLoaded callback.\n\t\t\tif (typeof almElementorLoaded === 'function') {\n\t\t\t\twindow.almElementorLoaded(items);\n\t\t\t}\n\n\t\t\t// Load the items\n\t\t\t(async function () {\n\t\t\t\tawait loadItems(container, items, alm, pageTitle, url, 'alm-elementor');\n\t\t\t\tif (alm.addons.elementor_masonry) {\n\t\t\t\t\tsetTimeout(function () {\n\t\t\t\t\t\tpositionMasonryItems(alm, `.${alm.addons.elementor_container_class}`, `.${alm.addons.elementor_item_class}`);\n\t\t\t\t\t}, 125);\n\t\t\t\t}\n\n\t\t\t\tresolve(true);\n\t\t\t})().catch((e) => {\n\t\t\t\tconsole.log(e, 'There was an error with Elementor');\n\t\t\t});\n\t\t} else {\n\t\t\tresolve(false);\n\t\t}\n\t});\n}\n\n/**\n * Handle Elementor loaded functionality and dispatch actions.\n *\n * @param {object} alm\n * @since 5.5.0\n */\nexport function elementorLoaded(alm) {\n\tlet nextPageNum = alm.page + 1;\n\tlet nextPage = alm.addons.elementor_next_page_url; // Get URL.\n\n\t// Set button data attributes.\n\tsetButtonAtts(alm.button, nextPageNum, nextPage);\n\n\t// Lazy load images if necessary.\n\tlazyImages(alm);\n\n\t// Trigger almComplete.\n\tif (typeof almComplete === 'function' && alm.transition !== 'masonry') {\n\t\twindow.almComplete(alm);\n\t}\n\n\t// End transitions.\n\talm.AjaxLoadMore.transitionEnd();\n\n\t// ALM Done\n\tif (!nextPage) {\n\t\talm.AjaxLoadMore.triggerDone();\n\t}\n}\n\n/**\n * Get the content, title and results text from the Ajax response.\n *\n * @param {*} response\n * @param {object} alm\n * @since 5.4.0\n */\nexport function elementorGetContent(response, alm) {\n\tlet data = {\n\t\thtml: '',\n\t\tmeta: {\n\t\t\tpostcount: 1,\n\t\t\ttotalposts: alm.localize.total_posts,\n\t\t\tdebug: false,\n\t\t},\n\t};\n\tif (response.status === 200 && response.data) {\n\t\tlet div = document.createElement('div');\n\t\tdiv.innerHTML = response.data;\n\n\t\t// Get Page Title\n\t\tlet title = div.querySelector('title').innerHTML;\n\t\tdata.pageTitle = title;\n\n\t\t// Get Elementor Items HTML\n\t\tlet items = div.querySelector(`${alm.addons.elementor_target} .${alm.addons.elementor_container_class}`);\n\t\tdata.html = items ? items.innerHTML : '';\n\n\t\t// Set Page URL Params\n\t\talm.addons.elementor_current_url = alm.addons.elementor_next_page_url; // Set current to previous page URL\n\t\talm.addons.elementor_next_page_url = elementorGetNextPage(div, alm.addons.elementor_pagination_class);\n\n\t\t// Results Text\n\t\t//almElementorResultsText(div, alm);\n\t}\n\n\treturn data;\n}\n\n/**\n * Create Elementor Params for ALM.\n *\n * @param Object alm\n * @return alm\n */\nexport function elementorCreateParams(alm) {\n\t// Get Settings\n\talm.addons.elementor_type = 'posts';\n\talm.addons.elementor_settings = JSON.parse(alm.listing.dataset.elementorSettings);\n\n\t// Parse Container Settings\n\talm.addons.elementor_target = alm.addons.elementor_settings.target;\n\talm.addons.elementor_element = alm.addons.elementor_settings.target\n\t\t? document.querySelector(`.elementor-widget-wrap ${alm.addons.elementor_settings.target}`)\n\t\t: '';\n\talm.addons.elementor_widget = elementorGetWidgetType(alm.addons.elementor_element);\n\n\t// Masonry\n\talm = setElementorClasses(alm, alm.addons.elementor_widget);\n\n\t// Pagination Element\n\talm.addons.elementor_pagination =\n\t\talm.addons.elementor_element.querySelector(alm.addons.elementor_pagination_class) ||\n\t\talm.addons.elementor_element.querySelector(`.${alm.addons.elementor_settings.pagination_class}`);\n\talm.addons.elementor_pagination = alm.addons.elementor_pagination ? alm.addons.elementor_pagination : false;\n\n\talm.addons.elementor_controls = alm.addons.elementor_settings.controls;\n\talm.addons.elementor_controls = alm.addons.elementor_controls === 'true' ? true : false;\n\talm.addons.elementor_scrolltop = parseInt(alm.addons.elementor_settings.scrolltop);\n\n\t// Set Page & URL params\n\talm.addons.elementor_current_url = window.location.href;\n\talm.addons.elementor_next_page_url = elementorGetNextUrl(alm.addons.elementor_pagination);\n\talm.addons.elementor_paged = alm.addons.elementor_settings.paged ? parseInt(alm.addons.elementor_settings.paged) : 1;\n\talm.page = parseInt(alm.page) + alm.addons.elementor_paged;\n\n\t// Masonry\n\talm = parseMasonryConfig(alm);\n\n\tif (!alm.addons.elementor_element) {\n\t\tconsole.warn(\"Ajax Load More: Unable to locate Elementor Widget. Are you sure you've set up your target parameter correctly?\");\n\t}\n\tif (!alm.addons.elementor_pagination) {\n\t\tconsole.warn(\n\t\t\t'Ajax Load More: Unable to locate Elementor pagination. There are either no results or p Ajax Load More is unable to locate the pagination widget?'\n\t\t);\n\t}\n\treturn alm;\n}\n\n/**\n * Set the required classnames for parsing data and injecting content into the Elementor listing\n *\n * @param {*} alm\n * @param {*} type\n */\nfunction setElementorClasses(alm, type = 'posts') {\n\t// Container Class\n\talm.addons.elementor_container_class =\n\t\ttype === 'woocommerce' ? alm.addons.elementor_settings.woo_container_class : alm.addons.elementor_settings.posts_container_class;\n\n\t// Item Class\n\talm.addons.elementor_item_class = type === 'woocommerce' ? alm.addons.elementor_settings.woo_item_class : alm.addons.elementor_settings.posts_item_class;\n\n\t// Pagination Class\n\talm.addons.elementor_pagination_class =\n\t\ttype === 'woocommerce' ? `.${alm.addons.elementor_settings.woo_pagination_class}` : `.${alm.addons.elementor_settings.posts_pagination_class}`;\n\n\treturn alm;\n}\n\n/**\n * Parse Masonry Settings from Elementor Data atts\n *\n * @param {*} alm\n */\nfunction parseMasonryConfig(alm) {\n\tif (!alm.addons.elementor_element) {\n\t\treturn alm; // Exit if not found.\n\t}\n\n\tconst target = alm.addons.elementor_element;\n\n\tconst settings = target.dataset.settings ? JSON.parse(target.dataset.settings) : '';\n\tif (!settings) {\n\t\treturn alm; // Exit if not found.\n\t}\n\n\talm.addons.elementor_masonry = settings.hasOwnProperty('cards_masonry') || settings.hasOwnProperty('classic_masonry');\n\tif (alm.addons.elementor_masonry) {\n\t\talm.addons.elementor_masonry_columns = parseInt(settings.cards_columns) || parseInt(settings.classic_columns);\n\t\talm.addons.elementor_masonry_columns_mobile = parseInt(settings.cards_columns_mobile) || parseInt(settings.classic_columns_mobile);\n\t\talm.addons.elementor_masonry_columns_tablet = parseInt(settings.cards_columns_tablet) || parseInt(settings.classic_columns_tablet);\n\t\talm.addons.elementor_masonry_gap = parseInt(settings.cards_row_gap.size);\n\t}\n\n\treturn alm;\n}\n\n/**\n * Position Elementor Masonry Items\n *\n * @param {*} alm\n * @param {*} container_class\n * @param {*} item_class\n */\nfunction positionMasonryItems(alm, container_class, item_class) {\n\tlet heights = [];\n\n\t// Get Elementor Settings\n\tconst columnsCount = alm.addons.elementor_masonry_columns;\n\tconst columnsCountTablet = alm.addons.elementor_masonry_columns_tablet;\n\tconst columnsCountMobile = alm.addons.elementor_masonry_columns_mobile;\n\tconst verticalSpaceBetween = alm.addons.elementor_masonry_gap;\n\tlet columns = columnsCount;\n\n\t// Get Elementor Breakpoints\n\tconst breakpoints = window.elementorFrontendConfig && window.elementorFrontendConfig.breakpoints ? window.elementorFrontendConfig.breakpoints : 0;\n\tconst windowW = window.innerWidth;\n\n\t// Set Columns\n\tif (windowW > breakpoints.lg) {\n\t\tcolumns = columnsCount;\n\t} else if (windowW > breakpoints.md) {\n\t\tcolumns = columnsCountTablet;\n\t} else {\n\t\tcolumns = columnsCountMobile;\n\t}\n\n\t// Get Containers\n\tconst container = document.querySelector(container_class);\n\tif (!container) {\n\t\treturn false;\n\t}\n\tconst items = container.querySelectorAll(item_class);\n\tif (!items) {\n\t\treturn false;\n\t}\n\n\t// Loop items\n\titems.forEach((item, index) => {\n\t\tlet row = Math.floor(index / columns);\n\t\tlet itemHeight = item.getBoundingClientRect().height + verticalSpaceBetween;\n\n\t\tif (row) {\n\t\t\tlet itemPosition = jQuery(item).position();\n\t\t\tlet indexAtRow = index % columns;\n\t\t\tlet pullHeight = Math.round(itemPosition.top) - heights[indexAtRow];\n\n\t\t\tpullHeight *= -1;\n\t\t\titem.style.marginTop = `${Math.round(pullHeight)}px`;\n\t\t\theights[indexAtRow] += itemHeight;\n\t\t} else {\n\t\t\theights.push(itemHeight);\n\t\t}\n\t});\n}\n\n/**\n * Determine the type of elementor widget (woocommerce || posts)\n *\n * @param {*} target\n * @param {*} classname\n */\nfunction elementorGetWidgetType(target) {\n\tif (!target) {\n\t\treturn false;\n\t}\n\t// If container contains the woocommerce elementor class\n\tconst type = target.classList.contains('elementor-wc-products') ? 'woocommerce' : 'posts';\n\treturn type;\n}\n\n/**\n * Get the upcoming URL from the a.next link from the HTML\n *\n * @param {HTMLElement} element\n * @param {String} classname\n * @return {string} href\n */\nfunction elementorGetNextPage(element, classname) {\n\tconst pagination = element.querySelector(classname);\n\tconst href = pagination ? elementorGetNextUrl(pagination) : '';\n\n\treturn href;\n}\n\n/**\n * Get the URL of the next page to load from the a.next href\n *\n * @param {HTMLElement} element\n * @return {String} url\n */\nfunction elementorGetNextUrl(element) {\n\tif (!element) {\n\t\treturn '';\n\t}\n\treturn element.querySelector('a.next') ? element.querySelector('a.next').href : '';\n}\n","import getQueryVariable from '../helpers/getQueryVariable';\nconst FILTERS_CLASSNAME = 'alm-filters';\n\n/**\n * parseQuerystring\n * Parse a filter querystring for returning caches directories\n *\n * @param {Object} alm\n * @param {Array} elements\n * @since 5.3.1\n */\nexport function parseQuerystring(path) {\n\t// Get querystring\n\tlet query = window.location.search.substring(1);\n\tlet obj = '';\n\tlet cache_dir = '';\n\n\t// Parse querystring into object\n\tif (query) {\n\t\tobj = JSON.parse('{\"' + query.replace(/&/g, '\",\"').replace(/=/g, '\":\"') + '\"}', function (key, value) {\n\t\t\t// Replace + with - in URL\n\t\t\treturn key === '' ? value : decodeURIComponent(value.replace(/\\+/g, '-'));\n\t\t});\n\n\t\t// Remove the following properties from the object as they should not be included in the cache ID\n\n\t\tif (obj.pg) {\n\t\t\t// `pg` object prop\n\t\t\tdelete obj.pg;\n\t\t}\n\n\t\tif (obj.auto) {\n\t\t\t// `auto` object prop\n\t\t\tdelete obj.auto;\n\t\t}\n\t}\n\n\tif (obj) {\n\t\tcache_dir += '/';\n\t\tObject.keys(obj).forEach((key, index) => {\n\t\t\tcache_dir += index > 0 ? '--' : '';\n\t\t\tcache_dir += `${key}--${obj[key]}`;\n\t\t});\n\t}\n\n\treturn path + cache_dir;\n}\n\n/**\n * Build new paging URL for filters\n *\n * @param {Object} alm\n * @param {String} querystring\n * @param {Int} page\n * @since 5.3.5\n */\nexport function buildFilterURL(alm, querystring = '', page = 0) {\n\tlet qs = querystring;\n\n\tif (alm.addons.filters_paging) {\n\t\tif (page > 1) {\n\t\t\t// Paged\n\t\t\tif (qs) {\n\t\t\t\t// If already has `pg` in querystring\n\t\t\t\tif (getQueryVariable('pg')) {\n\t\t\t\t\tqs = querystring.replace(/(pg=)[^\\&]+/, '$1' + page);\n\t\t\t\t} else {\n\t\t\t\t\tqs = querystring + '&pg=' + page;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tqs = '?pg=' + page;\n\t\t\t}\n\t\t} else {\n\t\t\t// Not Paged\n\t\t\tqs = querystring.replace(/(pg=)[^\\&]+/, '');\n\t\t\tqs = qs === '?' ? '' : qs; // Remove `?` if only symbol in querystring\n\t\t\tqs = qs[qs.length - 1] === '&' ? qs.slice(0, -1) : qs; // Remove trailing `&` symbols\n\t\t}\n\t}\n\n\treturn qs;\n}\n\n/**\n * Create data attributes for Filters paged results\n *\n * @param {Object} alm\n * @param {Array} elements\n * @since 5.3.1\n */\nexport function createMasonryFiltersPage(alm, element) {\n\tif (!alm.addons.filters) {\n\t\treturn element;\n\t}\n\n\tlet querystring = window.location.search;\n\tlet page = alm.page + 1;\n\tpage = alm.addons.preloaded === 'true' ? page + 1 : page;\n\telement = masonryFiltersAtts(alm, element, querystring, page);\n\n\treturn element;\n}\n\n/**\n * Create data attributes for Filters - used when ?pg=2, ?pg=3 etc are hit on page load\n *\n * @param {Object} alm\n * @param {Array} elements\n * @since 5.3.1\n */\nexport function createMasonryFiltersPages(alm, elements) {\n\tif (!alm.addons.filters) {\n\t\treturn elements;\n\t}\n\n\tlet pagenum = 1;\n\tlet page = alm.page;\n\tlet querystring = window.location.search;\n\n\tif (alm.addons.filters_startpage > 1) {\n\t\t// Create pages\n\t\tlet posts_per_page = parseInt(alm.posts_per_page);\n\t\tlet return_data = [];\n\n\t\t// Slice data array into individual pages\n\t\tfor (let i = 0; i < elements.length; i += posts_per_page) {\n\t\t\treturn_data.push(elements.slice(i, posts_per_page + i));\n\t\t}\n\n\t\t// Loop new data array\n\t\tfor (let k = 0; k < return_data.length; k++) {\n\t\t\tlet target = k > 0 ? k * posts_per_page : 0;\n\t\t\tpagenum = k + 1;\n\n\t\t\tif (elements[target]) {\n\t\t\t\telements[target] = masonryFiltersAtts(alm, elements[target], querystring, pagenum);\n\t\t\t}\n\t\t}\n\t} else {\n\t\tpagenum = page;\n\t\tif (elements && elements[0]) {\n\t\t\telements[0] = masonryFiltersAtts(alm, elements[0], querystring, pagenum);\n\t\t}\n\t}\n\n\treturn elements;\n}\n\n// Create the attributes (page, url, classes) for the masonry items\nfunction masonryFiltersAtts(alm, element, querystring, pagenum) {\n\telement.classList.add(FILTERS_CLASSNAME);\n\telement.dataset.page = pagenum;\n\tif (pagenum > 1) {\n\t\telement.dataset.url = alm.canonical_url + buildFilterURL(alm, querystring, pagenum);\n\t} else {\n\t\tlet updatedQS = querystring.replace(/(pg=)[^\\&]+/, ''); // Remove `pg` from querysting\n\t\tupdatedQS = updatedQS === '?' ? '' : updatedQS; // Remove empty querysting\n\n\t\telement.dataset.url = alm.canonical_url + updatedQS;\n\t}\n\n\treturn element;\n}\n","/**\n * createMasonrySEOPage\n * Create data attributes for SEO paged results\n *\n * @param {object} alm\n * @param {array} elements\n * @since 5.3.1\n */\nexport function createMasonrySEOPage(alm, element) {\n\tif (!alm.addons.seo) {\n\t\treturn element;\n\t}\n\n\tlet querystring = window.location.search;\n\tlet seo_class = 'alm-seo';\n\tlet page = alm.page + 1;\n\tpage = alm.addons.preloaded === 'true' ? page + 1 : page;\n\telement = masonrySEOAtts(alm, element, querystring, seo_class, page);\n\n\treturn element;\n}\n\n/**\n * createMasonrySEOPages\n * Create data attributes for SEO - used when /page/2/, /page/3/ etc are hit on page load\n *\n * @param {object} alm\n * @param {array} elements\n * @since 5.3.1\n */\nexport function createMasonrySEOPages(alm, elements) {\n\tif (!alm.addons.seo) {\n\t\treturn elements;\n\t}\n\n\tlet pagenum = 1;\n\tlet page = alm.page;\n\tlet seo_class = 'alm-seo';\n\tlet querystring = window.location.search;\n\n\tif (alm.start_page > 1) {\n\t\t// Create pages\n\t\tlet posts_per_page = parseInt(alm.posts_per_page);\n\t\tlet return_data = [];\n\n\t\t// Slice data array into individual pages\n\t\tfor (let i = 0; i < elements.length; i += posts_per_page) {\n\t\t\treturn_data.push(elements.slice(i, posts_per_page + i));\n\t\t}\n\n\t\t// Loop new data array\n\t\tfor (let k = 0; k < return_data.length; k++) {\n\t\t\tlet target = k > 0 ? k * posts_per_page : 0;\n\t\t\tpagenum = k + 1;\n\t\t\tif (elements[target]) {\n\t\t\t\telements[target] = masonrySEOAtts(alm, elements[target], querystring, seo_class, pagenum);\n\t\t\t}\n\t\t}\n\t} else {\n\t\tpagenum = page;\n\t\telements[0] = masonrySEOAtts(alm, elements[0], querystring, seo_class, pagenum);\n\t}\n\n\treturn elements;\n}\n\n/**\n * Create the attributes (page, url, classes) for the masonry items.\n *\n * @param {object} alm\n * @param {object} element\n * @param {string} querystring\n * @param {string} seo_class\n * @param {int} pagenum\n * @returns\n */\nfunction masonrySEOAtts(alm, element, querystring, seo_class, pagenum) {\n\telement.classList.add(seo_class);\n\telement.dataset.page = pagenum;\n\n\tif (alm.addons.seo_permalink === 'default') {\n\t\t// Default Permalinks\n\t\tif (pagenum > 1) {\n\t\t\telement.dataset.url = alm.canonical_url + querystring + '&paged=' + pagenum;\n\t\t} else {\n\t\t\telement.dataset.url = alm.canonical_url + querystring;\n\t\t}\n\t} else {\n\t\t// Pretty Permalinks\n\t\tif (pagenum > 1) {\n\t\t\telement.dataset.url = alm.canonical_url + alm.addons.seo_leading_slash + 'page/' + pagenum + alm.addons.seo_trailing_slash + querystring;\n\t\t} else {\n\t\t\telement.dataset.url = alm.canonical_url + querystring;\n\t\t}\n\t}\n\n\treturn element;\n}\n\n/**\n * Create data attributes for SEO - used when /page/2/, /page/3/ etc are hit on page load.\n *\n * @param {object} alm\n * @param {array} elements\n *\n * @since 5.3.1\n */\nexport function createSEOAttributes(alm, element, querystring, seo_class, pagenum) {\n\telement.setAttribute('class', 'alm-reveal' + seo_class + alm.tcc);\n\telement.dataset.page = pagenum;\n\n\tif (alm.addons.seo_permalink === 'default') {\n\t\t// Default Permalinks\n\t\telement.dataset.url = pagenum > 1 ? alm.canonical_url + querystring + '&paged=' + pagenum : alm.canonical_url + querystring;\n\t} else {\n\t\t// Pretty Permalinks\n\t\telement.dataset.url =\n\t\t\tpagenum > 1\n\t\t\t\t? alm.canonical_url + alm.addons.seo_leading_slash + 'page/' + pagenum + alm.addons.seo_trailing_slash + querystring\n\t\t\t\t: alm.canonical_url + querystring;\n\t}\n\n\treturn element;\n}\n","/**\n * Create the HTML for loading Single Posts.\n *\n * @param {Object} response Query response\n * @param {HTMLElement} target The target div\n * @since 5.1.8.1\n */\nexport function singlePostHTML(response, target = null) {\n\tlet data = {\n\t\thtml: '',\n\t\tmeta: {\n\t\t\tpostcount: 1,\n\t\t\ttotalposts: 1,\n\t\t\tdebug: 'Single Posts Query',\n\t\t},\n\t};\n\n\tif (response.status === 200 && response.data && target) {\n\t\t// Create temp div to hold Ajax response data.\n\t\tconst div = document.createElement('div');\n\t\tdiv.innerHTML = response.data;\n\n\t\t// Get target element.\n\t\tlet html = div.querySelector(target);\n\n\t\t// Get any custom target elements.\n\t\tconst customElements = window && window.almSinglePostsCustomElements;\n\t\tif (customElements) {\n\t\t\thtml.appendChild(singlePostsGetCustomElements(div, customElements));\n\t\t}\n\n\t\tif (html) {\n\t\t\tdata.html = html.innerHTML;\n\t\t} else {\n\t\t\tconsole.warn(`Ajax Load More: Unable to find ${target} element.`);\n\t\t}\n\t}\n\treturn data;\n}\nexport default singlePostHTML;\n\n/**\n * Collect custom target elements and append them to the returned HTML.\n *\n * This function is useful to get elements from outside the ALM target and bring them into the returned HTML.\n * Useful for when CSS or JS may be loaded in the <head/> and we need it brought into the HTML for Single Posts.\n *\n * e.g. window.almSinglePostsCustomElements = ['#woocommerce-inline-inline-css', '#wc-block-style-css'];\n *\n * @param {object} content The HTML element.\n * @param {array|string} customElements The elements to search for in content.\n * @return {object} HTML elements.\n */\nfunction singlePostsGetCustomElements(content = '', customElements = false) {\n\t// Create container element to hold elements.\n\tconst container = document.createElement('div');\n\tcontainer.classList.add('alm-custom-elements');\n\n\t// Exit if empty.\n\tif (!content || !customElements) {\n\t\treturn container;\n\t}\n\n\t// Convert customElements to an Array.\n\tcustomElements = !Array.isArray(customElements) ? [customElements] : customElements;\n\n\t// Loop Array to extract elements and append to container.\n\tfor (let i = 0; i < customElements.length; i++) {\n\t\tlet element = content.querySelector(customElements[i]);\n\t\tif (element) {\n\t\t\tcontainer.appendChild(element);\n\t\t}\n\t}\n\n\treturn container;\n}\n","import axios from 'axios';\nimport dispatchScrollEvent from '../helpers/dispatchScrollEvent';\nimport { setButtonAtts } from '../modules/getButtonURL';\nimport { lazyImages } from '../modules/lazyImages';\nimport loadItems from '../modules/loadItems';\nimport { createLoadPreviousButton } from '../modules/loadPrevious';\n\n/**\n * Set up the instance of ALM WooCommerce\n *\n * @param {object} alm\n * @since 5.3.0\n */\nexport function wooInit(alm) {\n\tif (!alm || !alm.addons.woocommerce) {\n\t\treturn false;\n\t}\n\n\talm.button.dataset.page = alm.addons.woocommerce_settings.paged + 1; // Page\n\n\t// URL\n\tlet nextPage = alm.addons.woocommerce_settings.paged_urls[alm.addons.woocommerce_settings.paged];\n\tif (nextPage) {\n\t\talm.button.dataset.url = nextPage;\n\t} else {\n\t\talm.button.dataset.url = '';\n\t}\n\n\t// Set up URL and class parameters on first item in product listing\n\tlet container = document.querySelector(alm.addons.woocommerce_settings.container); // Get `ul.products`\n\tif (container) {\n\t\tconst count = getContainerCount(alm.addons.woocommerce_settings.container);\n\t\tconst currentPage = alm.addons.woocommerce_settings.paged;\n\n\t\tif (count > 1) {\n\t\t\t// Display warning if multiple containers were found.\n\t\t\tconsole.warn(\n\t\t\t\t'ALM WooCommerce: Multiple containers with the same classname or ID found. The WooCommerce add-on requires a single container to be defined. Get more information -> https://connekthq.com/plugins/ajax-load-more/docs/add-ons/woocommerce/'\n\t\t\t);\n\t\t}\n\n\t\tcontainer.setAttribute('aria-live', 'polite');\n\t\tcontainer.setAttribute('aria-atomic', 'true');\n\n\t\talm.listing.removeAttribute('aria-live');\n\t\talm.listing.removeAttribute('aria-atomic');\n\n\t\tlet products = container.querySelector(alm.addons.woocommerce_settings.products); // Get first `.product` item\n\t\tif (products) {\n\t\t\tproducts.classList.add('alm-woocommerce');\n\t\t\tproducts.dataset.url = alm.addons.woocommerce_settings.paged_urls[alm.addons.woocommerce_settings.paged - 1];\n\t\t\tproducts.dataset.page = alm.page;\n\t\t\tproducts.dataset.pageTitle = document.title;\n\t\t} else {\n\t\t\tconsole.warn(\n\t\t\t\t'ALM WooCommerce: Unable to locate products. Get more information -> https://connekthq.com/plugins/ajax-load-more/docs/add-ons/woocommerce/#alm_woocommerce_products'\n\t\t\t);\n\t\t}\n\n\t\t// Paged URL: Create previous button.\n\t\tif (currentPage > 1) {\n\t\t\t// almWooCommerceResultsTextInit(alm);\n\n\t\t\tif (alm.addons.woocommerce_settings.settings.previous_products) {\n\t\t\t\tconst prevURL = alm.addons.woocommerce_settings.paged_urls[currentPage - 2];\n\t\t\t\tconst label = alm.addons.woocommerce_settings.settings.previous_products;\n\t\t\t\tcreateLoadPreviousButton(alm, container, currentPage - 1, prevURL, label);\n\t\t\t}\n\t\t}\n\t} else {\n\t\tconsole.warn(\n\t\t\t'ALM WooCommerce: Unable to locate container element. Get more information -> https://connekthq.com/plugins/ajax-load-more/docs/add-ons/woocommerce/#alm_woocommerce_container'\n\t\t);\n\t}\n}\n\n/**\n * Core ALM WooCommerce product loader\n *\n * @param {HTMLElement} content\n * @param {object} alm\n * @param {String} pageTitle\n * @since 5.3.0\n */\nexport function woocommerce(content, alm, pageTitle = document.title) {\n\tif (!content || !alm) {\n\t\treturn false;\n\t}\n\n\treturn new Promise((resolve) => {\n\t\tconst container = document.querySelector(alm.addons.woocommerce_settings.container); // Get `ul.products`\n\t\tlet products = content.querySelectorAll(alm.addons.woocommerce_settings.products); // Get all `.products`\n\t\tconst page = alm.rel === 'prev' ? alm.pagePrev - 1 : alm.page;\n\t\tconst url = alm.addons.woocommerce_settings.paged_urls[page];\n\n\t\tif (container && products && url) {\n\t\t\t// Convert NodeList to Array.\n\t\t\tproducts = Array.prototype.slice.call(products);\n\n\t\t\t// Trigger almWooCommerceLoaded callback.\n\t\t\tif (typeof almWooCommerceLoaded === 'function') {\n\t\t\t\twindow.almWooCommerceLoaded(products);\n\t\t\t}\n\n\t\t\t// Load the Products\n\t\t\t(async function () {\n\t\t\t\tawait loadItems(container, products, alm, pageTitle, url, 'alm-woocommerce');\n\t\t\t\tresolve(true);\n\t\t\t})().catch((e) => {\n\t\t\t\tconsole.log(e, 'There was an error with WooCommerce');\n\t\t\t});\n\t\t}\n\t});\n}\n\n/**\n * Handle WooCommerce loaded functionality and dispatch actions.\n *\n * @param {object} alm\n * @since 5.5.0\n */\nexport function woocommerceLoaded(alm) {\n\tlet nextPageNum = alm.page + 2;\n\tlet nextPage = alm.addons.woocommerce_settings.paged_urls[nextPageNum - 1]; // Get URL.\n\n\t// Set button data attributes.\n\tif (alm.rel === 'prev' && alm.buttonPrev) {\n\t\tlet prevPageNum = alm.pagePrev - 1;\n\t\tlet prevPage = alm.addons.woocommerce_settings.paged_urls[alm.pagePrev - 2];\n\t\tsetButtonAtts(alm.buttonPrev, prevPageNum, prevPage);\n\t\tdispatchScrollEvent(true);\n\t} else {\n\t\tsetButtonAtts(alm.button, nextPageNum, nextPage);\n\t}\n\n\t// Lazy load images if necessary.\n\tlazyImages(alm);\n\n\t// Trigger almComplete.\n\tif (typeof almComplete === 'function' && alm.transition !== 'masonry') {\n\t\twindow.almComplete(alm);\n\t}\n\n\t// End transitions.\n\talm.AjaxLoadMore.transitionEnd();\n\n\t// ALM Done.\n\tif (alm.rel === 'prev' && alm.pagePrev <= 1) {\n\t\talm.AjaxLoadMore.triggerDonePrev();\n\t}\n\tif (alm.rel === 'next' && nextPageNum > parseInt(alm.addons.woocommerce_settings.pages)) {\n\t\talm.AjaxLoadMore.triggerDone();\n\t}\n}\n\n/**\n * Reset a WooCommerce Instance by hitting the updated site URL.\n *\n * @since 5.3.8\n */\nexport function wooReset() {\n\treturn new Promise((resolve) => {\n\t\tlet url = window.location;\n\t\taxios\n\t\t\t.get(url)\n\t\t\t.then((response) => {\n\t\t\t\tif (response.status === 200 && response.data) {\n\t\t\t\t\tlet div = document.createElement('div');\n\t\t\t\t\tdiv.innerHTML = response.data; // Add data to div\n\n\t\t\t\t\tlet alm = div.querySelector('.ajax-load-more-wrap .alm-listing[data-woo=\"true\"]'); // Get ALM instance\n\t\t\t\t\tlet settings = alm ? alm.dataset.wooSettings : ''; // Get settings data\n\t\t\t\t\tresolve(settings);\n\t\t\t\t} else {\n\t\t\t\t\tresolve(false);\n\t\t\t\t}\n\t\t\t})\n\t\t\t.catch(function (error) {\n\t\t\t\tresolve(false);\n\t\t\t});\n\t});\n}\n\n/**\n * Get the content, title and results text from the Ajax response\n *\n * @param {object} alm The Ajax Load More object.\n * @since 5.3.0\n */\nexport function wooGetContent(response, alm) {\n\tlet data = {\n\t\thtml: '',\n\t\tmeta: {\n\t\t\tpostcount: 1,\n\t\t\ttotalposts: alm.localize.total_posts,\n\t\t\tdebug: false,\n\t\t},\n\t};\n\tif (response.status === 200 && response.data) {\n\t\tlet div = document.createElement('div');\n\t\tdiv.innerHTML = response.data;\n\n\t\t// Get Page Title\n\t\tlet title = div.querySelector('title').innerHTML;\n\t\tdata.pageTitle = title;\n\n\t\t// Get Products HTML\n\t\tlet products = div.querySelector(alm.addons.woocommerce_settings.container);\n\t\tdata.html = products ? products.innerHTML : '';\n\n\t\t// Results Text\n\t\talmWooCommerceResultsText(div, alm);\n\t}\n\n\treturn data;\n}\n\n/**\n * Set results text for WooCommerce Add-on.\n *\n * @param {HTMLElement} target\n * @param {Object} alm The Ajax Load More object.\n * @since 5.3\n */\nfunction almWooCommerceResultsText(target = '', alm) {\n\tif (target && alm && alm.addons.woocommerce_settings.results_text) {\n\t\tlet currentResults = target.querySelector(alm.addons.woocommerce_settings.results);\n\n\t\tif (alm.addons.woocommerce_settings.results_text) {\n\t\t\t//let link = alm.addons.woocommerce_settings.settings.previous_page_link;\n\t\t\t//let label = alm.addons.woocommerce_settings.settings.previous_page_label;\n\t\t\t//let sep = alm.addons.woocommerce_settings.settings.previous_page_sep;\n\t\t\talm.addons.woocommerce_settings.results_text.forEach((element) => {\n\t\t\t\telement.innerHTML = currentResults.innerHTML;\n\t\t\t\t// if (link && label) {\n\t\t\t\t// \telement.innerHTML = returnButton(currentResults, link, label, sep);\n\t\t\t\t// } else {\n\t\t\t\t// \telement.innerHTML = currentResults.innerHTML;\n\t\t\t\t// }\n\t\t\t});\n\t\t}\n\t}\n}\n\n/**\n * Initiate Results text.\n *\n * @param {Object} alm The Ajax Load More object.\n * @since 5.3\n * @deprecated 5.5\n */\nfunction almWooCommerceResultsTextInit(alm) {\n\tif (alm && alm.addons.woocommerce_settings.results_text) {\n\t\tlet results = document.querySelectorAll(alm.addons.woocommerce_settings.results);\n\t\tif (results.length < 1) {\n\t\t\treturn false;\n\t\t}\n\t\tlet link = alm.addons.woocommerce_settings.settings.previous_page_link;\n\t\tlet label = alm.addons.woocommerce_settings.settings.previous_page_label;\n\t\tlet sep = alm.addons.woocommerce_settings.settings.previous_page_sep;\n\t\t// Loop all result text elements\n\t\tresults.forEach((element) => {\n\t\t\tif (link && label) {\n\t\t\t\telement.innerHTML = returnButton(element, link, label, sep);\n\t\t\t}\n\t\t});\n\t}\n}\n\n/**\n * Create button text for returning to the first page\n *\n * @param {*} text\n * @param {*} link\n * @param {*} label\n * @param {*} seperator\n */\nfunction returnButton(text, link, label, seperator) {\n\tlet button = ` ${seperator} <a href=\"${link}\">${label}</a>`;\n\treturn text.innerHTML + button;\n}\n\n/**\n * Get total count of WooCommerce containers.\n *\n * @param {string} container The container class.\n * @return {Number} The total umber of containers.\n */\nfunction getContainerCount(container) {\n\tif (!container) {\n\t\treturn 0;\n\t}\n\tconst containers = document.querySelectorAll(container); // Get all containers.\n\tif (containers) {\n\t\treturn containers.length;\n\t} else {\n\t\treturn 0;\n\t}\n}\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// Polyfills\nrequire('@babel/polyfill/noConflict');\nrequire('focus-options-polyfill');\nrequire('./helpers/polyfills.js');\n\n// External Modules\nlet qs = require('qs');\nlet imagesLoaded = require('imagesloaded');\nimport axios from 'axios';\naxios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest';\nimport smoothscroll from 'smoothscroll-polyfill'; // Smooth scrolling polyfill\nsmoothscroll.polyfill();\n\n// ALM Modules\nimport './helpers/helpers';\n//import commentReplyFix from './helpers/commentReplyFix';\nimport getParameterByName from './helpers/getParameterByName';\nimport almAppendChildren from './helpers/almAppendChildren';\nimport tableWrap from './helpers/tableWrap';\nimport getCacheUrl from './helpers/getCacheUrl';\nimport almDomParser from './helpers/almDomParser';\nimport stripEmptyNodes from './helpers/stripEmptyNodes';\nimport * as queryParams from './helpers/queryParams';\nimport * as resultsText from './modules/resultsText';\nimport { tableOfContents } from './modules/tableofcontents';\nimport setLocalizedVars from './modules/setLocalizedVars';\nimport insertScript from './modules/insertScript';\nimport setFocus from './modules/setFocus';\nimport { getButtonURL, setButtonAtts } from './modules/getButtonURL';\nimport { almMasonryConfig, 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 almDebug from './modules/almDebug';\nimport getScrollPercentage from './modules/getScrollPercentage';\nimport srcsetPolyfill from './helpers/srcsetPolyfill';\nimport { showPlaceholder, hidePlaceholder } from './modules/placeholder';\nimport { lazyImages } from './modules/lazyImages';\nimport { singlePostHTML } from './addons/singleposts';\nimport { createCacheFile } from './addons/cache';\nimport { wooInit, woocommerce, wooGetContent, wooReset, woocommerceLoaded } from './addons/woocommerce';\nimport { elementorCreateParams, elementorGetContent, elementorInit, elementor, elementorLoaded } from './addons/elementor';\nimport { buildFilterURL } from './addons/filters';\nimport { createSEOAttributes } from './addons/seo';\n\n// Global filtering var\nlet alm_is_filtering = false;\n\n// Start ALM\n(function () {\n\t'use strict';\n\n\t/**\n\t * Initiate Ajax Load More.\n\t *\n\t * @param {HTMLElement} el The Ajax Load More DOM element/container.\n\t * @param {Number} index The current index number of the Ajax Load More instance.\n\t */\n\tlet ajaxloadmore = function (el, index) {\n\t\t// Move user to top of page to prevent loading of unnessasry posts\n\t\tif (alm_localize && alm_localize.scrolltop === 'true') {\n\t\t\twindow.scrollTo(0, 0);\n\t\t}\n\n\t\t//Set ALM Variables\n\t\tlet alm = this;\n\t\talm.AjaxLoadMore = {};\n\t\talm.addons = {};\n\t\talm.extensions = {};\n\t\talm.integration = {};\n\t\talm.window = window;\n\t\talm.page = 0;\n\t\talm.posts = 0;\n\t\talm.totalposts = 0;\n\t\talm.proceed = false;\n\t\talm.disable_ajax = false;\n\t\talm.init = true;\n\t\talm.loading = true;\n\t\talm.finished = false;\n\t\talm.timer = null;\n\t\talm.rel = 'next';\n\n\t\talm.ua = window.navigator.userAgent ? window.navigator.userAgent : ''; // Browser User Agent\n\t\talm.vendor = window.navigator.vendor ? window.navigator.vendor : ''; // Browser Vendor\n\t\talm.isSafari = /Safari/i.test(alm.ua) && /Apple Computer/.test(alm.vendor) && !/Mobi|Android/i.test(alm.ua);\n\n\t\talm.master_id = el.dataset.id ? `ajax-load-more-${el.dataset.id}` : el.id; // The defined or generated ID of the ALM instance\n\t\tel.classList.add('alm-' + index); // Add unique classname.\n\t\tel.setAttribute('data-alm-id', index); // Add unique data id.\n\n\t\t// Get localized <script/> variables\n\t\talm.master_id = alm.master_id.replace(/-/g, '_'); // Convert dashes to underscores for the var name\n\t\talm.localize = window[alm.master_id + '_vars']; // Get localize vars\n\n\t\t// ALM Element Containers\n\t\talm.main = el; // Top level DOM element\n\t\talm.listing = el.querySelector('.alm-listing') || el.querySelector('.alm-comments');\n\t\talm.content = alm.listing;\n\t\talm.el = alm.content;\n\t\talm.ajax = el.querySelector('.alm-ajax');\n\t\talm.container_type = alm.listing.dataset.containerType;\n\t\talm.loading_style = alm.listing.dataset.loadingStyle;\n\n\t\t// Instance Params\n\t\talm.canonical_url = el.dataset.canonicalUrl;\n\t\talm.nested = el.dataset.nested ? el.dataset.nested : null;\n\t\talm.is_search = el.dataset.search;\n\t\talm.slug = el.dataset.slug;\n\t\talm.post_id = el.dataset.postId;\n\t\talm.id = el.dataset.id ? el.dataset.id : '';\n\n\t\t// No results template\n\t\tlet alm_no_results = el.querySelector('.alm-no-results');\n\t\talm.no_results = alm_no_results ? alm_no_results.innerHTML : '';\n\n\t\t// Shortcode Params\n\t\talm.repeater = alm.listing.dataset.repeater; // Repeaters\n\t\talm.theme_repeater = alm.listing.dataset.themeRepeater;\n\n\t\talm.post_type = alm.listing.dataset.postType ? alm.listing.dataset.postType : 'post';\n\t\talm.sticky_posts = alm.listing.dataset.stickyPosts ? alm.listing.dataset.stickyPosts : null;\n\n\t\talm.btnWrap = el.querySelectorAll('.alm-btn-wrap'); // Get all `.alm-button-wrap` divs\n\t\talm.btnWrap = Array.prototype.slice.call(alm.btnWrap); // Convert NodeList to array\n\t\talm.btnWrap[alm.btnWrap.length - 1].style.visibility = 'visible'; // Get last element (used for nesting)\n\t\talm.trigger = alm.btnWrap[alm.btnWrap.length - 1];\n\t\talm.button = alm.trigger.querySelector('button.alm-load-more-btn');\n\n\t\talm.button_label = alm.listing.dataset.buttonLabel;\n\t\talm.button_loading_label = alm.listing.dataset.buttonLoadingLabel;\n\t\talm.button_done_label = alm.listing.dataset.buttonDoneLabel;\n\n\t\talm.placeholder = alm.main.querySelector('.alm-placeholder');\n\n\t\talm.scroll_distance = alm.listing.dataset.scrollDistance;\n\t\talm.scroll_distance = alm.scroll_distance ? alm.scroll_distance : 100;\n\t\talm.scroll_container = alm.listing.dataset.scrollContainer;\n\t\talm.scroll_direction = alm.listing.dataset.scrollDirection;\n\t\talm.max_pages = alm.listing.dataset.maxPages ? parseInt(alm.listing.dataset.maxPages) : 0;\n\t\talm.pause_override = alm.listing.dataset.pauseOverride; // true | false\n\t\talm.pause = alm.listing.dataset.pause ? alm.listing.dataset.pause : false; // true | false\n\t\talm.transition = alm.listing.dataset.transition; // Transition\n\t\talm.transition_container = alm.listing.dataset.transitionContainer; // Transition Container\n\t\talm.tcc = alm.listing.dataset.transitionContainerClasses; // Transition Container Classes\n\t\talm.speed = alm_localize.speed ? parseInt(alm_localize.speed) : 200;\n\t\talm.images_loaded = alm.listing.dataset.imagesLoaded ? alm.listing.dataset.imagesLoaded : false;\n\t\talm.destroy_after = alm.listing.dataset.destroyAfter ? alm.listing.dataset.destroyAfter : '';\n\t\talm.orginal_posts_per_page = parseInt(alm.listing.dataset.postsPerPage); // Used for paging add-on\n\t\talm.posts_per_page = alm.listing.dataset.postsPerPage;\n\t\talm.offset = alm.listing.dataset.offset ? parseInt(alm.listing.dataset.offset) : 0;\n\t\talm.lazy_images = alm.listing.dataset.lazyImages ? alm.listing.dataset.lazyImages : false;\n\t\talm.integration.woocommerce = alm.listing.dataset.woocommerce ? alm.listing.dataset.woocommerce : false;\n\t\talm.integration.woocommerce = alm.integration.woocommerce === 'true' ? true : false;\n\t\talm.is_search = alm.is_search === undefined ? false : alm.is_search;\n\t\talm.search_value = alm.is_search === 'true' ? alm.slug : ''; // Convert to value of slug for appending to seo url\n\n\t\t// Add-on Shortcode Params\n\n\t\t// Elementor add-on\n\t\talm.addons.elementor = alm.listing.dataset.elementor === 'posts' && alm.listing.dataset.elementorSettings ? true : false;\n\t\tif (alm.addons.elementor) {\n\t\t\talm = elementorCreateParams(alm);\n\t\t}\n\n\t\t// WooCommerce add-on\n\t\talm.addons.woocommerce = alm.listing.dataset.woo && alm.listing.dataset.woo === 'true' ? true : false;\n\t\tif (alm.addons.woocommerce && alm.listing.dataset.wooSettings) {\n\t\t\talm.addons.woocommerce_settings = JSON.parse(alm.listing.dataset.wooSettings);\n\t\t\talm.addons.woocommerce_settings.results_text = document.querySelectorAll(alm.addons.woocommerce_settings.results); // Add Results Text\n\t\t\talm.page = parseInt(alm.page) + parseInt(alm.addons.woocommerce_settings.paged);\n\t\t}\n\n\t\t// Cache add-on\n\t\talm.addons.cache = alm.listing.dataset.cache;\n\t\talm.addons.cache = alm.addons.cache === undefined ? false : alm.addons.cache;\n\t\tif (alm.addons.cache === 'true') {\n\t\t\talm.addons.cache_id = alm.listing.dataset.cacheId;\n\t\t\talm.addons.cache_path = alm.listing.dataset.cachePath;\n\t\t\talm.addons.cache_logged_in = alm.listing.dataset.cacheLoggedIn;\n\t\t\talm.addons.cache_logged_in = alm.addons.cache_logged_in === undefined ? false : alm.addons.cache_logged_in;\n\t\t}\n\n\t\t// CTA add-on\n\t\talm.addons.cta = alm.listing.dataset.cta ? alm.listing.dataset.cta : false;\n\t\tif (alm.addons.cta === 'true') {\n\t\t\talm.addons.cta_position = alm.listing.dataset.ctaPosition;\n\t\t\talm.addons.cta_repeater = alm.listing.dataset.ctaRepeater;\n\t\t\talm.addons.cta_theme_repeater = alm.listing.dataset.ctaThemeRepeater;\n\t\t}\n\n\t\t// Nextpage add-on\n\t\talm.addons.nextpage = alm.listing.dataset.nextpage;\n\t\tif (alm.addons.nextpage === 'true') {\n\t\t\talm.addons.nextpage_urls = alm.listing.dataset.nextpageUrls;\n\t\t\talm.addons.nextpage_scroll = alm.listing.dataset.nextpageScroll;\n\t\t\talm.addons.nextpage_pageviews = alm.listing.dataset.nextpagePageviews;\n\t\t\talm.addons.nextpage_post_id = alm.listing.dataset.nextpagePostId;\n\t\t\talm.addons.nextpage_startpage = alm.listing.dataset.nextpageStartpage;\n\t\t\talm.addons.nextpage_title_template = alm.listing.dataset.nextpageTitleTemplate;\n\t\t}\n\n\t\t// Single Posts add-on\n\t\talm.addons.single_post = alm.listing.dataset.singlePost;\n\t\tif (alm.addons.single_post === 'true') {\n\t\t\talm.addons.single_post_id = alm.listing.dataset.singlePostId;\n\t\t\talm.addons.single_post_query = alm.listing.dataset.singlePostQuery;\n\t\t\talm.addons.single_post_order = alm.listing.dataset.singlePostOrder === undefined ? 'previous' : alm.listing.dataset.singlePostOrder;\n\t\t\talm.addons.single_post_init_id = alm.listing.dataset.singlePostId;\n\t\t\talm.addons.single_post_taxonomy = alm.listing.dataset.singlePostTaxonomy === undefined ? '' : alm.listing.dataset.singlePostTaxonomy;\n\t\t\talm.addons.single_post_excluded_terms = alm.listing.dataset.singlePostExcludedTerms === undefined ? '' : alm.listing.dataset.singlePostExcludedTerms;\n\t\t\talm.addons.single_post_progress_bar = alm.listing.dataset.singlePostProgressBar === undefined ? '' : alm.listing.dataset.singlePostProgressBar;\n\t\t\talm.addons.single_post_target = alm.listing.dataset.singlePostTarget === undefined ? '' : alm.listing.dataset.singlePostTarget;\n\t\t\talm.addons.single_post_preview = alm.listing.dataset.singlePostPreview === undefined ? false : true;\n\t\t\tif (alm.addons.single_post_preview) {\n\t\t\t\tconst singlePostPreviewData = alm.listing.dataset.singlePostPreview.split(':');\n\t\t\t\talm.addons.single_post_preview_data = {\n\t\t\t\t\tbutton_label: singlePostPreviewData[0] ? singlePostPreviewData[0] : 'Continue Reading',\n\t\t\t\t\theight: singlePostPreviewData[1] ? singlePostPreviewData[1] : 500,\n\t\t\t\t\telement: singlePostPreviewData[2] ? singlePostPreviewData[2] : 'default',\n\t\t\t\t\tclassName: 'alm-single-post--preview',\n\t\t\t\t};\n\t\t\t}\n\t\t}\n\n\t\t// Comments add-on\n\t\talm.addons.comments = alm.listing.dataset.comments ? alm.listing.dataset.comments : false;\n\t\tif (alm.addons.comments === 'true') {\n\t\t\talm.addons.comments_post_id = alm.listing.dataset.comments_post_id; // current post id\n\t\t\talm.addons.comments_per_page = alm.listing.dataset.comments_per_page;\n\t\t\talm.addons.comments_per_page = alm.addons.comments_per_page === undefined ? '5' : alm.addons.comments_per_page;\n\t\t\talm.addons.comments_type = alm.listing.dataset.comments_type;\n\t\t\talm.addons.comments_style = alm.listing.dataset.comments_style;\n\t\t\talm.addons.comments_template = alm.listing.dataset.comments_template;\n\t\t\talm.addons.comments_callback = alm.listing.dataset.comments_callback;\n\t\t}\n\n\t\talm.addons.tabs = alm.listing.dataset.tabs;\n\t\talm.addons.filters = alm.listing.dataset.filters;\n\t\talm.addons.seo = alm.listing.dataset.seo;\n\n\t\t// Preloaded\n\t\talm.addons.preloaded = alm.listing.dataset.preloaded; // Preloaded add-on\n\t\talm.addons.preloaded_amount = alm.listing.dataset.preloadedAmount ? alm.listing.dataset.preloadedAmount : 0;\n\t\talm.is_preloaded = alm.listing.dataset.isPreloaded === 'true' ? true : false;\n\n\t\t// Users\n\t\talm.addons.users = alm.listing.dataset.users === 'true' ? true : false; // Users add-on\n\t\tif (alm.addons.users) {\n\t\t\t// Override paging params for users\n\t\t\talm.orginal_posts_per_page = alm.listing.dataset.usersPerPage;\n\t\t\talm.posts_per_page = alm.listing.dataset.usersPerPage;\n\t\t}\n\n\t\t// Extension Shortcode Params\n\n\t\t// REST API.\n\t\talm.extensions.restapi = alm.listing.dataset.restapi; // REST API\n\t\talm.extensions.restapi_base_url = alm.listing.dataset.restapiBaseUrl;\n\t\talm.extensions.restapi_namespace = alm.listing.dataset.restapiNamespace;\n\t\talm.extensions.restapi_endpoint = alm.listing.dataset.restapiEndpoint;\n\t\talm.extensions.restapi_template_id = alm.listing.dataset.restapiTemplateId;\n\t\talm.extensions.restapi_debug = alm.listing.dataset.restapiDebug;\n\n\t\t// ACF.\n\t\talm.extensions.acf = alm.listing.dataset.acf;\n\t\talm.extensions.acf_field_type = alm.listing.dataset.acfFieldType;\n\t\talm.extensions.acf_field_name = alm.listing.dataset.acfFieldName;\n\t\talm.extensions.acf_parent_field_name = alm.listing.dataset.acfParentFieldName;\n\t\talm.extensions.acf_post_id = alm.listing.dataset.acfPostId;\n\t\talm.extensions.acf = alm.extensions.acf === 'true' ? true : false;\n\t\t// if field type, name or post ID is empty\n\t\tif (alm.extensions.acf_field_type === undefined || alm.extensions.acf_field_name === undefined || alm.extensions.acf_post_id === undefined) {\n\t\t\talm.extensions.acf = false;\n\t\t}\n\n\t\t// Term Query.\n\t\talm.extensions.term_query = alm.listing.dataset.termQuery; // TERM QUERY\n\t\talm.extensions.term_query_taxonomy = alm.listing.dataset.termQueryTaxonomy;\n\t\talm.extensions.term_query_hide_empty = alm.listing.dataset.termQueryHideEmpty;\n\t\talm.extensions.term_query_number = alm.listing.dataset.termQueryNumber;\n\t\talm.extensions.term_query = alm.extensions.term_query === 'true' ? true : false;\n\n\t\t// Paging.\n\t\talm.addons.paging = alm.listing.dataset.paging; // Paging add-on\n\t\tif (alm.addons.paging === 'true') {\n\t\t\talm.addons.paging = true;\n\t\t\talm.addons.paging_init = true;\n\t\t\talm.addons.paging_controls = alm.listing.dataset.pagingControls === 'true' ? true : false;\n\t\t\talm.addons.paging_show_at_most = alm.listing.dataset.pagingShowAtMost;\n\t\t\talm.addons.paging_classes = alm.listing.dataset.pagingClasses;\n\t\t\talm.addons.paging_show_at_most = alm.addons.paging_show_at_most === undefined ? 7 : alm.addons.paging_show_at_most;\n\n\t\t\talm.addons.paging_first_label = alm.listing.dataset.pagingFirstLabel;\n\t\t\talm.addons.paging_previous_label = alm.listing.dataset.pagingPreviousLabel;\n\t\t\talm.addons.paging_next_label = alm.listing.dataset.pagingNextLabel;\n\t\t\talm.addons.paging_last_label = alm.listing.dataset.pagingLastLabel;\n\n\t\t\talm.addons.paging_scroll = alm.listing.dataset.pagingScroll ? alm.listing.dataset.pagingScroll : false;\n\t\t\talm.addons.paging_scrolltop = alm.listing.dataset.pagingScrolltop ? parseInt(alm.listing.dataset.pagingScrolltop) : 100;\n\n\t\t\t// If preloaded, pause ALM\n\t\t\talm.pause = alm.addons.preloaded === 'true' ? true : alm.pause;\n\t\t} else {\n\t\t\talm.addons.paging = false;\n\t\t}\n\n\t\t// Filters\n\t\tif (alm.addons.filters === 'true') {\n\t\t\talm.addons.filters = true;\n\t\t\talm.addons.filters_url = alm.listing.dataset.filtersUrl === 'true' ? true : false;\n\t\t\talm.addons.filters_target = alm.listing.dataset.filtersTarget ? alm.listing.dataset.filtersTarget : false;\n\t\t\talm.addons.filters_paging = alm.listing.dataset.filtersPaging === 'true' ? true : false;\n\t\t\talm.addons.filters_scroll = alm.listing.dataset.filtersScroll === 'true' ? true : false;\n\t\t\talm.addons.filters_scrolltop = alm.listing.dataset.filtersScrolltop ? alm.listing.dataset.filtersScrolltop : '30';\n\t\t\talm.addons.filters_analtyics = alm.listing.dataset.filtersAnalytics;\n\t\t\talm.addons.filters_debug = alm.listing.dataset.filtersDebug;\n\t\t\talm.addons.filters_startpage = 0;\n\n\t\t\t// Display warning if `filters_target` parameter is missing.\n\t\t\tif (!alm.addons.filters_target) {\n\t\t\t\tconsole.warn('Ajax Load More: Unable to locate target for Filters. Make sure you set a filters_target in core Ajax Load More.');\n\t\t\t}\n\n\t\t\t// Get Paged Querystring Val\n\t\t\tlet page = getParameterByName('pg');\n\t\t\talm.addons.filters_startpage = page !== null ? parseInt(page) : 0;\n\n\t\t\t// If not Paging add-on\n\t\t\tif (!alm.addons.paging && alm.addons.filters_startpage > 0) {\n\t\t\t\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\t\t\t}\n\t\t} else {\n\t\t\talm.addons.filters = false;\n\t\t}\n\n\t\t// Tabs.\n\t\tif (alm.addons.tabs === 'true') {\n\t\t\talm.addons.tabs = true;\n\t\t\talm.addons.tab_template = alm.listing.dataset.tabTemplate ? alm.listing.dataset.tabTemplate : '';\n\t\t\talm.addons.tab_onload = alm.listing.dataset.tabOnload ? alm.listing.dataset.tabOnload : '';\n\t\t\talm.addons.tabs_resturl = alm.listing.dataset.tabsRestUrl ? alm.listing.dataset.tabsRestUrl : '';\n\n\t\t\t// Locate active template (deeplinks)\n\t\t\tif (alm.addons.tab_onload !== '') {\n\t\t\t\tlet tabNav = document.querySelector(`.alm-tab-nav li [data-tab-url=${alm.addons.tab_onload}]`);\n\t\t\t\talm.addons.tab_template = tabNav ? tabNav.dataset.tabTemplate : alm.addons.tab_template;\n\t\t\t\talm.listing.dataset.tabOnload = ''; // Clear tabOnload param\n\t\t\t\t// Set selected tab\n\t\t\t\tif (tabNav) {\n\t\t\t\t\tlet activeTab = document.querySelector(`.alm-tab-nav li .active`);\n\t\t\t\t\tif (activeTab) {\n\t\t\t\t\t\tactiveTab.classList.remove('active');\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\talm.addons.tabs = false;\n\t\t}\n\t\t/* End Tabs */\n\n\t\t/* REST API */\n\t\tif (alm.extensions.restapi === 'true') {\n\t\t\talm.extensions.restapi = true;\n\t\t\talm.extensions.restapi_debug = alm.extensions.restapi_debug === undefined ? false : alm.extensions.restapi_debug;\n\t\t\talm.extensions.restapi = alm.extensions.restapi_template_id === '' ? false : alm.extensions.restapi;\n\t\t} else {\n\t\t\talm.extensions.restapi = false;\n\t\t}\n\t\t/* End REST API */\n\n\t\t/* Preloaded */\n\t\tif (alm.addons.preloaded === 'true') {\n\t\t\t// Preloaded Amount\n\t\t\talm.addons.preloaded_amount = alm.addons.preloaded_amount === undefined ? alm.posts_per_page : alm.addons.preloaded_amount;\n\t\t\t// Disable ALM if total_posts is less than or equal to preloaded_amount\n\t\t\tif (alm.localize && alm.localize.total_posts) {\n\t\t\t\tif (parseInt(alm.localize.total_posts) <= parseInt(alm.addons.preloaded_amount)) {\n\t\t\t\t\talm.addons.preloaded_total_posts = alm.localize.total_posts;\n\t\t\t\t\talm.disable_ajax = true;\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\talm.addons.preloaded = 'false';\n\t\t}\n\t\t/* End Preloaded */\n\n\t\t/* SEO */\n\t\talm.addons.seo = alm.addons.seo === undefined ? false : alm.addons.seo;\n\t\talm.addons.seo = alm.addons.seo === 'true' ? true : alm.addons.seo;\n\n\t\tif (alm.addons.seo) {\n\t\t\talm.addons.seo_permalink = alm.listing.dataset.seoPermalink;\n\t\t\talm.addons.seo_pageview = alm.listing.dataset.seoPageview;\n\t\t\talm.addons.seo_trailing_slash = alm.listing.dataset.seoTrailingSlash === 'false' ? '' : '/';\n\t\t\talm.addons.seo_leading_slash = alm.listing.dataset.seoLeadingSlash === 'true' ? '/' : '';\n\t\t}\n\t\talm.start_page = alm.listing.dataset.seoStartPage;\n\n\t\tif (alm.start_page) {\n\t\t\talm.addons.seo_scroll = alm.listing.dataset.seoScroll;\n\t\t\talm.addons.seo_scrolltop = alm.listing.dataset.seoScrolltop;\n\t\t\talm.addons.seo_controls = alm.listing.dataset.seoControls;\n\t\t\talm.isPaged = false;\n\t\t\tif (alm.start_page > 1) {\n\t\t\t\talm.isPaged = true; // Is this a paged page > 1 ?\n\t\t\t\talm.posts_per_page = alm.start_page * alm.posts_per_page;\n\t\t\t}\n\t\t\tif (alm.addons.paging) {\n\t\t\t\t// If paging, reset posts_per_page\n\t\t\t\talm.posts_per_page = alm.orginal_posts_per_page;\n\t\t\t}\n\t\t} else {\n\t\t\talm.start_page = 1;\n\t\t}\n\t\t/* End SEO */\n\n\t\t/* Nextpage */\n\t\tif (alm.addons.nextpage === 'true') {\n\t\t\talm.addons.nextpage = true;\n\t\t\talm.posts_per_page = 1;\n\n\t\t\tif (alm.addons.nextpage_urls === undefined) {\n\t\t\t\talm.addons.nextpage_urls = 'true';\n\t\t\t}\n\t\t\tif (alm.addons.nextpage_scroll === undefined) {\n\t\t\t\talm.addons.nextpage_scroll = 'false:30';\n\t\t\t}\n\t\t\tif (alm.addons.nextpage_pageviews === undefined) {\n\t\t\t\talm.addons.nextpage_pageviews = 'true';\n\t\t\t}\n\t\t\tif (alm.addons.nextpage_post_id === undefined) {\n\t\t\t\talm.addons.nextpage = false;\n\t\t\t\talm.addons.nextpage_post_id = null;\n\t\t\t}\n\t\t\tif (alm.addons.nextpage_startpage === undefined) {\n\t\t\t\talm.addons.nextpage_startpage = 1;\n\t\t\t}\n\t\t\tif (alm.addons.nextpage_startpage > 1) {\n\t\t\t\talm.isPaged = true;\n\t\t\t}\n\t\t\talm.addons.nextpage_postTitle = alm.listing.dataset.nextpagePostTitle;\n\t\t} else {\n\t\t\talm.addons.nextpage = false;\n\t\t}\n\t\t/* End Nextpage */\n\n\t\t/* Single Post */\n\t\tif (alm.addons.single_post === 'true') {\n\t\t\talm.addons.single_post = true;\n\t\t\talm.addons.single_post_permalink = '';\n\t\t\talm.addons.single_post_title = '';\n\t\t\talm.addons.single_post_slug = '';\n\t\t\talm.addons.single_post_title_template = alm.listing.dataset.singlePostTitleTemplate;\n\t\t\talm.addons.single_post_siteTitle = alm.listing.dataset.singlePostSiteTitle;\n\t\t\talm.addons.single_post_siteTagline = alm.listing.dataset.singlePostSiteTagline;\n\t\t\talm.addons.single_post_pageview = alm.listing.dataset.singlePostPageview;\n\t\t\talm.addons.single_post_scroll = alm.listing.dataset.singlePostScroll;\n\t\t\talm.addons.single_post_scroll_speed = alm.listing.dataset.singlePostScrollSpeed;\n\t\t\talm.addons.single_post_scroll_top = alm.listing.dataset.singlePostScrolltop;\n\t\t\talm.addons.single_post_controls = alm.listing.dataset.singlePostControls;\n\t\t} else {\n\t\t\talm.addons.single_post = false;\n\t\t}\n\t\tif (alm.addons.single_post && alm.addons.single_post_id === undefined) {\n\t\t\talm.addons.single_post_id = '';\n\t\t\talm.addons.single_post_init_id = '';\n\t\t}\n\t\t/* End Single Post */\n\n\t\t/* Pause */\n\t\tif (alm.pause === undefined || (alm.addons.seo && alm.start_page > 1)) {\n\t\t\t// SEO only\n\t\t\talm.pause = false;\n\t\t}\n\t\tif (alm.addons.preloaded === 'true' && alm.addons.seo && alm.start_page > 0) {\n\t\t\t// SEO + Preloaded\n\t\t\talm.pause = false;\n\t\t}\n\t\tif (alm.addons.filters && alm.addons.filters_startpage > 0) {\n\t\t\t// Filters\n\t\t\talm.pause = false;\n\t\t}\n\t\tif (alm.addons.preloaded === 'true' && alm.addons.paging) {\n\t\t\talm.pause = true;\n\t\t}\n\n\t\t/* Repeater and Theme Repeater */\n\t\talm.repeater = alm.repeater === undefined ? 'default' : alm.repeater;\n\t\talm.theme_repeater = alm.theme_repeater === undefined ? false : alm.theme_repeater;\n\n\t\t/* Max Pages (while scrolling) */\n\t\talm.max_pages = alm.max_pages === undefined || alm.max_pages === 0 ? 9999 : alm.max_pages;\n\n\t\t/* Scroll Distance */\n\t\talm.scroll_distance = alm.scroll_distance === undefined ? 100 : alm.scroll_distance;\n\t\talm.scroll_distance_perc = false;\n\t\tif (alm.scroll_distance.toString().indexOf('%') == -1) {\n\t\t\t// Standard scroll_distance\n\t\t\talm.scroll_distance = parseInt(alm.scroll_distance);\n\t\t} else {\n\t\t\t// Percentage scroll_distance\n\t\t\talm.scroll_distance_perc = true;\n\t\t\talm.scroll_distance_orig = parseInt(alm.scroll_distance);\n\t\t\talm.scroll_distance = getScrollPercentage(alm);\n\t\t}\n\n\t\t/* Scroll Container */\n\t\talm.scroll_container = alm.scroll_container === undefined ? '' : alm.scroll_container;\n\n\t\t/* Scroll Direction */\n\t\talm.scroll_direction = alm.scroll_direction === undefined ? 'vertical' : alm.scroll_direction;\n\n\t\t/* Transition */\n\t\talm.transition = alm.transition === undefined ? 'fade' : alm.transition;\n\n\t\t/* Transition Container Class */\n\t\talm.tcc = alm.tcc === undefined ? '' : alm.tcc;\n\n\t\t/* Masonry */\n\t\tif (alm.transition === 'masonry') {\n\t\t\talm = almMasonryConfig(alm);\n\t\t}\n\n\t\t/* Scroll */\n\t\tif (alm.listing.dataset.scroll === undefined) {\n\t\t\talm.scroll = true;\n\t\t} else if (alm.listing.dataset.scroll === 'false') {\n\t\t\talm.scroll = false;\n\t\t} else {\n\t\t\talm.scroll = true;\n\t\t}\n\n\t\t/* Transition Container */\n\t\talm.transition_container = alm.transition_container === undefined || alm.transition_container === 'true' ? true : false;\n\n\t\t/* Button Labels */\n\t\talm.button_label = alm.button_label === undefined ? 'Load More' : alm.button_label;\n\t\talm.button_loading_label = alm.button_loading_label === undefined ? false : alm.button_loading_label;\n\t\talm.button_done_label = alm.button_done_label === undefined ? false : alm.button_done_label;\n\n\t\t/* Paging */\n\t\tif (alm.addons.paging) {\n\t\t\talm.main.classList.add('loading'); // add loading class to main container\n\t\t} else {\n\t\t\tlet almChildren = el.childNodes; // Get child nodes of instance [nodeList]\n\t\t\tif (almChildren) {\n\t\t\t\tlet almChildArray = Array.prototype.slice.call(almChildren); // Convert nodeList to array\n\n\t\t\t\t// Filter array to find the `.alm-btn-wrap` div\n\t\t\t\tlet btnWrap = almChildArray.filter(function (element) {\n\t\t\t\t\tif (!element.classList) {\n\t\t\t\t\t\t// If not element (#text node)\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t}\n\t\t\t\t\treturn element.classList.contains('alm-btn-wrap');\n\t\t\t\t});\n\t\t\t\talm.button = btnWrap ? btnWrap[0].querySelector('.alm-load-more-btn') : container.querySelector('.alm-btn-wrap .alm-load-more-btn');\n\t\t\t} else {\n\t\t\t\talm.button = container.querySelector('.alm-btn-wrap .alm-load-more-btn');\n\t\t\t}\n\n\t\t\t// Reset button state\n\t\t\talm.button.disabled = false;\n\t\t\talm.button.style.display = '';\n\t\t}\n\n\t\t// Results Text\n\t\t// Render \"Showing x of y results\" text.\n\t\t// If woocommerce, get the default woocommerce results block\n\t\tif (alm.integration.woocommerce) {\n\t\t\talm.resultsText = document.querySelectorAll('.woocommerce-result-count');\n\t\t\tif (alm.resultsText.length < 1) {\n\t\t\t\talm.resultsText = document.querySelectorAll('.alm-results-text');\n\t\t\t}\n\t\t} else {\n\t\t\talm.resultsText = document.querySelectorAll('.alm-results-text');\n\t\t}\n\t\tif (alm.resultsText) {\n\t\t\talm.resultsText.forEach(function (results) {\n\t\t\t\tresults.setAttribute('aria-live', 'polite');\n\t\t\t\tresults.setAttribute('aria-atomic', 'true');\n\t\t\t});\n\t\t} else {\n\t\t\talm.resultsText = false;\n\t\t}\n\n\t\t// Table of Contents\n\t\t// Render 1, 2, 3 etc. when pages are loaded\n\t\talm.tableofcontents = document.querySelector('.alm-toc');\n\t\tif (alm.tableofcontents) {\n\t\t\talm.tableofcontents.setAttribute('aria-live', 'polite');\n\t\t\talm.tableofcontents.setAttribute('aria-atomic', 'true');\n\t\t} else {\n\t\t\talm.tableofcontents = false;\n\t\t}\n\n\t\t/**\n\t\t * The function to get posts via Ajax.\n\t\t *\n\t\t * @since 2.0.0\n\t\t */\n\t\talm.AjaxLoadMore.loadPosts = function () {\n\t\t\tif (typeof almOnChange === 'function') {\n\t\t\t\twindow.almOnChange(alm);\n\t\t\t}\n\n\t\t\t// Check for ajax blocker.\n\t\t\tif (alm.disable_ajax) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\talm.loading = true;\n\t\t\tshowPlaceholder(alm);\n\n\t\t\t// Add `.alm-loading` class to container.\n\t\t\talm.main.classList.add('alm-loading');\n\n\t\t\t// Add loading styles to buttons.\n\t\t\tif (!alm.addons.paging) {\n\t\t\t\tif (alm.rel === 'prev') {\n\t\t\t\t\talm.buttonPrev.classList.add('loading');\n\t\t\t\t} else {\n\t\t\t\t\talm.button.classList.add('loading');\n\t\t\t\t\tif (alm.button_loading_label !== false) {\n\t\t\t\t\t\talm.button.innerHTML = alm.button_loading_label;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (alm.addons.cache === 'true' && !alm.addons.cache_logged_in) {\n\t\t\t\t// Cache\n\t\t\t\tlet cache_page = getCacheUrl(alm);\n\t\t\t\tif (cache_page) {\n\t\t\t\t\t// Load `.html` page\n\t\t\t\t\taxios\n\t\t\t\t\t\t.get(cache_page)\n\t\t\t\t\t\t.then((response) => {\n\t\t\t\t\t\t\t// Exists\n\t\t\t\t\t\t\talm.AjaxLoadMore.success(response.data, true);\n\t\t\t\t\t\t})\n\t\t\t\t\t\t.catch(function (error) {\n\t\t\t\t\t\t\t// Error || Page does not yet exist\n\t\t\t\t\t\t\tconsole.log(error);\n\t\t\t\t\t\t\talm.AjaxLoadMore.ajax();\n\t\t\t\t\t\t});\n\t\t\t\t} else {\n\t\t\t\t\t// Standard ALM query\n\t\t\t\t\talm.AjaxLoadMore.ajax();\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\t// Standard ALM query\n\t\t\t\talm.AjaxLoadMore.ajax();\n\t\t\t}\n\t\t};\n\n\t\t/**\n\t\t * The core Ajax Load More Ajax function.\n\t\t *\n\t\t * @param {string} queryType The type of Ajax request (standard/totalposts).\n\t\t * @since 2.6.0\n\t\t */\n\t\talm.AjaxLoadMore.ajax = function (queryType = 'standard') {\n\t\t\t// Default ALM action\n\t\t\tlet action = 'alm_get_posts';\n\n\t\t\t// ACF Params\n\t\t\talm.acf_array = '';\n\t\t\tif (alm.extensions.acf) {\n\t\t\t\t// Custom query for the Repeater / Gallery / Flexible Content field types\n\t\t\t\tif (alm.extensions.acf_field_type !== 'relationship') {\n\t\t\t\t\taction = 'alm_acf';\n\t\t\t\t}\n\t\t\t\talm.acf_array = {\n\t\t\t\t\tacf: 'true',\n\t\t\t\t\tpost_id: alm.extensions.acf_post_id,\n\t\t\t\t\tfield_type: alm.extensions.acf_field_type,\n\t\t\t\t\tfield_name: alm.extensions.acf_field_name,\n\t\t\t\t\tparent_field_name: alm.extensions.acf_parent_field_name,\n\t\t\t\t};\n\t\t\t}\n\n\t\t\t// Term Query Params\n\t\t\talm.term_query_array = '';\n\t\t\tif (alm.extensions.term_query) {\n\t\t\t\taction = 'alm_get_terms';\n\t\t\t\talm.term_query_array = {\n\t\t\t\t\tterm_query: 'true',\n\t\t\t\t\ttaxonomy: alm.extensions.term_query_taxonomy,\n\t\t\t\t\thide_empty: alm.extensions.term_query_hide_empty,\n\t\t\t\t\tnumber: alm.extensions.term_query_number,\n\t\t\t\t};\n\t\t\t}\n\n\t\t\t// Nextpage Params\n\t\t\talm.nextpage_array = '';\n\t\t\tif (alm.addons.nextpage) {\n\t\t\t\taction = 'alm_nextpage';\n\t\t\t\talm.nextpage_array = {\n\t\t\t\t\tnextpage: 'true',\n\t\t\t\t\turls: alm.addons.nextpage_urls,\n\t\t\t\t\tscroll: alm.addons.nextpage_scroll,\n\t\t\t\t\tpageviews: alm.addons.nextpage_pageviews,\n\t\t\t\t\tpost_id: alm.addons.nextpage_post_id,\n\t\t\t\t\tstartpage: alm.addons.nextpage_startpage,\n\t\t\t\t\tnested: alm.nested,\n\t\t\t\t};\n\t\t\t}\n\n\t\t\t// Previous Post Params\n\t\t\talm.single_post_array = '';\n\t\t\tif (alm.addons.single_post) {\n\t\t\t\talm.single_post_array = {\n\t\t\t\t\tsingle_post: 'true',\n\t\t\t\t\tid: alm.addons.single_post_id,\n\t\t\t\t\tslug: alm.addons.single_post_slug,\n\t\t\t\t};\n\t\t\t}\n\n\t\t\t// Comment Params\n\t\t\talm.comments_array = '';\n\t\t\tif (alm.addons.comments === 'true') {\n\t\t\t\taction = 'alm_comments';\n\t\t\t\talm.posts_per_page = alm.addons.comments_per_page;\n\t\t\t\talm.comments_array = {\n\t\t\t\t\tcomments: 'true',\n\t\t\t\t\tpost_id: alm.addons.comments_post_id,\n\t\t\t\t\tper_page: alm.addons.comments_per_page,\n\t\t\t\t\ttype: alm.addons.comments_type,\n\t\t\t\t\tstyle: alm.addons.comments_style,\n\t\t\t\t\ttemplate: alm.addons.comments_template,\n\t\t\t\t\tcallback: alm.addons.comments_callback,\n\t\t\t\t};\n\t\t\t}\n\n\t\t\t// Users Params\n\t\t\talm.users_array = '';\n\t\t\tif (alm.addons.users) {\n\t\t\t\taction = 'alm_users';\n\t\t\t\talm.users_array = {\n\t\t\t\t\tusers: 'true',\n\t\t\t\t\trole: alm.listing.dataset.usersRole,\n\t\t\t\t\tinclude: alm.listing.dataset.usersInclude,\n\t\t\t\t\texclude: alm.listing.dataset.usersExclude,\n\t\t\t\t\tper_page: alm.posts_per_page,\n\t\t\t\t\torder: alm.listing.dataset.usersOrder,\n\t\t\t\t\torderby: alm.listing.dataset.usersOrderby,\n\t\t\t\t};\n\t\t\t}\n\n\t\t\t// CTA Params\n\t\t\talm.cta_array = '';\n\t\t\tif (alm.addons.cta === 'true') {\n\t\t\t\talm.cta_array = {\n\t\t\t\t\tcta: 'true',\n\t\t\t\t\tcta_position: alm.addons.cta_position,\n\t\t\t\t\tcta_repeater: alm.addons.cta_repeater,\n\t\t\t\t\tcta_theme_repeater: alm.addons.cta_theme_repeater,\n\t\t\t\t};\n\t\t\t}\n\n\t\t\t// REST API\n\t\t\tif (alm.extensions.restapi) {\n\t\t\t\talm.AjaxLoadMore.restapi(alm, action, queryType);\n\t\t\t}\n\t\t\t// Tabs\n\t\t\telse if (alm.addons.tabs) {\n\t\t\t\talm.AjaxLoadMore.tabs(alm);\n\t\t\t}\n\t\t\t// Standard ALM\n\t\t\telse {\n\t\t\t\talm.AjaxLoadMore.adminajax(alm, action, queryType);\n\t\t\t}\n\t\t};\n\n\t\t/**\n\t\t * Send request to the admin-ajax.php\n\t\t *\n\t\t * @param {object} alm The Ajax Load More object.\n\t\t * @param {string} action The Ajax action.\n\t\t * @param {string} queryType The type of Ajax request (standard/totalposts).\n\t\t * @since 5.0.0\n\t\t */\n\t\talm.AjaxLoadMore.adminajax = function (alm, action, queryType) {\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\t\t\t// Get Ajax URL\n\t\t\tlet ajaxURL = alm_localize.ajaxurl;\n\n\t\t\t// Get data params\n\t\t\tlet params = queryParams.almGetAjaxParams(alm, action, queryType); // [./helpers/queryParams.js\n\n\t\t\t// Single Posts Add-on\n\t\t\t// If has `single_post_target`, adjust the Ajax URL to the post URL.\n\t\t\tif (alm.addons.single_post && alm.addons.single_post_target) {\n\t\t\t\tajaxURL = `${alm.addons.single_post_permalink}?id=${alm.addons.single_post_id}&alm_page=${parseInt(alm.page) + 1}`;\n\t\t\t\tparams = '';\n\t\t\t}\n\n\t\t\t// WooCommerce Add-on\n\t\t\tif (alm.addons.woocommerce) {\n\t\t\t\tajaxURL = getButtonURL(alm, alm.rel);\n\t\t\t\tparams = '';\n\t\t\t}\n\n\t\t\t// Elementor Add-on\n\t\t\tif (alm.addons.elementor && alm.addons.elementor_type && alm.addons.elementor_type === 'posts') {\n\t\t\t\tajaxURL = getButtonURL(alm, alm.rel);\n\t\t\t\tparams = '';\n\t\t\t}\n\n\t\t\t// Send HTTP request via axios\n\t\t\taxios\n\t\t\t\t.get(ajaxURL, { params })\n\t\t\t\t.then(function (response) {\n\t\t\t\t\t// Success\n\t\t\t\t\tlet data = '';\n\n\t\t\t\t\tif (alm.addons.single_post && alm.addons.single_post_target) {\n\t\t\t\t\t\t// Single Posts\n\t\t\t\t\t\tdata = singlePostHTML(response, alm.addons.single_post_target);\n\t\t\t\t\t\tcreateCacheFile(alm, data.html, 'single');\n\t\t\t\t\t} else if (alm.addons.woocommerce) {\n\t\t\t\t\t\t// WooCommerce\n\t\t\t\t\t\tdata = wooGetContent(response, alm);\n\t\t\t\t\t\tcreateCacheFile(alm, data.html, 'woocommerce');\n\t\t\t\t\t} else if (alm.addons.elementor) {\n\t\t\t\t\t\t// Elementor\n\t\t\t\t\t\tdata = elementorGetContent(response, alm);\n\t\t\t\t\t\tcreateCacheFile(alm, data.html, 'elementor');\n\t\t\t\t\t} else {\n\t\t\t\t\t\t// Get data from response\n\t\t\t\t\t\tdata = response.data;\n\t\t\t\t\t}\n\n\t\t\t\t\t// Standard Query\n\t\t\t\t\tif (queryType === 'standard') {\n\t\t\t\t\t\talm.AjaxLoadMore.success(data, false);\n\t\t\t\t\t} else if (queryType === 'totalpages' && alm.addons.paging && alm.addons.nextpage) {\n\t\t\t\t\t\t// Next Page and Paging\n\t\t\t\t\t\tif (typeof almBuildPagination === 'function') {\n\t\t\t\t\t\t\twindow.almBuildPagination(data.totalpages, alm);\n\t\t\t\t\t\t\talm.totalpages = data.totalpages;\n\t\t\t\t\t\t}\n\t\t\t\t\t} else if (queryType === 'totalposts' && alm.addons.paging) {\n\t\t\t\t\t\t// Paging\n\t\t\t\t\t\tif (typeof almBuildPagination === 'function') {\n\t\t\t\t\t\t\twindow.almBuildPagination(data.totalposts, alm);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t\t.catch(function (error) {\n\t\t\t\t\t// Error\n\t\t\t\t\talm.AjaxLoadMore.error(error, 'adminajax');\n\t\t\t\t});\n\t\t};\n\n\t\t/**\n\t\t * Ajax Load More Tab functionality.\n\t\t *\n\t\t * @param {object} alm The Ajax Load More object.\n\t\t * @since 5.2.0\n\t\t */\n\t\talm.AjaxLoadMore.tabs = function (alm) {\n\t\t\tlet alm_rest_url = `${alm.addons.tabs_resturl}ajaxloadmore/tab`;\n\n\t\t\tlet params = {\n\t\t\t\tpost_id: alm.post_id,\n\t\t\t\ttemplate: alm.addons.tab_template,\n\t\t\t};\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\t\t\t// Send Ajax request\n\t\t\taxios\n\t\t\t\t.get(alm_rest_url, { params })\n\t\t\t\t.then(function (response) {\n\t\t\t\t\t// Success\n\t\t\t\t\tlet results = response.data; // Get data from response\n\t\t\t\t\tlet html = results.html;\n\n\t\t\t\t\t// Create object to pass to success()\n\t\t\t\t\tlet obj = {\n\t\t\t\t\t\thtml: html,\n\t\t\t\t\t\tmeta: {\n\t\t\t\t\t\t\tpostcount: 1,\n\t\t\t\t\t\t\ttotalposts: 1,\n\t\t\t\t\t\t},\n\t\t\t\t\t};\n\t\t\t\t\talm.AjaxLoadMore.success(obj, false); // Send data\n\n\t\t\t\t\t// Callback to Tabs add-on\n\t\t\t\t\tif (typeof almTabLoaded === 'function') {\n\t\t\t\t\t\twindow.almTabLoaded(alm);\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t\t.catch(function (error) {\n\t\t\t\t\t// Error\n\t\t\t\t\talm.AjaxLoadMore.error(error, 'restapi');\n\t\t\t\t});\n\t\t};\n\n\t\t/**\n\t\t * Send request to the WP REST API\n\t\t *\n\t\t * @param {object} alm The Ajax Load More object.\n\t\t * @param {string} action The Ajax action.\n\t\t * @param {string} queryType The type of Ajax request (standard/totalposts).\n\t\t * @since 5.0.0\n\t\t */\n\t\talm.AjaxLoadMore.restapi = function (alm, action, queryType) {\n\t\t\tlet alm_rest_template = wp.template(alm.extensions.restapi_template_id);\n\t\t\tlet alm_rest_url = `${alm.extensions.restapi_base_url}/${alm.extensions.restapi_namespace}/${alm.extensions.restapi_endpoint}`;\n\t\t\tlet 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\t\t\t// Send Ajax request\n\t\t\taxios\n\t\t\t\t.get(alm_rest_url, { params })\n\t\t\t\t.then(function (response) {\n\t\t\t\t\t// Success\n\t\t\t\t\tlet results = response.data; // Get data from response\n\t\t\t\t\tlet data = '';\n\t\t\t\t\tlet html = results.html;\n\t\t\t\t\tlet meta = results.meta;\n\t\t\t\t\tlet postcount = meta && meta.postcount ? meta.postcount : 0;\n\t\t\t\t\tlet totalposts = meta && meta.totalposts ? meta.totalposts : 0;\n\n\t\t\t\t\t// loop results to get data from each\n\t\t\t\t\tfor (let i = 0; i < html.length; i++) {\n\t\t\t\t\t\tlet result = html[i];\n\t\t\t\t\t\tif (alm.restapi_debug === 'true') {\n\t\t\t\t\t\t\t// If debug\n\t\t\t\t\t\t\tconsole.log(result);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tdata += alm_rest_template(result);\n\t\t\t\t\t}\n\n\t\t\t\t\t// Create object to pass to success()\n\t\t\t\t\tlet obj = {\n\t\t\t\t\t\thtml: data,\n\t\t\t\t\t\tmeta: {\n\t\t\t\t\t\t\tpostcount: postcount,\n\t\t\t\t\t\t\ttotalposts: totalposts,\n\t\t\t\t\t\t},\n\t\t\t\t\t};\n\t\t\t\t\talm.AjaxLoadMore.success(obj, false); // Send data\n\t\t\t\t})\n\t\t\t\t.catch(function (error) {\n\t\t\t\t\t// Error\n\t\t\t\t\talm.AjaxLoadMore.error(error, 'restapi');\n\t\t\t\t});\n\t\t};\n\n\t\t// If pagination enabled, run totalposts query\n\t\tif (alm.addons.paging) {\n\t\t\tif (alm.addons.nextpage) {\n\t\t\t\talm.AjaxLoadMore.ajax('totalpages'); // Create paging menu and query for total pages\n\t\t\t} else {\n\t\t\t\talm.AjaxLoadMore.ajax('totalposts'); // Create paging menu and query for total posts\n\t\t\t}\n\t\t}\n\n\t\t/**\n\t\t * Success function after loading data.\n\t\t *\n\t\t * @param {object} data The results of the Ajax request.\n\t\t * @param {boolean} is_cache Are results of the Ajax request coming from cache?\n\t\t * @since 2.6.0\n\t\t */\n\t\talm.AjaxLoadMore.success = function (data, is_cache) {\n\t\t\tif (alm.addons.single_post) {\n\t\t\t\t// Get previous page data\n\t\t\t\talm.AjaxLoadMore.getSinglePost();\n\t\t\t}\n\n\t\t\tlet isPaged = false;\n\n\t\t\t// Create `.alm-reveal` element\n\t\t\t//let reveal = document.createElement('div');\n\t\t\tlet reveal = alm.container_type === 'table' ? document.createElement('tbody') : document.createElement('div');\n\t\t\talm.el = reveal;\n\t\t\treveal.style.opacity = 0;\n\t\t\treveal.style.height = 0;\n\t\t\treveal.style.outline = 'none';\n\n\t\t\t// Paging container\n\t\t\tlet pagingContent = alm.listing.querySelector('.alm-paging-content');\n\n\t\t\tlet html, meta, total;\n\n\t\t\tif (is_cache) {\n\t\t\t\t// If Cache, do not look for json data as we won't be querying the DB.\n\t\t\t\thtml = data;\n\t\t\t} else {\n\t\t\t\t// Standard ALM query results\n\t\t\t\thtml = data.html;\n\t\t\t\tmeta = data.meta;\n\t\t\t\ttotal = meta ? parseInt(meta.postcount) : parseInt(alm.posts_per_page);\n\n\t\t\t\tlet totalposts = typeof meta !== 'undefined' ? meta.totalposts : alm.posts_per_page * 5;\n\t\t\t\talm.totalposts = alm.addons.preloaded === 'true' ? totalposts - alm.addons.preloaded_amount : totalposts;\n\t\t\t\talm.posts = alm.addons.paging ? total : alm.posts + total;\n\t\t\t\talm.debug = meta.debug ? meta.debug : '';\n\n\t\t\t\tif (!meta) {\n\t\t\t\t\t// Display warning if `meta` is missing.\n\t\t\t\t\tconsole.warn(\n\t\t\t\t\t\t'Ajax Load More: Unable to access `meta` object in Ajax response. There may be an issue in your Repeater Template or another hook causing interference.'\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Set alm.html as plain text return\n\t\t\talm.html = html;\n\n\t\t\t// If cache, get the length of the html object\n\t\t\ttotal = is_cache ? almDomParser(html).length : total;\n\n\t\t\t// First Run Only\n\t\t\tif (alm.init) {\n\t\t\t\t// Set Meta\n\t\t\t\tif (meta) {\n\t\t\t\t\talm.main.dataset.totalPosts = meta.totalposts ? meta.totalposts : 0;\n\t\t\t\t}\n\t\t\t\t// Paging\n\t\t\t\tif (alm.addons.paging && total > 0) {\n\t\t\t\t\t// Add paging containers and content\n\t\t\t\t\talm.AjaxLoadMore.pagingInit(html, 'alm-reveal');\n\t\t\t\t}\n\t\t\t\t// ALM Empty\n\t\t\t\tif (total === 0) {\n\t\t\t\t\tif (alm.addons.paging) {\n\t\t\t\t\t\tif (typeof almPagingEmpty === 'function') {\n\t\t\t\t\t\t\twindow.almPagingEmpty(alm);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif (typeof almEmpty === 'function') {\n\t\t\t\t\t\twindow.almEmpty(alm);\n\t\t\t\t\t}\n\t\t\t\t\tif (alm.no_results) {\n\t\t\t\t\t\tsetTimeout(function () {\n\t\t\t\t\t\t\talmNoResults(alm.content, alm.no_results);\n\t\t\t\t\t\t}, alm.speed + 10);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// isPaged\n\t\t\t\tif (alm.isPaged) {\n\t\t\t\t\t// Reset the posts_per_page parameter\n\t\t\t\t\talm.posts_per_page = alm.addons.users ? alm.listing.dataset.usersPerPage : alm.listing.dataset.postsPerPage; // Users\n\t\t\t\t\talm.posts_per_page = alm.addons.nextpage ? 1 : alm.posts_per_page; // NextPage\n\n\t\t\t\t\t// SEO add-on\n\t\t\t\t\talm.page = alm.start_page ? alm.start_page - 1 : alm.page; // Set new page #\n\n\t\t\t\t\t// Filters add-on\n\t\t\t\t\tif (alm.addons.filters) {\n\t\t\t\t\t\tif (alm.addons.filters_startpage > 0) {\n\t\t\t\t\t\t\talm.page = alm.addons.filters_startpage - 1; // Set new page #\n\t\t\t\t\t\t\talm.posts_per_page = alm.listing.dataset.postsPerPage; // Reset `filters-startpage` data after the first run\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t/**\n\t\t\t * Display alm_debug results\n\t\t\t */\n\n\t\t\talmDebug(alm);\n\n\t\t\t/**\n\t\t\t * Set localized variables and Results Text\n\t\t\t */\n\n\t\t\t(async () => {\n\t\t\t\tawait setLocalizedVars(alm);\n\t\t\t})();\n\n\t\t\t/**\n\t\t\t * Render results\n\t\t\t */\n\n\t\t\tif (total > 0) {\n\t\t\t\t// We have results!\n\n\t\t\t\tif (!alm.addons.paging) {\n\t\t\t\t\t// Single Posts.\n\t\t\t\t\tif (alm.addons.single_post) {\n\t\t\t\t\t\treveal.setAttribute('class', `alm-reveal alm-single-post post-${alm.addons.single_post_id}${alm.tcc ? ` ${alm.tcc}` : ''}`);\n\t\t\t\t\t\treveal.dataset.url = alm.addons.single_post_permalink;\n\t\t\t\t\t\tif (alm.addons.single_post_target) {\n\t\t\t\t\t\t\treveal.dataset.page = parseInt(alm.page) + 1;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\treveal.dataset.page = alm.page;\n\t\t\t\t\t\t}\n\t\t\t\t\t\treveal.dataset.id = alm.addons.single_post_id;\n\t\t\t\t\t\treveal.dataset.title = alm.addons.single_post_title;\n\t\t\t\t\t\treveal.innerHTML = alm.html;\n\n\t\t\t\t\t\t// Single Post Preview\n\t\t\t\t\t\tif (alm.addons.single_post_preview && alm.addons.single_post_preview_data && typeof almSinglePostCreatePreview === 'function') {\n\t\t\t\t\t\t\tconst singlePreview = window.almSinglePostCreatePreview(reveal, alm.addons.single_post_id, alm.addons.single_post_preview_data);\n\t\t\t\t\t\t\treveal.replaceChildren(singlePreview ? singlePreview : reveal);\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\tif (!alm.transition_container) {\n\t\t\t\t\t\t\t// No transition container\n\t\t\t\t\t\t\talm.el = alm.html;\n\t\t\t\t\t\t\treveal = alm.container_type === 'table' ? tableWrap(alm.html) : stripEmptyNodes(almDomParser(alm.html, 'text/html'));\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t// Standard container\n\t\t\t\t\t\t\tlet pagenum;\n\t\t\t\t\t\t\tlet querystring = window.location.search;\n\t\t\t\t\t\t\tlet seo_class = alm.addons.seo ? ' alm-seo' : '';\n\t\t\t\t\t\t\tlet filters_class = alm.addons.filters ? ' alm-filters' : '';\n\t\t\t\t\t\t\tlet preloaded_class = alm.is_preloaded ? ' alm-preloaded' : '';\n\n\t\t\t\t\t\t\t// Init, SEO and Filter Paged\n\t\t\t\t\t\t\tif (alm.init && (alm.start_page > 1 || alm.addons.filters_startpage > 0)) {\n\t\t\t\t\t\t\t\t// loop through items and break into separate .alm-reveal divs for paging\n\n\t\t\t\t\t\t\t\tlet return_data = [];\n\t\t\t\t\t\t\t\tlet container_array = [];\n\t\t\t\t\t\t\t\tlet posts_per_page = parseInt(alm.posts_per_page);\n\t\t\t\t\t\t\t\tlet pages = Math.ceil(total / posts_per_page);\n\t\t\t\t\t\t\t\tisPaged = true;\n\n\t\t\t\t\t\t\t\t// Call to Actions\n\t\t\t\t\t\t\t\tif (alm.addons.cta === 'true') {\n\t\t\t\t\t\t\t\t\tposts_per_page = posts_per_page + 1; // Add 1 to posts_per_page for CTAs\n\t\t\t\t\t\t\t\t\tpages = Math.ceil(total / posts_per_page); // Update pages let with new posts_per_page\n\t\t\t\t\t\t\t\t\ttotal = pages + total; // Get new total w/ CTAs added\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t// Parse returned HTML and strip empty nodes\n\t\t\t\t\t\t\t\tlet data = stripEmptyNodes(almDomParser(alm.html, 'text/html'));\n\n\t\t\t\t\t\t\t\t// Slice data array into individual pages (array)\n\t\t\t\t\t\t\t\tfor (let i = 0; i < total; i += posts_per_page) {\n\t\t\t\t\t\t\t\t\treturn_data.push(data.slice(i, posts_per_page + i));\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t// Loop return_data array to build .alm-reveal containers\n\t\t\t\t\t\t\t\tfor (let k = 0; k < return_data.length; k++) {\n\t\t\t\t\t\t\t\t\tlet p = alm.addons.preloaded === 'true' ? 1 : 0; // Add 1 page if items are preloaded.\n\t\t\t\t\t\t\t\t\tlet alm_reveal = document.createElement('div');\n\n\t\t\t\t\t\t\t\t\tif (k > 0 || alm.addons.preloaded === 'true') {\n\t\t\t\t\t\t\t\t\t\tpagenum = k + 1 + p; // > Paged\n\n\t\t\t\t\t\t\t\t\t\tif (alm.addons.seo) {\n\t\t\t\t\t\t\t\t\t\t\t// SEO\n\t\t\t\t\t\t\t\t\t\t\talm_reveal = createSEOAttributes(alm, alm_reveal, querystring, seo_class, pagenum);\n\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t\tif (alm.addons.filters) {\n\t\t\t\t\t\t\t\t\t\t\t// Filters\n\t\t\t\t\t\t\t\t\t\t\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 + buildFilterURL(alm, querystring, pagenum);\n\t\t\t\t\t\t\t\t\t\t\talm_reveal.dataset.page = pagenum;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\t// First Page\n\t\t\t\t\t\t\t\t\t\tif (alm.addons.seo) {\n\t\t\t\t\t\t\t\t\t\t\t// SEO\n\t\t\t\t\t\t\t\t\t\t\talm_reveal = createSEOAttributes(alm, alm_reveal, querystring, seo_class, 1);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\tif (alm.addons.filters) {\n\t\t\t\t\t\t\t\t\t\t\t// Filters\n\t\t\t\t\t\t\t\t\t\t\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 + buildFilterURL(alm, 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}\n\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t// Append children to `.alm-reveal` element\n\t\t\t\t\t\t\t\t\talmAppendChildren(alm_reveal, return_data[k]);\n\n\t\t\t\t\t\t\t\t\t// Run srcSet polyfill\n\t\t\t\t\t\t\t\t\tsrcsetPolyfill(alm_reveal, alm.ua);\n\n\t\t\t\t\t\t\t\t\t// Push alm_reveal elements into container_array\n\t\t\t\t\t\t\t\t\tcontainer_array.push(alm_reveal);\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t// Set opacity and height of .alm-listing div to allow for fadein.\n\t\t\t\t\t\t\t\talm.listing.style.opacity = 0;\n\t\t\t\t\t\t\t\talm.listing.style.height = 0;\n\n\t\t\t\t\t\t\t\t// Append container_array to `.alm-listing`\n\t\t\t\t\t\t\t\talmAppendChildren(alm.listing, container_array);\n\n\t\t\t\t\t\t\t\treveal = alm.listing;\n\t\t\t\t\t\t\t\talm.el = reveal;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t// End Init & SEO\n\t\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t\t// Preloaded OR SEO (and Paged)\n\t\t\t\t\t\t\t\tif ((alm.addons.seo && alm.page > 0) || alm.addons.preloaded === 'true') {\n\t\t\t\t\t\t\t\t\tlet p2 = alm.addons.preloaded === 'true' ? 1 : 0; // Add 1 page if items are preloaded.\n\n\t\t\t\t\t\t\t\t\t// SEO [Paged]\n\t\t\t\t\t\t\t\t\tpagenum = alm.page + 1 + p2;\n\n\t\t\t\t\t\t\t\t\tif (alm.addons.seo) {\n\t\t\t\t\t\t\t\t\t\t// SEO\n\t\t\t\t\t\t\t\t\t\treveal = createSEOAttributes(alm, reveal, querystring, seo_class, pagenum);\n\t\t\t\t\t\t\t\t\t} else if (alm.addons.filters) {\n\t\t\t\t\t\t\t\t\t\t// 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 + buildFilterURL(alm, querystring, pagenum);\n\t\t\t\t\t\t\t\t\t\treveal.dataset.page = pagenum;\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\t// Basic ALM\n\t\t\t\t\t\t\t\t\t\treveal.setAttribute('class', 'alm-reveal' + alm.tcc);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t} else if (alm.addons.filters) {\n\t\t\t\t\t\t\t\t\t// 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 + buildFilterURL(alm, querystring, parseInt(alm.page) + 1);\n\t\t\t\t\t\t\t\t\treveal.dataset.page = parseInt(alm.page) + 1;\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tif (alm.addons.seo) {\n\t\t\t\t\t\t\t\t\t\t// SEO [Page 1]\n\t\t\t\t\t\t\t\t\t\treveal = createSEOAttributes(alm, reveal, querystring, seo_class, 1);\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\t// Basic ALM\n\t\t\t\t\t\t\t\t\t\treveal.setAttribute('class', 'alm-reveal' + alm.tcc);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\treveal.innerHTML = alm.html;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\t// WooCommerce Add-on\n\t\t\t\t\tif (alm.addons.woocommerce) {\n\t\t\t\t\t\t(async function () {\n\t\t\t\t\t\t\tawait woocommerce(reveal, alm, data.pageTitle);\n\t\t\t\t\t\t\twoocommerceLoaded(alm);\n\t\t\t\t\t\t})().catch((e) => {\n\t\t\t\t\t\t\tconsole.log('Ajax Load More: There was an error loading woocommerce products.', e);\n\t\t\t\t\t\t});\n\n\t\t\t\t\t\talm.init = false;\n\t\t\t\t\t\treturn; // Exit\n\t\t\t\t\t}\n\n\t\t\t\t\t// Elementor Add-on\n\t\t\t\t\tif (alm.addons.elementor) {\n\t\t\t\t\t\t(async function () {\n\t\t\t\t\t\t\tawait elementor(reveal, alm, data.pageTitle);\n\t\t\t\t\t\t\telementorLoaded(alm);\n\t\t\t\t\t\t})().catch((e) => {\n\t\t\t\t\t\t\tconsole.log('Ajax Load More: There was an error loading Elementor items.', e);\n\t\t\t\t\t\t});\n\n\t\t\t\t\t\talm.init = false;\n\t\t\t\t\t\treturn; // Exit\n\t\t\t\t\t}\n\n\t\t\t\t\t// Append `reveal` div to ALM Listing container\n\t\t\t\t\t// Do not append when transtion == masonry OR init and !preloaded\n\t\t\t\t\tif (alm.transition !== 'masonry' || (alm.init && alm.addons.preloaded !== 'true')) {\n\t\t\t\t\t\tif (!isPaged) {\n\t\t\t\t\t\t\tif (!alm.transition_container) {\n\t\t\t\t\t\t\t\t// No transition container.\n\t\t\t\t\t\t\t\tif (alm.images_loaded === 'true') {\n\t\t\t\t\t\t\t\t\timagesLoaded(reveal, function () {\n\t\t\t\t\t\t\t\t\t\talmAppendChildren(alm.listing, reveal);\n\n\t\t\t\t\t\t\t\t\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\t\t\t\t\t});\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\talmAppendChildren(alm.listing, reveal);\n\n\t\t\t\t\t\t\t\t\t// Run srcSet polyfill.\n\t\t\t\t\t\t\t\t\tsrcsetPolyfill(alm.listing, alm.ua);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t// Standard container.\n\t\t\t\t\t\t\t\talm.listing.appendChild(reveal);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\t/**\n\t\t\t\t\t * Transitions\n\t\t\t\t\t */\n\n\t\t\t\t\t// Masonry\n\t\t\t\t\tif (alm.transition === 'masonry') {\n\t\t\t\t\t\talm.el = alm.listing;\n\n\t\t\t\t\t\t// Wrap almMasonry in anonymous async/await function\n\t\t\t\t\t\t(async function () {\n\t\t\t\t\t\t\tawait almMasonry(alm, alm.init, alm_is_filtering);\n\t\t\t\t\t\t\talm.masonry.init = false;\n\n\t\t\t\t\t\t\talm.AjaxLoadMore.triggerWindowResize();\n\t\t\t\t\t\t\talm.AjaxLoadMore.transitionEnd();\n\n\t\t\t\t\t\t\tif (typeof almComplete === 'function') {\n\t\t\t\t\t\t\t\twindow.almComplete(alm);\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t// Lazy load images if necessary.\n\t\t\t\t\t\t\tlazyImages(alm);\n\t\t\t\t\t\t})().catch((e) => {\n\t\t\t\t\t\t\tconsole.log('There was an error with ALM Masonry');\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\n\t\t\t\t\t// None\n\t\t\t\t\telse if (alm.transition === 'none' && alm.transition_container) {\n\t\t\t\t\t\tif (alm.images_loaded === 'true') {\n\t\t\t\t\t\t\timagesLoaded(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\t\t\t\t\t});\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\talmFadeIn(reveal, 0);\n\t\t\t\t\t\t\talm.AjaxLoadMore.transitionEnd();\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\t// Default (Fade)\n\t\t\t\t\telse {\n\t\t\t\t\t\tif (alm.images_loaded === 'true') {\n\t\t\t\t\t\t\timagesLoaded(reveal, function () {\n\t\t\t\t\t\t\t\tif (alm.transition_container) {\n\t\t\t\t\t\t\t\t\talmFadeIn(reveal, alm.speed);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\talm.AjaxLoadMore.transitionEnd();\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tif (alm.transition_container) {\n\t\t\t\t\t\t\t\talmFadeIn(reveal, alm.speed);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\talm.AjaxLoadMore.transitionEnd();\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\t// TABS - Trigger almTabsSetHeight callback in Tabs add-on\n\t\t\t\t\tif (alm.addons.tabs && typeof almTabsSetHeight === 'function') {\n\t\t\t\t\t\timagesLoaded(reveal, function () {\n\t\t\t\t\t\t\talmFadeIn(alm.listing, alm.speed);\n\t\t\t\t\t\t\tsetTimeout(function () {\n\t\t\t\t\t\t\t\twindow.almTabsSetHeight(alm);\n\t\t\t\t\t\t\t}, alm.speed);\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\t// Paging\n\t\t\t\t\tif (!alm.init) {\n\t\t\t\t\t\tif (pagingContent) {\n\t\t\t\t\t\t\talmFadeOut(pagingContent, alm.speed);\n\t\t\t\t\t\t\tpagingContent.style.outline = 'none';\n\t\t\t\t\t\t\talm.main.classList.remove('alm-loading');\n\n\t\t\t\t\t\t\tsetTimeout(function () {\n\t\t\t\t\t\t\t\tpagingContent.style.opacity = 0;\n\t\t\t\t\t\t\t\tpagingContent.innerHTML = alm.html;\n\n\t\t\t\t\t\t\t\timagesLoaded(pagingContent, function () {\n\t\t\t\t\t\t\t\t\t// Delay for effect\n\t\t\t\t\t\t\t\t\talm.AjaxLoadMore.triggerAddons(alm);\n\t\t\t\t\t\t\t\t\talmFadeIn(pagingContent, alm.speed);\n\n\t\t\t\t\t\t\t\t\t// Remove opacity on element to fix CSS transition\n\t\t\t\t\t\t\t\t\tsetTimeout(function () {\n\t\t\t\t\t\t\t\t\t\tpagingContent.style.opacity = '';\n\n\t\t\t\t\t\t\t\t\t\t// Insert Script\n\t\t\t\t\t\t\t\t\t\tinsertScript.init(pagingContent);\n\t\t\t\t\t\t\t\t\t}, parseInt(alm.speed) + 10);\n\n\t\t\t\t\t\t\t\t\t// Paging addon\n\t\t\t\t\t\t\t\t\tif (typeof almOnPagingComplete === 'function') {\n\t\t\t\t\t\t\t\t\t\twindow.almOnPagingComplete(alm);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t}, parseInt(alm.speed) + 25);\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\tsetTimeout(function () {\n\t\t\t\t\t\t\talm.main.classList.remove('alm-loading');\n\t\t\t\t\t\t\talm.AjaxLoadMore.triggerAddons(alm);\n\t\t\t\t\t\t}, alm.speed);\n\t\t\t\t\t}\n\t\t\t\t\t// End Paging\n\t\t\t\t}\n\n\t\t\t\t// ALM Loaded, run complete callbacks\n\t\t\t\timagesLoaded(reveal, function () {\n\t\t\t\t\t// Nested\n\t\t\t\t\talm.AjaxLoadMore.nested(reveal);\n\n\t\t\t\t\t// Insert Script\n\t\t\t\t\tinsertScript.init(alm.el);\n\n\t\t\t\t\t// Trigger almComplete\n\t\t\t\t\tif (typeof almComplete === 'function' && alm.transition !== 'masonry') {\n\t\t\t\t\t\twindow.almComplete(alm);\n\t\t\t\t\t}\n\n\t\t\t\t\t// Lazy load images if necessary\n\t\t\t\t\tlazyImages(alm);\n\n\t\t\t\t\t// Filters Add-on Complete\n\t\t\t\t\tif (alm_is_filtering && alm.addons.filters) {\n\t\t\t\t\t\tif (typeof almFiltersAddonComplete === 'function') {\n\t\t\t\t\t\t\t// Filters Add-on\n\t\t\t\t\t\t\twindow.almFiltersAddonComplete(el);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\talm_is_filtering = false;\n\n\t\t\t\t\t// Tabs Complete\n\t\t\t\t\tif (alm.addons.tabs) {\n\t\t\t\t\t\t// Tabs Complete\n\t\t\t\t\t\tif (typeof almTabsComplete === 'function') {\n\t\t\t\t\t\t\t// Standard Filtering\n\t\t\t\t\t\t\twindow.almTabsComplete();\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\t// ALM Done\n\t\t\t\t\tif (!alm.addons.cache) {\n\t\t\t\t\t\t// Not Cache & Single Post\n\t\t\t\t\t\tif (alm.posts >= alm.totalposts && !alm.addons.single_post) {\n\t\t\t\t\t\t\talm.AjaxLoadMore.triggerDone();\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\t// Cache\n\t\t\t\t\t\tif (alm.addons.nextpage && alm.localize) {\n\t\t\t\t\t\t\t// Nextpage\n\t\t\t\t\t\t\tif (parseInt(alm.localize.page) === parseInt(alm.localize.total_posts)) {\n\t\t\t\t\t\t\t\talm.AjaxLoadMore.triggerDone();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tif (total < parseInt(alm.posts_per_page)) {\n\t\t\t\t\t\t\t\talm.AjaxLoadMore.triggerDone();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\t// End ALM Done\n\t\t\t\t});\n\t\t\t\t// End ALM Loaded\n\n\t\t\t\t// Filters onLoad\n\t\t\t\tif (typeof almFiltersOnload === 'function' && alm.init) {\n\t\t\t\t\twindow.almFiltersOnload(alm);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\t/**\n\t\t\t\t * No results from Ajax\n\t\t\t\t */\n\n\t\t\t\talm.AjaxLoadMore.noresults();\n\t\t\t}\n\n\t\t\t// Destroy After\n\t\t\tif (alm.destroy_after !== undefined && alm.destroy_after !== '') {\n\t\t\t\tlet currentPage = alm.page + 1; // Add 1 because alm.page starts at 0\n\t\t\t\tcurrentPage = alm.addons.preloaded === 'true' ? currentPage++ : currentPage; // Add 1 for preloaded\n\t\t\t\tif (currentPage == alm.destroy_after) {\n\t\t\t\t\t// Disable ALM if page = alm.destroy_after val\n\t\t\t\t\talm.AjaxLoadMore.destroyed();\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t/**\n\t\t\t * Display Table of Contents\n\t\t\t */\n\n\t\t\ttableOfContents(alm, alm.init);\n\n\t\t\t/**\n\t\t\t * Set Focus for A11y\n\t\t\t */\n\n\t\t\tif (alm.transition !== 'masonry') {\n\t\t\t\tsetFocus(alm, reveal, total, alm_is_filtering);\n\t\t\t}\n\n\t\t\t// Remove filtering class\n\t\t\tif (alm.main.classList.contains('alm-is-filtering')) {\n\t\t\t\talm.main.classList.remove('alm-is-filtering');\n\t\t\t}\n\n\t\t\t// Set init flag\n\t\t\talm.init = false;\n\t\t};\n\n\t\t/**\n\t\t * Function runs when no results are returned.\n\t\t *\n\t\t * @since 5.3.1\n\t\t */\n\t\talm.AjaxLoadMore.noresults = function () {\n\t\t\tif (!alm.addons.paging) {\n\t\t\t\t// Add .done class, reset btn text\n\t\t\t\tsetTimeout(function () {\n\t\t\t\t\talm.button.classList.remove('loading');\n\t\t\t\t\talm.button.classList.add('done');\n\t\t\t\t}, alm.speed);\n\t\t\t\talm.AjaxLoadMore.resetBtnText();\n\t\t\t}\n\n\t\t\t// Trigger almComplete\n\t\t\tif (typeof almComplete === 'function' && alm.transition !== 'masonry') {\n\t\t\t\twindow.almComplete(alm);\n\t\t\t}\n\n\t\t\t// Filters Add-on Complete\n\t\t\tif (alm_is_filtering && alm.addons.filters) {\n\t\t\t\tif (typeof almFiltersAddonComplete === 'function') {\n\t\t\t\t\t// Filters Add-on\n\t\t\t\t\talmFiltersAddonComplete(el);\n\t\t\t\t}\n\t\t\t\talm_is_filtering = false;\n\t\t\t}\n\n\t\t\t// Tabs Complete\n\t\t\tif (alm.addons.tabs) {\n\t\t\t\t// Tabs Complete\n\t\t\t\tif (typeof almTabsComplete === 'function') {\n\t\t\t\t\t// Standard Filtering\n\t\t\t\t\talmTabsComplete();\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Masonry, clear `alm-listing` height\n\t\t\tif (alm.transition === 'masonry') {\n\t\t\t\talm.content.style.height = 'auto';\n\t\t\t}\n\n\t\t\talm.AjaxLoadMore.triggerDone(); // ALM Done\n\t\t};\n\n\t\t/**\n\t\t * pagingPreloadedInit\n\t\t * First run for Paging + Preloaded add-ons\n\t\t * Moves preloaded content into ajax container\n\t\t *\n\t\t * @param {data} Results of the Ajax request\n\t\t * @since 2.11.3\n\t\t */\n\t\talm.AjaxLoadMore.pagingPreloadedInit = function (data) {\n\t\t\tdata = data == null ? '' : data; // Check for null data object\n\n\t\t\t// Add paging containers and content\n\t\t\talm.AjaxLoadMore.pagingInit(data, 'alm-reveal');\n\n\t\t\tif (data === '') {\n\t\t\t\tif (typeof almPagingEmpty === 'function') {\n\t\t\t\t\twindow.almPagingEmpty(alm);\n\t\t\t\t}\n\t\t\t\tif (typeof almEmpty === 'function') {\n\t\t\t\t\twindow.almEmpty(alm);\n\t\t\t\t}\n\t\t\t\tif (alm.no_results) {\n\t\t\t\t\talmNoResults(alm.content, alm.no_results);\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\n\t\t/**\n\t\t * pagingNextpageInit\n\t\t * First run for Paging + Next Page add-ons\n\t\t * Moves .alm-nextpage content into ajax container\n\t\t *\n\t\t * @param {data} Results of Ajax request\n\t\t * @since 2.14.0\n\t\t */\n\t\talm.AjaxLoadMore.pagingNextpageInit = function (data) {\n\t\t\tdata = data == null ? '' : data; // Check for null data object\n\n\t\t\t// Add paging containers and content\n\t\t\talm.AjaxLoadMore.pagingInit(data, 'alm-reveal alm-nextpage');\n\n\t\t\t// Set up Nextpage Vars\n\t\t\tif (typeof almSetNextPageVars === 'function') {\n\t\t\t\twindow.almSetNextPageVars(alm); // Next Page Add-on\n\t\t\t}\n\t\t};\n\n\t\t/**\n\t\t * pagingInit\n\t\t * First run for Paging + (Preloaded & Next Page) add-ons. Create required containers.\n\t\t *\n\t\t * @param {data} Ajax results\n\t\t * @param {classes} added classes\n\t\t * @since 5.0\n\t\t */\n\t\talm.AjaxLoadMore.pagingInit = function (data, classes = 'alm-reveal') {\n\t\t\tdata = data == null ? '' : data; // Check for null data object\n\n\t\t\t// Create `alm-reveal` container\n\t\t\tlet reveal = document.createElement('div');\n\t\t\treveal.setAttribute('class', classes);\n\n\t\t\t// Create `alm-paging-loading` container\n\t\t\tlet content = document.createElement('div');\n\t\t\tcontent.setAttribute('class', 'alm-paging-content' + alm.tcc);\n\t\t\tcontent.innerHTML = data;\n\t\t\treveal.appendChild(content);\n\n\t\t\t// Create `alm-paging-content` container\n\t\t\tlet loader = document.createElement('div');\n\t\t\tloader.setAttribute('class', 'alm-paging-loading');\n\t\t\treveal.appendChild(loader);\n\n\t\t\t// Add div to container\n\t\t\talm.listing.appendChild(reveal);\n\n\t\t\t// Get/Set height of .alm-listing div\n\t\t\tlet styles = window.getComputedStyle(alm.listing);\n\t\t\tlet pTop = parseInt(styles.getPropertyValue('padding-top').replace('px', ''));\n\t\t\tlet pBtm = parseInt(styles.getPropertyValue('padding-bottom').replace('px', ''));\n\t\t\tlet h = reveal.offsetHeight;\n\n\t\t\t// Set initial `.alm-listing` height\n\t\t\talm.listing.style.height = h + pTop + pBtm + 'px';\n\n\t\t\t// Insert Script\n\t\t\tinsertScript.init(reveal);\n\n\t\t\t// Reset button text\n\t\t\talm.AjaxLoadMore.resetBtnText();\n\n\t\t\t// Delay reveal of paging to avoid positioning issues\n\t\t\tsetTimeout(function () {\n\t\t\t\tif (typeof almFadePageControls === 'function') {\n\t\t\t\t\twindow.almFadePageControls(alm.btnWrap);\n\t\t\t\t}\n\t\t\t\tif (typeof almOnWindowResize === 'function') {\n\t\t\t\t\twindow.almOnWindowResize(alm);\n\t\t\t\t}\n\t\t\t\t// Remove loading class from main container\n\t\t\t\talm.main.classList.remove('loading');\n\t\t\t}, alm.speed);\n\t\t};\n\n\t\t/**\n\t\t *\tnested\n\t\t *\tAutomatically trigger nested ALM instances (Requies `.alm-reveal` container\n\t\t *\n\t\t * @param {object} instance\n\t\t * @since 5.0\n\t\t */\n\t\talm.AjaxLoadMore.nested = function (reveal) {\n\t\t\tif (!reveal || !alm.transition_container) {\n\t\t\t\treturn false; // Exit if not `transition_container`\n\t\t\t}\n\t\t\tlet nested = reveal.querySelectorAll('.ajax-load-more-wrap'); // Get all instances\n\t\t\tif (nested) {\n\t\t\t\tnested.forEach(function (element) {\n\t\t\t\t\twindow.almInit(element);\n\t\t\t\t});\n\t\t\t}\n\t\t};\n\n\t\t/**\n\t\t * Get the Single Posts post ID via ajax.\n\t\t *\n\t\t * @since 2.7.4\n\t\t */\n\t\tif (alm.addons.single_post_id) {\n\t\t\talm.fetchingPreviousPost = false;\n\t\t\talm.addons.single_post_init = true;\n\t\t}\n\n\t\talm.AjaxLoadMore.getSinglePost = function () {\n\t\t\tlet action = 'alm_get_single';\n\n\t\t\tif (alm.fetchingPreviousPost) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\talm.fetchingPreviousPost = true;\n\n\t\t\t// Get Ajax URL.\n\t\t\tlet ajaxURL = alm_localize.ajaxurl;\n\n\t\t\t// Get data params\n\t\t\tlet params = {\n\t\t\t\tid: alm.addons.single_post_id,\n\t\t\t\tinitial_id: alm.addons.single_post_init_id,\n\t\t\t\torder: alm.addons.single_post_order,\n\t\t\t\ttaxonomy: alm.addons.single_post_taxonomy,\n\t\t\t\texcluded_terms: alm.addons.single_post_excluded_terms,\n\t\t\t\tpost_type: alm.post_type,\n\t\t\t\tinit: alm.addons.single_post_init,\n\t\t\t\taction: action,\n\t\t\t};\n\n\t\t\t// Send HTTP request via Axios\n\t\t\taxios\n\t\t\t\t.get(ajaxURL, { params })\n\t\t\t\t.then(function (response) {\n\t\t\t\t\t// Success\n\t\t\t\t\tlet data = response.data; // Get data from response\n\n\t\t\t\t\tif (data.has_previous_post) {\n\t\t\t\t\t\talm.listing.dataset.singlePostId = data.prev_id; // Update single-post-id on instance\n\t\t\t\t\t\talm.addons.single_post_id = data.prev_id;\n\t\t\t\t\t\talm.addons.single_post_permalink = data.prev_permalink;\n\t\t\t\t\t\talm.addons.single_post_title = data.prev_title;\n\t\t\t\t\t\talm.addons.single_post_slug = data.prev_slug;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tif (!data.has_previous_post) {\n\t\t\t\t\t\t\talm.AjaxLoadMore.triggerDone();\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif (typeof window.almSetSinglePost === 'function') {\n\t\t\t\t\t\twindow.almSetSinglePost(alm, data.current_id, data.permalink, data.title);\n\t\t\t\t\t}\n\t\t\t\t\talm.fetchingPreviousPost = false;\n\t\t\t\t\talm.addons.single_post_init = false;\n\t\t\t\t})\n\t\t\t\t.catch(function (error) {\n\t\t\t\t\t// Error\n\t\t\t\t\talm.AjaxLoadMore.error(error, 'getSinglePost');\n\t\t\t\t\talm.fetchingPreviousPost = false;\n\t\t\t\t});\n\t\t};\n\n\t\t/**\n\t\t * Triggers various add-on functions (if available) after load complete.\n\t\t *\n\t\t * @since 2.14.0\n\t\t */\n\t\talm.AjaxLoadMore.triggerAddons = function (alm) {\n\t\t\tif (typeof almSetNextPage === 'function' && alm.addons.nextpage) {\n\t\t\t\t// Next Page\n\t\t\t\twindow.almSetNextPage(alm);\n\t\t\t}\n\t\t\tif (typeof almSEO === 'function' && alm.addons.seo) {\n\t\t\t\t// SEO\n\t\t\t\twindow.almSEO(alm, false);\n\t\t\t}\n\t\t\tif (typeof almWooCommerce === 'function' && alm.addons.woocommerce) {\n\t\t\t\t// WooCommerce\n\t\t\t\twindow.almWooCommerce(alm);\n\t\t\t}\n\t\t\tif (typeof almElementor === 'function' && alm.addons.elementor) {\n\t\t\t\t// Elementor\n\t\t\t\twindow.almElementor(alm);\n\t\t\t}\n\t\t};\n\n\t\t/**\n\t\t * Fires a set of actions and functions when ALM has no other posts to load.\n\t\t *\n\t\t * @since 2.11.3\n\t\t */\n\t\talm.AjaxLoadMore.triggerDone = function () {\n\t\t\talm.loading = false;\n\t\t\talm.finished = true;\n\t\t\thidePlaceholder(alm);\n\n\t\t\tif (!alm.addons.paging) {\n\t\t\t\t// Update button text\n\t\t\t\tif (alm.button_done_label !== false) {\n\t\t\t\t\tsetTimeout(function () {\n\t\t\t\t\t\talm.button.innerHTML = alm.button_done_label;\n\t\t\t\t\t}, 75);\n\t\t\t\t}\n\n\t\t\t\talm.button.classList.add('done');\n\t\t\t\talm.button.removeAttribute('rel');\n\t\t\t\talm.button.disabled = true;\n\t\t\t}\n\n\t\t\t// almDone\n\t\t\tif (typeof almDone === 'function') {\n\t\t\t\t// Delay done until animations complete\n\t\t\t\tsetTimeout(function () {\n\t\t\t\t\twindow.almDone(alm);\n\t\t\t\t}, alm.speed + 10);\n\t\t\t}\n\t\t};\n\n\t\t/**\n\t\t * Fires a set of actions once ALm Previous hits the first page.\n\t\t *\n\t\t * @since 5.5.0\n\t\t */\n\t\talm.AjaxLoadMore.triggerDonePrev = function () {\n\t\t\talm.loading = false;\n\t\t\thidePlaceholder(alm);\n\n\t\t\tif (!alm.addons.paging) {\n\t\t\t\t// Update button text\n\t\t\t\t// if (alm.button_done_label !== false) {\n\t\t\t\t// \tsetTimeout(function () {\n\t\t\t\t// \t\talm.button.innerHTML = alm.button_done_label;\n\t\t\t\t// \t}, 75);\n\t\t\t\t// }\n\n\t\t\t\talm.buttonPrev.classList.add('done');\n\t\t\t\talm.buttonPrev.removeAttribute('rel');\n\t\t\t\talm.buttonPrev.disabled = true;\n\t\t\t}\n\n\t\t\t// almDonePrev\n\t\t\tif (typeof almDonePrev === 'function') {\n\t\t\t\t// Delay done until animations complete\n\t\t\t\tsetTimeout(function () {\n\t\t\t\t\twindow.almDonePrev(alm);\n\t\t\t\t}, alm.speed + 10);\n\t\t\t}\n\t\t};\n\n\t\t/**\n\t\t * Resets the loading button text after loading has completed.\n\t\t *\n\t\t * @since 2.8.4\n\t\t */\n\t\talm.AjaxLoadMore.resetBtnText = function () {\n\t\t\tif (alm.button_loading_label !== false && !alm.addons.paging) {\n\t\t\t\talm.button.innerHTML = alm.button_label;\n\t\t\t}\n\t\t};\n\n\t\t/**\n\t\t * Error function after failed data attempt.\n\t\t *\n\t\t * @since 2.6.0\n\t\t */\n\t\talm.AjaxLoadMore.error = function (error, location = null) {\n\t\t\talm.loading = false;\n\t\t\tif (!alm.addons.paging) {\n\t\t\t\talm.button.classList.remove('loading');\n\t\t\t\talm.AjaxLoadMore.resetBtnText();\n\t\t\t}\n\n\t\t\tconsole.log('Error: ', error);\n\t\t\tif (error.response) {\n\t\t\t\t// The request was made and the server responded with a status code\n\t\t\t\t// that falls out of the range of 2xx\n\t\t\t\t//console.log(error.response.data);\n\t\t\t\t//console.log(error.response.status);\n\t\t\t\t//console.log(error.response.headers);\n\t\t\t\tconsole.log('Error Msg: ', error.message);\n\t\t\t} else if (error.request) {\n\t\t\t\t// The request was made but no response was received\n\t\t\t\t// `error.request` is an instance of XMLHttpRequest in the browser and an instance of\n\t\t\t\t// http.ClientRequest in node.js\n\t\t\t\tconsole.log(error.request);\n\t\t\t} else {\n\t\t\t\t// Something happened in setting up the request that triggered an Error\n\t\t\t\tconsole.log('Error Msg: ', error.message);\n\t\t\t}\n\n\t\t\tif (location) {\n\t\t\t\tconsole.log('ALM Error started in ' + location);\n\t\t\t}\n\n\t\t\tif (error.config) {\n\t\t\t\tconsole.log('ALM Error Debug: ', error.config);\n\t\t\t}\n\t\t};\n\n\t\t/**\n\t\t * Button click handler to load posts.\n\t\t *\n\t\t * @param {Object} e The target button element.\n\t\t * @since 4.2.0\n\t\t */\n\t\talm.AjaxLoadMore.click = function (e) {\n\t\t\tlet button = e.target || e.currentTarget;\n\t\t\talm.rel = 'next';\n\t\t\tif (alm.pause === 'true') {\n\t\t\t\talm.pause = false;\n\t\t\t\talm.pause_override = false;\n\t\t\t\talm.AjaxLoadMore.loadPosts();\n\t\t\t}\n\t\t\tif (!alm.loading && !alm.finished && !button.classList.contains('done')) {\n\t\t\t\talm.loading = true;\n\t\t\t\talm.page++;\n\t\t\t\talm.AjaxLoadMore.loadPosts();\n\t\t\t}\n\t\t\tbutton.blur(); // Remove button focus\n\t\t};\n\n\t\t/**\n\t\t * Button click handler for previous load more.\n\t\t *\n\t\t * @param {Object} e The target button element.\n\t\t * @since 5.5.0\n\t\t */\n\t\talm.AjaxLoadMore.prevClick = function (e) {\n\t\t\tlet button = e.target || e.currentTarget;\n\t\t\te.preventDefault();\n\t\t\tif (!alm.loading && !button.classList.contains('done')) {\n\t\t\t\talm.loading = true;\n\t\t\t\talm.pagePrev--;\n\t\t\t\talm.rel = 'prev';\n\t\t\t\talm.AjaxLoadMore.loadPosts();\n\t\t\t\tbutton.blur(); // Remove button focus\n\t\t\t}\n\t\t};\n\n\t\t/**\n\t\t * Set the Load Previous button to alm object.\n\t\t *\n\t\t * @param {HTMLElement} button The button element.\n\t\t * @since 5.5.0\n\t\t */\n\t\talm.AjaxLoadMore.setPreviousButton = function (button) {\n\t\t\talm.pagePrev = alm.page;\n\t\t\talm.buttonPrev = button;\n\t\t};\n\n\t\t/**\n\t\t * Load More button click event handler.\n\t\t *\n\t\t * @since 1.0.0\n\t\t */\n\t\tif (!alm.addons.paging && !alm.fetchingPreviousPost) {\n\t\t\talm.button.onclick = alm.AjaxLoadMore.click;\n\t\t}\n\n\t\t/**\n\t\t * Window resize functions for Paging, Scroll Distance Percentage, Tabs etc.\n\t\t *\n\t\t * @since 2.1.2\n\t\t * @updated 5.2\n\t\t */\n\t\tif (alm.addons.paging || alm.addons.tabs || alm.scroll_distance_perc || alm.scroll_direction === 'horizontal') {\n\t\t\tlet resize;\n\t\t\talm.window.onresize = function () {\n\t\t\t\tclearTimeout(resize);\n\t\t\t\tresize = setTimeout(function (e) {\n\t\t\t\t\tif (alm.addons.tabs) {\n\t\t\t\t\t\t// Tabs\n\t\t\t\t\t\tif (typeof almOnTabsWindowResize === 'function') {\n\t\t\t\t\t\t\twindow.almOnTabsWindowResize(alm);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif (alm.addons.paging) {\n\t\t\t\t\t\t// Paging\n\t\t\t\t\t\tif (typeof almOnWindowResize === 'function') {\n\t\t\t\t\t\t\twindow.almOnWindowResize(alm);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif (alm.scroll_distance_perc) {\n\t\t\t\t\t\talm.scroll_distance = getScrollPercentage(alm);\n\t\t\t\t\t}\n\t\t\t\t\tif (alm.scroll_direction === 'horizontal') {\n\t\t\t\t\t\talm.AjaxLoadMore.horizontal();\n\t\t\t\t\t}\n\t\t\t\t}, alm.speed);\n\t\t\t};\n\t\t}\n\n\t\t/**\n\t\t * Check to see if element is visible before loading posts.\n\t\t *\n\t\t * @since 2.1.2\n\t\t */\n\t\talm.AjaxLoadMore.isVisible = function () {\n\t\t\t// Check for a width and height to determine visibility\n\t\t\talm.visible = alm.main.clientWidth > 0 && alm.main.clientHeight > 0 ? true : false;\n\t\t\treturn alm.visible;\n\t\t};\n\n\t\t/**\n\t\t * Trigger a window resize browser function.\n\t\t *\n\t\t * @since 5.3.1\n\t\t */\n\t\talm.AjaxLoadMore.triggerWindowResize = function () {\n\t\t\tif (typeof Event === 'function') {\n\t\t\t\t// modern browsers\n\t\t\t\twindow.dispatchEvent(new Event('resize'));\n\t\t\t} else {\n\t\t\t\t//This will be executed on old browsers and especially IE\n\t\t\t\tlet resizeEvent = window.document.createEvent('UIEvents');\n\t\t\t\tresizeEvent.initUIEvent('resize', true, false, window, 0);\n\t\t\t\twindow.dispatchEvent(resizeEvent);\n\t\t\t}\n\t\t};\n\n\t\t/**\n\t\t * Load posts as user scrolls the page.\n\t\t *\n\t\t * @since 1.0\n\t\t * @updated 4.2.0\n\t\t */\n\t\talm.AjaxLoadMore.scroll = function () {\n\t\t\tif (alm.timer) {\n\t\t\t\tclearTimeout(alm.timer);\n\t\t\t}\n\n\t\t\talm.timer = setTimeout(function () {\n\t\t\t\tif (alm.AjaxLoadMore.isVisible() && !alm.fetchingPreviousPost) {\n\t\t\t\t\tlet trigger = alm.trigger.getBoundingClientRect();\n\t\t\t\t\tlet btnPos = Math.round(trigger.top - alm.window.innerHeight) + alm.scroll_distance;\n\t\t\t\t\tlet scrollTrigger = btnPos <= 0 ? true : false;\n\n\t\t\t\t\t// Scroll Container\n\t\t\t\t\tif (alm.window !== window) {\n\t\t\t\t\t\tlet scrollHeight = alm.main.offsetHeight; // ALM height\n\t\t\t\t\t\tlet scrollWidth = alm.main.offsetWidth; // ALM Width\n\t\t\t\t\t\tlet scrollPosition = '';\n\n\t\t\t\t\t\tif (alm.scroll_direction === 'horizontal') {\n\t\t\t\t\t\t\t// Left/Right\n\t\t\t\t\t\t\talm.AjaxLoadMore.horizontal();\n\t\t\t\t\t\t\tscrollPosition = Math.round(alm.window.scrollLeft + alm.window.offsetWidth - alm.scroll_distance); // How far user has scrolled\n\t\t\t\t\t\t\tscrollTrigger = scrollWidth <= scrollPosition ? true : false;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t// Up/Down\n\t\t\t\t\t\t\tscrollPosition = Math.round(alm.window.scrollTop + alm.window.offsetHeight - alm.scroll_distance); // How far user has scrolled\n\t\t\t\t\t\t\tscrollTrigger = scrollHeight <= scrollPosition ? true : false;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\t// If Pause && Pause Override\n\t\t\t\t\tif (\n\t\t\t\t\t\t!alm.loading &&\n\t\t\t\t\t\t!alm.finished &&\n\t\t\t\t\t\tscrollTrigger &&\n\t\t\t\t\t\talm.page < alm.max_pages - 1 &&\n\t\t\t\t\t\talm.proceed &&\n\t\t\t\t\t\talm.pause === 'true' &&\n\t\t\t\t\t\talm.pause_override === 'true'\n\t\t\t\t\t) {\n\t\t\t\t\t\talm.button.click();\n\t\t\t\t\t}\n\n\t\t\t\t\t// Standard Scroll\n\t\t\t\t\telse {\n\t\t\t\t\t\tif (!alm.loading && !alm.finished && scrollTrigger && alm.page < alm.max_pages - 1 && alm.proceed && alm.pause !== 'true') {\n\t\t\t\t\t\t\talm.button.click();\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}, 25);\n\t\t};\n\n\t\t/**\n\t\t * Add scroll eventlisteners, only when needed.\n\t\t *\n\t\t * @since 5.2.0\n\t\t */\n\t\talm.AjaxLoadMore.scrollSetup = function () {\n\t\t\tif (alm.scroll && !alm.addons.paging) {\n\t\t\t\tif (alm.scroll_container !== '') {\n\t\t\t\t\t// Scroll Container\n\t\t\t\t\talm.window = document.querySelector(alm.scroll_container) ? document.querySelector(alm.scroll_container) : alm.window;\n\t\t\t\t\tsetTimeout(function () {\n\t\t\t\t\t\t// Delay to allow for ALM container to resize on load.\n\t\t\t\t\t\talm.AjaxLoadMore.horizontal();\n\t\t\t\t\t}, 500);\n\t\t\t\t}\n\t\t\t\talm.window.addEventListener('scroll', alm.AjaxLoadMore.scroll); // Scroll\n\t\t\t\talm.window.addEventListener('touchstart', alm.AjaxLoadMore.scroll); // Touch Devices\n\t\t\t\talm.window.addEventListener('wheel', function (e) {\n\t\t\t\t\t// Mousewheel\n\t\t\t\t\tlet direction = Math.sign(e.deltaY);\n\t\t\t\t\tif (direction > 0) {\n\t\t\t\t\t\talm.AjaxLoadMore.scroll();\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t\talm.window.addEventListener('keyup', function (e) {\n\t\t\t\t\t// End, Page Down\n\t\t\t\t\tlet code = e.key ? e.key : e.code;\n\t\t\t\t\tswitch (code) {\n\t\t\t\t\t\tcase 35:\n\t\t\t\t\t\tcase 34:\n\t\t\t\t\t\t\talm.AjaxLoadMore.scroll();\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t}\n\t\t};\n\n\t\t/**\n\t\t * Configure horizontal scroll settings.\n\t\t *\n\t\t * @since 5.3.6\n\t\t */\n\t\talm.AjaxLoadMore.horizontal = function () {\n\t\t\tif (alm.scroll_direction === 'horizontal') {\n\t\t\t\talm.main.style.width = `${alm.listing.offsetWidth}px`;\n\t\t\t}\n\t\t};\n\n\t\t/**\n\t\t * Destroy Ajax Load More functionality.\n\t\t *\n\t\t * @since 3.4.2\n\t\t */\n\t\talm.AjaxLoadMore.destroyed = function () {\n\t\t\talm.disable_ajax = true;\n\t\t\tif (!alm.addons.paging) {\n\t\t\t\talm.button.style.display = 'none';\n\t\t\t\talm.AjaxLoadMore.triggerDone();\n\t\t\t\tif (typeof almDestroyed === 'function') {\n\t\t\t\t\twindow.almDestroyed(alm);\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\n\t\t/**\n\t\t * Set variables after loading transiton completes.\n\t\t *\n\t\t * @since 3.5\n\t\t */\n\t\talm.AjaxLoadMore.transitionEnd = function () {\n\t\t\tsetTimeout(function () {\n\t\t\t\talm.AjaxLoadMore.resetBtnText();\n\t\t\t\talm.main.classList.remove('alm-loading');\n\t\t\t\t// Loading button\n\t\t\t\tif (alm.rel === 'prev') {\n\t\t\t\t\talm.buttonPrev.classList.remove('loading');\n\t\t\t\t} else {\n\t\t\t\t\talm.button.classList.remove('loading');\n\t\t\t\t}\n\t\t\t\talm.AjaxLoadMore.triggerAddons(alm);\n\t\t\t\tif (!alm.addons.paging) {\n\t\t\t\t\tsetTimeout(function () {\n\t\t\t\t\t\talm.loading = false; // Delay to prevent loading to fast\n\t\t\t\t\t}, alm.speed * 3);\n\t\t\t\t}\n\t\t\t}, 50);\n\t\t\thidePlaceholder(alm);\n\t\t};\n\n\t\t/**\n\t\t * Set individual localized variable.\n\t\t *\n\t\t * @param {string} name\n\t\t * @param {string} value\n\t\t * @since 4.1\n\t\t */\n\t\talm.AjaxLoadMore.setLocalizedVar = function (name = '', value = '') {\n\t\t\tif (alm.localize && name !== '' && value !== '') {\n\t\t\t\talm.localize[name] = value.toString(); // Set ALM localize var\n\t\t\t\twindow[alm.master_id + '_vars'][name] = value.toString(); // Update global window obj vars\n\t\t\t}\n\t\t};\n\n\t\t/**\n\t\t * Init Ajax load More functionality and add-ons.\n\t\t *\n\t\t * @since 2.0\n\t\t */\n\t\talm.AjaxLoadMore.init = function () {\n\t\t\t// Preloaded and destroy_after is 1\n\t\t\tif (alm.addons.preloaded === 'true' && alm.destroy_after == 1) {\n\t\t\t\talm.AjaxLoadMore.destroyed();\n\t\t\t}\n\n\t\t\tif (!alm.addons.paging && !alm.addons.single_post) {\n\t\t\t\tif (alm.disable_ajax) {\n\t\t\t\t\talm.finished = true;\n\t\t\t\t\talm.button.classList.add('done');\n\t\t\t\t} else {\n\t\t\t\t\t// Set button label.\n\t\t\t\t\talm.button.innerHTML = alm.button_label;\n\t\t\t\t\t// If Pause.\n\t\t\t\t\tif (alm.pause === 'true') {\n\t\t\t\t\t\talm.loading = false;\n\t\t\t\t\t} else {\n\t\t\t\t\t\talm.AjaxLoadMore.loadPosts();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Single Post Add-on\n\t\t\tif (alm.addons.single_post) {\n\t\t\t\talm.AjaxLoadMore.getSinglePost(); // Set next post on load\n\t\t\t\talm.loading = false;\n\n\t\t\t\t// Trigger done if custom query and no posts to render\n\t\t\t\tif (alm.addons.single_post_query && alm.addons.single_post_order === '') {\n\t\t\t\t\talm.AjaxLoadMore.triggerDone();\n\t\t\t\t}\n\n\t\t\t\t// Display Table of Contents\n\t\t\t\ttableOfContents(alm, true, true);\n\t\t\t}\n\n\t\t\t// Preloaded + SEO && !Paging\n\t\t\tif (alm.addons.preloaded === 'true' && alm.addons.seo && !alm.addons.paging) {\n\t\t\t\t// Delay for scripts to load\n\t\t\t\tsetTimeout(function () {\n\t\t\t\t\tif (typeof almSEO === 'function' && alm.start_page < 1) {\n\t\t\t\t\t\twindow.almSEO(alm, true);\n\t\t\t\t\t}\n\t\t\t\t}, alm.speed);\n\t\t\t}\n\n\t\t\t// Preloaded && !Paging\n\t\t\tif (alm.addons.preloaded === 'true' && !alm.addons.paging) {\n\t\t\t\t// Delay for scripts to load\n\t\t\t\tsetTimeout(function () {\n\t\t\t\t\t// triggerDone\n\t\t\t\t\tif (alm.addons.preloaded_total_posts <= parseInt(alm.addons.preloaded_amount)) {\n\t\t\t\t\t\talm.AjaxLoadMore.triggerDone();\n\t\t\t\t\t}\n\t\t\t\t\t// almEmpty\n\t\t\t\t\tif (alm.addons.preloaded_total_posts == 0) {\n\t\t\t\t\t\tif (typeof almEmpty === 'function') {\n\t\t\t\t\t\t\twindow.almEmpty(alm);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (alm.no_results) {\n\t\t\t\t\t\t\talmNoResults(alm.content, alm.no_results);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}, alm.speed);\n\t\t\t}\n\n\t\t\t// Preloaded Add-on ONLY\n\t\t\tif (alm.addons.preloaded === 'true') {\n\t\t\t\tif (alm.resultsText) {\n\t\t\t\t\tresultsText.almInitResultsText(alm, 'preloaded');\n\t\t\t\t}\n\n\t\t\t\t// Display Table of Contents\n\t\t\t\ttableOfContents(alm, alm.init, true);\n\t\t\t}\n\n\t\t\t// Next Page Add-on\n\t\t\tif (alm.addons.nextpage) {\n\t\t\t\t// Check that posts remain on load\n\t\t\t\tif (alm.listing.querySelector('.alm-nextpage') && !alm.addons.paging) {\n\t\t\t\t\tlet nextpage_pages = alm.listing.querySelectorAll('.alm-nextpage'); // All Next Page Items\n\n\t\t\t\t\tif (nextpage_pages) {\n\t\t\t\t\t\tlet nextpage_first = nextpage_pages[0];\n\t\t\t\t\t\tlet nextpage_total = nextpage_first.dataset.totalPosts ? parseInt(nextpage_first.dataset.totalPosts) : alm.localize.total_posts;\n\n\t\t\t\t\t\t// Disable if last page loaded\n\t\t\t\t\t\tif (nextpage_pages.length === nextpage_total || parseInt(nextpage_first.dataset.id) === nextpage_total) {\n\t\t\t\t\t\t\talm.AjaxLoadMore.triggerDone();\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// Results Text.\n\t\t\t\tif (alm.resultsText) {\n\t\t\t\t\tresultsText.almInitResultsText(alm, 'nextpage');\n\t\t\t\t}\n\n\t\t\t\t// Display Table of Contents\n\t\t\t\ttableOfContents(alm, alm.init, true);\n\t\t\t}\n\n\t\t\t// WooCommerce Add-on.\n\t\t\tif (alm.addons.woocommerce) {\n\t\t\t\twooInit(alm);\n\n\t\t\t\t// Trigger `Done` if `paged is less than `pages`.\n\t\t\t\tif (alm.addons.woocommerce_settings.paged >= parseInt(alm.addons.woocommerce_settings.pages)) {\n\t\t\t\t\talm.AjaxLoadMore.triggerDone();\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Elementor Add-on.\n\t\t\tif (alm.addons.elementor && alm.addons.elementor_type && alm.addons.elementor_type === 'posts') {\n\t\t\t\telementorInit(alm);\n\n\t\t\t\t// Trigger `Done` if `elementor_next_page_url` is empty\n\t\t\t\tif (alm.addons.elementor_next_page_url === '') {\n\t\t\t\t\talm.AjaxLoadMore.triggerDone();\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Window Load (Masonry + Preloaded).\n\t\t\talm.window.addEventListener('load', function () {\n\t\t\t\tif (alm.transition === 'masonry' && alm.addons.preloaded === 'true') {\n\t\t\t\t\t// Wrap almMasonry in anonymous async/await function\n\t\t\t\t\t(async function () {\n\t\t\t\t\t\tawait almMasonry(alm, true, false);\n\t\t\t\t\t\talm.masonry.init = false;\n\t\t\t\t\t})().catch((e) => {\n\t\t\t\t\t\tconsole.log('There was an error with ALM Masonry');\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t\tif (typeof almOnLoad === 'function') {\n\t\t\t\t\twindow.almOnLoad(alm);\n\t\t\t\t}\n\t\t\t});\n\t\t};\n\n\t\t/**\n\t\t * Update Current Page.\n\t\t * Callback function triggered from paging add-on.\n\t\t *\n\t\t * @since 2.7.0\n\t\t */\n\t\twindow.almUpdateCurrentPage = function (current, obj, alm) {\n\t\t\talm.page = current;\n\t\t\talm.page = alm.addons.nextpage && !alm.addons.paging ? alm.page - 1 : alm.page; // Next Page add-on\n\n\t\t\tlet data = '';\n\t\t\tlet target = '';\n\n\t\t\tif (alm.addons.paging_init && alm.addons.preloaded === 'true') {\n\t\t\t\t// Paging + Preloaded Firstrun\n\t\t\t\ttarget = alm.listing.querySelector('.alm-reveal') || alm.listing.querySelector('.alm-nextpage');\n\t\t\t\tif (target) {\n\t\t\t\t\tdata = target.innerHTML; // Get content\n\t\t\t\t\ttarget.parentNode.removeChild(target); // Remove target\n\t\t\t\t\talm.addons.preloaded_amount = 0; // Reset preloaded\n\t\t\t\t\talm.AjaxLoadMore.pagingPreloadedInit(data);\n\t\t\t\t}\n\t\t\t\talm.addons.paging_init = false;\n\t\t\t\talm.init = false;\n\t\t\t} else if (alm.addons.paging_init && alm.addons.nextpage) {\n\t\t\t\t// Paging + Next Page on firstrun\n\t\t\t\ttarget = alm.listing.querySelector('.alm-reveal') || alm.listing.querySelector('.alm-nextpage');\n\t\t\t\tif (target) {\n\t\t\t\t\tdata = target.innerHTML; // Get content\n\t\t\t\t\ttarget.parentNode.removeChild(target); // Remove target\n\t\t\t\t\talm.AjaxLoadMore.pagingNextpageInit(data);\n\t\t\t\t}\n\t\t\t\talm.addons.paging_init = false;\n\t\t\t\talm.init = false;\n\t\t\t} else {\n\t\t\t\t// Standard Paging\n\t\t\t\talm.AjaxLoadMore.loadPosts();\n\t\t\t}\n\t\t};\n\n\t\t/**\n\t\t * Get the parent ALM container.\n\t\t *\n\t\t * @since 2.7.0\n\t\t * @return element\n\t\t */\n\t\twindow.almGetParentContainer = function () {\n\t\t\treturn alm.listing;\n\t\t};\n\n\t\t/**\n\t\t * Returns the current ALM obj.\n\t\t *\n\t\t * @param {string} specific obj\n\t\t * @since 2.7.0\n\t\t * @return object\n\t\t */\n\t\twindow.almGetObj = function (obj = '') {\n\t\t\tif (obj !== '') {\n\t\t\t\treturn alm[obj]; // Return specific param\n\t\t\t} else {\n\t\t\t\treturn alm; // Return the entire alm object\n\t\t\t}\n\t\t};\n\n\t\t/**\n\t\t * Trigger ajaxloadmore from any element on page.\n\t\t *\n\t\t * @since 2.12.0\n\t\t */\n\t\twindow.almTriggerClick = function () {\n\t\t\talm.button.click();\n\t\t};\n\n\t\t// Flag to prevent loading of posts on initial page load.\n\t\tsetTimeout(function () {\n\t\t\talm.proceed = true;\n\t\t\talm.AjaxLoadMore.scrollSetup();\n\t\t}, 500);\n\n\t\t// Init Ajax Load More\n\t\talm.AjaxLoadMore.init();\n\t};\n\n\t// End ajaxloadmore\n\n\t/**\n\t * Initiate instance of Ajax load More\n\t *\n\t * @since 5.0\n\t */\n\twindow.almInit = function (el, id = 0) {\n\t\tnew ajaxloadmore(el, id);\n\t};\n\n\t/**\n\t * Initiate Ajax load More if div is present on screen\n\t *\n\t * @since 2.1.2\n\t */\n\tlet alm_instances = document.querySelectorAll('.ajax-load-more-wrap');\n\tif (alm_instances.length) {\n\t\t[...alm_instances].forEach((alm, index) => {\n\t\t\tnew ajaxloadmore(alm, index);\n\t\t});\n\t}\n})();\n\n/**\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 = '200', data = '') {\n\tif (!transition || !speed || !data) {\n\t\treturn false;\n\t}\n\talm_is_filtering = true;\n\talmFilter(transition, speed, data, 'filter');\n};\nexport { filter };\n\n/**\n * Reset an Ajax Load More instance.\n *\n * @since 5.3.8\n * @param {*} target\n */\nlet reset = function (props = {}) {\n\tlet data = {};\n\talm_is_filtering = true;\n\n\tif (props && props.target) {\n\t\tdata = {\n\t\t\ttarget: target,\n\t\t};\n\t}\n\n\tif (props && props.type === 'woocommerce') {\n\t\t// WooCommerce\n\t\t(async function () {\n\t\t\tlet instance = document.querySelector('.ajax-load-more-wrap .alm-listing[data-woo=\"true\"]'); // Get ALM instance\n\t\t\tlet settings = await wooReset(); // Get WooCommerce `settings` via Ajax\n\t\t\tif (settings) {\n\t\t\t\tinstance.dataset.wooSettings = settings; // Update data atts\n\t\t\t\talmFilter('fade', '100', data, 'filter');\n\t\t\t}\n\t\t})().catch(() => {\n\t\t\tconsole.warn('Ajax Load More: There was an resetting the Ajax Load More instance.');\n\t\t});\n\t} else {\n\t\t// Standard ALM\n\t\talmFilter('fade', '200', data, 'filter');\n\t}\n};\nexport { reset };\n\n/**\n * Tabbed content for Ajax Load More instance.\n *\n * @since 5.2\n * @param {*} data\n * @param {*} url\n */\nlet tab = function (data = '', url = false) {\n\tlet transition = 'fade';\n\tlet speed = alm_localize.speed ? parseInt(alm_localize.speed) : 200;\n\n\tif (!data) {\n\t\treturn false;\n\t}\n\n\talm_is_filtering = true;\n\talmFilter(transition, speed, data, 'tab');\n};\nexport { tab };\n\n/**\n * Track Page Views in Google Analytics.\n *\n * @since 5.0\n * @param {*} path\n */\nlet tracking = function (path) {\n\tsetTimeout(function () {\n\t\t// Delay to allow for state change.\n\t\tpath = path.replace(/\\/\\//g, '/'); // Replace instance of a double backslash.\n\n\t\tif (typeof gtag === 'function') {\n\t\t\t// Gtag GA Tracking\n\t\t\tgtag('event', 'page_view', {\n\t\t\t\tpage_title: document.title,\n\t\t\t\tpage_location: window.location.href,\n\t\t\t\tpage_path: window.location.pathname,\n\t\t\t});\n\t\t\tif (alm_localize.ga_debug) {\n\t\t\t\tconsole.log('Pageview sent to Google Analytics (gtag)');\n\t\t\t}\n\t\t}\n\n\t\tif (typeof ga === 'function') {\n\t\t\t// Deprecated GA Tracking\n\t\t\tga('set', 'page', path);\n\t\t\tga('send', 'pageview');\n\t\t\tif (alm_localize.ga_debug) {\n\t\t\t\tconsole.log('Pageview sent to Google Analytics (ga)');\n\t\t\t}\n\t\t}\n\n\t\tif (typeof __gaTracker === 'function') {\n\t\t\t// Monster Insights\n\t\t\t__gaTracker('set', 'page', path);\n\t\t\t__gaTracker('send', 'pageview');\n\t\t\tif (alm_localize.ga_debug) {\n\t\t\t\tconsole.log('Pageview sent to Google Analytics (__gaTracker)');\n\t\t\t}\n\t\t}\n\n\t\t// Dispatch global Analytics callback\n\t\tif (typeof almAnalytics === 'function') {\n\t\t\twindow.almAnalytics(path);\n\t\t}\n\t}, 250);\n};\nexport { tracking };\n\n/**\n * Trigger Ajax Load More from other events.\n *\n * @since 5.0\n * @param {*} el\n */\nlet start = function (el) {\n\tif (!el) {\n\t\treturn false;\n\t}\n\twindow.almInit(el);\n};\nexport { start };\n\n/**\n * Scroll window to position (global function).\n *\n * @since 5.0\n * @param {*} position\n */\nlet almScroll = function (position) {\n\tif (!position) {\n\t\treturn false;\n\t}\n\twindow.scrollTo({\n\t\ttop: position,\n\t\tbehavior: 'smooth',\n\t});\n};\nexport { almScroll };\n\n/**\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\t\tscrollLeft = window.pageXOffset || document.documentElement.scrollLeft,\n\t\tscrollTop = window.pageYOffset || document.documentElement.scrollTop;\n\treturn { top: rect.top + scrollTop, left: rect.left + scrollLeft };\n};\nexport { getOffset };\n\n/**\n * ALM Render (in progress)\n *\n * @since 5.0\n */\nlet render = function (el, options = null) {\n\tif (!el) {\n\t\treturn false;\n\t}\n\t// console.log(el, options);\n};\nexport { render };\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 * Dispatch a window scroll event.\n *\n * @param {Boolean} delay Should this be delayed.\n * @since 5.5\n */\nconst dispatchScrollEvent = function (delay = true) {\n\tif (typeof Event === 'function') {\n\t\tsetTimeout(\n\t\t\tfunction () {\n\t\t\t\twindow.dispatchEvent(new CustomEvent('scroll'));\n\t\t\t},\n\t\t\tdelay ? 150 : 1\n\t\t);\n\t}\n};\n\nexport default dispatchScrollEvent;\n","import { parseQuerystring } from '../addons/filters';\n\n/**\n * Generate the cache page URL for GET request\n *\n * @param {*} alm\n * @since 5.0\n * @supports Standard, SEO, Filters, Nextpage, Single Posts\n */\nlet getCacheUrl = function (alm) {\n\tif (!alm) {\n\t\treturn false;\n\t}\n\n\tlet firstpage = '1';\n\tlet cache_url = '';\n\tlet ext = '.html';\n\tlet path = alm.addons.cache_path + alm.addons.cache_id;\n\n\t// SEO Add-on\n\tif (alm.init && alm.addons.seo && alm.isPaged) {\n\t\t// If request is a paged URL (e.g. /page/3/)\n\t\tcache_url = path + '/page-' + firstpage + '-' + alm.start_page + ext;\n\t}\n\n\t// Filters\n\telse if (alm.addons.filters) {\n\t\tlet filtersPath = parseQuerystring(path);\n\n\t\tif (alm.init && alm.isPaged) {\n\t\t\t// First run & Paged\n\t\t\tcache_url = filtersPath + '/page-' + firstpage + '-' + alm.addons.filters_startpage + ext;\n\t\t} else {\n\t\t\tlet page = alm.page + 1;\n\n\t\t\tif (alm.addons.preloaded === 'true') {\n\t\t\t\t// Preloaded + Filters\n\t\t\t\tpage = alm.page + 2;\n\t\t\t}\n\t\t\tcache_url = filtersPath + '/page-' + page + ext;\n\t\t}\n\t}\n\n\t// Nextpage\n\telse if (alm.addons.nextpage) {\n\t\tlet nextpage_cache_url;\n\t\tif (alm.addons.paging) {\n\t\t\tnextpage_cache_url = parseInt(alm.page) + 1;\n\t\t} else {\n\t\t\tnextpage_cache_url = parseInt(alm.page) + 2;\n\t\t\tif (alm.isPaged) {\n\t\t\t\t// If the request a paged URL (/page/3/)\n\t\t\t\tnextpage_cache_url = parseInt(alm.page) + parseInt(alm.addons.nextpage_startpage) + 1;\n\t\t\t}\n\t\t}\n\n\t\tcache_url = path + '/page-' + nextpage_cache_url + ext;\n\t}\n\n\t// Single Post\n\telse if (alm.addons.single_post) {\n\t\tcache_url = path + '/' + alm.addons.single_post_id + ext;\n\t}\n\n\t// Comments & Preloaded\n\telse if (alm.addons.comments === 'true' && alm.addons.preloaded === 'true') {\n\t\t// When using comments we need to increase the current page by 2\n\t\tcache_url = path + '/page-' + (alm.page + 2) + ext;\n\t}\n\n\t// Standard URL request\n\telse {\n\t\tcache_url = path + '/page-' + (alm.page + 1) + ext;\n\t}\n\n\treturn cache_url;\n};\n\nexport default getCacheUrl;\n","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;","/**\n * Get a query variable from location querystring\n *\n * @param {String} variable\n * @since 5.3.4\n */\nconst getQueryVariable = function (variable) {\n\tvar query = window.location.search.substring(1);\n\tvar vars = query.split(\"&\");\n\tfor (var i = 0; i < vars.length; i++) {\n\t\tvar pair = vars[i].split(\"=\");\n\t\tif (decodeURIComponent(pair[0]) == variable) {\n\t\t\treturn decodeURIComponent(pair[1]);\n\t\t}\n\t}\n\treturn false;\n};\n\nexport default getQueryVariable;\n","// 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// Defaults\n\tlet data = {\n\t\tid: alm.id,\n\t\tpost_id: alm.post_id,\n\t\tslug: alm.slug,\n\t\tcanonical_url: encodeURIComponent(alm.canonical_url),\n\t\tposts_per_page: alm.posts_per_page,\n\t\tpage: alm.page,\n\t\toffset: alm.offset,\n\t\tpost_type: alm.post_type,\n\t\trepeater: alm.repeater,\n\t\tseo_start_page: alm.start_page,\n\t};\n\n\t// Addons & Extensions\n\n\tif (alm.theme_repeater) {\n\t\tdata.theme_repeater = alm.theme_repeater;\n\t}\n\tif (alm.addons.filters) {\n\t\tdata.filters = alm.addons.filters;\n\t\tdata.filters_startpage = alm.addons.filters_startpage;\n\t}\n\tif (alm.addons.paging) {\n\t\tdata.paging = alm.addons.paging;\n\t}\n\tif (alm.addons.preloaded) {\n\t\tdata.preloaded = alm.addons.preloaded;\n\t\tdata.preloaded_amount = alm.addons.preloaded_amount;\n\t}\n\tif (alm.addons.cache === 'true') {\n\t\tdata.cache_id = alm.addons.cache_id;\n\t\tdata.cache_logged_in = alm.addons.cache_logged_in;\n\t}\n\tif (alm.acf_array) {\n\t\tdata.acf = alm.acf_array;\n\t}\n\tif (alm.term_query_array) {\n\t\tdata.term_query = alm.term_query_array;\n\t}\n\tif (alm.cta_array) {\n\t\tdata.cta = alm.cta_array;\n\t}\n\tif (alm.comments_array) {\n\t\tdata.comments = alm.comments_array;\n\t}\n\tif (alm.nextpage_array) {\n\t\tdata.nextpage = alm.nextpage_array;\n\t}\n\tif (alm.single_post_array) {\n\t\tdata.single_post = alm.single_post_array;\n\t}\n\tif (alm.users_array) {\n\t\tdata.users = alm.users_array;\n\t}\n\n\t// Query data\n\tif (alm.listing.dataset.lang) {\n\t\tdata.lang = alm.listing.dataset.lang;\n\t}\n\tif (alm.listing.dataset.stickyPosts) {\n\t\tdata.sticky_posts = alm.listing.dataset.stickyPosts;\n\t}\n\tif (alm.listing.dataset.postFormat) {\n\t\tdata.post_format = alm.listing.dataset.postFormat;\n\t}\n\tif (alm.listing.dataset.category) {\n\t\tdata.category = alm.listing.dataset.category;\n\t}\n\tif (alm.listing.dataset.categoryAnd) {\n\t\tdata.category__and = alm.listing.dataset.categoryAnd;\n\t}\n\tif (alm.listing.dataset.categoryNotIn) {\n\t\tdata.category__not_in = alm.listing.dataset.categoryNotIn;\n\t}\n\tif (alm.listing.dataset.tag) {\n\t\tdata.tag = alm.listing.dataset.tag;\n\t}\n\tif (alm.listing.dataset.tagAnd) {\n\t\tdata.tag__and = alm.listing.dataset.tagAnd;\n\t}\n\tif (alm.listing.dataset.tagNotIn) {\n\t\tdata.tag__not_in = alm.listing.dataset.tagNotIn;\n\t}\n\tif (alm.listing.dataset.taxonomy) {\n\t\tdata.taxonomy = alm.listing.dataset.taxonomy;\n\t}\n\tif (alm.listing.dataset.taxonomyTerms) {\n\t\tdata.taxonomy_terms = alm.listing.dataset.taxonomyTerms;\n\t}\n\tif (alm.listing.dataset.taxonomyOperator) {\n\t\tdata.taxonomy_operator = alm.listing.dataset.taxonomyOperator;\n\t}\n\tif (alm.listing.dataset.taxonomyRelation) {\n\t\tdata.taxonomy_relation = alm.listing.dataset.taxonomyRelation;\n\t}\n\tif (alm.listing.dataset.metaKey) {\n\t\tdata.meta_key = alm.listing.dataset.metaKey;\n\t}\n\tif (alm.listing.dataset.metaValue) {\n\t\tdata.meta_value = alm.listing.dataset.metaValue;\n\t}\n\tif (alm.listing.dataset.metaCompare) {\n\t\tdata.meta_compare = alm.listing.dataset.metaCompare;\n\t}\n\tif (alm.listing.dataset.metaRelation) {\n\t\tdata.meta_relation = alm.listing.dataset.metaRelation;\n\t}\n\tif (alm.listing.dataset.metaType) {\n\t\tdata.meta_type = alm.listing.dataset.metaType;\n\t}\n\tif (alm.listing.dataset.author) {\n\t\tdata.author = alm.listing.dataset.author;\n\t}\n\tif (alm.listing.dataset.year) {\n\t\tdata.year = alm.listing.dataset.year;\n\t}\n\tif (alm.listing.dataset.month) {\n\t\tdata.month = alm.listing.dataset.month;\n\t}\n\tif (alm.listing.dataset.day) {\n\t\tdata.day = alm.listing.dataset.day;\n\t}\n\tif (alm.listing.dataset.order) {\n\t\tdata.order = alm.listing.dataset.order;\n\t}\n\tif (alm.listing.dataset.orderby) {\n\t\tdata.orderby = alm.listing.dataset.orderby;\n\t}\n\tif (alm.listing.dataset.postStatus) {\n\t\tdata.post_status = alm.listing.dataset.postStatus;\n\t}\n\tif (alm.listing.dataset.postIn) {\n\t\tdata.post__in = alm.listing.dataset.postIn;\n\t}\n\tif (alm.listing.dataset.postNotIn) {\n\t\tdata.post__not_in = alm.listing.dataset.postNotIn;\n\t}\n\tif (alm.listing.dataset.exclude) {\n\t\tdata.exclude = alm.listing.dataset.exclude;\n\t}\n\tif (alm.listing.dataset.search) {\n\t\tdata.search = alm.listing.dataset.search;\n\t}\n\tif (alm.listing.dataset.s) {\n\t\tdata.search = alm.listing.dataset.s;\n\t}\n\tif (alm.listing.dataset.customArgs) {\n\t\tdata.custom_args = escape(alm.listing.dataset.customArgs);\n\t}\n\tif (alm.listing.dataset.vars) {\n\t\tdata.vars = escape(alm.listing.dataset.vars);\n\t}\n\n\tdata.action = action;\n\tdata.query_type = queryType;\n\n\treturn data;\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: alm.id,\n\t\tpost_id: alm.post_id,\n\t\tposts_per_page: alm.posts_per_page,\n\t\tpage: alm.page,\n\t\toffset: alm.offset,\n\t\tslug: alm.slug,\n\t\tcanonical_url: encodeURIComponent(alm.canonical_url),\n\t\tpost_type: alm.post_type,\n\t\tpost_format: alm.listing.dataset.postFormat,\n\t\tcategory: alm.listing.dataset.category,\n\t\tcategory__not_in: alm.listing.dataset.categoryNotIn,\n\t\ttag: alm.listing.dataset.tag,\n\t\ttag__not_in: alm.listing.dataset.tagNotIn,\n\t\ttaxonomy: alm.listing.dataset.taxonomy,\n\t\ttaxonomy_terms: alm.listing.dataset.taxonomyTerms,\n\t\ttaxonomy_operator: alm.listing.dataset.taxonomyOperator,\n\t\ttaxonomy_relation: alm.listing.dataset.taxonomyRelation,\n\t\tmeta_key: alm.listing.dataset.metaKey,\n\t\tmeta_value: alm.listing.dataset.metaValue,\n\t\tmeta_compare: alm.listing.dataset.metaCompare,\n\t\tmeta_relation: alm.listing.dataset.metaRelation,\n\t\tmeta_type: alm.listing.dataset.metaType,\n\t\tauthor: alm.listing.dataset.author,\n\t\tyear: alm.listing.dataset.year,\n\t\tmonth: alm.listing.dataset.month,\n\t\tday: alm.listing.dataset.day,\n\t\tpost_status: alm.listing.dataset.postStatus,\n\t\torder: alm.listing.dataset.order,\n\t\torderby: alm.listing.dataset.orderby,\n\t\tpost__in: alm.listing.dataset.postIn,\n\t\tpost__not_in: alm.listing.dataset.postNotIn,\n\t\tsearch: alm.listing.dataset.search,\n\t\ts: alm.listing.dataset.s,\n\t\tcustom_args: alm.listing.dataset.customArgs,\n\t\tvars: alm.listing.dataset.vars,\n\t\tlang: alm.lang,\n\t\tpreloaded: alm.addons.preloaded,\n\t\tpreloaded_amount: alm.addons.preloaded_amount,\n\t\tseo_start_page: alm.start_page,\n\t};\n\n\treturn data;\n}\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 * 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 tableWrap = 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 tableWrap;","/**\n * Display Ajax Load More debug results.\n *\n * @see https://connekthq.com/plugins/ajax-load-more/docs/filter-hooks/#alm_debug\n * @param {object} alm Global alm object\n * @since 5.1.6\n */\nlet almDebug = function (alm) {\n\tif (alm && alm.debug) {\n\t\tlet obj = {\n\t\t\tquery: alm.debug,\n\t\t\tlocalize: alm.localize,\n\t\t};\n\t\tconsole.log('ALM Debug:', obj);\n\t}\n};\n\nexport default almDebug;\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} 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","/**\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';\nimport { clearTOC } from './tableofcontents';\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 * @param {*} type string;\n * @since 2.6.1\n */\n\nlet almFilter = function (transition, speed, data, type = 'filter') {\n\tif (data.target) {\n\t\t// if a target has been specified\n\t\tlet target = document.querySelectorAll(\n\t\t\t'.ajax-load-more-wrap[data-id=\"' + data.target + '\"]'\n\t\t);\n\t\ttarget.forEach(function (element) {\n\t\t\talmFilterTransition(transition, speed, data, element, type);\n\t\t});\n\t} else {\n\t\t// Target not specified\n\t\tlet alm = document.querySelectorAll('.ajax-load-more-wrap');\n\t\talm.forEach(function (element) {\n\t\t\talmFilterTransition(transition, speed, data, element, type);\n\t\t});\n\t}\n\n\t// Clear table of contents if required\n\tclearTOC();\n};\nexport default almFilter;\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 * @param {*} type string;\n * @since 2.13.1\n */\nlet almFilterTransition = function (transition, speed, data, el, type) {\n\tif (transition === 'fade' || transition === 'masonry') {\n\t\t// Fade, Masonry transition\n\n\t\tswitch (type) {\n\t\t\tcase 'filter':\n\t\t\t\tel.classList.add('alm-is-filtering');\n\t\t\t\talmFadeOut(el, speed);\n\n\t\t\t\tbreak;\n\n\t\t\tcase 'tab':\n\t\t\t\tel.classList.add('alm-loading');\n\t\t\t\tlet new_el = el.querySelector('.alm-listing');\n\t\t\t\tel.style.height = new_el.offsetHeight + 'px';\n\t\t\t\talmFadeOut(new_el, speed);\n\n\t\t\t\tbreak;\n\t\t}\n\n\t\t// Move to next function\n\t\tsetTimeout(function () {\n\t\t\talmCompleteFilterTransition(speed, data, el, type);\n\t\t}, speed);\n\t} else {\n\t\t// No transition\n\t\tel.classList.add('alm-is-filtering');\n\t\talmCompleteFilterTransition(speed, data, el, type);\n\t}\n};\n\n/**\n * almCompleteFilterTransition\n * Complete the filter transition\n *\n * @param {*} speed number;\n * @param {*} data obj;\n * @param {*} el element;\n * @param {*} type string;\n * @since 3.3\n */\nlet almCompleteFilterTransition = (speed, data, el, type) => {\n\t// Get `.alm-btn-wrap` element\n\tlet btnWrap = el.querySelector('.alm-btn-wrap');\n\n\t// Get `.alm-listing` element\n\tlet listing = el.querySelectorAll('.alm-listing');\n\n\t// Loop over all .alm-listing divs\n\t[...listing].forEach(function (e) {\n\t\te.innerHTML = ''; // Clear listings\n\t});\n\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\n\t// Clear paging navigation\n\tlet paging = btnWrap.querySelector('.alm-paging');\n\tif (paging) {\n\t\tpaging.style.opacity = 0;\n\t}\n\n\t// Reset Preloaded Amount\n\tdata.preloadedAmount = 0;\n\t// Dispatch Filters\n\talmSetFilters(speed, data, el, type);\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 * @param {*} type string;\n * @updated 3.3\n * @since 2.6.1\n */\nlet almSetFilters = function (speed = 250, data, el, type) {\n\t// Get `alm-listing` container\n\tlet listing =\n\t\tel.querySelector('.alm-listing') || el.querySelector('.alm-comments');\n\tif (!listing) {\n\t\treturn false;\n\t}\n\n\tswitch (type) {\n\t\tcase 'filter':\n\t\t\t// Update data attributes\n\t\t\tfor (let [key, value] of Object.entries(data)) {\n\t\t\t\t// Convert camelCase data atts back to dashes (-).\n\t\t\t\tkey = key\n\t\t\t\t\t.replace(/\\W+/g, '-')\n\t\t\t\t\t.replace(/([a-z\\d])([A-Z])/g, '$1-$2')\n\t\t\t\t\t.toLowerCase();\n\t\t\t\tlisting.setAttribute('data-' + key, value);\n\t\t\t}\n\t\t\t// Fade ALM back (Filters only)\n\t\t\talmFadeIn(el, speed);\n\t\t\tbreak;\n\n\t\tcase 'tab':\n\t\t\t// Update `data-tab-template` attribute\n\t\t\tlisting.setAttribute('data-preloaded', 'false');\n\t\t\tlisting.setAttribute('data-pause', 'false');\n\t\t\tlisting.setAttribute('data-tab-template', data.tabTemplate);\n\n\t\t\tbreak;\n\t}\n\n\t// Re-initiate Ajax Load More\n\tlet target = '';\n\tif (data.target) {\n\t\t// Target has been specified\n\t\ttarget = document.querySelector(\n\t\t\t'.ajax-load-more-wrap[data-id=\"' + data.target + '\"]'\n\t\t);\n\t\tif (target) {\n\t\t\twindow.almInit(target);\n\t\t}\n\t} else {\n\t\t// Target not specified\n\t\ttarget = document.querySelector('.ajax-load-more-wrap');\n\t\tif (target) {\n\t\t\twindow.almInit(target);\n\t\t}\n\t}\n\n\tswitch (type) {\n\t\tcase 'filter':\n\t\t\t// Filters Complete (not the add-on)\n\t\t\tif (typeof almFilterComplete === 'function') {\n\t\t\t\t// Standard Filtering\n\t\t\t\talmFilterComplete();\n\t\t\t}\n\t\t\tbreak;\n\n\t\tcase 'tab':\n\t\t\t// Tabs Complete\n\t\t\tif (typeof almTabsComplete === 'function') {\n\t\t\t\t// Standard Filtering\n\t\t\t\talmTabsComplete();\n\t\t\t}\n\t\t\tbreak;\n\t}\n};\n","/**\n * Get the URL for Load More button.\n *\n * @param {object} alm The Ajax Load More object.\n * @param {string} rel The type of load more, `next` or `previous`.\n * @since 5.4.0\n */\nexport const getButtonURL = (alm, rel = 'next') => {\n\tif (!alm || !alm.trigger) {\n\t\treturn false;\n\t}\n\tlet button = alm.trigger.querySelector('.alm-load-more-btn');\n\tif (rel === 'prev') {\n\t\tbutton = document.querySelector('.alm-load-more-btn--prev');\n\t}\n\n\tconst url = button ? button.dataset.url : '';\n\treturn url ? url : '';\n};\n\n/**\n * Set button dataset attributes.\n *\n * @param {*} button The HTML element.\n * @param {*} page The current page number.\n * @param {*} url The URL for updating.\n */\nexport const setButtonAtts = (button, page, url) => {\n\tif (!button) {\n\t\treturn;\n\t}\n\n\tif (button.rel && button.rel === 'prev') {\n\t\tbutton.href = url;\n\t}\n\n\tbutton.dataset.page = page; // Set Page.\n\tbutton.dataset.url = url ? url : ''; // Set URL.\n};\n","/**\n * getScrollPercentage\n * Get the scroll distance in pixels from a percentage\n * \n * @param {Object} alm\n * @return {NUMBER} newdistance\n * @since 5.2\n */ \n \nlet getScrollPercentage = (alm) => {\n\tif(!alm){\n\t\treturn false;\n\t}\n\t\n\tlet is_negative = (alm.scroll_distance_orig.toString().indexOf(\"-\") === -1) ? false : true; // Is this a negative number \n let raw_distance = alm.scroll_distance_orig.toString().replace(\"-\", \"\").replace(\"%\", \"\"); // Remove - and perc \t\n\tlet wh = alm.window.innerHeight; // window height\n\t\n\tlet height = Math.floor((wh/100) * parseInt(raw_distance)); // Do math to get distance\n\t\n\tlet newdistance = (is_negative) ? `-${height}` : height; // Set the distance\t\n\t//console.log(parseInt(newdistance));\n\t\n\treturn parseInt(newdistance);\n}\nexport default getScrollPercentage;","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","/**\n * Lazy load images helper.\n * When a plugin or 3rd party script has hooked into WP Post Thumbnails to provide a lazy load solution, images will not load via Ajax.\n * This helper provides a fix by grabbing the dataset value and making it the src.\n *\n * @param {Object} alm The Ajax Load More object.\n */\nexport function lazyImages(alm) {\n\tif (!alm || !alm.lazy_images) {\n\t\treturn;\n\t}\n\tlazyImagesReplace(alm.el);\n}\n\n/**\n * Loop all images in container and replace the src.\n *\n * @param {HTMLElement} container The element HTML.\n */\nexport function lazyImagesReplace(container) {\n\tconst images = container.getElementsByTagName('img');\n\tif (images) {\n\t\t// Loop all images.\n\t\tArray.prototype.forEach.call(images, (img) => {\n\t\t\tif (img) {\n\t\t\t\treplaceSrc(img);\n\t\t\t}\n\t\t});\n\t}\n}\n\n/**\n * Replace the image src with the value from data-src attributes.\n *\n * @param {HTMLElement} img The HTML image element.\n */\nfunction replaceSrc(img) {\n\tif (img) {\n\t\tif (img.dataset.src) {\n\t\t\timg.src = img.dataset.src;\n\t\t}\n\t\tif (img.dataset.srcset) {\n\t\t\timg.srcset = img.dataset.srcset;\n\t\t}\n\t}\n}\n","import srcsetPolyfill from '../helpers/srcsetPolyfill';\nimport { lazyImagesReplace } from './lazyImages';\nlet imagesLoaded = require('imagesloaded');\n\n/**\n * Load the image with imagesLoaded\n *\n * @param {HTMLElement} container The HTML container.\n * @param {HTMLElement} item The element to load.\n * @param {string} ua Browser user-agent.\n * @param {string} rel The loading direction, next or prev.\n */\nconst loadImage = (container, item, ua, rel = 'next') => {\n\treturn new Promise((resolve) => {\n\t\timagesLoaded(item, function () {\n\t\t\t// Add CSS transition\n\t\t\titem.style.transition = 'all 0.4s ease';\n\t\t\t// Append to container\n\t\t\tif (rel === 'prev') {\n\t\t\t\tcontainer.insertBefore(item, container.childNodes[0]);\n\t\t\t} else {\n\t\t\t\tcontainer.appendChild(item);\n\t\t\t}\n\n\t\t\t// Lazy Load images\n\t\t\tlazyImagesReplace(item);\n\n\t\t\t// Run srcset fix\n\t\t\tsrcsetPolyfill(item, ua);\n\n\t\t\t// Send Promise callback\n\t\t\tresolve(true);\n\t\t});\n\t});\n};\nexport default loadImage;\n","import loadImage from './loadImage';\nimport setFocus from './setFocus';\n\n/**\n * Load all items.\n *\n * @param {HTMLElement} container\n * @param {HTMLElement} items\n * @param {Object} alm\n * @param {string} pageTitle\n * @param {string} url\n * @param {string} className\n */\nconst loadItems = (container, items, alm, pageTitle, url = window.location, className = '') => {\n\treturn new Promise((resolve) => {\n\t\tconst total = items.length;\n\t\tlet index = 0;\n\t\tlet count = 1;\n\n\t\t// Get load direction.\n\t\tconst rel = alm.rel ? alm.rel : 'next';\n\n\t\t// Set load properties.\n\t\tconst matchVal = rel === 'prev' ? total : 1; // The item to attach data attributes.\n\t\tconst page = rel === 'prev' ? alm.pagePrev : alm.page + 1; // Get the page number.\n\n\t\t// Reverse items array if rel is 'prev'.\n\t\titems = rel === 'prev' ? items.reverse() : items;\n\n\t\tfunction loadItem() {\n\t\t\tif (count <= total) {\n\t\t\t\t(async function () {\n\t\t\t\t\titems[index].style.opacity = 0;\n\n\t\t\t\t\t// Add data attributes to first or last item for URL updates.\n\t\t\t\t\tif (count == matchVal) {\n\t\t\t\t\t\titems[index].classList.add(className);\n\n\t\t\t\t\t\t// Set URL\n\t\t\t\t\t\titems[index].dataset.url = url;\n\n\t\t\t\t\t\t// Set page num\n\t\t\t\t\t\titems[index].dataset.page = page;\n\n\t\t\t\t\t\t// Set page title\n\t\t\t\t\t\titems[index].dataset.pageTitle = pageTitle;\n\t\t\t\t\t}\n\n\t\t\t\t\tawait loadImage(container, items[index], alm.ua, rel);\n\n\t\t\t\t\tcount++;\n\t\t\t\t\tindex++;\n\n\t\t\t\t\tloadItem();\n\t\t\t\t})().catch((e) => {\n\t\t\t\t\tconsole.log('There was an error loading the items');\n\t\t\t\t});\n\t\t\t} else {\n\t\t\t\t// Delay for effect only\n\t\t\t\tsetTimeout(function () {\n\t\t\t\t\titems.map(function (item) {\n\t\t\t\t\t\titem.style.opacity = 1;\n\t\t\t\t\t});\n\t\t\t\t\tif (items[0]) {\n\t\t\t\t\t\t// Get the item to focus.\n\t\t\t\t\t\tconst focusItem = rel === 'prev' ? items[items.length - 1] : items[0];\n\n\t\t\t\t\t\t// Set the focus.\n\t\t\t\t\t\tsetFocus(alm, focusItem, null, false);\n\t\t\t\t\t}\n\t\t\t\t}, 50);\n\n\t\t\t\tresolve(true);\n\t\t\t}\n\t\t}\n\n\t\tloadItem();\n\t});\n};\n\nexport default loadItems;\n","/**\n * Create a Load Previous button.\n *\n * @param {HTMLElement} content\n * @param {object} alm The Ajax Load More object.\n * @param {object} container The container element.\n * @param {number} page The previous page number.\n * @param {string} url The previous page url.\n * @param {string} label The label for the button.\n * @since 5.5.0\n */\nexport function createLoadPreviousButton(alm, container, page = 1, url, label) {\n\tif (!label) {\n\t\treturn;\n\t}\n\n\t// Create wrapper.\n\tconst btnWrap = document.createElement('div');\n\tbtnWrap.classList.add('alm-btn-wrap--prev');\n\n\t// Create button.\n\tconst button = document.createElement('a');\n\tbutton.href = url;\n\tbutton.innerHTML = label;\n\tbutton.setAttribute('rel', 'prev');\n\tbutton.dataset.page = page;\n\tbutton.dataset.url = url;\n\tbutton.setAttribute('class', `alm-load-more-btn alm-load-more-btn--prev ${alm.loading_style}`);\n\n\t// Click event.\n\tbutton.addEventListener('click', function (e) {\n\t\talm.AjaxLoadMore.prevClick(e);\n\t});\n\n\t// Set alm previous button to this button.\n\talm.AjaxLoadMore.setPreviousButton(button);\n\n\t// Append button to wrap.\n\tbtnWrap.appendChild(button);\n\n\t// Get parent element.\n\tconst parent = container.parentNode;\n\n\t// Append button before container.\n\tparent.insertBefore(btnWrap, container);\n}\n","import almFadeIn from './fadeIn';\nimport almAppendChildren from '../helpers/almAppendChildren';\nimport almDomParser from '../helpers/almDomParser';\nimport srcsetPolyfill from '../helpers/srcsetPolyfill';\nimport stripEmptyNodes from '../helpers/stripEmptyNodes';\nimport { createMasonryFiltersPages, createMasonryFiltersPage } from '../addons/filters';\nimport { createMasonrySEOPages, createMasonrySEOPage } from '../addons/seo';\nimport setFocus from './setFocus';\nlet imagesLoaded = require('imagesloaded');\n\n/**\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 */\nexport function almMasonry(alm, init, filtering) {\n\tif (!alm.masonry) {\n\t\tconsole.warn('Ajax Load More: Unable to locate Masonry settings.');\n\t}\n\n\treturn new Promise((resolve) => {\n\t\tlet container = alm.listing;\n\t\tlet html = alm.html;\n\n\t\tlet selector = alm.masonry.selector;\n\t\tlet columnWidth = alm.masonry.columnwidth;\n\t\tlet animation = alm.masonry.animation;\n\t\tlet horizontalOrder = alm.masonry.horizontalorder;\n\t\tlet speed = alm.speed;\n\t\tlet masonry_init = alm.masonry.init;\n\n\t\tlet duration = (speed + 100) / 1000 + 's'; // Add 100 for some delay\n\t\tlet hidden = 'scale(0.5)';\n\t\tlet visible = 'scale(1)';\n\n\t\tif (animation === 'zoom-out') {\n\t\t\thidden = 'translateY(-20px) scale(1.25)';\n\t\t\tvisible = 'translateY(0) scale(1)';\n\t\t}\n\n\t\tif (animation === 'slide-up') {\n\t\t\thidden = 'translateY(50px)';\n\t\t\tvisible = 'translateY(0)';\n\t\t}\n\n\t\tif (animation === 'slide-down') {\n\t\t\thidden = 'translateY(-50px)';\n\t\t\tvisible = 'translateY(0)';\n\t\t}\n\n\t\tif (animation === 'none') {\n\t\t\thidden = 'translateY(0)';\n\t\t\tvisible = 'translateY(0)';\n\t\t}\n\n\t\t// columnWidth\n\t\tif (columnWidth) {\n\t\t\tif (!isNaN(columnWidth)) {\n\t\t\t\t// Check if number\n\t\t\t\tcolumnWidth = parseInt(columnWidth);\n\t\t\t}\n\t\t} else {\n\t\t\t// No columnWidth, use the selector\n\t\t\tcolumnWidth = selector;\n\t\t}\n\n\t\t// horizontalOrder\n\t\thorizontalOrder = horizontalOrder === 'true' ? true : false;\n\n\t\tif (!filtering) {\n\t\t\t// First Run.\n\t\t\tif (masonry_init && init) {\n\t\t\t\t// Run srcSet polyfill.\n\t\t\t\tsrcsetPolyfill(container, alm.ua);\n\n\t\t\t\timagesLoaded(container, function () {\n\t\t\t\t\tlet defaults = {\n\t\t\t\t\t\titemSelector: selector,\n\t\t\t\t\t\ttransitionDuration: duration,\n\t\t\t\t\t\tcolumnWidth: columnWidth,\n\t\t\t\t\t\thorizontalOrder: horizontalOrder,\n\t\t\t\t\t\thiddenStyle: {\n\t\t\t\t\t\t\ttransform: hidden,\n\t\t\t\t\t\t\topacity: 0,\n\t\t\t\t\t\t},\n\t\t\t\t\t\tvisibleStyle: {\n\t\t\t\t\t\t\ttransform: visible,\n\t\t\t\t\t\t\topacity: 1,\n\t\t\t\t\t\t},\n\t\t\t\t\t};\n\n\t\t\t\t\t// Get custom Masonry options (https://masonry.desandro.com/options.html).\n\t\t\t\t\tlet alm_masonry_vars = window.alm_masonry_vars;\n\t\t\t\t\tif (alm_masonry_vars) {\n\t\t\t\t\t\tObject.keys(alm_masonry_vars).forEach(function (key) {\n\t\t\t\t\t\t\t// Loop object\tto create key:prop\n\t\t\t\t\t\t\tdefaults[key] = alm_masonry_vars[key];\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\n\t\t\t\t\tlet data = container.querySelectorAll(selector);\n\n\t\t\t\t\t// Create Filters URL, if required.\n\t\t\t\t\tif (alm.addons.filters) {\n\t\t\t\t\t\tdata = createMasonryFiltersPages(alm, Array.prototype.slice.call(data));\n\t\t\t\t\t}\n\n\t\t\t\t\t// Create SEO URL, if required.\n\t\t\t\t\tif (alm.addons.seo) {\n\t\t\t\t\t\tdata = createMasonrySEOPages(alm, Array.prototype.slice.call(data));\n\t\t\t\t\t}\n\n\t\t\t\t\t// Init Masonry, delay to allow time for items to be added to the page.\n\t\t\t\t\tsetTimeout(function () {\n\t\t\t\t\t\talm.msnry = new Masonry(container, defaults);\n\n\t\t\t\t\t\t// Fade In\n\t\t\t\t\t\talmFadeIn(container.parentNode, 125);\n\n\t\t\t\t\t\tresolve(true);\n\t\t\t\t\t}, 1);\n\t\t\t\t});\n\t\t\t}\n\n\t\t\t// Standard / Append content.\n\t\t\telse {\n\t\t\t\t// Loop all items and create array of node elements\n\t\t\t\tlet data = stripEmptyNodes(almDomParser(html, 'text/html'));\n\n\t\t\t\tif (data) {\n\t\t\t\t\t// Append elements listing.\n\t\t\t\t\talmAppendChildren(alm.listing, data, 'masonry');\n\n\t\t\t\t\t// Run srcSet polyfill.\n\t\t\t\t\tsrcsetPolyfill(container, alm.ua);\n\n\t\t\t\t\t// imagesLoaded & append.\n\t\t\t\t\timagesLoaded(container, function () {\n\t\t\t\t\t\talm.msnry.appended(data);\n\n\t\t\t\t\t\t// Set Focus.\n\t\t\t\t\t\tsetFocus(alm, data, data.length, false);\n\n\t\t\t\t\t\t// Create Filters URL, if required.\n\t\t\t\t\t\tif (alm.addons.filters) {\n\t\t\t\t\t\t\tcreateMasonryFiltersPage(alm, data[0]);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// Create SEO URL, if required.\n\t\t\t\t\t\tif (alm.addons.seo) {\n\t\t\t\t\t\t\tcreateMasonrySEOPage(alm, data[0]);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tresolve(true);\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\t// Reset\n\t\t\tcontainer.parentNode.style.opacity = 0;\n\t\t\talmMasonry(alm, true, false);\n\t\t\tresolve(true);\n\t\t}\n\t});\n}\n\n/**\n * Set up initial Masonry Configuration.\n *\n * @param {*} alm\n * @return object\n */\nexport function almMasonryConfig(alm) {\n\talm.masonry = {};\n\talm.masonry.init = true;\n\tif (alm.msnry) {\n\t\t// destroy masonry if it currently exists.\n\t\talm.msnry.destroy();\n\t} else {\n\t\talm.msnry = '';\n\t}\n\tconst masonry_config = JSON.parse(alm.listing.dataset.masonryConfig);\n\tif (masonry_config) {\n\t\talm.masonry.selector = masonry_config.selector;\n\t\talm.masonry.columnwidth = masonry_config.columnwidth;\n\t\talm.masonry.animation = masonry_config.animation === '' ? 'standard' : masonry_config.animation;\n\t\talm.masonry.horizontalorder = masonry_config.horizontalorder === '' ? 'true' : masonry_config.horizontalorder;\n\t\talm.transition_container = false;\n\t\talm.images_loaded = false;\n\t} else {\n\t\tconsole.warn('Ajax Load More: Unable to locate Masonry configuration settings.');\n\t}\n\n\treturn alm;\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;","import almFadeIn from './fadeIn';\nimport almFadeOut from './fadeOut';\n\nexport function showPlaceholder(alm) {\n\tif (!alm || !alm.main || alm.addons.paging || alm.rel === 'prev') {\n\t\treturn false;\n\t}\n\tif (alm.placeholder) {\n\t\talm.placeholder.style.display = 'block';\n\t\talmFadeIn(alm.placeholder, 150);\n\t}\n}\n\nexport function hidePlaceholder(alm) {\n\tif (!alm || !alm.main || alm.addons.paging) {\n\t\treturn false;\n\t}\n\tif (alm.placeholder) {\n\t\talmFadeOut(alm.placeholder, 150);\n\t\tsetTimeout(function () {\n\t\t\talm.placeholder.style.display = 'none';\n\t\t}, 75);\n\t}\n}\n","/** \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 || alm.nested === 'true') return false;\t\n\tlet resultsType = (type === 'nextpage' || type === 'woocommerce') ? type : '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\t\n\tif(!alm.resultsText || !alm.localize || alm.nested === 'true'){\n\t\treturn false;\n\t}\n\t\n\tlet page = 0;\n\tlet pages = 0;\n\tlet post_count = 0;\n\tlet total_posts = 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\t\t\n page = parseInt(alm.localize.page);\n post_count = page;\n pages = parseInt(alm.localize.total_posts);\n total_posts = parseInt(pages);\n almRenderResultsText(alm.resultsText, page, pages, post_count, total_posts);\n \t\n \tbreak;\n \t\n // WooCommerce\n case 'woocommerce' :\n\t\t\t// Don't do anything\n \tbreak;\n \n \tdefault :\n \t\t\n \t\tpage = parseInt(alm.page) + 1; \t\t\n \t\tpages = Math.ceil(alm.localize.total_posts / posts_per_page);\n \t\tpost_count = parseInt(alm.localize.post_count);\n \t\ttotal_posts = parseInt(alm.localize.total_posts);\n \t\t\n \t\t// Add 1 page if Preloaded\n \t\tif(preloaded){\n\t \t\tpage = (paging) ? alm.page + 1 : page + 1;\n \t\t}\n \t\t\n almRenderResultsText(alm.resultsText, page, pages, post_count, total_posts);\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\tif(!alm.resultsText || !alm.localize || alm.nested === 'true') return false;\n\t\n\tlet page = 0;\n\tlet pages = Math.ceil(alm.localize.total_posts / alm.orginal_posts_per_page);\n\tlet post_count = parseInt(alm.localize.post_count);\n\tlet total_posts = parseInt(alm.localize.total_posts);\n\t\n\tswitch (type) {\n \t\n \t// Nextpage\n \tcase 'nextpage' : \n \t\tpage = alm.addons.nextpage_startpage;\n \t\tpost_count = page;\n \t\tpages = total_posts;\n almRenderResultsText(alm.resultsText, page, total_posts, post_count, total_posts); \t\n break;\n \t\n \t// Preloaded\n \tcase 'preloaded' : \t \n page = (alm.addons.paging && alm.addons.seo) ? parseInt(alm.start_page) + 1 : parseInt(alm.page) + 1; \n almRenderResultsText(alm.resultsText, page, pages, post_count, total_posts); \t\n \tbreak;\n \n // WooCommerce\n case 'woocommerce' : \n \t// Don't do anything\n \tbreak;\n \t\n \tdefault :\n \t\n \t console.log('No results 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} page\n * @param {String} pages\n * @param {String} post_count\n * @param {String} total_posts\n * @since 4.1\n */\nlet almRenderResultsText = function( el, page, pages, post_count, total_posts ){\n\n el.forEach(function(result){\n\t \n\t pages = parseInt(pages);\n\t let text = (pages > 0) ? alm_localize.results_text : alm_localize.no_results_text;\n\t \n\t if(pages > 0){\n\t text = text.replace('{num}', `<span class=\"alm-results-num\">${page}</span>`); // Deprecated\n\t text = text.replace('{page}', `<span class=\"alm-results-page\">${page}</span>`);\n\t text = text.replace('{total}', `<span class=\"alm-results-total\">${pages}</span>`); // Deprecated\n\t text = text.replace('{pages}', `<span class=\"alm-results-pages\">${pages}</span>`);\n\t text = text.replace('{post_count}', `<span class=\"alm-results-post_count\">${post_count}</span>`)\n\t text = text.replace('{total_posts}', `<span class=\"alm-results-total_posts\">${total_posts}</span>`);\n\t result.innerHTML = text; \n\t } else {\n\t result.innerHTML = text; \n\t }\n\t \n });\n}\n","/**\n * setFocus\n * Set user focus to improve accessibility after load events\n *\n * @param {Object} alm\n * @param {HTMLElement} preloaded\n * @param {Number} total\n * @param {Boolean} is_filtering\n * @since 5.1\n */\n\nlet setFocus = (alm, element = null, total = 0, is_filtering = false) => {\n\tif (!alm_localize.a11y_focus) {\n\t\treturn false;\n\t}\n\n\t// WooCommerce Add-on\n\tif (alm.addons.woocommerce || alm.addons.elementor) {\n\t\tmoveFocus(false, false, element, false, alm.isSafari);\n\t\treturn;\n\t}\n\n\t// Has Total\n\tif (alm.transition_container && total > 0) {\n\t\tif (alm.addons.paging) {\n\t\t\t// Paging\n\t\t\tmoveFocus(alm.init, alm.addons.preloaded, alm.listing, is_filtering, alm.isSafari);\n\t\t} else if (alm.addons.single_post || alm.addons.nextpage) {\n\t\t\t// Single Posts OR Next Page, set `init` to false to trigger focus\n\t\t\tmoveFocus(false, alm.addons.preloaded, element, is_filtering, alm.isSafari);\n\t\t} else {\n\t\t\t// Standard ALM\n\t\t\tmoveFocus(alm.init, alm.addons.preloaded, element, is_filtering, alm.isSafari);\n\t\t}\n\t} else if (!alm.transition_container) {\n\t\t// Table Layout, no transition container\n\t\tmoveFocus(alm.init, alm.addons.preloaded, element[0], is_filtering, alm.isSafari);\n\t}\n};\nexport default setFocus;\n\n/**\n * moveFocus\n * Move user focus to alm-reveal div\n *\n * @param {Boolean} init\n * @param {String} preloaded\n * @param {HTMLElement} element\n * @param {Boolean} is_filtering\n * @param {Boolean} isSafari\n * @since 5.1\n */\n\nlet moveFocus = (init = true, preloaded = 'false', element, is_filtering = false, isSafari = false) => {\n\tif (!is_filtering) {\n\t\tif ((init || !element) && preloaded !== 'true') {\n\t\t\treturn false; // Exit if first run\n\t\t}\n\t}\n\n\t// Check if element is an array.\n\t// If `transition_container=\"false\"`, `element` will be an array.\n\t/*\n let is_array = Array.isArray(element);\n element = (is_array) ? element[0] : element;\n */\n\n\t// Set tabIndex and style on element\n\telement.setAttribute('tabIndex', '-1');\n\telement.style.outline = 'none';\n\n\t// Get Parent container\n\t// If `.alm-listing` set parent to element\n\tlet parent = !element.classList.contains('alm-listing') ? element.parentNode : element;\n\n\t// Scroll Container\n\tlet scrollContainer = parent.dataset.scrollContainer;\n\n\t// If scroll container, move it, not the window.\n\tif (scrollContainer) {\n\t\tlet container = document.querySelector(scrollContainer);\n\t\tif (container) {\n\t\t\t//let left = container.scrollLeft;\n\t\t\t//let top = container.scrollTop;\n\t\t\t//element.focus();\n\t\t\t//container.scrollLeft = left;\n\t\t\t//container.scrollTop = top;\n\t\t\tsetTimeout(function () {\n\t\t\t\telement.focus({ preventScroll: true });\n\t\t\t}, 50);\n\t\t}\n\t}\n\n\t// Move window\n\telse {\n\t\tsetTimeout(function () {\n\t\t\telement.focus({ preventScroll: true });\n\t\t}, 50);\n\n\t\t//let x = window.scrollX;\n\t\t//let y = window.scrollY;\n\n\t\t// Safari fix for window movement if Y = 0\n\t\t//if(isSafari){\n\t\t//window.scrollTo(x, y);\n\t\t//y = (y === 0) ? 1 : y;\n\t\t//}\n\t\t//element.focus();\n\t\t//window.scrollTo(x, y);\n\t}\n};\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\t\n\treturn new Promise(resolve => {\n \n\t let type = 'standard'; \n\t\n\t\t// Current Page `page`\n\t\t\n\t\t// nextpage\n\t\tif(alm.addons.nextpage){\n\t \ttype = 'nextpage';\n\t \tif(alm.addons.paging){\n\t alm.AjaxLoadMore.setLocalizedVar('page', parseInt(alm.page) + 1); \t\n\t \t} else {\n\t alm.AjaxLoadMore.setLocalizedVar('page', parseInt(alm.page) + parseInt(alm.addons.nextpage_startpage) + 1);\n\t \t}\n\t }\n\t // woocommerce\n\t else if(alm.addons.woocommerce){\n\t\t type = 'woocommerce';\n\t\t alm.AjaxLoadMore.setLocalizedVar('page', parseInt(alm.page) + 1);\n\t\t \n\t } else {\n\t alm.AjaxLoadMore.setLocalizedVar('page', parseInt(alm.page) + 1);\n\t \n\t }\n\t \n\t // Total Posts `total_posts`.\n\t // Only update if !preloaded && !nextpage && !woocommerce\n\t if(alm.addons.preloaded !== 'true' && !alm.addons.nextpage && !alm.addons.woocommerce){\n\t \talm.AjaxLoadMore.setLocalizedVar('total_posts', alm.totalposts);\n\t } \n\t \n\t // Viewing\n\t alm.AjaxLoadMore.setLocalizedVar('post_count', almSetPostCount(alm)); \n\t \n\t\t// Set Results Text (if required)\n\t resultsText.almResultsText(alm, type);\n\t \n\t resolve(true);\n\t \n });\n \n}\n\nexport default setLocalizedVars;\n\n\n/**\n * almSetViewing\n * Get total post_count\n */\nfunction almSetPostCount(alm){\t\n\tlet pc = parseInt(alm.posts);\n\tlet pa = parseInt(alm.addons.preloaded_amount);\n\tlet count = pc + pa;\n\tcount = (alm.start_page > 1) ? count - pa : count; // SEO\n\tcount = (alm.addons.filters_startpage > 1) ? count - pa : count; // Filters\n\tcount = (alm.addons.single_post) ? count + 1 : count; // Single Posts\t\n\tcount = (alm.addons.nextpage) ? count + 1 : count; // Next Page\n\t\n\treturn count;\t\n}","import { almScroll, getOffset } from '../ajax-load-more';\nimport setFocus from './setFocus';\n\n/**\n * Create a numbered table of contents navigation\n *\n * @param {object} alm\n * @param {boolean} init\n * @since 5.2\n */\nexport function tableOfContents(alm, init = false, from_preloaded = false) {\n\tlet totalPosts = alm.localize && alm.localize.post_count ? parseInt(alm.localize.post_count) : 0;\n\tif (totalPosts == 0 && !alm.addons.single_post) {\n\t\t// Exit if zero posts and not single posts\n\t\treturn false;\n\t}\n\n\tif (alm && alm.tableofcontents && alm.transition_container && alm.transition !== 'masonry') {\n\t\tlet offset = alm.tableofcontents.dataset.offset ? parseInt(alm.tableofcontents.dataset.offset) : 30;\n\t\tlet startPage = alm.start_page ? parseInt(alm.start_page) : 0;\n\t\tlet filterStartPage = alm.addons.filters_startpage ? parseInt(alm.addons.filters_startpage) : 0;\n\t\tlet nextpageStartPage = alm.addons.nextpage_startpage ? parseInt(alm.addons.nextpage_startpage) : 0;\n\t\tlet page = parseInt(alm.page);\n\t\tlet preloaded = alm.addons.preloaded === 'true' ? true : false;\n\n\t\t// Exit if Paging or Next Page\n\t\tif (alm.addons.paging || alm.addons.nextpage) {\n\t\t\treturn false;\n\t\t}\n\n\t\t// Init\n\n\t\tif (init) {\n\t\t\tsetTimeout(function () {\n\t\t\t\t// Paged results\n\t\t\t\tif ((alm.addons.seo && startPage > 1) || (alm.addons.filters && filterStartPage > 1) || (alm.addons.nextpage && nextpageStartPage > 1)) {\n\t\t\t\t\t// SEO\n\t\t\t\t\tif (alm.addons.seo && startPage > 1) {\n\t\t\t\t\t\tfor (let i = 0; i < startPage; i++) {\n\t\t\t\t\t\t\tcreateTOCButton(alm, i, offset);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\t// Filters\n\t\t\t\t\tif (alm.addons.filters && filterStartPage > 1) {\n\t\t\t\t\t\tfor (let i = 0; i < filterStartPage; i++) {\n\t\t\t\t\t\t\tcreateTOCButton(alm, i, offset);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\t// Nextpage\n\t\t\t\t\tif (alm.addons.nextpage && nextpageStartPage > 1) {\n\t\t\t\t\t\tfor (let i = 0; i < nextpageStartPage; i++) {\n\t\t\t\t\t\t\tcreateTOCButton(alm, i, offset);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tif (!from_preloaded && preloaded) {\n\t\t\t\t\t\tpage = page + 1;\n\t\t\t\t\t}\n\t\t\t\t\tcreateTOCButton(alm, page, offset);\n\t\t\t\t}\n\t\t\t}, 100);\n\t\t} else {\n\t\t\t// Preloaded\n\t\t\tif (preloaded) {\n\t\t\t\tif (alm.addons.seo && startPage > 0) {\n\t\t\t\t\tpage = page;\n\t\t\t\t} else if (alm.addons.filters && filterStartPage > 0) {\n\t\t\t\t\tpage = page;\n\t\t\t\t} else {\n\t\t\t\t\tpage = page + 1;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tcreateTOCButton(alm, page, offset);\n\t\t}\n\t}\n}\n\n// Clear table of contents\nexport function clearTOC() {\n\tlet toc = document.querySelector('.alm-toc');\n\tif (toc) {\n\t\ttoc.innerHTML = '';\n\t}\n}\n\n// Create Standard Page Button\nfunction createTOCButton(alm, page, offset) {\n\tif (!alm.tableofcontents) {\n\t\treturn false;\n\t}\n\n\tlet button = document.createElement('button');\n\tbutton.type = 'button';\n\n\tpage = parseInt(page) + 1;\n\tbutton.innerHTML = getTOCLabel(alm, page);\n\tbutton.dataset.page = alm.addons.single_post_target && alm.init ? page - 1 : page;\n\talm.tableofcontents.appendChild(button);\n\n\tbutton.addEventListener('click', function (e) {\n\t\tlet page = this.dataset.page;\n\t\tlet target = document.querySelector(`.alm-reveal:nth-child(${page})`) || document.querySelector(`.alm-nextpage:nth-child(${page})`);\n\n\t\t// Single Posts\n\t\tif (alm.addons.single_post_target) {\n\t\t\ttarget = document.querySelector(`.alm-reveal.alm-single-post[data-page=\"${page}\"]`);\n\t\t}\n\n\t\tif (!target) {\n\t\t\treturn false;\n\t\t}\n\t\tlet top = typeof getOffset === 'function' ? getOffset(target).top : target.offsetTop;\n\t\talmScroll(top - offset);\n\n\t\t// Set Focus for A11y\n\t\tsetTimeout(function () {\n\t\t\tsetFocus(alm, target, page, false);\n\t\t}, 1000);\n\t});\n}\n\n// Get Button Label\nfunction getTOCLabel(alm, page) {\n\tlet label = page;\n\n\t// Single Posts\n\tif (alm.addons.single_post) {\n\t\tlet thePage = page - 1;\n\t\tlet element;\n\t\tif (alm.addons.single_post_target) {\n\t\t\t// Special functionality for Single Post with a loading target type\n\t\t\tif (alm.init) {\n\t\t\t\tthePage = thePage;\n\t\t\t} else {\n\t\t\t\tthePage = thePage + 1;\n\t\t\t}\n\t\t\tlet posts = document.querySelectorAll(`.alm-reveal.alm-single-post`);\n\t\t\tif (posts) {\n\t\t\t\telement = posts[thePage];\n\t\t\t}\n\t\t} else {\n\t\t\telement = document.querySelector(`.alm-reveal.alm-single-post[data-page=${page - 1}]`);\n\t\t}\n\t\tlabel = element ? element.dataset.title : label;\n\t}\n\n\t// Dynamic function name\n\tlet funcName = `almTOCLabel_${alm.id}`;\n\tif (typeof window[funcName] === 'function') {\n\t\tlabel = window[funcName](page, label);\n\t}\n\n\treturn label;\n}\n","\"use strict\";\n\nrequire(\"core-js/es6\");\n\nrequire(\"core-js/fn/array/includes\");\n\nrequire(\"core-js/fn/array/flat-map\");\n\nrequire(\"core-js/fn/string/pad-start\");\n\nrequire(\"core-js/fn/string/pad-end\");\n\nrequire(\"core-js/fn/string/trim-start\");\n\nrequire(\"core-js/fn/string/trim-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","module.exports = require('./lib/axios');","'use strict';\n\nvar utils = require('./../utils');\nvar settle = require('./../core/settle');\nvar cookies = require('./../helpers/cookies');\nvar buildURL = require('./../helpers/buildURL');\nvar buildFullPath = require('../core/buildFullPath');\nvar parseHeaders = require('./../helpers/parseHeaders');\nvar isURLSameOrigin = require('./../helpers/isURLSameOrigin');\nvar createError = require('../core/createError');\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\n // HTTP basic authentication\n if (config.auth) {\n var username = config.auth.username || '';\n var password = config.auth.password ? unescape(encodeURIComponent(config.auth.password)) : '';\n requestHeaders.Authorization = 'Basic ' + btoa(username + ':' + password);\n }\n\n var fullPath = buildFullPath(config.baseURL, config.url);\n request.open(config.method.toUpperCase(), buildURL(fullPath, 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.onreadystatechange = function handleLoad() {\n if (!request || request.readyState !== 4) {\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 status: request.status,\n statusText: 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 browser request cancellation (as opposed to a manual cancellation)\n request.onabort = function handleAbort() {\n if (!request) {\n return;\n }\n\n reject(createError('Request aborted', config, 'ECONNABORTED', request));\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 var timeoutErrorMessage = 'timeout of ' + config.timeout + 'ms exceeded';\n if (config.timeoutErrorMessage) {\n timeoutErrorMessage = config.timeoutErrorMessage;\n }\n reject(createError(timeoutErrorMessage, 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 // Add xsrf header\n var xsrfValue = (config.withCredentials || isURLSameOrigin(fullPath)) && 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 (!utils.isUndefined(config.withCredentials)) {\n request.withCredentials = !!config.withCredentials;\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) {\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 mergeConfig = require('./core/mergeConfig');\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(mergeConfig(axios.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\n// Expose isAxiosError\naxios.isAxiosError = require('./helpers/isAxiosError');\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 utils = require('./../utils');\nvar buildURL = require('../helpers/buildURL');\nvar InterceptorManager = require('./InterceptorManager');\nvar dispatchRequest = require('./dispatchRequest');\nvar mergeConfig = require('./mergeConfig');\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 = arguments[1] || {};\n config.url = arguments[0];\n } else {\n config = config || {};\n }\n\n config = mergeConfig(this.defaults, config);\n\n // Set config.method\n if (config.method) {\n config.method = config.method.toLowerCase();\n } else if (this.defaults.method) {\n config.method = this.defaults.method.toLowerCase();\n } else {\n config.method = 'get';\n }\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\nAxios.prototype.getUri = function getUri(config) {\n config = mergeConfig(this.defaults, config);\n return buildURL(config.url, config.params, config.paramsSerializer).replace(/^\\?/, '');\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(mergeConfig(config || {}, {\n method: method,\n url: url,\n data: (config || {}).data\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(mergeConfig(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 isAbsoluteURL = require('../helpers/isAbsoluteURL');\nvar combineURLs = require('../helpers/combineURLs');\n\n/**\n * Creates a new URL by combining the baseURL with the requestedURL,\n * only when the requestedURL is not already an absolute URL.\n * If the requestURL is absolute, this function returns the requestedURL untouched.\n *\n * @param {string} baseURL The base URL\n * @param {string} requestedURL Absolute or relative URL to combine\n * @returns {string} The combined full path\n */\nmodule.exports = function buildFullPath(baseURL, requestedURL) {\n if (baseURL && !isAbsoluteURL(requestedURL)) {\n return combineURLs(baseURL, requestedURL);\n }\n return requestedURL;\n};\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');\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 // 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\n error.request = request;\n error.response = response;\n error.isAxiosError = true;\n\n error.toJSON = function toJSON() {\n return {\n // Standard\n message: this.message,\n name: this.name,\n // Microsoft\n description: this.description,\n number: this.number,\n // Mozilla\n fileName: this.fileName,\n lineNumber: this.lineNumber,\n columnNumber: this.columnNumber,\n stack: this.stack,\n // Axios\n config: this.config,\n code: this.code\n };\n };\n return error;\n};\n","'use strict';\n\nvar utils = require('../utils');\n\n/**\n * Config-specific merge-function which creates a new config-object\n * by merging two configuration objects together.\n *\n * @param {Object} config1\n * @param {Object} config2\n * @returns {Object} New object resulting from merging config2 to config1\n */\nmodule.exports = function mergeConfig(config1, config2) {\n // eslint-disable-next-line no-param-reassign\n config2 = config2 || {};\n var config = {};\n\n var valueFromConfig2Keys = ['url', 'method', 'data'];\n var mergeDeepPropertiesKeys = ['headers', 'auth', 'proxy', 'params'];\n var defaultToConfig2Keys = [\n 'baseURL', 'transformRequest', 'transformResponse', 'paramsSerializer',\n 'timeout', 'timeoutMessage', 'withCredentials', 'adapter', 'responseType', 'xsrfCookieName',\n 'xsrfHeaderName', 'onUploadProgress', 'onDownloadProgress', 'decompress',\n 'maxContentLength', 'maxBodyLength', 'maxRedirects', 'transport', 'httpAgent',\n 'httpsAgent', 'cancelToken', 'socketPath', 'responseEncoding'\n ];\n var directMergeKeys = ['validateStatus'];\n\n function getMergedValue(target, source) {\n if (utils.isPlainObject(target) && utils.isPlainObject(source)) {\n return utils.merge(target, source);\n } else if (utils.isPlainObject(source)) {\n return utils.merge({}, source);\n } else if (utils.isArray(source)) {\n return source.slice();\n }\n return source;\n }\n\n function mergeDeepProperties(prop) {\n if (!utils.isUndefined(config2[prop])) {\n config[prop] = getMergedValue(config1[prop], config2[prop]);\n } else if (!utils.isUndefined(config1[prop])) {\n config[prop] = getMergedValue(undefined, config1[prop]);\n }\n }\n\n utils.forEach(valueFromConfig2Keys, function valueFromConfig2(prop) {\n if (!utils.isUndefined(config2[prop])) {\n config[prop] = getMergedValue(undefined, config2[prop]);\n }\n });\n\n utils.forEach(mergeDeepPropertiesKeys, mergeDeepProperties);\n\n utils.forEach(defaultToConfig2Keys, function defaultToConfig2(prop) {\n if (!utils.isUndefined(config2[prop])) {\n config[prop] = getMergedValue(undefined, config2[prop]);\n } else if (!utils.isUndefined(config1[prop])) {\n config[prop] = getMergedValue(undefined, config1[prop]);\n }\n });\n\n utils.forEach(directMergeKeys, function merge(prop) {\n if (prop in config2) {\n config[prop] = getMergedValue(config1[prop], config2[prop]);\n } else if (prop in config1) {\n config[prop] = getMergedValue(undefined, config1[prop]);\n }\n });\n\n var axiosKeys = valueFromConfig2Keys\n .concat(mergeDeepPropertiesKeys)\n .concat(defaultToConfig2Keys)\n .concat(directMergeKeys);\n\n var otherKeys = Object\n .keys(config1)\n .concat(Object.keys(config2))\n .filter(function filterAxiosKeys(key) {\n return axiosKeys.indexOf(key) === -1;\n });\n\n utils.forEach(otherKeys, mergeDeepProperties);\n\n return config;\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 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' && Object.prototype.toString.call(process) === '[object process]') {\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, 'Accept');\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 maxBodyLength: -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\nvar utils = require('./../utils');\n\nfunction encode(val) {\n return encodeURIComponent(val).\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 var hashmarkIndex = url.indexOf('#');\n if (hashmarkIndex !== -1) {\n url = url.slice(0, hashmarkIndex);\n }\n\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\n/**\n * Determines whether the payload is an error thrown by Axios\n *\n * @param {*} payload The value to test\n * @returns {boolean} True if the payload is an error thrown by Axios, otherwise false\n */\nmodule.exports = function isAxiosError(payload) {\n return (typeof payload === 'object') && (payload.isAxiosError === true);\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');\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 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 a Buffer\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Buffer, otherwise false\n */\nfunction isBuffer(val) {\n return val !== null && !isUndefined(val) && val.constructor !== null && !isUndefined(val.constructor)\n && typeof val.constructor.isBuffer === 'function' && val.constructor.isBuffer(val);\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 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 plain Object\n *\n * @param {Object} val The value to test\n * @return {boolean} True if value is a plain Object, otherwise false\n */\nfunction isPlainObject(val) {\n if (toString.call(val) !== '[object Object]') {\n return false;\n }\n\n var prototype = Object.getPrototypeOf(val);\n return prototype === null || prototype === Object.prototype;\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 * nativescript\n * navigator.product -> 'NativeScript' or 'NS'\n */\nfunction isStandardBrowserEnv() {\n if (typeof navigator !== 'undefined' && (navigator.product === 'ReactNative' ||\n navigator.product === 'NativeScript' ||\n navigator.product === 'NS')) {\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 (isPlainObject(result[key]) && isPlainObject(val)) {\n result[key] = merge(result[key], val);\n } else if (isPlainObject(val)) {\n result[key] = merge({}, val);\n } else if (isArray(val)) {\n result[key] = val.slice();\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\n/**\n * Remove byte order marker. This catches EF BB BF (the UTF-8 BOM)\n *\n * @param {string} content with BOM\n * @return {string} content value without BOM\n */\nfunction stripBOM(content) {\n if (content.charCodeAt(0) === 0xFEFF) {\n content = content.slice(1);\n }\n return content;\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 isPlainObject: isPlainObject,\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 stripBOM: stripBOM\n};\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.flat-map');\nmodule.exports = require('../../modules/_core').Array.flatMap;\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.string.trim-right');\nmodule.exports = require('../../modules/_core').String.trimRight;\n","require('../../modules/es7.string.trim-left');\nmodule.exports = require('../../modules/_core').String.trimLeft;\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.12' };\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","'use strict';\n// https://tc39.github.io/proposal-flatMap/#sec-FlattenIntoArray\nvar isArray = require('./_is-array');\nvar isObject = require('./_is-object');\nvar toLength = require('./_to-length');\nvar ctx = require('./_ctx');\nvar IS_CONCAT_SPREADABLE = require('./_wks')('isConcatSpreadable');\n\nfunction flattenIntoArray(target, original, source, sourceLen, start, depth, mapper, thisArg) {\n var targetIndex = start;\n var sourceIndex = 0;\n var mapFn = mapper ? ctx(mapper, thisArg, 3) : false;\n var element, spreadable;\n\n while (sourceIndex < sourceLen) {\n if (sourceIndex in source) {\n element = mapFn ? mapFn(source[sourceIndex], sourceIndex, original) : source[sourceIndex];\n\n spreadable = false;\n if (isObject(element)) {\n spreadable = element[IS_CONCAT_SPREADABLE];\n spreadable = spreadable !== undefined ? !!spreadable : isArray(element);\n }\n\n if (spreadable && depth > 0) {\n targetIndex = flattenIntoArray(target, original, element, toLength(element.length), targetIndex, depth - 1) - 1;\n } else {\n if (targetIndex >= 0x1fffffffffffff) throw TypeError();\n target[targetIndex] = element;\n }\n\n targetIndex++;\n }\n sourceIndex++;\n }\n return targetIndex;\n}\n\nmodule.exports = flattenIntoArray;\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 DESCRIPTORS = require('./_descriptors');\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) {\n key = keys[j++];\n if (!DESCRIPTORS || isEnum.call(S, key)) T[key] = S[key];\n }\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 DESCRIPTORS = require('./_descriptors');\nvar 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) {\n key = keys[i++];\n if (!DESCRIPTORS || isEnum.call(O, key)) {\n result.push(isEntries ? [key, O[key]] : O[key]);\n }\n }\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: '© 2020 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 toObject = require('./_to-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 $GOPS = require('./_object-gops');\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' && !!$GOPS.f;\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 $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// Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives\n// https://bugs.chromium.org/p/v8/issues/detail?id=3443\nvar FAILS_ON_PRIMITIVES = $fails(function () { $GOPS.f(1); });\n\n$export($export.S + $export.F * FAILS_ON_PRIMITIVES, 'Object', {\n getOwnPropertySymbols: function getOwnPropertySymbols(it) {\n return $GOPS.f(toObject(it));\n }\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://tc39.github.io/proposal-flatMap/#sec-Array.prototype.flatMap\nvar $export = require('./_export');\nvar flattenIntoArray = require('./_flatten-into-array');\nvar toObject = require('./_to-object');\nvar toLength = require('./_to-length');\nvar aFunction = require('./_a-function');\nvar arraySpeciesCreate = require('./_array-species-create');\n\n$export($export.P, 'Array', {\n flatMap: function flatMap(callbackfn /* , thisArg */) {\n var O = toObject(this);\n var sourceLen, A;\n aFunction(callbackfn);\n sourceLen = toLength(O.length);\n A = arraySpeciesCreate(O, 0);\n flattenIntoArray(A, O, O, sourceLen, 0, 1, callbackfn, arguments[1]);\n return A;\n }\n});\n\nrequire('./_add-to-unscopables')('flatMap');\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","'use strict';\n// https://github.com/sebmarkbage/ecmascript-string-left-right-trim\nrequire('./_string-trim')('trimLeft', function ($trim) {\n return function trimLeft() {\n return $trim(this, 1);\n };\n}, 'trimStart');\n","'use strict';\n// https://github.com/sebmarkbage/ecmascript-string-left-right-trim\nrequire('./_string-trim')('trimRight', function ($trim) {\n return function trimRight() {\n return $trim(this, 2);\n };\n}, 'trimEnd');\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 * 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","// focus - focusOptions - preventScroll polyfill\n(function() {\n if (\n typeof window === \"undefined\" ||\n typeof document === \"undefined\" ||\n typeof HTMLElement === \"undefined\"\n ) {\n return;\n }\n\n var supportsPreventScrollOption = false;\n try {\n var focusElem = document.createElement(\"div\");\n focusElem.addEventListener(\n \"focus\",\n function(event) {\n event.preventDefault();\n event.stopPropagation();\n },\n true\n );\n focusElem.focus(\n Object.defineProperty({}, \"preventScroll\", {\n get: function() {\n // Edge v18 gives a false positive for supporting inputs\n if (\n navigator &&\n typeof navigator.userAgent !== 'undefined' &&\n navigator.userAgent &&\n navigator.userAgent.match(/Edge\\/1[7-8]/)) {\n return supportsPreventScrollOption = false\n }\n\n supportsPreventScrollOption = true;\n }\n })\n );\n } catch (e) {}\n\n if (\n HTMLElement.prototype.nativeFocus === undefined &&\n !supportsPreventScrollOption\n ) {\n HTMLElement.prototype.nativeFocus = HTMLElement.prototype.focus;\n\n var calcScrollableElements = function(element) {\n var parent = element.parentNode;\n var scrollableElements = [];\n var rootScrollingElement =\n document.scrollingElement || document.documentElement;\n\n while (parent && parent !== rootScrollingElement) {\n if (\n parent.offsetHeight < parent.scrollHeight ||\n parent.offsetWidth < parent.scrollWidth\n ) {\n scrollableElements.push([\n parent,\n parent.scrollTop,\n parent.scrollLeft\n ]);\n }\n parent = parent.parentNode;\n }\n parent = rootScrollingElement;\n scrollableElements.push([parent, parent.scrollTop, parent.scrollLeft]);\n\n return scrollableElements;\n };\n\n var restoreScrollPosition = function(scrollableElements) {\n for (var i = 0; i < scrollableElements.length; i++) {\n scrollableElements[i][0].scrollTop = scrollableElements[i][1];\n scrollableElements[i][0].scrollLeft = scrollableElements[i][2];\n }\n scrollableElements = [];\n };\n\n var patchedFocus = function(args) {\n if (args && args.preventScroll) {\n var evScrollableElements = calcScrollableElements(this);\n if (typeof setTimeout === 'function') {\n var thisElem = this;\n setTimeout(function () {\n thisElem.nativeFocus();\n restoreScrollPosition(evScrollableElements);\n }, 0);\n } else {\n this.nativeFocus();\n restoreScrollPosition(evScrollableElements);\n }\n }\n else {\n this.nativeFocus();\n }\n };\n\n HTMLElement.prototype.focus = patchedFocus;\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","// 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\nvar Format = {\n RFC1738: 'RFC1738',\n RFC3986: 'RFC3986'\n};\n\nmodule.exports = {\n 'default': Format.RFC3986,\n formatters: {\n RFC1738: function (value) {\n return replace.call(value, percentTwenties, '+');\n },\n RFC3986: function (value) {\n return String(value);\n }\n },\n RFC1738: Format.RFC1738,\n RFC3986: Format.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;\nvar isArray = Array.isArray;\n\nvar defaults = {\n allowDots: false,\n allowPrototypes: false,\n arrayLimit: 20,\n charset: 'utf-8',\n charsetSentinel: false,\n comma: 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\nvar parseArrayValue = function (val, options) {\n if (val && typeof val === 'string' && options.comma && val.indexOf(',') > -1) {\n return val.split(',');\n }\n\n return val;\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, 'key');\n val = options.strictNullHandling ? null : '';\n } else {\n key = options.decoder(part.slice(0, pos), defaults.decoder, charset, 'key');\n val = utils.maybeMap(\n parseArrayValue(part.slice(pos + 1), options),\n function (encodedVal) {\n return options.decoder(encodedVal, defaults.decoder, charset, 'value');\n }\n );\n }\n\n if (val && options.interpretNumericEntities && charset === 'iso-8859-1') {\n val = interpretNumericEntities(val);\n }\n\n if (part.indexOf('[]=') > -1) {\n val = isArray(val) ? [val] : val;\n }\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, valuesParsed) {\n var leaf = valuesParsed ? val : parseArrayValue(val, options);\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, valuesParsed) {\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 = options.depth > 0 && 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 (options.depth > 0 && (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, valuesParsed);\n};\n\nvar normalizeParseOptions = function normalizeParseOptions(opts) {\n if (!opts) {\n return defaults;\n }\n\n if (opts.decoder !== null && opts.decoder !== undefined && typeof opts.decoder !== 'function') {\n throw new TypeError('Decoder has to be a function.');\n }\n\n if (typeof opts.charset !== 'undefined' && opts.charset !== 'utf-8' && opts.charset !== 'iso-8859-1') {\n throw new TypeError('The charset option must be either utf-8, iso-8859-1, or undefined');\n }\n var charset = typeof opts.charset === 'undefined' ? defaults.charset : opts.charset;\n\n return {\n allowDots: typeof opts.allowDots === 'undefined' ? defaults.allowDots : !!opts.allowDots,\n allowPrototypes: typeof opts.allowPrototypes === 'boolean' ? opts.allowPrototypes : defaults.allowPrototypes,\n arrayLimit: typeof opts.arrayLimit === 'number' ? opts.arrayLimit : defaults.arrayLimit,\n charset: charset,\n charsetSentinel: typeof opts.charsetSentinel === 'boolean' ? opts.charsetSentinel : defaults.charsetSentinel,\n comma: typeof opts.comma === 'boolean' ? opts.comma : defaults.comma,\n decoder: typeof opts.decoder === 'function' ? opts.decoder : defaults.decoder,\n delimiter: typeof opts.delimiter === 'string' || utils.isRegExp(opts.delimiter) ? opts.delimiter : defaults.delimiter,\n // eslint-disable-next-line no-implicit-coercion, no-extra-parens\n depth: (typeof opts.depth === 'number' || opts.depth === false) ? +opts.depth : defaults.depth,\n ignoreQueryPrefix: opts.ignoreQueryPrefix === true,\n interpretNumericEntities: typeof opts.interpretNumericEntities === 'boolean' ? opts.interpretNumericEntities : defaults.interpretNumericEntities,\n parameterLimit: typeof opts.parameterLimit === 'number' ? opts.parameterLimit : defaults.parameterLimit,\n parseArrays: opts.parseArrays !== false,\n plainObjects: typeof opts.plainObjects === 'boolean' ? opts.plainObjects : defaults.plainObjects,\n strictNullHandling: typeof opts.strictNullHandling === 'boolean' ? opts.strictNullHandling : defaults.strictNullHandling\n };\n};\n\nmodule.exports = function (str, opts) {\n var options = normalizeParseOptions(opts);\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, typeof str === 'string');\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');\nvar has = Object.prototype.hasOwnProperty;\n\nvar arrayPrefixGenerators = {\n brackets: function brackets(prefix) {\n return prefix + '[]';\n },\n comma: 'comma',\n indices: function indices(prefix, key) {\n return prefix + '[' + key + ']';\n },\n repeat: function repeat(prefix) {\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 defaultFormat = formats['default'];\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 format: defaultFormat,\n formatter: formats.formatters[defaultFormat],\n // deprecated\n indices: false,\n serializeDate: function serializeDate(date) {\n return toISO.call(date);\n },\n skipNulls: false,\n strictNullHandling: false\n};\n\nvar isNonNullishPrimitive = function isNonNullishPrimitive(v) {\n return typeof v === 'string'\n || typeof v === 'number'\n || typeof v === 'boolean'\n || typeof v === 'symbol'\n || typeof v === 'bigint';\n};\n\nvar stringify = function stringify(\n object,\n prefix,\n generateArrayPrefix,\n strictNullHandling,\n skipNulls,\n encoder,\n filter,\n sort,\n allowDots,\n serializeDate,\n format,\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 } else if (generateArrayPrefix === 'comma' && isArray(obj)) {\n obj = utils.maybeMap(obj, function (value) {\n if (value instanceof Date) {\n return serializeDate(value);\n }\n return value;\n });\n }\n\n if (obj === null) {\n if (strictNullHandling) {\n return encoder && !encodeValuesOnly ? encoder(prefix, defaults.encoder, charset, 'key', format) : prefix;\n }\n\n obj = '';\n }\n\n if (isNonNullishPrimitive(obj) || utils.isBuffer(obj)) {\n if (encoder) {\n var keyValue = encodeValuesOnly ? prefix : encoder(prefix, defaults.encoder, charset, 'key', format);\n return [formatter(keyValue) + '=' + formatter(encoder(obj, defaults.encoder, charset, 'value', format))];\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 (generateArrayPrefix === 'comma' && isArray(obj)) {\n // we need to join elements in\n objKeys = [{ value: obj.length > 0 ? obj.join(',') || null : undefined }];\n } else if (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 var value = typeof key === 'object' && key.value !== undefined ? key.value : obj[key];\n\n if (skipNulls && value === null) {\n continue;\n }\n\n var keyPrefix = isArray(obj)\n ? typeof generateArrayPrefix === 'function' ? generateArrayPrefix(prefix, key) : prefix\n : prefix + (allowDots ? '.' + key : '[' + key + ']');\n\n pushToArray(values, stringify(\n value,\n keyPrefix,\n generateArrayPrefix,\n strictNullHandling,\n skipNulls,\n encoder,\n filter,\n sort,\n allowDots,\n serializeDate,\n format,\n formatter,\n encodeValuesOnly,\n charset\n ));\n }\n\n return values;\n};\n\nvar normalizeStringifyOptions = function normalizeStringifyOptions(opts) {\n if (!opts) {\n return defaults;\n }\n\n if (opts.encoder !== null && opts.encoder !== undefined && typeof opts.encoder !== 'function') {\n throw new TypeError('Encoder has to be a function.');\n }\n\n var charset = opts.charset || defaults.charset;\n if (typeof opts.charset !== 'undefined' && opts.charset !== 'utf-8' && opts.charset !== 'iso-8859-1') {\n throw new TypeError('The charset option must be either utf-8, iso-8859-1, or undefined');\n }\n\n var format = formats['default'];\n if (typeof opts.format !== 'undefined') {\n if (!has.call(formats.formatters, opts.format)) {\n throw new TypeError('Unknown format option provided.');\n }\n format = opts.format;\n }\n var formatter = formats.formatters[format];\n\n var filter = defaults.filter;\n if (typeof opts.filter === 'function' || isArray(opts.filter)) {\n filter = opts.filter;\n }\n\n return {\n addQueryPrefix: typeof opts.addQueryPrefix === 'boolean' ? opts.addQueryPrefix : defaults.addQueryPrefix,\n allowDots: typeof opts.allowDots === 'undefined' ? defaults.allowDots : !!opts.allowDots,\n charset: charset,\n charsetSentinel: typeof opts.charsetSentinel === 'boolean' ? opts.charsetSentinel : defaults.charsetSentinel,\n delimiter: typeof opts.delimiter === 'undefined' ? defaults.delimiter : opts.delimiter,\n encode: typeof opts.encode === 'boolean' ? opts.encode : defaults.encode,\n encoder: typeof opts.encoder === 'function' ? opts.encoder : defaults.encoder,\n encodeValuesOnly: typeof opts.encodeValuesOnly === 'boolean' ? opts.encodeValuesOnly : defaults.encodeValuesOnly,\n filter: filter,\n format: format,\n formatter: formatter,\n serializeDate: typeof opts.serializeDate === 'function' ? opts.serializeDate : defaults.serializeDate,\n skipNulls: typeof opts.skipNulls === 'boolean' ? opts.skipNulls : defaults.skipNulls,\n sort: typeof opts.sort === 'function' ? opts.sort : null,\n strictNullHandling: typeof opts.strictNullHandling === 'boolean' ? opts.strictNullHandling : defaults.strictNullHandling\n };\n};\n\nmodule.exports = function (object, opts) {\n var obj = object;\n var options = normalizeStringifyOptions(opts);\n\n var objKeys;\n var filter;\n\n if (typeof options.filter === 'function') {\n filter = options.filter;\n obj = filter('', obj);\n } else if (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 (opts && opts.arrayFormat in arrayPrefixGenerators) {\n arrayFormat = opts.arrayFormat;\n } else if (opts && 'indices' in opts) {\n arrayFormat = opts.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 (options.sort) {\n objKeys.sort(options.sort);\n }\n\n for (var i = 0; i < objKeys.length; ++i) {\n var key = objKeys[i];\n\n if (options.skipNulls && obj[key] === null) {\n continue;\n }\n pushToArray(keys, stringify(\n obj[key],\n key,\n generateArrayPrefix,\n options.strictNullHandling,\n options.skipNulls,\n options.encode ? options.encoder : null,\n options.filter,\n options.sort,\n options.allowDots,\n options.serializeDate,\n options.format,\n options.formatter,\n options.encodeValuesOnly,\n options.charset\n ));\n }\n\n var joined = keys.join(options.delimiter);\n var prefix = options.addQueryPrefix === true ? '?' : '';\n\n if (options.charsetSentinel) {\n if (options.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 formats = require('./formats');\n\nvar has = Object.prototype.hasOwnProperty;\nvar isArray = Array.isArray;\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 (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 /* eslint no-param-reassign: 0 */\n if (!source) {\n return target;\n }\n\n if (typeof source !== 'object') {\n if (isArray(target)) {\n target.push(source);\n } else if (target && 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 (!target || typeof target !== 'object') {\n return [target].concat(source);\n }\n\n var mergeTarget = target;\n if (isArray(target) && !isArray(source)) {\n mergeTarget = arrayToObject(target, options);\n }\n\n if (isArray(target) && isArray(source)) {\n source.forEach(function (item, i) {\n if (has.call(target, i)) {\n var targetItem = target[i];\n if (targetItem && typeof targetItem === 'object' && item && typeof item === 'object') {\n target[i] = merge(targetItem, 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, kind, format) {\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 = str;\n if (typeof str === 'symbol') {\n string = Symbol.prototype.toString.call(str);\n } else if (typeof str !== 'string') {\n string = String(str);\n }\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 || (format === formats.RFC1738 && (c === 0x28 || c === 0x29)) // ( )\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 || typeof obj !== 'object') {\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\nvar maybeMap = function maybeMap(val, fn) {\n if (isArray(val)) {\n var mapped = [];\n for (var i = 0; i < val.length; i += 1) {\n mapped.push(fn(val[i]));\n }\n return mapped;\n }\n return fn(val);\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 maybeMap: maybeMap,\n merge: merge\n};\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\nvar runtime = (function (exports) {\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 function define(obj, key, value) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n return obj[key];\n }\n try {\n // IE 8 has a broken Object.defineProperty that only works on DOM objects.\n define({}, \"\");\n } catch (err) {\n define = function(obj, key, value) {\n return obj[key] = value;\n };\n }\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 exports.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 GeneratorFunction.displayName = define(\n GeneratorFunctionPrototype,\n toStringTagSymbol,\n \"GeneratorFunction\"\n );\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 define(prototype, method, function(arg) {\n return this._invoke(method, arg);\n });\n });\n }\n\n exports.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 exports.mark = function(genFun) {\n if (Object.setPrototypeOf) {\n Object.setPrototypeOf(genFun, GeneratorFunctionPrototype);\n } else {\n genFun.__proto__ = GeneratorFunctionPrototype;\n define(genFun, toStringTagSymbol, \"GeneratorFunction\");\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 exports.awrap = function(arg) {\n return { __await: arg };\n };\n\n function AsyncIterator(generator, PromiseImpl) {\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 PromiseImpl.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 PromiseImpl.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 PromiseImpl(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 exports.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 exports.async = function(innerFn, outerFn, self, tryLocsList, PromiseImpl) {\n if (PromiseImpl === void 0) PromiseImpl = Promise;\n\n var iter = new AsyncIterator(\n wrap(innerFn, outerFn, self, tryLocsList),\n PromiseImpl\n );\n\n return exports.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 // Note: [\"return\"] must be used for ES3 parsing compatibility.\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 define(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 exports.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 exports.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 // Regardless of whether this script is executing as a CommonJS module\n // or not, return the runtime object so that we can declare the variable\n // regeneratorRuntime in the outer scope, which allows this module to be\n // injected easily by `bin/regenerator --include-runtime script.js`.\n return exports;\n\n}(\n // If this script is executing as a CommonJS module, use module.exports\n // as the regeneratorRuntime namespace. Otherwise create a new empty\n // object. Either way, the resulting object will be used to initialize\n // the regeneratorRuntime variable at the top of this file.\n typeof module === \"object\" ? module.exports : {}\n));\n\ntry {\n regeneratorRuntime = runtime;\n} catch (accidentalStrictMode) {\n // This module should not be running in strict mode, so the above\n // assignment should always work unless something is misconfigured. Just\n // in case runtime.js accidentally runs in strict mode, we can escape\n // strict mode using a global Function call. This could conceivably fail\n // if a Content Security Policy forbids using Function, but in that case\n // the proper solution is to fix the accidental strict mode problem. If\n // you've misconfigured your bundler to force strict mode and applied a\n // CSP to forbid Function, and you're not willing to fix either of those\n // problems, please detail your unique predicament in a GitHub issue.\n Function(\"r\", \"regeneratorRuntime = r\")(runtime);\n}\n","/* smoothscroll v0.4.4 - 2019 - 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 while (el !== d.body && isScrollable(el) === false) {\n el = el.parentNode || el.host;\n }\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":""}
core/dist/js/ajax-load-more.min.js CHANGED
@@ -3,4 +3,4 @@ var ajaxloadmore=function(t){var e={};function n(r){if(e[r])return e[r].exports;
3
  * imagesLoaded v4.1.4
4
  * JavaScript is all like "You images are done yet or what?"
5
  * MIT License
6
- */!function(a,i){"use strict";r=[n(173)],void 0===(o=function(t){return function(t,e){var n=t.jQuery,r=t.console;function o(t,e){for(var n in e)t[n]=e[n];return t}var a=Array.prototype.slice;function i(t,e,s){if(!(this instanceof i))return new i(t,e,s);var l,c=t;("string"==typeof t&&(c=document.querySelectorAll(t)),c)?(this.elements=(l=c,Array.isArray(l)?l:"object"==typeof l&&"number"==typeof l.length?a.call(l):[l]),this.options=o({},this.options),"function"==typeof e?s=e:o(this.options,e),s&&this.on("always",s),this.getImages(),n&&(this.jqDeferred=new n.Deferred),setTimeout(this.check.bind(this))):r.error("Bad element for imagesLoaded "+(c||t))}i.prototype=Object.create(e.prototype),i.prototype.options={},i.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)},i.prototype.addElementImages=function(t){"IMG"==t.nodeName&&this.addImage(t),!0===this.options.background&&this.addElementBackgroundImages(t);var e=t.nodeType;if(e&&s[e]){for(var n=t.querySelectorAll("img"),r=0;r<n.length;r++){var o=n[r];this.addImage(o)}if("string"==typeof this.options.background){var a=t.querySelectorAll(this.options.background);for(r=0;r<a.length;r++){var i=a[r];this.addElementBackgroundImages(i)}}}};var s={1:!0,9:!0,11:!0};function l(t){this.img=t}function c(t,e){this.url=t,this.element=e,this.img=new Image}return i.prototype.addElementBackgroundImages=function(t){var e=getComputedStyle(t);if(e)for(var n=/url\((['"])?(.*?)\1\)/gi,r=n.exec(e.backgroundImage);null!==r;){var o=r&&r[2];o&&this.addBackground(o,t),r=n.exec(e.backgroundImage)}},i.prototype.addImage=function(t){var e=new l(t);this.images.push(e)},i.prototype.addBackground=function(t,e){var n=new c(t,e);this.images.push(n)},i.prototype.check=function(){var t=this;function e(e,n,r){setTimeout((function(){t.progress(e,n,r)}))}this.progressedCount=0,this.hasAnyBroken=!1,this.images.length?this.images.forEach((function(t){t.once("progress",e),t.check()})):this.complete()},i.prototype.progress=function(t,e,n){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!t.isLoaded,this.emitEvent("progress",[this,t,e]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,t),this.progressedCount==this.images.length&&this.complete(),this.options.debug&&r&&r.log("progress: "+n,t,e)},i.prototype.complete=function(){var t=this.hasAnyBroken?"fail":"done";if(this.isComplete=!0,this.emitEvent(t,[this]),this.emitEvent("always",[this]),this.jqDeferred){var e=this.hasAnyBroken?"reject":"resolve";this.jqDeferred[e](this)}},l.prototype=Object.create(e.prototype),l.prototype.check=function(){this.getIsImageComplete()?this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.proxyImage.src=this.img.src)},l.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWidth},l.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.img,e])},l.prototype.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},l.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},l.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},l.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},c.prototype=Object.create(l.prototype),c.prototype.check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url,this.getIsImageComplete()&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},c.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},c.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.element,e])},i.makeJQueryPlugin=function(e){(e=e||t.jQuery)&&((n=e).fn.imagesLoaded=function(t,e){return new i(this,t,e).jqDeferred.promise(n(this))})},i.makeJQueryPlugin(),i}(a,t)}.apply(e,r))||(t.exports=o)}("undefined"!=typeof window?window:this)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(t,e){e/=10,t.style.opacity=.5;var n=setInterval((function(){t.style.opacity<.1?clearInterval(n):t.style.opacity-=.1}),e)}},function(t,e,n){var r=n(4),o=n(1).document,a=r(o)&&r(o.createElement);t.exports=function(t){return a?o.createElement(t):{}}},function(t,e,n){e.f=n(5)},function(t,e,n){var r=n(52)("keys"),o=n(30);t.exports=function(t){return r[t]||(r[t]=o(t))}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,n){var r=n(1).document;t.exports=r&&r.documentElement},function(t,e,n){var r=n(4),o=n(3),a=function(t,e){if(o(t),!r(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,r){try{(r=n(18)(Function.call,n(21).f(Object.prototype,"__proto__").set,2))(t,[]),e=!(t instanceof Array)}catch(t){e=!0}return function(t,n){return a(t,n),e?t.__proto__=n:r(t,n),t}}({},!1):void 0),check:a}},function(t,e){t.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"},function(t,e,n){var r=n(4),o=n(76).set;t.exports=function(t,e,n){var a,i=e.constructor;return i!==n&&"function"==typeof i&&(a=i.prototype)!==n.prototype&&r(a)&&o&&o(t,a),t}},function(t,e,n){"use strict";var r=n(20),o=n(25);t.exports=function(t){var e=String(o(this)),n="",a=r(t);if(a<0||a==1/0)throw RangeError("Count can't be negative");for(;a>0;(a>>>=1)&&(e+=e))1&a&&(n+=e);return n}},function(t,e){t.exports=Math.sign||function(t){return 0==(t=+t)||t!=t?t:t<0?-1:1}},function(t,e){var n=Math.expm1;t.exports=!n||n(10)>22025.465794806718||n(10)<22025.465794806718||-2e-17!=n(-2e-17)?function(t){return 0==(t=+t)?t:t>-1e-6&&t<1e-6?t+t*t/2:Math.exp(t)-1}:n},function(t,e,n){var r=n(20),o=n(25);t.exports=function(t){return function(e,n){var a,i,s=String(o(e)),l=r(n),c=s.length;return l<0||l>=c?t?"":void 0:(a=s.charCodeAt(l))<55296||a>56319||l+1===c||(i=s.charCodeAt(l+1))<56320||i>57343?t?s.charAt(l):a:t?s.slice(l,l+2):i-56320+(a-55296<<10)+65536}}},function(t,e,n){"use strict";var r=n(31),o=n(0),a=n(12),i=n(15),s=n(41),l=n(126),c=n(39),u=n(36),d=n(5)("iterator"),f=!([].keys&&"next"in[].keys()),p=function(){return this};t.exports=function(t,e,n,g,m,h,v){l(n,e,g);var y,_,b,w=function(t){if(!f&&t in j)return j[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},x=e+" Iterator",S="values"==m,A=!1,j=t.prototype,P=j[d]||j["@@iterator"]||m&&j[m],L=P||w(m),M=m?S?w("entries"):L:void 0,E="Array"==e&&j.entries||P;if(E&&(b=u(E.call(new t)))!==Object.prototype&&b.next&&(c(b,x,!0),r||"function"==typeof b[d]||i(b,d,p)),S&&P&&"values"!==P.name&&(A=!0,L=function(){return P.call(this)}),r&&!v||!f&&!A&&j[d]||i(j,d,L),s[e]=L,s[x]=p,m)if(y={values:S?L:w("values"),keys:h?L:w("keys"),entries:M},v)for(_ in y)_ in j||a(j,_,y[_]);else o(o.P+o.F*(f||A),e,y);return y}},function(t,e,n){var r=n(85),o=n(25);t.exports=function(t,e,n){if(r(e))throw TypeError("String#"+n+" doesn't accept regex!");return String(o(t))}},function(t,e,n){var r=n(4),o=n(24),a=n(5)("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[a])?!!e:"RegExp"==o(t))}},function(t,e,n){var r=n(5)("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[r]=!1,!"/./"[t](e)}catch(t){}}return!0}},function(t,e,n){var r=n(41),o=n(5)("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||a[o]===t)}},function(t,e,n){"use strict";var r=n(9),o=n(29);t.exports=function(t,e,n){e in t?r.f(t,e,o(0,n)):t[e]=n}},function(t,e,n){var r=n(47),o=n(5)("iterator"),a=n(41);t.exports=n(7).getIteratorMethod=function(t){if(null!=t)return t[o]||t["@@iterator"]||a[r(t)]}},function(t,e,n){"use strict";var r=n(10),o=n(33),a=n(6);t.exports=function(t){for(var e=r(this),n=a(e.length),i=arguments.length,s=o(i>1?arguments[1]:void 0,n),l=i>2?arguments[2]:void 0,c=void 0===l?n:o(l,n);c>s;)e[s++]=t;return e}},function(t,e,n){"use strict";var r=n(37),o=n(131),a=n(41),i=n(16);t.exports=n(83)(Array,"Array",(function(t,e){this._t=i(t),this._i=0,this._k=e}),(function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,o(1)):o(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])}),"values"),a.Arguments=a.Array,r("keys"),r("values"),r("entries")},function(t,e,n){"use strict";var r,o,a=n(57),i=RegExp.prototype.exec,s=String.prototype.replace,l=i,c=(r=/a/,o=/b*/g,i.call(r,"a"),i.call(o,"a"),0!==r.lastIndex||0!==o.lastIndex),u=void 0!==/()??/.exec("")[1];(c||u)&&(l=function(t){var e,n,r,o,l=this;return u&&(n=new RegExp("^"+l.source+"$(?!\\s)",a.call(l))),c&&(e=l.lastIndex),r=i.call(l,t),c&&r&&(l.lastIndex=l.global?r.index+r[0].length:e),u&&r&&r.length>1&&s.call(r[0],n,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(r[o]=void 0)})),r}),t.exports=l},function(t,e,n){"use strict";var r=n(82)(!0);t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},function(t,e,n){var r,o,a,i=n(18),s=n(120),l=n(75),c=n(71),u=n(1),d=u.process,f=u.setImmediate,p=u.clearImmediate,g=u.MessageChannel,m=u.Dispatch,h=0,v={},y=function(){var t=+this;if(v.hasOwnProperty(t)){var e=v[t];delete v[t],e()}},_=function(t){y.call(t.data)};f&&p||(f=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return v[++h]=function(){s("function"==typeof t?t:Function(t),e)},r(h),h},p=function(t){delete v[t]},"process"==n(24)(d)?r=function(t){d.nextTick(i(y,t,1))}:m&&m.now?r=function(t){m.now(i(y,t,1))}:g?(a=(o=new g).port2,o.port1.onmessage=_,r=i(a.postMessage,a,1)):u.addEventListener&&"function"==typeof postMessage&&!u.importScripts?(r=function(t){u.postMessage(t+"","*")},u.addEventListener("message",_,!1)):r="onreadystatechange"in c("script")?function(t){l.appendChild(c("script")).onreadystatechange=function(){l.removeChild(this),y.call(t)}}:function(t){setTimeout(i(y,t,1),0)}),t.exports={set:f,clear:p}},function(t,e,n){"use strict";var r=n(1),o=n(8),a=n(31),i=n(63),s=n(15),l=n(44),c=n(2),u=n(43),d=n(20),f=n(6),p=n(139),g=n(35).f,m=n(9).f,h=n(90),v=n(39),y=r.ArrayBuffer,_=r.DataView,b=r.Math,w=r.RangeError,x=r.Infinity,S=y,A=b.abs,j=b.pow,P=b.floor,L=b.log,M=b.LN2,E=o?"_b":"buffer",O=o?"_l":"byteLength",T=o?"_o":"byteOffset";function I(t,e,n){var r,o,a,i=new Array(n),s=8*n-e-1,l=(1<<s)-1,c=l>>1,u=23===e?j(2,-24)-j(2,-77):0,d=0,f=t<0||0===t&&1/t<0?1:0;for((t=A(t))!=t||t===x?(o=t!=t?1:0,r=l):(r=P(L(t)/M),t*(a=j(2,-r))<1&&(r--,a*=2),(t+=r+c>=1?u/a:u*j(2,1-c))*a>=2&&(r++,a/=2),r+c>=l?(o=0,r=l):r+c>=1?(o=(t*a-1)*j(2,e),r+=c):(o=t*j(2,c-1)*j(2,e),r=0));e>=8;i[d++]=255&o,o/=256,e-=8);for(r=r<<e|o,s+=e;s>0;i[d++]=255&r,r/=256,s-=8);return i[--d]|=128*f,i}function C(t,e,n){var r,o=8*n-e-1,a=(1<<o)-1,i=a>>1,s=o-7,l=n-1,c=t[l--],u=127&c;for(c>>=7;s>0;u=256*u+t[l],l--,s-=8);for(r=u&(1<<-s)-1,u>>=-s,s+=e;s>0;r=256*r+t[l],l--,s-=8);if(0===u)u=1-i;else{if(u===a)return r?NaN:c?-x:x;r+=j(2,e),u-=i}return(c?-1:1)*r*j(2,u-e)}function N(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]}function F(t){return[255&t]}function k(t){return[255&t,t>>8&255]}function R(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]}function q(t){return I(t,52,8)}function D(t){return I(t,23,4)}function z(t,e,n){m(t.prototype,e,{get:function(){return this[n]}})}function B(t,e,n,r){var o=p(+n);if(o+e>t[O])throw w("Wrong index!");var a=t[E]._b,i=o+t[T],s=a.slice(i,i+e);return r?s:s.reverse()}function U(t,e,n,r,o,a){var i=p(+n);if(i+e>t[O])throw w("Wrong index!");for(var s=t[E]._b,l=i+t[T],c=r(+o),u=0;u<e;u++)s[l+u]=c[a?u:e-u-1]}if(i.ABV){if(!c((function(){y(1)}))||!c((function(){new y(-1)}))||c((function(){return new y,new y(1.5),new y(NaN),"ArrayBuffer"!=y.name}))){for(var W,H=(y=function(t){return u(this,y),new S(p(t))}).prototype=S.prototype,V=g(S),G=0;V.length>G;)(W=V[G++])in y||s(y,W,S[W]);a||(H.constructor=y)}var Y=new _(new y(2)),X=_.prototype.setInt8;Y.setInt8(0,2147483648),Y.setInt8(1,2147483649),!Y.getInt8(0)&&Y.getInt8(1)||l(_.prototype,{setInt8:function(t,e){X.call(this,t,e<<24>>24)},setUint8:function(t,e){X.call(this,t,e<<24>>24)}},!0)}else y=function(t){u(this,y,"ArrayBuffer");var e=p(t);this._b=h.call(new Array(e),0),this[O]=e},_=function(t,e,n){u(this,_,"DataView"),u(t,y,"DataView");var r=t[O],o=d(e);if(o<0||o>r)throw w("Wrong offset!");if(o+(n=void 0===n?r-o:f(n))>r)throw w("Wrong length!");this[E]=t,this[T]=o,this[O]=n},o&&(z(y,"byteLength","_l"),z(_,"buffer","_b"),z(_,"byteLength","_l"),z(_,"byteOffset","_o")),l(_.prototype,{getInt8:function(t){return B(this,1,t)[0]<<24>>24},getUint8:function(t){return B(this,1,t)[0]},getInt16:function(t){var e=B(this,2,t,arguments[1]);return(e[1]<<8|e[0])<<16>>16},getUint16:function(t){var e=B(this,2,t,arguments[1]);return e[1]<<8|e[0]},getInt32:function(t){return N(B(this,4,t,arguments[1]))},getUint32:function(t){return N(B(this,4,t,arguments[1]))>>>0},getFloat32:function(t){return C(B(this,4,t,arguments[1]),23,4)},getFloat64:function(t){return C(B(this,8,t,arguments[1]),52,8)},setInt8:function(t,e){U(this,1,t,F,e)},setUint8:function(t,e){U(this,1,t,F,e)},setInt16:function(t,e){U(this,2,t,k,e,arguments[2])},setUint16:function(t,e){U(this,2,t,k,e,arguments[2])},setInt32:function(t,e){U(this,4,t,R,e,arguments[2])},setUint32:function(t,e){U(this,4,t,R,e,arguments[2])},setFloat32:function(t,e){U(this,4,t,D,e,arguments[2])},setFloat64:function(t,e){U(this,8,t,q,e,arguments[2])}});v(y,"ArrayBuffer"),v(_,"DataView"),s(_.prototype,i.VIEW,!0),e.ArrayBuffer=y,e.DataView=_},function(t,e,n){"use strict";var r=String.prototype.replace,o=/%20/g,a="RFC1738",i="RFC3986";t.exports={default:i,formatters:{RFC1738:function(t){return r.call(t,o,"+")},RFC3986:function(t){return String(t)}},RFC1738:a,RFC3986:i}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.render=e.getOffset=e.almScroll=e.start=e.tracking=e.tab=e.reset=e.filter=void 0;var r=F(n(64)),o=F(n(162));n(163);var a=F(n(164)),i=F(n(106)),s=F(n(166)),l=F(n(167)),c=F(n(66)),u=F(n(107)),d=N(n(169)),f=N(n(108)),p=n(109),g=F(n(170)),m=F(n(171)),h=F(n(49)),v=n(67),y=n(172),_=F(n(50)),b=F(n(70)),w=F(n(174)),x=F(n(175)),S=F(n(176)),A=F(n(177)),j=F(n(68)),P=n(178),L=n(51),M=n(179),E=n(180),O=n(181),T=n(185),I=n(65),C=n(110);function N(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function F(t){return t&&t.__esModule?t:{default:t}}function k(t){return function(){var e=t.apply(this,arguments);return new Promise((function(t,n){return function r(o,a){try{var i=e[o](a),s=i.value}catch(t){return void n(t)}if(!i.done)return Promise.resolve(s).then((function(t){r("next",t)}),(function(t){r("throw",t)}));t(s)}("next")}))}}n(186),n(359),n(360);var R=n(361),q=n(69);r.default.defaults.headers.common["X-Requested-With"]="XMLHttpRequest",o.default.polyfill();var D=!1;!function(){var t=function(t,e){alm_localize&&"true"===alm_localize.scrolltop&&window.scrollTo(0,0);var n=this;n.AjaxLoadMore={},n.addons={},n.extensions={},n.integration={},n.window=window,n.page=0,n.posts=0,n.totalposts=0,n.proceed=!1,n.disable_ajax=!1,n.init=!0,n.loading=!0,n.finished=!1,n.timer=null,n.rel="next",n.ua=window.navigator.userAgent?window.navigator.userAgent:"",n.vendor=window.navigator.vendor?window.navigator.vendor:"",n.isSafari=/Safari/i.test(n.ua)&&/Apple Computer/.test(n.vendor)&&!/Mobi|Android/i.test(n.ua),n.master_id=t.dataset.id?"ajax-load-more-"+t.dataset.id:t.id,t.classList.add("alm-"+e),t.setAttribute("data-alm-id",e),n.master_id=n.master_id.replace(/-/g,"_"),n.localize=window[n.master_id+"_vars"],n.main=t,n.listing=t.querySelector(".alm-listing")||t.querySelector(".alm-comments"),n.content=n.listing,n.el=n.content,n.ajax=t.querySelector(".alm-ajax"),n.container_type=n.listing.dataset.containerType,n.loading_style=n.listing.dataset.loadingStyle,n.canonical_url=t.dataset.canonicalUrl,n.nested=t.dataset.nested?t.dataset.nested:null,n.is_search=t.dataset.search,n.slug=t.dataset.slug,n.post_id=t.dataset.postId,n.id=t.dataset.id?t.dataset.id:"";var o=t.querySelector(".alm-no-results");if(n.no_results=o?o.innerHTML:"",n.repeater=n.listing.dataset.repeater,n.theme_repeater=n.listing.dataset.themeRepeater,n.post_type=n.listing.dataset.postType?n.listing.dataset.postType:"post",n.sticky_posts=n.listing.dataset.stickyPosts?n.listing.dataset.stickyPosts:null,n.btnWrap=t.querySelectorAll(".alm-btn-wrap"),n.btnWrap=Array.prototype.slice.call(n.btnWrap),n.btnWrap[n.btnWrap.length-1].style.visibility="visible",n.trigger=n.btnWrap[n.btnWrap.length-1],n.button=n.trigger.querySelector("button.alm-load-more-btn"),n.button_label=n.listing.dataset.buttonLabel,n.button_loading_label=n.listing.dataset.buttonLoadingLabel,n.button_done_label=n.listing.dataset.buttonDoneLabel,n.placeholder=n.main.querySelector(".alm-placeholder"),n.scroll_distance=n.listing.dataset.scrollDistance,n.scroll_distance=n.scroll_distance?n.scroll_distance:100,n.scroll_container=n.listing.dataset.scrollContainer,n.scroll_direction=n.listing.dataset.scrollDirection,n.max_pages=n.listing.dataset.maxPages?parseInt(n.listing.dataset.maxPages):0,n.pause_override=n.listing.dataset.pauseOverride,n.pause=!!n.listing.dataset.pause&&n.listing.dataset.pause,n.transition=n.listing.dataset.transition,n.transition_container=n.listing.dataset.transitionContainer,n.tcc=n.listing.dataset.transitionContainerClasses,n.speed=alm_localize.speed?parseInt(alm_localize.speed):200,n.images_loaded=!!n.listing.dataset.imagesLoaded&&n.listing.dataset.imagesLoaded,n.destroy_after=n.listing.dataset.destroyAfter?n.listing.dataset.destroyAfter:"",n.orginal_posts_per_page=parseInt(n.listing.dataset.postsPerPage),n.posts_per_page=n.listing.dataset.postsPerPage,n.offset=n.listing.dataset.offset?parseInt(n.listing.dataset.offset):0,n.lazy_images=!!n.listing.dataset.lazyImages&&n.listing.dataset.lazyImages,n.integration.woocommerce=!!n.listing.dataset.woocommerce&&n.listing.dataset.woocommerce,n.integration.woocommerce="true"===n.integration.woocommerce,n.is_search=void 0!==n.is_search&&n.is_search,n.search_value="true"===n.is_search?n.slug:"",n.addons.elementor=!("posts"!==n.listing.dataset.elementor||!n.listing.dataset.elementorSettings),n.addons.elementor&&(n=(0,T.elementorCreateParams)(n)),n.addons.woocommerce=!(!n.listing.dataset.woo||"true"!==n.listing.dataset.woo),n.addons.woocommerce&&n.listing.dataset.wooSettings&&(n.addons.woocommerce_settings=JSON.parse(n.listing.dataset.wooSettings),n.addons.woocommerce_settings.results_text=document.querySelectorAll(n.addons.woocommerce_settings.results),n.page=parseInt(n.page)+parseInt(n.addons.woocommerce_settings.paged)),n.addons.cache=n.listing.dataset.cache,n.addons.cache=void 0!==n.addons.cache&&n.addons.cache,"true"===n.addons.cache&&(n.addons.cache_id=n.listing.dataset.cacheId,n.addons.cache_path=n.listing.dataset.cachePath,n.addons.cache_logged_in=n.listing.dataset.cacheLoggedIn,n.addons.cache_logged_in=void 0!==n.addons.cache_logged_in&&n.addons.cache_logged_in),n.addons.cta=!!n.listing.dataset.cta&&n.listing.dataset.cta,"true"===n.addons.cta&&(n.addons.cta_position=n.listing.dataset.ctaPosition,n.addons.cta_repeater=n.listing.dataset.ctaRepeater,n.addons.cta_theme_repeater=n.listing.dataset.ctaThemeRepeater),n.addons.nextpage=n.listing.dataset.nextpage,"true"===n.addons.nextpage&&(n.addons.nextpage_urls=n.listing.dataset.nextpageUrls,n.addons.nextpage_scroll=n.listing.dataset.nextpageScroll,n.addons.nextpage_pageviews=n.listing.dataset.nextpagePageviews,n.addons.nextpage_post_id=n.listing.dataset.nextpagePostId,n.addons.nextpage_startpage=n.listing.dataset.nextpageStartpage,n.addons.nextpage_title_template=n.listing.dataset.nextpageTitleTemplate),n.addons.single_post=n.listing.dataset.singlePost,"true"===n.addons.single_post&&(n.addons.single_post_id=n.listing.dataset.singlePostId,n.addons.single_post_query=n.listing.dataset.singlePostQuery,n.addons.single_post_order=void 0===n.listing.dataset.singlePostOrder?"previous":n.listing.dataset.singlePostOrder,n.addons.single_post_init_id=n.listing.dataset.singlePostId,n.addons.single_post_taxonomy=void 0===n.listing.dataset.singlePostTaxonomy?"":n.listing.dataset.singlePostTaxonomy,n.addons.single_post_excluded_terms=void 0===n.listing.dataset.singlePostExcludedTerms?"":n.listing.dataset.singlePostExcludedTerms,n.addons.single_post_progress_bar=void 0===n.listing.dataset.singlePostProgressBar?"":n.listing.dataset.singlePostProgressBar,n.addons.single_post_target=void 0===n.listing.dataset.singlePostTarget?"":n.listing.dataset.singlePostTarget,n.addons.single_post_preview=void 0!==n.listing.dataset.singlePostPreview,n.addons.single_post_preview)){var w=n.listing.dataset.singlePostPreview.split(":");n.addons.single_post_preview_data={button_label:w[0]?w[0]:"Continue Reading",height:w[1]?w[1]:500,element:w[2]?w[2]:"default",className:"alm-single-post--preview"}}if(n.addons.comments=!!n.listing.dataset.comments&&n.listing.dataset.comments,"true"===n.addons.comments&&(n.addons.comments_post_id=n.listing.dataset.comments_post_id,n.addons.comments_per_page=n.listing.dataset.comments_per_page,n.addons.comments_per_page=void 0===n.addons.comments_per_page?"5":n.addons.comments_per_page,n.addons.comments_type=n.listing.dataset.comments_type,n.addons.comments_style=n.listing.dataset.comments_style,n.addons.comments_template=n.listing.dataset.comments_template,n.addons.comments_callback=n.listing.dataset.comments_callback),n.addons.tabs=n.listing.dataset.tabs,n.addons.filters=n.listing.dataset.filters,n.addons.seo=n.listing.dataset.seo,n.addons.preloaded=n.listing.dataset.preloaded,n.addons.preloaded_amount=n.listing.dataset.preloadedAmount?n.listing.dataset.preloadedAmount:0,n.is_preloaded="true"===n.listing.dataset.isPreloaded,n.addons.users="true"===n.listing.dataset.users,n.addons.users&&(n.orginal_posts_per_page=n.listing.dataset.usersPerPage,n.posts_per_page=n.listing.dataset.usersPerPage),n.extensions.restapi=n.listing.dataset.restapi,n.extensions.restapi_base_url=n.listing.dataset.restapiBaseUrl,n.extensions.restapi_namespace=n.listing.dataset.restapiNamespace,n.extensions.restapi_endpoint=n.listing.dataset.restapiEndpoint,n.extensions.restapi_template_id=n.listing.dataset.restapiTemplateId,n.extensions.restapi_debug=n.listing.dataset.restapiDebug,n.extensions.acf=n.listing.dataset.acf,n.extensions.acf_field_type=n.listing.dataset.acfFieldType,n.extensions.acf_field_name=n.listing.dataset.acfFieldName,n.extensions.acf_parent_field_name=n.listing.dataset.acfParentFieldName,n.extensions.acf_post_id=n.listing.dataset.acfPostId,n.extensions.acf="true"===n.extensions.acf,void 0!==n.extensions.acf_field_type&&void 0!==n.extensions.acf_field_name&&void 0!==n.extensions.acf_post_id||(n.extensions.acf=!1),n.extensions.term_query=n.listing.dataset.termQuery,n.extensions.term_query_taxonomy=n.listing.dataset.termQueryTaxonomy,n.extensions.term_query_hide_empty=n.listing.dataset.termQueryHideEmpty,n.extensions.term_query_number=n.listing.dataset.termQueryNumber,n.extensions.term_query="true"===n.extensions.term_query,n.addons.paging=n.listing.dataset.paging,"true"===n.addons.paging?(n.addons.paging=!0,n.addons.paging_init=!0,n.addons.paging_controls="true"===n.listing.dataset.pagingControls,n.addons.paging_show_at_most=n.listing.dataset.pagingShowAtMost,n.addons.paging_classes=n.listing.dataset.pagingClasses,n.addons.paging_show_at_most=void 0===n.addons.paging_show_at_most?7:n.addons.paging_show_at_most,n.addons.paging_first_label=n.listing.dataset.pagingFirstLabel,n.addons.paging_previous_label=n.listing.dataset.pagingPreviousLabel,n.addons.paging_next_label=n.listing.dataset.pagingNextLabel,n.addons.paging_last_label=n.listing.dataset.pagingLastLabel,n.addons.paging_scroll=!!n.listing.dataset.pagingScroll&&n.listing.dataset.pagingScroll,n.addons.paging_scrolltop=n.listing.dataset.pagingScrolltop?parseInt(n.listing.dataset.pagingScrolltop):100,n.pause="true"===n.addons.preloaded||n.pause):n.addons.paging=!1,"true"===n.addons.filters){n.addons.filters=!0,n.addons.filters_url="true"===n.listing.dataset.filtersUrl,n.addons.filters_target=!!n.listing.dataset.filtersTarget&&n.listing.dataset.filtersTarget,n.addons.filters_paging="true"===n.listing.dataset.filtersPaging,n.addons.filters_scroll="true"===n.listing.dataset.filtersScroll,n.addons.filters_scrolltop=n.listing.dataset.filtersScrolltop?n.listing.dataset.filtersScrolltop:"30",n.addons.filters_analtyics=n.listing.dataset.filtersAnalytics,n.addons.filters_debug=n.listing.dataset.filtersDebug,n.addons.filters_startpage=0,n.addons.filters_target||console.warn("Ajax Load More: Unable to locate target for Filters. Make sure you set a filters_target in core Ajax Load More.");var N=(0,a.default)("pg");n.addons.filters_startpage=null!==N?parseInt(N):0,!n.addons.paging&&n.addons.filters_startpage>0&&(n.posts_per_page=n.posts_per_page*n.addons.filters_startpage,n.isPaged=n.addons.filters_startpage>0)}else n.addons.filters=!1;if("true"===n.addons.tabs){if(n.addons.tabs=!0,n.addons.tab_template=n.listing.dataset.tabTemplate?n.listing.dataset.tabTemplate:"",n.addons.tab_onload=n.listing.dataset.tabOnload?n.listing.dataset.tabOnload:"",n.addons.tabs_resturl=n.listing.dataset.tabsRestUrl?n.listing.dataset.tabsRestUrl:"",""!==n.addons.tab_onload){var F=document.querySelector(".alm-tab-nav li [data-tab-url="+n.addons.tab_onload+"]");if(n.addons.tab_template=F?F.dataset.tabTemplate:n.addons.tab_template,n.listing.dataset.tabOnload="",F){var z=document.querySelector(".alm-tab-nav li .active");z&&z.classList.remove("active")}}}else n.addons.tabs=!1;if("true"===n.extensions.restapi?(n.extensions.restapi=!0,n.extensions.restapi_debug=void 0!==n.extensions.restapi_debug&&n.extensions.restapi_debug,n.extensions.restapi=""!==n.extensions.restapi_template_id&&n.extensions.restapi):n.extensions.restapi=!1,"true"===n.addons.preloaded?(n.addons.preloaded_amount=void 0===n.addons.preloaded_amount?n.posts_per_page:n.addons.preloaded_amount,n.localize&&n.localize.total_posts&&parseInt(n.localize.total_posts)<=parseInt(n.addons.preloaded_amount)&&(n.addons.preloaded_total_posts=n.localize.total_posts,n.disable_ajax=!0)):n.addons.preloaded="false",n.addons.seo=void 0!==n.addons.seo&&n.addons.seo,n.addons.seo="true"===n.addons.seo||n.addons.seo,n.addons.seo&&(n.addons.seo_permalink=n.listing.dataset.seoPermalink,n.addons.seo_pageview=n.listing.dataset.seoPageview,n.addons.seo_trailing_slash="false"===n.listing.dataset.seoTrailingSlash?"":"/",n.addons.seo_leading_slash="true"===n.listing.dataset.seoLeadingSlash?"/":""),n.start_page=n.listing.dataset.seoStartPage,n.start_page?(n.addons.seo_scroll=n.listing.dataset.seoScroll,n.addons.seo_scrolltop=n.listing.dataset.seoScrolltop,n.addons.seo_controls=n.listing.dataset.seoControls,n.isPaged=!1,n.start_page>1&&(n.isPaged=!0,n.posts_per_page=n.start_page*n.posts_per_page),n.addons.paging&&(n.posts_per_page=n.orginal_posts_per_page)):n.start_page=1,"true"===n.addons.nextpage?(n.addons.nextpage=!0,n.posts_per_page=1,void 0===n.addons.nextpage_urls&&(n.addons.nextpage_urls="true"),void 0===n.addons.nextpage_scroll&&(n.addons.nextpage_scroll="false:30"),void 0===n.addons.nextpage_pageviews&&(n.addons.nextpage_pageviews="true"),void 0===n.addons.nextpage_post_id&&(n.addons.nextpage=!1,n.addons.nextpage_post_id=null),void 0===n.addons.nextpage_startpage&&(n.addons.nextpage_startpage=1),n.addons.nextpage_startpage>1&&(n.isPaged=!0),n.addons.nextpage_postTitle=n.listing.dataset.nextpagePostTitle):n.addons.nextpage=!1,"true"===n.addons.single_post?(n.addons.single_post=!0,n.addons.single_post_permalink="",n.addons.single_post_title="",n.addons.single_post_slug="",n.addons.single_post_title_template=n.listing.dataset.singlePostTitleTemplate,n.addons.single_post_siteTitle=n.listing.dataset.singlePostSiteTitle,n.addons.single_post_siteTagline=n.listing.dataset.singlePostSiteTagline,n.addons.single_post_pageview=n.listing.dataset.singlePostPageview,n.addons.single_post_scroll=n.listing.dataset.singlePostScroll,n.addons.single_post_scroll_speed=n.listing.dataset.singlePostScrollSpeed,n.addons.single_post_scroll_top=n.listing.dataset.singlePostScrolltop,n.addons.single_post_controls=n.listing.dataset.singlePostControls):n.addons.single_post=!1,n.addons.single_post&&void 0===n.addons.single_post_id&&(n.addons.single_post_id="",n.addons.single_post_init_id=""),(void 0===n.pause||n.addons.seo&&n.start_page>1)&&(n.pause=!1),"true"===n.addons.preloaded&&n.addons.seo&&n.start_page>0&&(n.pause=!1),n.addons.filters&&n.addons.filters_startpage>0&&(n.pause=!1),"true"===n.addons.preloaded&&n.addons.paging&&(n.pause=!0),n.repeater=void 0===n.repeater?"default":n.repeater,n.theme_repeater=void 0!==n.theme_repeater&&n.theme_repeater,n.max_pages=void 0===n.max_pages||0===n.max_pages?9999:n.max_pages,n.scroll_distance=void 0===n.scroll_distance?100:n.scroll_distance,n.scroll_distance_perc=!1,-1==n.scroll_distance.toString().indexOf("%")?n.scroll_distance=parseInt(n.scroll_distance):(n.scroll_distance_perc=!0,n.scroll_distance_orig=parseInt(n.scroll_distance),n.scroll_distance=(0,A.default)(n)),n.scroll_container=void 0===n.scroll_container?"":n.scroll_container,n.scroll_direction=void 0===n.scroll_direction?"vertical":n.scroll_direction,n.transition=void 0===n.transition?"fade":n.transition,n.tcc=void 0===n.tcc?"":n.tcc,"masonry"===n.transition&&(n=(0,y.almMasonryConfig)(n)),void 0===n.listing.dataset.scroll?n.scroll=!0:"false"===n.listing.dataset.scroll?n.scroll=!1:n.scroll=!0,n.transition_container=void 0===n.transition_container||"true"===n.transition_container,n.button_label=void 0===n.button_label?"Load More":n.button_label,n.button_loading_label=void 0!==n.button_loading_label&&n.button_loading_label,n.button_done_label=void 0!==n.button_done_label&&n.button_done_label,n.addons.paging)n.main.classList.add("loading");else{var B=t.childNodes;if(B){var U=Array.prototype.slice.call(B).filter((function(t){return!!t.classList&&t.classList.contains("alm-btn-wrap")}));n.button=U?U[0].querySelector(".alm-load-more-btn"):container.querySelector(".alm-btn-wrap .alm-load-more-btn")}else n.button=container.querySelector(".alm-btn-wrap .alm-load-more-btn");n.button.disabled=!1,n.button.style.display=""}if(n.integration.woocommerce?(n.resultsText=document.querySelectorAll(".woocommerce-result-count"),n.resultsText.length<1&&(n.resultsText=document.querySelectorAll(".alm-results-text"))):n.resultsText=document.querySelectorAll(".alm-results-text"),n.resultsText?n.resultsText.forEach((function(t){t.setAttribute("aria-live","polite"),t.setAttribute("aria-atomic","true")})):n.resultsText=!1,n.tableofcontents=document.querySelector(".alm-toc"),n.tableofcontents?(n.tableofcontents.setAttribute("aria-live","polite"),n.tableofcontents.setAttribute("aria-atomic","true")):n.tableofcontents=!1,n.AjaxLoadMore.loadPosts=function(){if("function"==typeof almOnChange&&window.almOnChange(n),!n.disable_ajax)if(n.loading=!0,(0,P.showPlaceholder)(n),n.main.classList.add("alm-loading"),n.addons.paging||("prev"===n.rel?n.buttonPrev.classList.add("loading"):(n.button.classList.add("loading"),!1!==n.button_loading_label&&(n.button.innerHTML=n.button_loading_label))),"true"!==n.addons.cache||n.addons.cache_logged_in)n.AjaxLoadMore.ajax();else{var t=(0,l.default)(n);t?r.default.get(t).then((function(t){n.AjaxLoadMore.success(t.data,!0)})).catch((function(t){console.log(t),n.AjaxLoadMore.ajax()})):n.AjaxLoadMore.ajax()}},n.AjaxLoadMore.ajax=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"standard",e="alm_get_posts";n.acf_array="",n.extensions.acf&&("relationship"!==n.extensions.acf_field_type&&(e="alm_acf"),n.acf_array={acf:"true",post_id:n.extensions.acf_post_id,field_type:n.extensions.acf_field_type,field_name:n.extensions.acf_field_name,parent_field_name:n.extensions.acf_parent_field_name}),n.term_query_array="",n.extensions.term_query&&(e="alm_get_terms",n.term_query_array={term_query:"true",taxonomy:n.extensions.term_query_taxonomy,hide_empty:n.extensions.term_query_hide_empty,number:n.extensions.term_query_number}),n.nextpage_array="",n.addons.nextpage&&(e="alm_nextpage",n.nextpage_array={nextpage:"true",urls:n.addons.nextpage_urls,scroll:n.addons.nextpage_scroll,pageviews:n.addons.nextpage_pageviews,post_id:n.addons.nextpage_post_id,startpage:n.addons.nextpage_startpage,nested:n.nested}),n.single_post_array="",n.addons.single_post&&(n.single_post_array={single_post:"true",id:n.addons.single_post_id,slug:n.addons.single_post_slug}),n.comments_array="","true"===n.addons.comments&&(e="alm_comments",n.posts_per_page=n.addons.comments_per_page,n.comments_array={comments:"true",post_id:n.addons.comments_post_id,per_page:n.addons.comments_per_page,type:n.addons.comments_type,style:n.addons.comments_style,template:n.addons.comments_template,callback:n.addons.comments_callback}),n.users_array="",n.addons.users&&(e="alm_users",n.users_array={users:"true",role:n.listing.dataset.usersRole,include:n.listing.dataset.usersInclude,exclude:n.listing.dataset.usersExclude,per_page:n.posts_per_page,order:n.listing.dataset.usersOrder,orderby:n.listing.dataset.usersOrderby}),n.cta_array="","true"===n.addons.cta&&(n.cta_array={cta:"true",cta_position:n.addons.cta_position,cta_repeater:n.addons.cta_repeater,cta_theme_repeater:n.addons.cta_theme_repeater}),n.extensions.restapi?n.AjaxLoadMore.restapi(n,e,t):n.addons.tabs?n.AjaxLoadMore.tabs(n):n.AjaxLoadMore.adminajax(n,e,t)},n.AjaxLoadMore.adminajax=function(t,e,n){r.default.interceptors.request.use((function(t){return t.paramsSerializer=function(t){return R.stringify(t,{arrayFormat:"brackets",encode:!1})},t}));var o=alm_localize.ajaxurl,a=d.almGetAjaxParams(t,e,n);t.addons.single_post&&t.addons.single_post_target&&(o=t.addons.single_post_permalink+"?id="+t.addons.single_post_id+"&alm_page="+(parseInt(t.page)+1),a=""),t.addons.woocommerce&&(o=(0,v.getButtonURL)(t,t.rel),a=""),t.addons.elementor&&t.addons.elementor_type&&"posts"===t.addons.elementor_type&&(o=(0,v.getButtonURL)(t,t.rel),a=""),r.default.get(o,{params:a}).then((function(e){var r="";t.addons.single_post&&t.addons.single_post_target?(r=(0,M.singlePostHTML)(e,t.addons.single_post_target),(0,E.createCacheFile)(t,r.html,"single")):t.addons.woocommerce?(r=(0,O.wooGetContent)(e,t),(0,E.createCacheFile)(t,r.html,"woocommerce")):t.addons.elementor?(r=(0,T.elementorGetContent)(e,t),(0,E.createCacheFile)(t,r.html,"elementor")):r=e.data,"standard"===n?t.AjaxLoadMore.success(r,!1):"totalpages"===n&&t.addons.paging&&t.addons.nextpage?"function"==typeof almBuildPagination&&(window.almBuildPagination(r.totalpages,t),t.totalpages=r.totalpages):"totalposts"===n&&t.addons.paging&&"function"==typeof almBuildPagination&&window.almBuildPagination(r.totalposts,t)})).catch((function(e){t.AjaxLoadMore.error(e,"adminajax")}))},n.AjaxLoadMore.tabs=function(t){var e=t.addons.tabs_resturl+"ajaxloadmore/tab",n={post_id:t.post_id,template:t.addons.tab_template};r.default.interceptors.request.use((function(t){return t.paramsSerializer=function(t){return R.stringify(t,{arrayFormat:"brackets",encode:!1})},t})),r.default.get(e,{params:n}).then((function(e){var n={html:e.data.html,meta:{postcount:1,totalposts:1}};t.AjaxLoadMore.success(n,!1),"function"==typeof almTabLoaded&&window.almTabLoaded(t)})).catch((function(e){t.AjaxLoadMore.error(e,"restapi")}))},n.AjaxLoadMore.restapi=function(t,e,n){var o=wp.template(t.extensions.restapi_template_id),a=t.extensions.restapi_base_url+"/"+t.extensions.restapi_namespace+"/"+t.extensions.restapi_endpoint,i=d.almGetRestParams(t);r.default.interceptors.request.use((function(t){return t.paramsSerializer=function(t){return R.stringify(t,{arrayFormat:"brackets",encode:!1})},t})),r.default.get(a,{params:i}).then((function(e){for(var n=e.data,r="",a=n.html,i=n.meta,s=i&&i.postcount?i.postcount:0,l=i&&i.totalposts?i.totalposts:0,c=0;c<a.length;c++){var u=a[c];"true"===t.restapi_debug&&console.log(u),r+=o(u)}var d={html:r,meta:{postcount:s,totalposts:l}};t.AjaxLoadMore.success(d,!1)})).catch((function(e){t.AjaxLoadMore.error(e,"restapi")}))},n.addons.paging&&(n.addons.nextpage?n.AjaxLoadMore.ajax("totalpages"):n.AjaxLoadMore.ajax("totalposts")),n.AjaxLoadMore.success=function(e,r){var o=this;n.addons.single_post&&n.AjaxLoadMore.getSinglePost();var a=!1,l="table"===n.container_type?document.createElement("tbody"):document.createElement("div");n.el=l,l.style.opacity=0,l.style.height=0,l.style.outline="none";var d=n.listing.querySelector(".alm-paging-content"),f=void 0,v=void 0,w=void 0;if(r)f=e;else{f=e.html,v=e.meta,w=v?parseInt(v.postcount):parseInt(n.posts_per_page);var A=void 0!==v?v.totalposts:5*n.posts_per_page;n.totalposts="true"===n.addons.preloaded?A-n.addons.preloaded_amount:A,n.posts=n.addons.paging?w:n.posts+w,n.debug=v.debug?v.debug:"",v||console.warn("Ajax Load More: Unable to access `meta` object in Ajax response. There may be an issue in your Repeater Template or another hook causing interference.")}if(n.html=f,w=r?(0,c.default)(f).length:w,n.init&&(v&&(n.main.dataset.totalPosts=v.totalposts?v.totalposts:0),n.addons.paging&&w>0&&n.AjaxLoadMore.pagingInit(f,"alm-reveal"),0===w&&(n.addons.paging&&"function"==typeof almPagingEmpty&&window.almPagingEmpty(n),"function"==typeof almEmpty&&window.almEmpty(n),n.no_results&&setTimeout((function(){(0,x.default)(n.content,n.no_results)}),n.speed+10)),n.isPaged&&(n.posts_per_page=n.addons.users?n.listing.dataset.usersPerPage:n.listing.dataset.postsPerPage,n.posts_per_page=n.addons.nextpage?1:n.posts_per_page,n.page=n.start_page?n.start_page-1:n.page,n.addons.filters&&n.addons.filters_startpage>0&&(n.page=n.addons.filters_startpage-1,n.posts_per_page=n.listing.dataset.postsPerPage))),(0,S.default)(n),k(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,g.default)(n);case 2:case"end":return t.stop()}}),t,o)})))(),w>0){if(n.addons.paging)n.init?setTimeout((function(){n.main.classList.remove("alm-loading"),n.AjaxLoadMore.triggerAddons(n)}),n.speed):d&&((0,b.default)(d,n.speed),d.style.outline="none",n.main.classList.remove("alm-loading"),setTimeout((function(){d.style.opacity=0,d.innerHTML=n.html,q(d,(function(){n.AjaxLoadMore.triggerAddons(n),(0,_.default)(d,n.speed),setTimeout((function(){d.style.opacity="",m.default.init(d)}),parseInt(n.speed)+10),"function"==typeof almOnPagingComplete&&window.almOnPagingComplete(n)}))}),parseInt(n.speed)+25));else{if(n.addons.single_post){if(l.setAttribute("class","alm-reveal alm-single-post post-"+n.addons.single_post_id+(n.tcc?" "+n.tcc:"")),l.dataset.url=n.addons.single_post_permalink,n.addons.single_post_target?l.dataset.page=parseInt(n.page)+1:l.dataset.page=n.page,l.dataset.id=n.addons.single_post_id,l.dataset.title=n.addons.single_post_title,l.innerHTML=n.html,n.addons.single_post_preview&&n.addons.single_post_preview_data&&"function"==typeof almSinglePostCreatePreview){var P=window.almSinglePostCreatePreview(l,n.addons.single_post_id,n.addons.single_post_preview_data);l.replaceChildren(P||l)}}else if(n.transition_container){var M=void 0,E=window.location.search,N=n.addons.seo?" alm-seo":"",F=n.addons.filters?" alm-filters":"",R=n.is_preloaded?" alm-preloaded":"";if(n.init&&(n.start_page>1||n.addons.filters_startpage>0)){var z=[],B=[],U=parseInt(n.posts_per_page),W=Math.ceil(w/U);a=!0,"true"===n.addons.cta&&(U+=1,W=Math.ceil(w/U),w=W+w);for(var H=(0,u.default)((0,c.default)(n.html,"text/html")),V=0;V<w;V+=U)z.push(H.slice(V,U+V));for(var G=0;G<z.length;G++){var Y="true"===n.addons.preloaded?1:0,X=document.createElement("div");G>0||"true"===n.addons.preloaded?(M=G+1+Y,n.addons.seo&&(X=(0,C.createSEOAttributes)(n,X,E,N,M)),n.addons.filters&&(X.setAttribute("class","alm-reveal"+F+n.tcc),X.dataset.url=n.canonical_url+(0,I.buildFilterURL)(n,E,M),X.dataset.page=M)):(n.addons.seo&&(X=(0,C.createSEOAttributes)(n,X,E,N,1)),n.addons.filters&&(X.setAttribute("class","alm-reveal"+F+R+n.tcc),X.dataset.url=n.canonical_url+(0,I.buildFilterURL)(n,E,0),X.dataset.page="1")),(0,i.default)(X,z[G]),(0,j.default)(X,n.ua),B.push(X)}n.listing.style.opacity=0,n.listing.style.height=0,(0,i.default)(n.listing,B),l=n.listing,n.el=l}else{if(n.addons.seo&&n.page>0||"true"===n.addons.preloaded){var Q="true"===n.addons.preloaded?1:0;M=n.page+1+Q,n.addons.seo?l=(0,C.createSEOAttributes)(n,l,E,N,M):n.addons.filters?(l.setAttribute("class","alm-reveal"+F+n.tcc),l.dataset.url=n.canonical_url+(0,I.buildFilterURL)(n,E,M),l.dataset.page=M):l.setAttribute("class","alm-reveal"+n.tcc)}else n.addons.filters?(l.setAttribute("class","alm-reveal"+F+n.tcc),l.dataset.url=n.canonical_url+(0,I.buildFilterURL)(n,E,parseInt(n.page)+1),l.dataset.page=parseInt(n.page)+1):n.addons.seo?l=(0,C.createSEOAttributes)(n,l,E,N,1):l.setAttribute("class","alm-reveal"+n.tcc);l.innerHTML=n.html}}else n.el=n.html,l="table"===n.container_type?(0,s.default)(n.html):(0,u.default)((0,c.default)(n.html,"text/html"));if(n.addons.woocommerce)return k(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,O.woocommerce)(l,n,e.pageTitle);case 2:(0,O.woocommerceLoaded)(n);case 3:case"end":return t.stop()}}),t,this)})))().catch((function(t){console.log("Ajax Load More: There was an error loading woocommerce products.",t)})),void(n.init=!1);if(n.addons.elementor)return k(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,T.elementor)(l,n,e.pageTitle);case 2:(0,T.elementorLoaded)(n);case 3:case"end":return t.stop()}}),t,this)})))().catch((function(t){console.log("Ajax Load More: There was an error loading Elementor items.",t)})),void(n.init=!1);("masonry"!==n.transition||n.init&&"true"!==n.addons.preloaded)&&(a||(n.transition_container?n.listing.appendChild(l):"true"===n.images_loaded?q(l,(function(){(0,i.default)(n.listing,l),(0,j.default)(n.listing,n.ua)})):((0,i.default)(n.listing,l),(0,j.default)(n.listing,n.ua)))),"masonry"===n.transition?(n.el=n.listing,k(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,y.almMasonry)(n,n.init,D);case 2:n.masonry.init=!1,n.AjaxLoadMore.triggerWindowResize(),n.AjaxLoadMore.transitionEnd(),"function"==typeof almComplete&&window.almComplete(n),(0,L.lazyImages)(n);case 7:case"end":return t.stop()}}),t,this)})))().catch((function(t){console.log("There was an error with ALM Masonry")}))):"none"===n.transition&&n.transition_container?"true"===n.images_loaded?q(l,(function(){(0,_.default)(l,0),n.AjaxLoadMore.transitionEnd()})):((0,_.default)(l,0),n.AjaxLoadMore.transitionEnd()):"true"===n.images_loaded?q(l,(function(){n.transition_container&&(0,_.default)(l,n.speed),n.AjaxLoadMore.transitionEnd()})):(n.transition_container&&(0,_.default)(l,n.speed),n.AjaxLoadMore.transitionEnd()),n.addons.tabs&&"function"==typeof almTabsSetHeight&&q(l,(function(){(0,_.default)(n.listing,n.speed),setTimeout((function(){window.almTabsSetHeight(n)}),n.speed)}))}q(l,(function(){n.AjaxLoadMore.nested(l),m.default.init(n.el),"function"==typeof almComplete&&"masonry"!==n.transition&&window.almComplete(n),(0,L.lazyImages)(n),D&&n.addons.filters&&"function"==typeof almFiltersAddonComplete&&window.almFiltersAddonComplete(t),D=!1,n.addons.tabs&&"function"==typeof almTabsComplete&&window.almTabsComplete(),n.addons.cache?n.addons.nextpage&&n.localize?parseInt(n.localize.page)===parseInt(n.localize.total_posts)&&n.AjaxLoadMore.triggerDone():w<parseInt(n.posts_per_page)&&n.AjaxLoadMore.triggerDone():n.posts>=n.totalposts&&!n.addons.single_post&&n.AjaxLoadMore.triggerDone()})),"function"==typeof almFiltersOnload&&n.init&&window.almFiltersOnload(n)}else n.AjaxLoadMore.noresults();if(void 0!==n.destroy_after&&""!==n.destroy_after){var $=n.page+1;($="true"===n.addons.preloaded?$++:$)==n.destroy_after&&n.AjaxLoadMore.destroyed()}(0,p.tableOfContents)(n,n.init),"masonry"!==n.transition&&(0,h.default)(n,l,w,D),n.main.classList.contains("alm-is-filtering")&&n.main.classList.remove("alm-is-filtering"),n.init=!1},n.AjaxLoadMore.noresults=function(){n.addons.paging||(setTimeout((function(){n.button.classList.remove("loading"),n.button.classList.add("done")}),n.speed),n.AjaxLoadMore.resetBtnText()),"function"==typeof almComplete&&"masonry"!==n.transition&&window.almComplete(n),D&&n.addons.filters&&("function"==typeof almFiltersAddonComplete&&almFiltersAddonComplete(t),D=!1),n.addons.tabs&&"function"==typeof almTabsComplete&&almTabsComplete(),"masonry"===n.transition&&(n.content.style.height="auto"),n.AjaxLoadMore.triggerDone()},n.AjaxLoadMore.pagingPreloadedInit=function(t){t=null==t?"":t,n.AjaxLoadMore.pagingInit(t,"alm-reveal"),""===t&&("function"==typeof almPagingEmpty&&window.almPagingEmpty(n),"function"==typeof almEmpty&&window.almEmpty(n),n.no_results&&(0,x.default)(n.content,n.no_results))},n.AjaxLoadMore.pagingNextpageInit=function(t){t=null==t?"":t,n.AjaxLoadMore.pagingInit(t,"alm-reveal alm-nextpage"),"function"==typeof almSetNextPageVars&&window.almSetNextPageVars(n)},n.AjaxLoadMore.pagingInit=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"alm-reveal";t=null==t?"":t;var r=document.createElement("div");r.setAttribute("class",e);var o=document.createElement("div");o.setAttribute("class","alm-paging-content"+n.tcc),o.innerHTML=t,r.appendChild(o);var a=document.createElement("div");a.setAttribute("class","alm-paging-loading"),r.appendChild(a),n.listing.appendChild(r);var i=window.getComputedStyle(n.listing),s=parseInt(i.getPropertyValue("padding-top").replace("px","")),l=parseInt(i.getPropertyValue("padding-bottom").replace("px","")),c=r.offsetHeight;n.listing.style.height=c+s+l+"px",m.default.init(r),n.AjaxLoadMore.resetBtnText(),setTimeout((function(){"function"==typeof almFadePageControls&&window.almFadePageControls(n.btnWrap),"function"==typeof almOnWindowResize&&window.almOnWindowResize(n),n.main.classList.remove("loading")}),n.speed)},n.AjaxLoadMore.nested=function(t){if(!t||!n.transition_container)return!1;var e=t.querySelectorAll(".ajax-load-more-wrap");e&&e.forEach((function(t){window.almInit(t)}))},n.addons.single_post_id&&(n.fetchingPreviousPost=!1,n.addons.single_post_init=!0),n.AjaxLoadMore.getSinglePost=function(){if(n.fetchingPreviousPost)return!1;n.fetchingPreviousPost=!0;var t=alm_localize.ajaxurl,e={id:n.addons.single_post_id,initial_id:n.addons.single_post_init_id,order:n.addons.single_post_order,taxonomy:n.addons.single_post_taxonomy,excluded_terms:n.addons.single_post_excluded_terms,post_type:n.post_type,init:n.addons.single_post_init,action:"alm_get_single"};r.default.get(t,{params:e}).then((function(t){var e=t.data;e.has_previous_post?(n.listing.dataset.singlePostId=e.prev_id,n.addons.single_post_id=e.prev_id,n.addons.single_post_permalink=e.prev_permalink,n.addons.single_post_title=e.prev_title,n.addons.single_post_slug=e.prev_slug):e.has_previous_post||n.AjaxLoadMore.triggerDone(),"function"==typeof window.almSetSinglePost&&window.almSetSinglePost(n,e.current_id,e.permalink,e.title),n.fetchingPreviousPost=!1,n.addons.single_post_init=!1})).catch((function(t){n.AjaxLoadMore.error(t,"getSinglePost"),n.fetchingPreviousPost=!1}))},n.AjaxLoadMore.triggerAddons=function(t){"function"==typeof almSetNextPage&&t.addons.nextpage&&window.almSetNextPage(t),"function"==typeof almSEO&&t.addons.seo&&window.almSEO(t,!1),"function"==typeof almWooCommerce&&t.addons.woocommerce&&window.almWooCommerce(t),"function"==typeof almElementor&&t.addons.elementor&&window.almElementor(t)},n.AjaxLoadMore.triggerDone=function(){n.loading=!1,n.finished=!0,(0,P.hidePlaceholder)(n),n.addons.paging||(!1!==n.button_done_label&&setTimeout((function(){n.button.innerHTML=n.button_done_label}),75),n.button.classList.add("done"),n.button.removeAttribute("rel"),n.button.disabled=!0),"function"==typeof almDone&&setTimeout((function(){window.almDone(n)}),n.speed+10)},n.AjaxLoadMore.triggerDonePrev=function(){n.loading=!1,(0,P.hidePlaceholder)(n),n.addons.paging||(n.buttonPrev.classList.add("done"),n.buttonPrev.removeAttribute("rel"),n.buttonPrev.disabled=!0),"function"==typeof almDonePrev&&setTimeout((function(){window.almDonePrev(n)}),n.speed+10)},n.AjaxLoadMore.resetBtnText=function(){!1===n.button_loading_label||n.addons.paging||(n.button.innerHTML=n.button_label)},n.AjaxLoadMore.error=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;n.loading=!1,n.addons.paging||(n.button.classList.remove("loading"),n.AjaxLoadMore.resetBtnText()),console.log("Error: ",t),t.response?console.log("Error Msg: ",t.message):t.request?console.log(t.request):console.log("Error Msg: ",t.message),e&&console.log("ALM Error started in "+e),t.config&&console.log("ALM Error Debug: ",t.config)},n.AjaxLoadMore.click=function(t){var e=t.target||t.currentTarget;n.rel="next","true"===n.pause&&(n.pause=!1,n.pause_override=!1,n.AjaxLoadMore.loadPosts()),n.loading||n.finished||e.classList.contains("done")||(n.loading=!0,n.page++,n.AjaxLoadMore.loadPosts()),e.blur()},n.AjaxLoadMore.prevClick=function(t){var e=t.target||t.currentTarget;t.preventDefault(),n.loading||e.classList.contains("done")||(n.loading=!0,n.pagePrev--,n.rel="prev",n.AjaxLoadMore.loadPosts(),e.blur())},n.AjaxLoadMore.setPreviousButton=function(t){n.pagePrev=n.page,n.buttonPrev=t},n.addons.paging||n.fetchingPreviousPost||(n.button.onclick=n.AjaxLoadMore.click),n.addons.paging||n.addons.tabs||n.scroll_distance_perc||"horizontal"===n.scroll_direction){var W=void 0;n.window.onresize=function(){clearTimeout(W),W=setTimeout((function(t){n.addons.tabs&&"function"==typeof almOnTabsWindowResize&&window.almOnTabsWindowResize(n),n.addons.paging&&"function"==typeof almOnWindowResize&&window.almOnWindowResize(n),n.scroll_distance_perc&&(n.scroll_distance=(0,A.default)(n)),"horizontal"===n.scroll_direction&&n.AjaxLoadMore.horizontal()}),n.speed)}}n.AjaxLoadMore.isVisible=function(){return n.visible=n.main.clientWidth>0&&n.main.clientHeight>0,n.visible},n.AjaxLoadMore.triggerWindowResize=function(){if("function"==typeof Event)window.dispatchEvent(new Event("resize"));else{var t=window.document.createEvent("UIEvents");t.initUIEvent("resize",!0,!1,window,0),window.dispatchEvent(t)}},n.AjaxLoadMore.scroll=function(){n.timer&&clearTimeout(n.timer),n.timer=setTimeout((function(){if(n.AjaxLoadMore.isVisible()&&!n.fetchingPreviousPost){var t=n.trigger.getBoundingClientRect(),e=Math.round(t.top-n.window.innerHeight)+n.scroll_distance<=0;if(n.window!==window){var r=n.main.offsetHeight,o=n.main.offsetWidth;"horizontal"===n.scroll_direction?(n.AjaxLoadMore.horizontal(),e=o<=Math.round(n.window.scrollLeft+n.window.offsetWidth-n.scroll_distance)):e=r<=Math.round(n.window.scrollTop+n.window.offsetHeight-n.scroll_distance)}(!n.loading&&!n.finished&&e&&n.page<n.max_pages-1&&n.proceed&&"true"===n.pause&&"true"===n.pause_override||!n.loading&&!n.finished&&e&&n.page<n.max_pages-1&&n.proceed&&"true"!==n.pause)&&n.button.click()}}),25)},n.AjaxLoadMore.scrollSetup=function(){n.scroll&&!n.addons.paging&&(""!==n.scroll_container&&(n.window=document.querySelector(n.scroll_container)?document.querySelector(n.scroll_container):n.window,setTimeout((function(){n.AjaxLoadMore.horizontal()}),500)),n.window.addEventListener("scroll",n.AjaxLoadMore.scroll),n.window.addEventListener("touchstart",n.AjaxLoadMore.scroll),n.window.addEventListener("wheel",(function(t){Math.sign(t.deltaY)>0&&n.AjaxLoadMore.scroll()})),n.window.addEventListener("keyup",(function(t){switch(t.key?t.key:t.code){case 35:case 34:n.AjaxLoadMore.scroll()}})))},n.AjaxLoadMore.horizontal=function(){"horizontal"===n.scroll_direction&&(n.main.style.width=n.listing.offsetWidth+"px")},n.AjaxLoadMore.destroyed=function(){n.disable_ajax=!0,n.addons.paging||(n.button.style.display="none",n.AjaxLoadMore.triggerDone(),"function"==typeof almDestroyed&&window.almDestroyed(n))},n.AjaxLoadMore.transitionEnd=function(){setTimeout((function(){n.AjaxLoadMore.resetBtnText(),n.main.classList.remove("alm-loading"),"prev"===n.rel?n.buttonPrev.classList.remove("loading"):n.button.classList.remove("loading"),n.AjaxLoadMore.triggerAddons(n),n.addons.paging||setTimeout((function(){n.loading=!1}),3*n.speed)}),50),(0,P.hidePlaceholder)(n)},n.AjaxLoadMore.setLocalizedVar=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";n.localize&&""!==t&&""!==e&&(n.localize[t]=e.toString(),window[n.master_id+"_vars"][t]=e.toString())},n.AjaxLoadMore.init=function(){if("true"===n.addons.preloaded&&1==n.destroy_after&&n.AjaxLoadMore.destroyed(),n.addons.paging||n.addons.single_post||(n.disable_ajax?(n.finished=!0,n.button.classList.add("done")):(n.button.innerHTML=n.button_label,"true"===n.pause?n.loading=!1:n.AjaxLoadMore.loadPosts())),n.addons.single_post&&(n.AjaxLoadMore.getSinglePost(),n.loading=!1,n.addons.single_post_query&&""===n.addons.single_post_order&&n.AjaxLoadMore.triggerDone(),(0,p.tableOfContents)(n,!0,!0)),"true"===n.addons.preloaded&&n.addons.seo&&!n.addons.paging&&setTimeout((function(){"function"==typeof almSEO&&n.start_page<1&&window.almSEO(n,!0)}),n.speed),"true"!==n.addons.preloaded||n.addons.paging||setTimeout((function(){n.addons.preloaded_total_posts<=parseInt(n.addons.preloaded_amount)&&n.AjaxLoadMore.triggerDone(),0==n.addons.preloaded_total_posts&&("function"==typeof almEmpty&&window.almEmpty(n),n.no_results&&(0,x.default)(n.content,n.no_results))}),n.speed),"true"===n.addons.preloaded&&(n.resultsText&&f.almInitResultsText(n,"preloaded"),(0,p.tableOfContents)(n,n.init,!0)),n.addons.nextpage){if(n.listing.querySelector(".alm-nextpage")&&!n.addons.paging){var t=n.listing.querySelectorAll(".alm-nextpage");if(t){var e=t[0],r=e.dataset.totalPosts?parseInt(e.dataset.totalPosts):n.localize.total_posts;t.length!==r&&parseInt(e.dataset.id)!==r||n.AjaxLoadMore.triggerDone()}}n.resultsText&&f.almInitResultsText(n,"nextpage"),(0,p.tableOfContents)(n,n.init,!0)}n.addons.woocommerce&&((0,O.wooInit)(n),n.addons.woocommerce_settings.paged>=parseInt(n.addons.woocommerce_settings.pages)&&n.AjaxLoadMore.triggerDone()),n.addons.elementor&&n.addons.elementor_type&&"posts"===n.addons.elementor_type&&((0,T.elementorInit)(n),""===n.addons.elementor_next_page_url&&n.AjaxLoadMore.triggerDone()),n.window.addEventListener("load",(function(){"masonry"===n.transition&&"true"===n.addons.preloaded&&k(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,y.almMasonry)(n,!0,!1);case 2:n.masonry.init=!1;case 3:case"end":return t.stop()}}),t,this)})))().catch((function(t){console.log("There was an error with ALM Masonry")})),"function"==typeof almOnLoad&&window.almOnLoad(n)}))},window.almUpdateCurrentPage=function(t,e,n){n.page=t,n.page=n.addons.nextpage&&!n.addons.paging?n.page-1:n.page;var r="",o="";n.addons.paging_init&&"true"===n.addons.preloaded?((o=n.listing.querySelector(".alm-reveal")||n.listing.querySelector(".alm-nextpage"))&&(r=o.innerHTML,o.parentNode.removeChild(o),n.addons.preloaded_amount=0,n.AjaxLoadMore.pagingPreloadedInit(r)),n.addons.paging_init=!1,n.init=!1):n.addons.paging_init&&n.addons.nextpage?((o=n.listing.querySelector(".alm-reveal")||n.listing.querySelector(".alm-nextpage"))&&(r=o.innerHTML,o.parentNode.removeChild(o),n.AjaxLoadMore.pagingNextpageInit(r)),n.addons.paging_init=!1,n.init=!1):n.AjaxLoadMore.loadPosts()},window.almGetParentContainer=function(){return n.listing},window.almGetObj=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return""!==t?n[t]:n},window.almTriggerClick=function(){n.button.click()},setTimeout((function(){n.proceed=!0,n.AjaxLoadMore.scrollSetup()}),500),n.AjaxLoadMore.init()};window.almInit=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;new t(e,n)};var e=document.querySelectorAll(".ajax-load-more-wrap");e.length&&[].concat(function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}(e)).forEach((function(e,n){new t(e,n)}))}();e.filter=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"fade",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"200",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";if(!t||!e||!n)return!1;D=!0,(0,w.default)(t,e,n,"filter")};e.reset=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e={};D=!0,t&&t.target&&(e={target:target}),t&&"woocommerce"===t.type?k(regeneratorRuntime.mark((function t(){var n,r;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=document.querySelector('.ajax-load-more-wrap .alm-listing[data-woo="true"]'),t.next=3,(0,O.wooReset)();case 3:(r=t.sent)&&(n.dataset.wooSettings=r,(0,w.default)("fade","100",e,"filter"));case 5:case"end":return t.stop()}}),t,this)})))().catch((function(){console.warn("Ajax Load More: There was an resetting the Ajax Load More instance.")})):(0,w.default)("fade","200",e,"filter")};e.tab=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e="fade",n=alm_localize.speed?parseInt(alm_localize.speed):200;if(!t)return!1;D=!0,(0,w.default)(e,n,t,"tab")};e.tracking=function(t){"function"==typeof gtag&&(gtag("event","page_view",{page_path:t}),alm_localize.ga_debug&&console.log("Pageview sent to Google Analytics (gtag)")),"function"==typeof ga&&(ga("send","pageview",t),alm_localize.ga_debug&&console.log("Pageview sent to Google Analytics (ga)")),"function"==typeof __gaTracker&&(__gaTracker("send","pageview",t),alm_localize.ga_debug&&console.log("Pageview sent to Google Analytics (__gaTracker)")),"function"==typeof almAnalytics&&window.almAnalytics(t)};e.start=function(t){if(!t)return!1;window.almInit(t)};e.almScroll=function(t){if(!t)return!1;window.scrollTo({top:t,behavior:"smooth"})};e.getOffset=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(!t)return!1;var e=t.getBoundingClientRect(),n=window.pageXOffset||document.documentElement.scrollLeft,r=window.pageYOffset||document.documentElement.scrollTop;return{top:e.top+r,left:e.left+n}};e.render=function(t){if(!t)return!1}},function(t,e,n){"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return t.apply(e,n)}}},function(t,e,n){"use strict";var r=n(11);function o(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,n){if(!e)return t;var a;if(n)a=n(e);else if(r.isURLSearchParams(e))a=e.toString();else{var i=[];r.forEach(e,(function(t,e){null!=t&&(r.isArray(t)?e+="[]":t=[t],r.forEach(t,(function(t){r.isDate(t)?t=t.toISOString():r.isObject(t)&&(t=JSON.stringify(t)),i.push(o(e)+"="+o(t))})))})),a=i.join("&")}if(a){var s=t.indexOf("#");-1!==s&&(t=t.slice(0,s)),t+=(-1===t.indexOf("?")?"?":"&")+a}return t}},function(t,e,n){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},function(t,e,n){"use strict";(function(e){var r=n(11),o=n(150),a={"Content-Type":"application/x-www-form-urlencoded"};function i(t,e){!r.isUndefined(t)&&r.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var s,l={adapter:(("undefined"!=typeof XMLHttpRequest||void 0!==e&&"[object process]"===Object.prototype.toString.call(e))&&(s=n(102)),s),transformRequest:[function(t,e){return o(e,"Accept"),o(e,"Content-Type"),r.isFormData(t)||r.isArrayBuffer(t)||r.isBuffer(t)||r.isStream(t)||r.isFile(t)||r.isBlob(t)?t:r.isArrayBufferView(t)?t.buffer:r.isURLSearchParams(t)?(i(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):r.isObject(t)?(i(e,"application/json;charset=utf-8"),JSON.stringify(t)):t}],transformResponse:[function(t){if("string"==typeof t)try{t=JSON.parse(t)}catch(t){}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300}};l.headers={common:{Accept:"application/json, text/plain, */*"}},r.forEach(["delete","get","head"],(function(t){l.headers[t]={}})),r.forEach(["post","put","patch"],(function(t){l.headers[t]=r.merge(a)})),t.exports=l}).call(this,n(149))},function(t,e,n){"use strict";var r=n(11),o=n(151),a=n(153),i=n(99),s=n(154),l=n(157),c=n(158),u=n(103);t.exports=function(t){return new Promise((function(e,n){var d=t.data,f=t.headers;r.isFormData(d)&&delete f["Content-Type"];var p=new XMLHttpRequest;if(t.auth){var g=t.auth.username||"",m=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";f.Authorization="Basic "+btoa(g+":"+m)}var h=s(t.baseURL,t.url);if(p.open(t.method.toUpperCase(),i(h,t.params,t.paramsSerializer),!0),p.timeout=t.timeout,p.onreadystatechange=function(){if(p&&4===p.readyState&&(0!==p.status||p.responseURL&&0===p.responseURL.indexOf("file:"))){var r="getAllResponseHeaders"in p?l(p.getAllResponseHeaders()):null,a={data:t.responseType&&"text"!==t.responseType?p.response:p.responseText,status:p.status,statusText:p.statusText,headers:r,config:t,request:p};o(e,n,a),p=null}},p.onabort=function(){p&&(n(u("Request aborted",t,"ECONNABORTED",p)),p=null)},p.onerror=function(){n(u("Network Error",t,null,p)),p=null},p.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),n(u(e,t,"ECONNABORTED",p)),p=null},r.isStandardBrowserEnv()){var v=(t.withCredentials||c(h))&&t.xsrfCookieName?a.read(t.xsrfCookieName):void 0;v&&(f[t.xsrfHeaderName]=v)}if("setRequestHeader"in p&&r.forEach(f,(function(t,e){void 0===d&&"content-type"===e.toLowerCase()?delete f[e]:p.setRequestHeader(e,t)})),r.isUndefined(t.withCredentials)||(p.withCredentials=!!t.withCredentials),t.responseType)try{p.responseType=t.responseType}catch(e){if("json"!==t.responseType)throw e}"function"==typeof t.onDownloadProgress&&p.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&p.upload&&p.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){p&&(p.abort(),n(t),p=null)})),d||(d=null),p.send(d)}))}},function(t,e,n){"use strict";var r=n(152);t.exports=function(t,e,n,o,a){var i=new Error(t);return r(i,e,n,o,a)}},function(t,e,n){"use strict";var r=n(11);t.exports=function(t,e){e=e||{};var n={},o=["url","method","data"],a=["headers","auth","proxy","params"],i=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],s=["validateStatus"];function l(t,e){return r.isPlainObject(t)&&r.isPlainObject(e)?r.merge(t,e):r.isPlainObject(e)?r.merge({},e):r.isArray(e)?e.slice():e}function c(o){r.isUndefined(e[o])?r.isUndefined(t[o])||(n[o]=l(void 0,t[o])):n[o]=l(t[o],e[o])}r.forEach(o,(function(t){r.isUndefined(e[t])||(n[t]=l(void 0,e[t]))})),r.forEach(a,c),r.forEach(i,(function(o){r.isUndefined(e[o])?r.isUndefined(t[o])||(n[o]=l(void 0,t[o])):n[o]=l(void 0,e[o])})),r.forEach(s,(function(r){r in e?n[r]=l(t[r],e[r]):r in t&&(n[r]=l(void 0,t[r]))}));var u=o.concat(a).concat(i).concat(s),d=Object.keys(t).concat(Object.keys(e)).filter((function(t){return-1===u.indexOf(t)}));return r.forEach(d,c),n}},function(t,e,n){"use strict";function r(t){this.message=t}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,t.exports=r},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,o=n(165),a=(r=o)&&r.__esModule?r:{default:r};e.default=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"fade";if(!t||!e)return!1;for(var r=0;r<e.length;r++){var o=e[r];(0,a.default)(t,o,n)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(!t)return!1;var e=["#text","#comment"],n=t.filter((function(t){return-1===e.indexOf(t.nodeName.toLowerCase())}));return n}},function(t,e,n){"use strict";function r(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"standard";if(!t.resultsText||!t.localize||"true"===t.nested)return!1;var n=0,r=0,a=0,i=0,s="true"===t.addons.preloaded,l=!!t.addons.paging,c=t.orginal_posts_per_page;switch(e){case"nextpage":a=n=parseInt(t.localize.page),r=parseInt(t.localize.total_posts),i=parseInt(r),o(t.resultsText,n,r,a,i);break;case"woocommerce":break;default:n=parseInt(t.page)+1,r=Math.ceil(t.localize.total_posts/c),a=parseInt(t.localize.post_count),i=parseInt(t.localize.total_posts),s&&(n=l?t.page+1:n+1),o(t.resultsText,n,r,a,i)}}Object.defineProperty(e,"__esModule",{value:!0}),e.almResultsText=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"standard";if(!t.resultsText||"true"===t.nested)return!1;var n="nextpage"===e||"woocommerce"===e?e:"standard";r(t,n)},e.almGetResultsText=r,e.almInitResultsText=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"standard";if(!t.resultsText||!t.localize||"true"===t.nested)return!1;var n=0,r=Math.ceil(t.localize.total_posts/t.orginal_posts_per_page),a=parseInt(t.localize.post_count),i=parseInt(t.localize.total_posts);switch(e){case"nextpage":n=t.addons.nextpage_startpage,a=n,r=i,o(t.resultsText,n,i,a,i);break;case"preloaded":n=t.addons.paging&&t.addons.seo?parseInt(t.start_page)+1:parseInt(t.page)+1,o(t.resultsText,n,r,a,i);break;case"woocommerce":break;default:console.log("No results to set.")}};var o=function(t,e,n,r,o){t.forEach((function(t){var a=(n=parseInt(n))>0?alm_localize.results_text:alm_localize.no_results_text;n>0?(a=(a=(a=(a=(a=(a=a.replace("{num}",'<span class="alm-results-num">'+e+"</span>")).replace("{page}",'<span class="alm-results-page">'+e+"</span>")).replace("{total}",'<span class="alm-results-total">'+n+"</span>")).replace("{pages}",'<span class="alm-results-pages">'+n+"</span>")).replace("{post_count}",'<span class="alm-results-post_count">'+r+"</span>")).replace("{total_posts}",'<span class="alm-results-total_posts">'+o+"</span>"),t.innerHTML=a):t.innerHTML=a}))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.tableOfContents=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=t.localize&&t.localize.post_count?parseInt(t.localize.post_count):0;if(0==r&&!t.addons.single_post)return!1;if(t&&t.tableofcontents&&t.transition_container&&"masonry"!==t.transition){var o=t.tableofcontents.dataset.offset?parseInt(t.tableofcontents.dataset.offset):30,a=t.start_page?parseInt(t.start_page):0,i=t.addons.filters_startpage?parseInt(t.addons.filters_startpage):0,l=t.addons.nextpage_startpage?parseInt(t.addons.nextpage_startpage):0,c=parseInt(t.page),u="true"===t.addons.preloaded;if(t.addons.paging||t.addons.nextpage)return!1;e?setTimeout((function(){if(t.addons.seo&&a>1||t.addons.filters&&i>1||t.addons.nextpage&&l>1){if(t.addons.seo&&a>1)for(var e=0;e<a;e++)s(t,e,o);if(t.addons.filters&&i>1)for(var r=0;r<i;r++)s(t,r,o);if(t.addons.nextpage&&l>1)for(var d=0;d<l;d++)s(t,d,o)}else!n&&u&&(c+=1),s(t,c,o)}),100):(u&&(t.addons.seo&&a>0||t.addons.filters&&i>0?c=c:c+=1),s(t,c,o))}},e.clearTOC=function(){var t=document.querySelector(".alm-toc");t&&(t.innerHTML="")};var r,o=n(97),a=n(49),i=(r=a)&&r.__esModule?r:{default:r};function s(t,e,n){if(!t.tableofcontents)return!1;var r=document.createElement("button");r.type="button",e=parseInt(e)+1,r.innerHTML=function(t,e){var n=e;if(t.addons.single_post){var r=e-1,o=void 0;if(t.addons.single_post_target){t.init?r=r:r+=1;var a=document.querySelectorAll(".alm-reveal.alm-single-post");a&&(o=a[r])}else o=document.querySelector(".alm-reveal.alm-single-post[data-page="+(e-1)+"]");n=o?o.dataset.title:n}var i="almTOCLabel_"+t.id;"function"==typeof window[i]&&(n=window[i](e,n));return n}(t,e),r.dataset.page=t.addons.single_post_target&&t.init?e-1:e,t.tableofcontents.appendChild(r),r.addEventListener("click",(function(e){var r=this.dataset.page,a=document.querySelector(".alm-reveal:nth-child("+r+")")||document.querySelector(".alm-nextpage:nth-child("+r+")");if(t.addons.single_post_target&&(a=document.querySelector('.alm-reveal.alm-single-post[data-page="'+r+'"]')),!a)return!1;var s="function"==typeof o.getOffset?(0,o.getOffset)(a).top:a.offsetTop;(0,o.almScroll)(s-n),setTimeout((function(){(0,i.default)(t,a,r,!1)}),1e3)}))}},function(t,e,n){"use strict";function r(t,e,n,r,o){return e.classList.add(r),e.dataset.page=o,"default"===t.addons.seo_permalink?e.dataset.url=o>1?t.canonical_url+n+"&paged="+o:t.canonical_url+n:e.dataset.url=o>1?t.canonical_url+t.addons.seo_leading_slash+"page/"+o+t.addons.seo_trailing_slash+n:t.canonical_url+n,e}Object.defineProperty(e,"__esModule",{value:!0}),e.createMasonrySEOPage=function(t,e){if(!t.addons.seo)return e;var n=window.location.search,o=t.page+1;return o="true"===t.addons.preloaded?o+1:o,e=r(t,e,n,"alm-seo",o)},e.createMasonrySEOPages=function(t,e){if(!t.addons.seo)return e;var n=1,o=t.page,a=window.location.search;if(t.start_page>1){for(var i=parseInt(t.posts_per_page),s=[],l=0;l<e.length;l+=i)s.push(e.slice(l,i+l));for(var c=0;c<s.length;c++){var u=c>0?c*i:0;n=c+1,e[u]&&(e[u]=r(t,e[u],a,"alm-seo",n))}}else n=o,e[0]=r(t,e[0],a,"alm-seo",n);return e},e.createSEOAttributes=function(t,e,n,r,o){e.setAttribute("class","alm-reveal"+r+t.tcc),e.dataset.page=o,"default"===t.addons.seo_permalink?e.dataset.url=o>1?t.canonical_url+n+"&paged="+o:t.canonical_url+n:e.dataset.url=o>1?t.canonical_url+t.addons.seo_leading_slash+"page/"+o+t.addons.seo_trailing_slash+n:t.canonical_url+n;return e}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=a(n(183)),o=a(n(49));function a(t){return t&&t.__esModule?t:{default:t}}function i(t){return function(){var e=t.apply(this,arguments);return new Promise((function(t,n){return function r(o,a){try{var i=e[o](a),s=i.value}catch(t){return void n(t)}if(!i.done)return Promise.resolve(s).then((function(t){r("next",t)}),(function(t){r("throw",t)}));t(s)}("next")}))}}e.default=function(t,e,n,a){var s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:window.location,l=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"";return new Promise((function(c){var u=e.length,d=0,f=1,p=n.rel?n.rel:"next",g="prev"===p?u:1,m="prev"===p?n.pagePrev:n.page+1;e="prev"===p?e.reverse():e,function h(){f<=u?i(regeneratorRuntime.mark((function o(){return regeneratorRuntime.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return e[d].style.opacity=0,f==g&&(e[d].classList.add(l),e[d].dataset.url=s,e[d].dataset.page=m,e[d].dataset.pageTitle=a),o.next=4,(0,r.default)(t,e[d],n.ua,p);case 4:f++,d++,h();case 7:case"end":return o.stop()}}),o,this)})))().catch((function(t){console.log("There was an error loading the items")})):(setTimeout((function(){if(e.map((function(t){t.style.opacity=1})),e[0]){var t="prev"===p?e[e.length-1]:e[0];(0,o.default)(n,t,null,!1)}}),50),c(!0))}()}))}},function(t,e,n){t.exports=!n(8)&&!n(2)((function(){return 7!=Object.defineProperty(n(71)("div"),"a",{get:function(){return 7}}).a}))},function(t,e,n){var r=n(1),o=n(7),a=n(31),i=n(72),s=n(9).f;t.exports=function(t){var e=o.Symbol||(o.Symbol=a?{}:r.Symbol||{});"_"==t.charAt(0)||t in e||s(e,t,{value:i.f(t)})}},function(t,e,n){var r=n(14),o=n(16),a=n(53)(!1),i=n(73)("IE_PROTO");t.exports=function(t,e){var n,s=o(t),l=0,c=[];for(n in s)n!=i&&r(s,n)&&c.push(n);for(;e.length>l;)r(s,n=e[l++])&&(~a(c,n)||c.push(n));return c}},function(t,e,n){var r=n(9),o=n(3),a=n(32);t.exports=n(8)?Object.defineProperties:function(t,e){o(t);for(var n,i=a(e),s=i.length,l=0;s>l;)r.f(t,n=i[l++],e[n]);return t}},function(t,e,n){var r=n(16),o=n(35).f,a={}.toString,i="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return i&&"[object Window]"==a.call(t)?function(t){try{return o(t)}catch(t){return i.slice()}}(t):o(r(t))}},function(t,e,n){"use strict";var r=n(8),o=n(32),a=n(54),i=n(46),s=n(10),l=n(45),c=Object.assign;t.exports=!c||n(2)((function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach((function(t){e[t]=t})),7!=c({},t)[n]||Object.keys(c({},e)).join("")!=r}))?function(t,e){for(var n=s(t),c=arguments.length,u=1,d=a.f,f=i.f;c>u;)for(var p,g=l(arguments[u++]),m=d?o(g).concat(d(g)):o(g),h=m.length,v=0;h>v;)p=m[v++],r&&!f.call(g,p)||(n[p]=g[p]);return n}:c},function(t,e){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}},function(t,e,n){"use strict";var r=n(19),o=n(4),a=n(120),i=[].slice,s={},l=function(t,e,n){if(!(e in s)){for(var r=[],o=0;o<e;o++)r[o]="a["+o+"]";s[e]=Function("F,a","return new F("+r.join(",")+")")}return s[e](t,n)};t.exports=Function.bind||function(t){var e=r(this),n=i.call(arguments,1),s=function(){var r=n.concat(i.call(arguments));return this instanceof s?l(e,r.length,r):a(e,r,t)};return o(e.prototype)&&(s.prototype=e.prototype),s}},function(t,e){t.exports=function(t,e,n){var r=void 0===n;switch(e.length){case 0:return r?t():t.call(n);case 1:return r?t(e[0]):t.call(n,e[0]);case 2:return r?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return r?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return r?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},function(t,e,n){var r=n(1).parseInt,o=n(40).trim,a=n(77),i=/^[-+]?0[xX]/;t.exports=8!==r(a+"08")||22!==r(a+"0x16")?function(t,e){var n=o(String(t),3);return r(n,e>>>0||(i.test(n)?16:10))}:r},function(t,e,n){var r=n(1).parseFloat,o=n(40).trim;t.exports=1/r(n(77)+"-0")!=-1/0?function(t){var e=o(String(t),3),n=r(e);return 0===n&&"-"==e.charAt(0)?-0:n}:r},function(t,e,n){var r=n(24);t.exports=function(t,e){if("number"!=typeof t&&"Number"!=r(t))throw TypeError(e);return+t}},function(t,e,n){var r=n(4),o=Math.floor;t.exports=function(t){return!r(t)&&isFinite(t)&&o(t)===t}},function(t,e){t.exports=Math.log1p||function(t){return(t=+t)>-1e-8&&t<1e-8?t-t*t/2:Math.log(1+t)}},function(t,e,n){"use strict";var r=n(34),o=n(29),a=n(39),i={};n(15)(i,n(5)("iterator"),(function(){return this})),t.exports=function(t,e,n){t.prototype=r(i,{next:o(1,n)}),a(t,e+" Iterator")}},function(t,e,n){var r=n(3);t.exports=function(t,e,n,o){try{return o?e(r(n)[0],n[1]):e(n)}catch(e){var a=t.return;throw void 0!==a&&r(a.call(t)),e}}},function(t,e,n){var r=n(280);t.exports=function(t,e){return new(r(t))(e)}},function(t,e,n){var r=n(19),o=n(10),a=n(45),i=n(6);t.exports=function(t,e,n,s,l){r(e);var c=o(t),u=a(c),d=i(c.length),f=l?d-1:0,p=l?-1:1;if(n<2)for(;;){if(f in u){s=u[f],f+=p;break}if(f+=p,l?f<0:d<=f)throw TypeError("Reduce of empty array with no initial value")}for(;l?f>=0:d>f;f+=p)f in u&&(s=e(s,u[f],f,c));return s}},function(t,e,n){"use strict";var r=n(10),o=n(33),a=n(6);t.exports=[].copyWithin||function(t,e){var n=r(this),i=a(n.length),s=o(t,i),l=o(e,i),c=arguments.length>2?arguments[2]:void 0,u=Math.min((void 0===c?i:o(c,i))-l,i-s),d=1;for(l<s&&s<l+u&&(d=-1,l+=u-1,s+=u-1);u-- >0;)l in n?n[s]=n[l]:delete n[s],s+=d,l+=d;return n}},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,n){"use strict";var r=n(92);n(0)({target:"RegExp",proto:!0,forced:r!==/./.exec},{exec:r})},function(t,e,n){n(8)&&"g"!=/./g.flags&&n(9).f(RegExp.prototype,"flags",{configurable:!0,get:n(57)})},function(t,e,n){"use strict";var r,o,a,i,s=n(31),l=n(1),c=n(18),u=n(47),d=n(0),f=n(4),p=n(19),g=n(43),m=n(60),h=n(48),v=n(94).set,y=n(300)(),_=n(135),b=n(301),w=n(61),x=n(136),S=l.TypeError,A=l.process,j=A&&A.versions,P=j&&j.v8||"",L=l.Promise,M="process"==u(A),E=function(){},O=o=_.f,T=!!function(){try{var t=L.resolve(1),e=(t.constructor={})[n(5)("species")]=function(t){t(E,E)};return(M||"function"==typeof PromiseRejectionEvent)&&t.then(E)instanceof e&&0!==P.indexOf("6.6")&&-1===w.indexOf("Chrome/66")}catch(t){}}(),I=function(t){var e;return!(!f(t)||"function"!=typeof(e=t.then))&&e},C=function(t,e){if(!t._n){t._n=!0;var n=t._c;y((function(){for(var r=t._v,o=1==t._s,a=0,i=function(e){var n,a,i,s=o?e.ok:e.fail,l=e.resolve,c=e.reject,u=e.domain;try{s?(o||(2==t._h&&k(t),t._h=1),!0===s?n=r:(u&&u.enter(),n=s(r),u&&(u.exit(),i=!0)),n===e.promise?c(S("Promise-chain cycle")):(a=I(n))?a.call(n,l,c):l(n)):c(r)}catch(t){u&&!i&&u.exit(),c(t)}};n.length>a;)i(n[a++]);t._c=[],t._n=!1,e&&!t._h&&N(t)}))}},N=function(t){v.call(l,(function(){var e,n,r,o=t._v,a=F(t);if(a&&(e=b((function(){M?A.emit("unhandledRejection",o,t):(n=l.onunhandledrejection)?n({promise:t,reason:o}):(r=l.console)&&r.error&&r.error("Unhandled promise rejection",o)})),t._h=M||F(t)?2:1),t._a=void 0,a&&e.e)throw e.v}))},F=function(t){return 1!==t._h&&0===(t._a||t._c).length},k=function(t){v.call(l,(function(){var e;M?A.emit("rejectionHandled",t):(e=l.onrejectionhandled)&&e({promise:t,reason:t._v})}))},R=function(t){var e=this;e._d||(e._d=!0,(e=e._w||e)._v=t,e._s=2,e._a||(e._a=e._c.slice()),C(e,!0))},q=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw S("Promise can't be resolved itself");(e=I(t))?y((function(){var r={_w:n,_d:!1};try{e.call(t,c(q,r,1),c(R,r,1))}catch(t){R.call(r,t)}})):(n._v=t,n._s=1,C(n,!1))}catch(t){R.call({_w:n,_d:!1},t)}}};T||(L=function(t){g(this,L,"Promise","_h"),p(t),r.call(this);try{t(c(q,this,1),c(R,this,1))}catch(t){R.call(this,t)}},(r=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n(44)(L.prototype,{then:function(t,e){var n=O(h(this,L));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=M?A.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&C(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),a=function(){var t=new r;this.promise=t,this.resolve=c(q,t,1),this.reject=c(R,t,1)},_.f=O=function(t){return t===L||t===i?new a(t):o(t)}),d(d.G+d.W+d.F*!T,{Promise:L}),n(39)(L,"Promise"),n(42)("Promise"),i=n(7).Promise,d(d.S+d.F*!T,"Promise",{reject:function(t){var e=O(this);return(0,e.reject)(t),e.promise}}),d(d.S+d.F*(s||!T),"Promise",{resolve:function(t){return x(s&&this===i?L:this,t)}}),d(d.S+d.F*!(T&&n(56)((function(t){L.all(t).catch(E)}))),"Promise",{all:function(t){var e=this,n=O(e),r=n.resolve,o=n.reject,a=b((function(){var n=[],a=0,i=1;m(t,!1,(function(t){var s=a++,l=!1;n.push(void 0),i++,e.resolve(t).then((function(t){l||(l=!0,n[s]=t,--i||r(n))}),o)})),--i||r(n)}));return a.e&&o(a.v),n.promise},race:function(t){var e=this,n=O(e),r=n.reject,o=b((function(){m(t,!1,(function(t){e.resolve(t).then(n.resolve,r)}))}));return o.e&&r(o.v),n.promise}})},function(t,e,n){"use strict";var r=n(19);function o(t){var e,n;this.promise=new t((function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r})),this.resolve=r(e),this.reject=r(n)}t.exports.f=function(t){return new o(t)}},function(t,e,n){var r=n(3),o=n(4),a=n(135);t.exports=function(t,e){if(r(t),o(e)&&e.constructor===t)return e;var n=a.f(t);return(0,n.resolve)(e),n.promise}},function(t,e,n){"use strict";var r=n(9).f,o=n(34),a=n(44),i=n(18),s=n(43),l=n(60),c=n(83),u=n(131),d=n(42),f=n(8),p=n(28).fastKey,g=n(38),m=f?"_s":"size",h=function(t,e){var n,r=p(e);if("F"!==r)return t._i[r];for(n=t._f;n;n=n.n)if(n.k==e)return n};t.exports={getConstructor:function(t,e,n,c){var u=t((function(t,r){s(t,u,e,"_i"),t._t=e,t._i=o(null),t._f=void 0,t._l=void 0,t[m]=0,null!=r&&l(r,n,t[c],t)}));return a(u.prototype,{clear:function(){for(var t=g(this,e),n=t._i,r=t._f;r;r=r.n)r.r=!0,r.p&&(r.p=r.p.n=void 0),delete n[r.i];t._f=t._l=void 0,t[m]=0},delete:function(t){var n=g(this,e),r=h(n,t);if(r){var o=r.n,a=r.p;delete n._i[r.i],r.r=!0,a&&(a.n=o),o&&(o.p=a),n._f==r&&(n._f=o),n._l==r&&(n._l=a),n[m]--}return!!r},forEach:function(t){g(this,e);for(var n,r=i(t,arguments.length>1?arguments[1]:void 0,3);n=n?n.n:this._f;)for(r(n.v,n.k,this);n&&n.r;)n=n.p},has:function(t){return!!h(g(this,e),t)}}),f&&r(u.prototype,"size",{get:function(){return g(this,e)[m]}}),u},def:function(t,e,n){var r,o,a=h(t,e);return a?a.v=n:(t._l=a={i:o=p(e,!0),k:e,v:n,p:r=t._l,n:void 0,r:!1},t._f||(t._f=a),r&&(r.n=a),t[m]++,"F"!==o&&(t._i[o]=a)),t},getEntry:h,setStrong:function(t,e,n){c(t,e,(function(t,n){this._t=g(t,e),this._k=n,this._l=void 0}),(function(){for(var t=this._k,e=this._l;e&&e.r;)e=e.p;return this._t&&(this._l=e=e?e.n:this._t._f)?u(0,"keys"==t?e.k:"values"==t?e.v:[e.k,e.v]):(this._t=void 0,u(1))}),n?"entries":"values",!n,!0),d(e)}}},function(t,e,n){"use strict";var r=n(44),o=n(28).getWeak,a=n(3),i=n(4),s=n(43),l=n(60),c=n(23),u=n(14),d=n(38),f=c(5),p=c(6),g=0,m=function(t){return t._l||(t._l=new h)},h=function(){this.a=[]},v=function(t,e){return f(t.a,(function(t){return t[0]===e}))};h.prototype={get:function(t){var e=v(this,t);if(e)return e[1]},has:function(t){return!!v(this,t)},set:function(t,e){var n=v(this,t);n?n[1]=e:this.a.push([t,e])},delete:function(t){var e=p(this.a,(function(e){return e[0]===t}));return~e&&this.a.splice(e,1),!!~e}},t.exports={getConstructor:function(t,e,n,a){var c=t((function(t,r){s(t,c,e,"_i"),t._t=e,t._i=g++,t._l=void 0,null!=r&&l(r,n,t[a],t)}));return r(c.prototype,{delete:function(t){if(!i(t))return!1;var n=o(t);return!0===n?m(d(this,e)).delete(t):n&&u(n,this._i)&&delete n[this._i]},has:function(t){if(!i(t))return!1;var n=o(t);return!0===n?m(d(this,e)).has(t):n&&u(n,this._i)}}),c},def:function(t,e,n){var r=o(a(e),!0);return!0===r?m(t).set(e,n):r[t._i]=n,t},ufstore:m}},function(t,e,n){var r=n(20),o=n(6);t.exports=function(t){if(void 0===t)return 0;var e=r(t),n=o(e);if(e!==n)throw RangeError("Wrong length!");return n}},function(t,e,n){var r=n(35),o=n(54),a=n(3),i=n(1).Reflect;t.exports=i&&i.ownKeys||function(t){var e=r.f(a(t)),n=o.f;return n?e.concat(n(t)):e}},function(t,e,n){var r=n(6),o=n(79),a=n(25);t.exports=function(t,e,n,i){var s=String(a(t)),l=s.length,c=void 0===n?" ":String(n),u=r(e);if(u<=l||""==c)return s;var d=u-l,f=o.call(c,Math.ceil(d/c.length));return f.length>d&&(f=f.slice(0,d)),i?f+s:s+f}},function(t,e,n){var r=n(8),o=n(32),a=n(16),i=n(46).f;t.exports=function(t){return function(e){for(var n,s=a(e),l=o(s),c=l.length,u=0,d=[];c>u;)n=l[u++],r&&!i.call(s,n)||d.push(t?[n,s[n]]:s[n]);return d}}},function(t,e,n){"use strict";var r=n(96),o=Object.prototype.hasOwnProperty,a=Array.isArray,i=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),s=function(t,e){for(var n=e&&e.plainObjects?Object.create(null):{},r=0;r<t.length;++r)void 0!==t[r]&&(n[r]=t[r]);return n};t.exports={arrayToObject:s,assign:function(t,e){return Object.keys(e).reduce((function(t,n){return t[n]=e[n],t}),t)},combine:function(t,e){return[].concat(t,e)},compact:function(t){for(var e=[{obj:{o:t},prop:"o"}],n=[],r=0;r<e.length;++r)for(var o=e[r],i=o.obj[o.prop],s=Object.keys(i),l=0;l<s.length;++l){var c=s[l],u=i[c];"object"==typeof u&&null!==u&&-1===n.indexOf(u)&&(e.push({obj:i,prop:c}),n.push(u))}return function(t){for(;t.length>1;){var e=t.pop(),n=e.obj[e.prop];if(a(n)){for(var r=[],o=0;o<n.length;++o)void 0!==n[o]&&r.push(n[o]);e.obj[e.prop]=r}}}(e),t},decode:function(t,e,n){var r=t.replace(/\+/g," ");if("iso-8859-1"===n)return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch(t){return r}},encode:function(t,e,n,o,a){if(0===t.length)return t;var s=t;if("symbol"==typeof t?s=Symbol.prototype.toString.call(t):"string"!=typeof t&&(s=String(t)),"iso-8859-1"===n)return escape(s).replace(/%u[0-9a-f]{4}/gi,(function(t){return"%26%23"+parseInt(t.slice(2),16)+"%3B"}));for(var l="",c=0;c<s.length;++c){var u=s.charCodeAt(c);45===u||46===u||95===u||126===u||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122||a===r.RFC1738&&(40===u||41===u)?l+=s.charAt(c):u<128?l+=i[u]:u<2048?l+=i[192|u>>6]+i[128|63&u]:u<55296||u>=57344?l+=i[224|u>>12]+i[128|u>>6&63]+i[128|63&u]:(c+=1,u=65536+((1023&u)<<10|1023&s.charCodeAt(c)),l+=i[240|u>>18]+i[128|u>>12&63]+i[128|u>>6&63]+i[128|63&u])}return l},isBuffer:function(t){return!(!t||"object"!=typeof t)&&!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},maybeMap:function(t,e){if(a(t)){for(var n=[],r=0;r<t.length;r+=1)n.push(e(t[r]));return n}return e(t)},merge:function t(e,n,r){if(!n)return e;if("object"!=typeof n){if(a(e))e.push(n);else{if(!e||"object"!=typeof e)return[e,n];(r&&(r.plainObjects||r.allowPrototypes)||!o.call(Object.prototype,n))&&(e[n]=!0)}return e}if(!e||"object"!=typeof e)return[e].concat(n);var i=e;return a(e)&&!a(n)&&(i=s(e,r)),a(e)&&a(n)?(n.forEach((function(n,a){if(o.call(e,a)){var i=e[a];i&&"object"==typeof i&&n&&"object"==typeof n?e[a]=t(i,n,r):e.push(n)}else e[a]=n})),e):Object.keys(n).reduce((function(e,a){var i=n[a];return o.call(e,a)?e[a]=t(e[a],i,r):e[a]=i,e}),i)}}},function(t,e,n){"use strict";var r=n(11),o=n(98),a=n(145),i=n(104);function s(t){var e=new a(t),n=o(a.prototype.request,e);return r.extend(n,a.prototype,e),r.extend(n,e),n}var l=s(n(101));l.Axios=a,l.create=function(t){return s(i(l.defaults,t))},l.Cancel=n(105),l.CancelToken=n(159),l.isCancel=n(100),l.all=function(t){return Promise.all(t)},l.spread=n(160),l.isAxiosError=n(161),t.exports=l,t.exports.default=l},function(t,e,n){"use strict";var r=n(11),o=n(99),a=n(146),i=n(147),s=n(104);function l(t){this.defaults=t,this.interceptors={request:new a,response:new a}}l.prototype.request=function(t){"string"==typeof t?(t=arguments[1]||{}).url=arguments[0]:t=t||{},(t=s(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var e=[i,void 0],n=Promise.resolve(t);for(this.interceptors.request.forEach((function(t){e.unshift(t.fulfilled,t.rejected)})),this.interceptors.response.forEach((function(t){e.push(t.fulfilled,t.rejected)}));e.length;)n=n.then(e.shift(),e.shift());return n},l.prototype.getUri=function(t){return t=s(this.defaults,t),o(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(t){l.prototype[t]=function(e,n){return this.request(s(n||{},{method:t,url:e,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(t){l.prototype[t]=function(e,n,r){return this.request(s(r||{},{method:t,url:e,data:n}))}})),t.exports=l},function(t,e,n){"use strict";var r=n(11);function o(){this.handlers=[]}o.prototype.use=function(t,e){return this.handlers.push({fulfilled:t,rejected:e}),this.handlers.length-1},o.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},o.prototype.forEach=function(t){r.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=o},function(t,e,n){"use strict";var r=n(11),o=n(148),a=n(100),i=n(101);function s(t){t.cancelToken&&t.cancelToken.throwIfRequested()}t.exports=function(t){return s(t),t.headers=t.headers||{},t.data=o(t.data,t.headers,t.transformRequest),t.headers=r.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]})),(t.adapter||i.adapter)(t).then((function(e){return s(t),e.data=o(e.data,e.headers,t.transformResponse),e}),(function(e){return a(e)||(s(t),e&&e.response&&(e.response.data=o(e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},function(t,e,n){"use strict";var r=n(11);t.exports=function(t,e,n){return r.forEach(n,(function(n){t=n(t,e)})),t}},function(t,e){var n,r,o=t.exports={};function a(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function s(t){if(n===setTimeout)return setTimeout(t,0);if((n===a||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:a}catch(t){n=a}try{r="function"==typeof clearTimeout?clearTimeout:i}catch(t){r=i}}();var l,c=[],u=!1,d=-1;function f(){u&&l&&(u=!1,l.length?c=l.concat(c):d=-1,c.length&&p())}function p(){if(!u){var t=s(f);u=!0;for(var e=c.length;e;){for(l=c,c=[];++d<e;)l&&l[d].run();d=-1,e=c.length}l=null,u=!1,function(t){if(r===clearTimeout)return clearTimeout(t);if((r===i||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(t);try{r(t)}catch(e){try{return r.call(null,t)}catch(e){return r.call(this,t)}}}(t)}}function g(t,e){this.fun=t,this.array=e}function m(){}o.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];c.push(new g(t,e)),1!==c.length||u||s(p)},g.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=m,o.addListener=m,o.once=m,o.off=m,o.removeListener=m,o.removeAllListeners=m,o.emit=m,o.prependListener=m,o.prependOnceListener=m,o.listeners=function(t){return[]},o.binding=function(t){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(t){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},function(t,e,n){"use strict";var r=n(11);t.exports=function(t,e){r.forEach(t,(function(n,r){r!==e&&r.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[r])}))}},function(t,e,n){"use strict";var r=n(103);t.exports=function(t,e,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?e(r("Request failed with status code "+n.status,n.config,null,n.request,n)):t(n)}},function(t,e,n){"use strict";t.exports=function(t,e,n,r,o){return t.config=e,n&&(t.code=n),t.request=r,t.response=o,t.isAxiosError=!0,t.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},t}},function(t,e,n){"use strict";var r=n(11);t.exports=r.isStandardBrowserEnv()?{write:function(t,e,n,o,a,i){var s=[];s.push(t+"="+encodeURIComponent(e)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(o)&&s.push("path="+o),r.isString(a)&&s.push("domain="+a),!0===i&&s.push("secure"),document.cookie=s.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(t,e,n){"use strict";var r=n(155),o=n(156);t.exports=function(t,e){return t&&!r(e)?o(t,e):e}},function(t,e,n){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},function(t,e,n){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},function(t,e,n){"use strict";var r=n(11),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];t.exports=function(t){var e,n,a,i={};return t?(r.forEach(t.split("\n"),(function(t){if(a=t.indexOf(":"),e=r.trim(t.substr(0,a)).toLowerCase(),n=r.trim(t.substr(a+1)),e){if(i[e]&&o.indexOf(e)>=0)return;i[e]="set-cookie"===e?(i[e]?i[e]:[]).concat([n]):i[e]?i[e]+", "+n:n}})),i):i}},function(t,e,n){"use strict";var r=n(11);t.exports=r.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(t){var r=t;return e&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return t=o(window.location.href),function(e){var n=r.isString(e)?o(e):e;return n.protocol===t.protocol&&n.host===t.host}}():function(){return!0}},function(t,e,n){"use strict";var r=n(105);function o(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var n=this;t((function(t){n.reason||(n.reason=new r(t),e(n.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var t;return{token:new o((function(e){t=e})),cancel:t}},t.exports=o},function(t,e,n){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},function(t,e,n){"use strict";t.exports=function(t){return"object"==typeof t&&!0===t.isAxiosError}},function(t,e,n){!function(){"use strict";t.exports={polyfill:function(){var t=window,e=document;if(!("scrollBehavior"in e.documentElement.style)||!0===t.__forceSmoothScrollPolyfill__){var n,r=t.HTMLElement||t.Element,o={scroll:t.scroll||t.scrollTo,scrollBy:t.scrollBy,elementScroll:r.prototype.scroll||s,scrollIntoView:r.prototype.scrollIntoView},a=t.performance&&t.performance.now?t.performance.now.bind(t.performance):Date.now,i=(n=t.navigator.userAgent,new RegExp(["MSIE ","Trident/","Edge/"].join("|")).test(n)?1:0);t.scroll=t.scrollTo=function(){void 0!==arguments[0]&&(!0!==l(arguments[0])?g.call(t,e.body,void 0!==arguments[0].left?~~arguments[0].left:t.scrollX||t.pageXOffset,void 0!==arguments[0].top?~~arguments[0].top:t.scrollY||t.pageYOffset):o.scroll.call(t,void 0!==arguments[0].left?arguments[0].left:"object"!=typeof arguments[0]?arguments[0]:t.scrollX||t.pageXOffset,void 0!==arguments[0].top?arguments[0].top:void 0!==arguments[1]?arguments[1]:t.scrollY||t.pageYOffset))},t.scrollBy=function(){void 0!==arguments[0]&&(l(arguments[0])?o.scrollBy.call(t,void 0!==arguments[0].left?arguments[0].left:"object"!=typeof arguments[0]?arguments[0]:0,void 0!==arguments[0].top?arguments[0].top:void 0!==arguments[1]?arguments[1]:0):g.call(t,e.body,~~arguments[0].left+(t.scrollX||t.pageXOffset),~~arguments[0].top+(t.scrollY||t.pageYOffset)))},r.prototype.scroll=r.prototype.scrollTo=function(){if(void 0!==arguments[0])if(!0!==l(arguments[0])){var t=arguments[0].left,e=arguments[0].top;g.call(this,this,void 0===t?this.scrollLeft:~~t,void 0===e?this.scrollTop:~~e)}else{if("number"==typeof arguments[0]&&void 0===arguments[1])throw new SyntaxError("Value could not be converted");o.elementScroll.call(this,void 0!==arguments[0].left?~~arguments[0].left:"object"!=typeof arguments[0]?~~arguments[0]:this.scrollLeft,void 0!==arguments[0].top?~~arguments[0].top:void 0!==arguments[1]?~~arguments[1]:this.scrollTop)}},r.prototype.scrollBy=function(){void 0!==arguments[0]&&(!0!==l(arguments[0])?this.scroll({left:~~arguments[0].left+this.scrollLeft,top:~~arguments[0].top+this.scrollTop,behavior:arguments[0].behavior}):o.elementScroll.call(this,void 0!==arguments[0].left?~~arguments[0].left+this.scrollLeft:~~arguments[0]+this.scrollLeft,void 0!==arguments[0].top?~~arguments[0].top+this.scrollTop:~~arguments[1]+this.scrollTop))},r.prototype.scrollIntoView=function(){if(!0!==l(arguments[0])){var n=f(this),r=n.getBoundingClientRect(),a=this.getBoundingClientRect();n!==e.body?(g.call(this,n,n.scrollLeft+a.left-r.left,n.scrollTop+a.top-r.top),"fixed"!==t.getComputedStyle(n).position&&t.scrollBy({left:r.left,top:r.top,behavior:"smooth"})):t.scrollBy({left:a.left,top:a.top,behavior:"smooth"})}else o.scrollIntoView.call(this,void 0===arguments[0]||arguments[0])}}function s(t,e){this.scrollLeft=t,this.scrollTop=e}function l(t){if(null===t||"object"!=typeof t||void 0===t.behavior||"auto"===t.behavior||"instant"===t.behavior)return!0;if("object"==typeof t&&"smooth"===t.behavior)return!1;throw new TypeError("behavior member of ScrollOptions "+t.behavior+" is not a valid value for enumeration ScrollBehavior.")}function c(t,e){return"Y"===e?t.clientHeight+i<t.scrollHeight:"X"===e?t.clientWidth+i<t.scrollWidth:void 0}function u(e,n){var r=t.getComputedStyle(e,null)["overflow"+n];return"auto"===r||"scroll"===r}function d(t){var e=c(t,"Y")&&u(t,"Y"),n=c(t,"X")&&u(t,"X");return e||n}function f(t){for(;t!==e.body&&!1===d(t);)t=t.parentNode||t.host;return t}function p(e){var n,r,o,i,s=(a()-e.startTime)/468;i=s=s>1?1:s,n=.5*(1-Math.cos(Math.PI*i)),r=e.startX+(e.x-e.startX)*n,o=e.startY+(e.y-e.startY)*n,e.method.call(e.scrollable,r,o),r===e.x&&o===e.y||t.requestAnimationFrame(p.bind(t,e))}function g(n,r,i){var l,c,u,d,f=a();n===e.body?(l=t,c=t.scrollX||t.pageXOffset,u=t.scrollY||t.pageYOffset,d=o.scroll):(l=n,c=n.scrollLeft,u=n.scrollTop,d=s),p({scrollable:l,method:d,startTime:f,startX:c,startY:u,x:r,y:i})}}}}()},function(t,e,n){"use strict";var r,o,a,i;history,Object.entries||(Object.entries=function(t){for(var e=Object.keys(t),n=e.length,r=new Array(n);n--;)r[n]=[e[n],t[e[n]]];return r}),void 0===Array.isArray&&(Array.isArray=function(t){return"[object Array]"===Object.prototype.toString.call(t)}),Array.from||(Array.from=(r=Object.prototype.toString,o=function(t){return"function"==typeof t||"[object Function]"===r.call(t)},a=Math.pow(2,53)-1,i=function(t){var e=function(t){var e=Number(t);return isNaN(e)?0:0!==e&&isFinite(e)?(e>0?1:-1)*Math.floor(Math.abs(e)):e}(t);return Math.min(Math.max(e,0),a)},function(t){var e=this,n=Object(t);if(null==t)throw new TypeError("Array.from requires an array-like object - not null or undefined");var r,a=arguments.length>1?arguments[1]:void 0;if(void 0!==a){if(!o(a))throw new TypeError("Array.from: when provided, the second argument must be a function");arguments.length>2&&(r=arguments[2])}for(var s,l=i(n.length),c=o(e)?Object(new e(l)):new Array(l),u=0;u<l;)s=n[u],c[u]=a?void 0===r?a(s,u):a.call(r,s,u):s,u+=1;return c.length=l,c})),window.NodeList&&!NodeList.prototype.forEach&&(NodeList.prototype.forEach=function(t,e){e=e||window;for(var n=0;n<this.length;n++)t.call(e,this[n],n,this)}),[Element.prototype,CharacterData.prototype,DocumentType.prototype].forEach((function(t){t.hasOwnProperty("remove")||Object.defineProperty(t,"remove",{configurable:!0,enumerable:!0,writable:!0,value:function(){null!==this.parentNode&&this.parentNode.removeChild(this)}})}))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(t,e){e||(e=window.location.href),t=t.replace(/[\[\]]/g,"\\$&");var n=new RegExp("[?&]"+t+"(=([^&#]*)|&|#|$)").exec(e);return n?n[2]?decodeURIComponent(n[2].replace(/\+/g," ")):"":null}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=["#text","#comment"];e.default=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"fade";if(!t||!e)return!1;-1===r.indexOf(e.nodeName.toLowerCase())&&("masonry"===n&&(e.style.opacity=0),t.appendChild(e))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(!t)return!1;var e=document.createElement("tbody");e.innerHTML=t;var n=[e];return n}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(65);e.default=function(t){if(!t)return!1;var e="",n=".html",o=t.addons.cache_path+t.addons.cache_id;if(t.init&&t.addons.seo&&t.isPaged)e=o+"/page-1-"+t.start_page+n;else if(t.addons.filters){var a=(0,r.parseQuerystring)(o);if(t.init&&t.isPaged)e=a+"/page-1-"+t.addons.filters_startpage+n;else{var i=t.page+1;"true"===t.addons.preloaded&&(i=t.page+2),e=a+"/page-"+i+n}}else if(t.addons.nextpage){var s=void 0;t.addons.paging?s=parseInt(t.page)+1:(s=parseInt(t.page)+2,t.isPaged&&(s=parseInt(t.page)+parseInt(t.addons.nextpage_startpage)+1)),e=o+"/page-"+s+n}else e=t.addons.single_post?o+"/"+t.addons.single_post_id+n:"true"===t.addons.comments&&"true"===t.addons.preloaded?o+"/page-"+(t.page+2)+n:o+"/page-"+(t.page+1)+n;return e}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(t){for(var e=window.location.search.substring(1).split("&"),n=0;n<e.length;n++){var r=e[n].split("=");if(decodeURIComponent(r[0])==t)return decodeURIComponent(r[1])}return!1}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.almGetAjaxParams=function(t,e,n){var r={id:t.id,post_id:t.post_id,slug:t.slug,canonical_url:encodeURIComponent(t.canonical_url),posts_per_page:t.posts_per_page,page:t.page,offset:t.offset,post_type:t.post_type,repeater:t.repeater,seo_start_page:t.start_page};t.theme_repeater&&(r.theme_repeater=t.theme_repeater);t.addons.filters&&(r.filters=t.addons.filters,r.filters_startpage=t.addons.filters_startpage);t.addons.paging&&(r.paging=t.addons.paging);t.addons.preloaded&&(r.preloaded=t.addons.preloaded,r.preloaded_amount=t.addons.preloaded_amount);"true"===t.addons.cache&&(r.cache_id=t.addons.cache_id,r.cache_logged_in=t.addons.cache_logged_in);t.acf_array&&(r.acf=t.acf_array);t.term_query_array&&(r.term_query=t.term_query_array);t.cta_array&&(r.cta=t.cta_array);t.comments_array&&(r.comments=t.comments_array);t.nextpage_array&&(r.nextpage=t.nextpage_array);t.single_post_array&&(r.single_post=t.single_post_array);t.users_array&&(r.users=t.users_array);t.listing.dataset.lang&&(r.lang=t.listing.dataset.lang);t.listing.dataset.stickyPosts&&(r.sticky_posts=t.listing.dataset.stickyPosts);t.listing.dataset.postFormat&&(r.post_format=t.listing.dataset.postFormat);t.listing.dataset.category&&(r.category=t.listing.dataset.category);t.listing.dataset.categoryAnd&&(r.category__and=t.listing.dataset.categoryAnd);t.listing.dataset.categoryNotIn&&(r.category__not_in=t.listing.dataset.categoryNotIn);t.listing.dataset.tag&&(r.tag=t.listing.dataset.tag);t.listing.dataset.tagAnd&&(r.tag__and=t.listing.dataset.tagAnd);t.listing.dataset.tagNotIn&&(r.tag__not_in=t.listing.dataset.tagNotIn);t.listing.dataset.taxonomy&&(r.taxonomy=t.listing.dataset.taxonomy);t.listing.dataset.taxonomyTerms&&(r.taxonomy_terms=t.listing.dataset.taxonomyTerms);t.listing.dataset.taxonomyOperator&&(r.taxonomy_operator=t.listing.dataset.taxonomyOperator);t.listing.dataset.taxonomyRelation&&(r.taxonomy_relation=t.listing.dataset.taxonomyRelation);t.listing.dataset.metaKey&&(r.meta_key=t.listing.dataset.metaKey);t.listing.dataset.metaValue&&(r.meta_value=t.listing.dataset.metaValue);t.listing.dataset.metaCompare&&(r.meta_compare=t.listing.dataset.metaCompare);t.listing.dataset.metaRelation&&(r.meta_relation=t.listing.dataset.metaRelation);t.listing.dataset.metaType&&(r.meta_type=t.listing.dataset.metaType);t.listing.dataset.author&&(r.author=t.listing.dataset.author);t.listing.dataset.year&&(r.year=t.listing.dataset.year);t.listing.dataset.month&&(r.month=t.listing.dataset.month);t.listing.dataset.day&&(r.day=t.listing.dataset.day);t.listing.dataset.order&&(r.order=t.listing.dataset.order);t.listing.dataset.orderby&&(r.orderby=t.listing.dataset.orderby);t.listing.dataset.postStatus&&(r.post_status=t.listing.dataset.postStatus);t.listing.dataset.postIn&&(r.post__in=t.listing.dataset.postIn);t.listing.dataset.postNotIn&&(r.post__not_in=t.listing.dataset.postNotIn);t.listing.dataset.exclude&&(r.exclude=t.listing.dataset.exclude);t.listing.dataset.search&&(r.search=t.listing.dataset.search);t.listing.dataset.s&&(r.search=t.listing.dataset.s);t.listing.dataset.customArgs&&(r.custom_args=escape(t.listing.dataset.customArgs));t.listing.dataset.vars&&(r.vars=escape(t.listing.dataset.vars));return r.action=e,r.query_type=n,r},e.almGetRestParams=function(t){return{id:t.id,post_id:t.post_id,posts_per_page:t.posts_per_page,page:t.page,offset:t.offset,slug:t.slug,canonical_url:encodeURIComponent(t.canonical_url),post_type:t.post_type,post_format:t.listing.dataset.postFormat,category:t.listing.dataset.category,category__not_in:t.listing.dataset.categoryNotIn,tag:t.listing.dataset.tag,tag__not_in:t.listing.dataset.tagNotIn,taxonomy:t.listing.dataset.taxonomy,taxonomy_terms:t.listing.dataset.taxonomyTerms,taxonomy_operator:t.listing.dataset.taxonomyOperator,taxonomy_relation:t.listing.dataset.taxonomyRelation,meta_key:t.listing.dataset.metaKey,meta_value:t.listing.dataset.metaValue,meta_compare:t.listing.dataset.metaCompare,meta_relation:t.listing.dataset.metaRelation,meta_type:t.listing.dataset.metaType,author:t.listing.dataset.author,year:t.listing.dataset.year,month:t.listing.dataset.month,day:t.listing.dataset.day,post_status:t.listing.dataset.postStatus,order:t.listing.dataset.order,orderby:t.listing.dataset.orderby,post__in:t.listing.dataset.postIn,post__not_in:t.listing.dataset.postNotIn,search:t.listing.dataset.search,s:t.listing.dataset.s,custom_args:t.listing.dataset.customArgs,vars:t.listing.dataset.vars,lang:t.lang,preloaded:t.addons.preloaded,preloaded_amount:t.addons.preloaded_amount,seo_start_page:t.start_page}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}(n(108));e.default=function(t){return new Promise((function(e){var n="standard";t.addons.nextpage?(n="nextpage",t.addons.paging?t.AjaxLoadMore.setLocalizedVar("page",parseInt(t.page)+1):t.AjaxLoadMore.setLocalizedVar("page",parseInt(t.page)+parseInt(t.addons.nextpage_startpage)+1)):t.addons.woocommerce?(n="woocommerce",t.AjaxLoadMore.setLocalizedVar("page",parseInt(t.page)+1)):t.AjaxLoadMore.setLocalizedVar("page",parseInt(t.page)+1),"true"===t.addons.preloaded||t.addons.nextpage||t.addons.woocommerce||t.AjaxLoadMore.setLocalizedVar("total_posts",t.totalposts),t.AjaxLoadMore.setLocalizedVar("post_count",function(t){var e=parseInt(t.posts),n=parseInt(t.addons.preloaded_amount),r=e+n;return r=t.start_page>1?r-n:r,r=t.addons.filters_startpage>1?r-n:r,r=t.addons.single_post?r+1:r,r=t.addons.nextpage?r+1:r}(t)),r.almResultsText(t,n),e(!0)}))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,o=n(66);(r=o)&&r.__esModule;var a={init:function(t){if(!0===this.isScript(t))t.parentNode.replaceChild(this.clone(t),t);else{var e=0,n=t.childNodes;if(void 0===n){var r=(new DOMParser).parseFromString(t,"text/html");r&&(n=r.body.childNodes)}for(;e<n.length;)this.replace(n[e++])}return t},replace:function(t){if(!0===this.isScript(t))t.parentNode.replaceChild(this.clone(t),t);else for(var e=0,n=t.childNodes;e<n.length;)this.replace(n[e++]);return t},isScript:function(t){return"SCRIPT"===t.tagName},clone:function(t){var e=document.createElement("script");e.text=t.innerHTML;for(var n=t.attributes.length-1;n>=0;n--)e.setAttribute(t.attributes[n].name,t.attributes[n].value);return e}};e.default=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.almMasonry=function t(e,n,d){e.masonry||console.warn("Ajax Load More: Unable to locate Masonry settings.");return new Promise((function(p){var g=e.listing,m=e.html,h=e.masonry.selector,v=e.masonry.columnwidth,y=e.masonry.animation,_=e.masonry.horizontalorder,b=e.speed,w=e.masonry.init,x=(b+100)/1e3+"s",S="scale(0.5)",A="scale(1)";if("zoom-out"===y&&(S="translateY(-20px) scale(1.25)",A="translateY(0) scale(1)"),"slide-up"===y&&(S="translateY(50px)",A="translateY(0)"),"slide-down"===y&&(S="translateY(-50px)",A="translateY(0)"),"none"===y&&(S="translateY(0)",A="translateY(0)"),v?isNaN(v)||(v=parseInt(v)):v=h,_="true"===_,d)g.parentNode.style.opacity=0,t(e,!0,!1),p(!0);else if(w&&n)(0,i.default)(g,e.ua),f(g,(function(){var t={itemSelector:h,transitionDuration:x,columnWidth:v,horizontalOrder:_,hiddenStyle:{transform:S,opacity:0},visibleStyle:{transform:A,opacity:1}},n=window.alm_masonry_vars;n&&Object.keys(n).forEach((function(e){t[e]=n[e]}));var o=g.querySelectorAll(h);e.addons.filters&&(o=(0,l.createMasonryFiltersPages)(e,Array.prototype.slice.call(o))),e.addons.seo&&(o=(0,c.createMasonrySEOPages)(e,Array.prototype.slice.call(o))),setTimeout((function(){e.msnry=new Masonry(g,t),(0,r.default)(g.parentNode,125),p(!0)}),1)}));else{var j=(0,s.default)((0,a.default)(m,"text/html"));j&&((0,o.default)(e.listing,j,"masonry"),(0,i.default)(g,e.ua),f(g,(function(){e.msnry.appended(j),(0,u.default)(e,j,j.length,!1),e.addons.filters&&(0,l.createMasonryFiltersPage)(e,j[0]),e.addons.seo&&(0,c.createMasonrySEOPage)(e,j[0]),p(!0)})))}}))},e.almMasonryConfig=function(t){t.masonry={},t.masonry.init=!0,t.msnry?t.msnry.destroy():t.msnry="";var e=JSON.parse(t.listing.dataset.masonryConfig);e?(t.masonry.selector=e.selector,t.masonry.columnwidth=e.columnwidth,t.masonry.animation=""===e.animation?"standard":e.animation,t.masonry.horizontalorder=""===e.horizontalorder?"true":e.horizontalorder,t.transition_container=!1,t.images_loaded=!1):console.warn("Ajax Load More: Unable to locate Masonry configuration settings.");return t};var r=d(n(50)),o=d(n(106)),a=d(n(66)),i=d(n(68)),s=d(n(107)),l=n(65),c=n(110),u=d(n(49));function d(t){return t&&t.__esModule?t:{default:t}}var f=n(69)},function(t,e,n){var r,o;"undefined"!=typeof window&&window,void 0===(o="function"==typeof(r=function(){"use strict";function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var n=this._events=this._events||{},r=n[t]=n[t]||[];return-1==r.indexOf(e)&&r.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var n=this._onceEvents=this._onceEvents||{};return(n[t]=n[t]||{})[e]=!0,this}},e.off=function(t,e){var n=this._events&&this._events[t];if(n&&n.length){var r=n.indexOf(e);return-1!=r&&n.splice(r,1),this}},e.emitEvent=function(t,e){var n=this._events&&this._events[t];if(n&&n.length){n=n.slice(0),e=e||[];for(var r=this._onceEvents&&this._onceEvents[t],o=0;o<n.length;o++){var a=n[o];r&&r[a]&&(this.off(t,a),delete r[a]),a.apply(this,e)}return this}},e.allOff=function(){delete this._events,delete this._onceEvents},t})?r.call(e,n,e,t):r)||(t.exports=o)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],r=!0,o=!1,a=void 0;try{for(var i,s=t[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!e||n.length!==e);r=!0);}catch(t){o=!0,a=t}finally{try{!r&&s.return&&s.return()}finally{if(o)throw a}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},o=s(n(50)),a=s(n(70)),i=n(109);function s(t){return t&&t.__esModule?t:{default:t}}e.default=function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"filter";if(n.target){var o=document.querySelectorAll('.ajax-load-more-wrap[data-id="'+n.target+'"]');o.forEach((function(o){l(t,e,n,o,r)}))}else{var a=document.querySelectorAll(".ajax-load-more-wrap");a.forEach((function(o){l(t,e,n,o,r)}))}(0,i.clearTOC)()};var l=function(t,e,n,r,o){if("fade"===t||"masonry"===t){switch(o){case"filter":r.classList.add("alm-is-filtering"),(0,a.default)(r,e);break;case"tab":r.classList.add("alm-loading");var i=r.querySelector(".alm-listing");r.style.height=i.offsetHeight+"px",(0,a.default)(i,e)}setTimeout((function(){c(e,n,r,o)}),e)}else r.classList.add("alm-is-filtering"),c(e,n,r,o)},c=function(t,e,n,r){var o=n.querySelector(".alm-btn-wrap"),a=n.querySelectorAll(".alm-listing");[].concat(function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}(a)).forEach((function(t){t.innerHTML=""}));var i=o.querySelector(".alm-load-more-btn");i&&i.classList.remove("done");var s=o.querySelector(".alm-paging");s&&(s.style.opacity=0),e.preloadedAmount=0,u(t,e,n,r)},u=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:250,e=arguments[1],n=arguments[2],a=arguments[3],i=n.querySelector(".alm-listing")||n.querySelector(".alm-comments");if(!i)return!1;switch(a){case"filter":var s=!0,l=!1,c=void 0;try{for(var u,d=Object.entries(e)[Symbol.iterator]();!(s=(u=d.next()).done);s=!0){var f=u.value,p=r(f,2),g=p[0],m=p[1];g=g.replace(/\W+/g,"-").replace(/([a-z\d])([A-Z])/g,"$1-$2").toLowerCase(),i.setAttribute("data-"+g,m)}}catch(t){l=!0,c=t}finally{try{!s&&d.return&&d.return()}finally{if(l)throw c}}(0,o.default)(n,t);break;case"tab":i.setAttribute("data-preloaded","false"),i.setAttribute("data-pause","false"),i.setAttribute("data-tab-template",e.tabTemplate)}var h="";switch(e.target?(h=document.querySelector('.ajax-load-more-wrap[data-id="'+e.target+'"]'))&&window.almInit(h):(h=document.querySelector(".ajax-load-more-wrap"))&&window.almInit(h),a){case"filter":"function"==typeof almFilterComplete&&almFilterComplete();break;case"tab":"function"==typeof almTabsComplete&&almTabsComplete()}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(""===e)return!1;e=e.replace(/(<p><\/p>)+/g,""),t.innerHTML=e}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(t){if(t&&t.debug){var e={query:t.debug,localize:t.localize};console.log("ALM Debug:",e)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(t){if(!t)return!1;var e=-1!==t.scroll_distance_orig.toString().indexOf("-"),n=t.scroll_distance_orig.toString().replace("-","").replace("%",""),r=t.window.innerHeight,o=Math.floor(r/100*parseInt(n));return parseInt(e?"-"+o:o)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.showPlaceholder=function(t){if(!t||!t.main||t.addons.paging||"prev"===t.rel)return!1;t.placeholder&&(t.placeholder.style.display="block",(0,r.default)(t.placeholder,150))},e.hidePlaceholder=function(t){if(!t||!t.main||t.addons.paging)return!1;t.placeholder&&((0,o.default)(t.placeholder,150),setTimeout((function(){t.placeholder.style.display="none"}),75))};var r=a(n(50)),o=a(n(70));function a(t){return t&&t.__esModule?t:{default:t}}},function(t,e,n){"use strict";function r(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n={html:"",meta:{postcount:1,totalposts:1,debug:"Single Posts Query"}};if(200===t.status&&t.data&&e){var r=document.createElement("div");r.innerHTML=t.data;var a=r.querySelector(e),i=window&&window.almSinglePostsCustomElements;i&&a.appendChild(o(r,i)),a?n.html=a.innerHTML:console.warn("Ajax Load More: Unable to find "+e+" element.")}return n}function o(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=document.createElement("div");if(n.classList.add("alm-custom-elements"),!t||!e)return n;e=Array.isArray(e)?e:[e];for(var r=0;r<e.length;r++){var o=t.querySelector(e[r]);o&&n.appendChild(o)}return n}Object.defineProperty(e,"__esModule",{value:!0}),e.singlePostHTML=r,e.default=r},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createCacheFile=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"standard";if("true"!==t.addons.cache||!e||""===e)return!1;var r="single"===n?t.addons.single_post_id:"page-"+(t.page+1),o=new FormData;o.append("action","alm_cache_from_html"),o.append("security",alm_localize.alm_nonce),o.append("cache_id",t.addons.cache_id),o.append("cache_logged_in",t.addons.cache_logged_in),o.append("canonical_url",t.canonical_url),o.append("name",r),o.append("html",e.trim()),a.default.post(alm_localize.ajaxurl,o).then((function(e){console.log("Cache created for: "+t.canonical_url)}))},e.wooCache=function(t,e){if("true"!==t.addons.cache||!e||""===e)return!1;var n=new FormData;n.append("action","alm_cache_from_html"),n.append("security",alm_localize.alm_nonce),n.append("cache_id",t.addons.cache_id),n.append("cache_logged_in",t.addons.cache_logged_in),n.append("canonical_url",t.canonical_url),n.append("name","page-"+t.page),n.append("html",e.trim()),a.default.post(alm_localize.ajaxurl,n).then((function(e){console.log("Cache created for post: "+t.canonical_url)}))};var r,o=n(64),a=(r=o)&&r.__esModule?r:{default:r}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.wooInit=function(t){if(!t||!t.addons.woocommerce)return!1;t.button.dataset.page=t.addons.woocommerce_settings.paged+1;var e=t.addons.woocommerce_settings.paged_urls[t.addons.woocommerce_settings.paged];t.button.dataset.url=e||"";var n=document.querySelector(t.addons.woocommerce_settings.container);if(n){var r=function(t){if(!t)return 0;var e=document.querySelectorAll(t);return e?e.length:0}(t.addons.woocommerce_settings.container),o=t.addons.woocommerce_settings.paged;r>1&&console.warn("ALM WooCommerce: Multiple containers with the same classname or ID found. The WooCommerce add-on requires a single container to be defined. Get more information -> https://connekthq.com/plugins/ajax-load-more/docs/add-ons/woocommerce/"),n.setAttribute("aria-live","polite"),n.setAttribute("aria-atomic","true"),t.listing.removeAttribute("aria-live"),t.listing.removeAttribute("aria-atomic");var a=n.querySelector(t.addons.woocommerce_settings.products);if(a?(a.classList.add("alm-woocommerce"),a.dataset.url=t.addons.woocommerce_settings.paged_urls[t.addons.woocommerce_settings.paged-1],a.dataset.page=t.page,a.dataset.pageTitle=document.title):console.warn("ALM WooCommerce: Unable to locate products. Get more information -> https://connekthq.com/plugins/ajax-load-more/docs/add-ons/woocommerce/#alm_woocommerce_products"),o>1&&t.addons.woocommerce_settings.settings.previous_products){var i=t.addons.woocommerce_settings.paged_urls[o-2],s=t.addons.woocommerce_settings.settings.previous_products;(0,l.createLoadPreviousButton)(t,n,o-1,i,s)}}else console.warn("ALM WooCommerce: Unable to locate container element. Get more information -> https://connekthq.com/plugins/ajax-load-more/docs/add-ons/woocommerce/#alm_woocommerce_container")},e.woocommerce=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:document.title;if(!t||!e)return!1;return new Promise((function(r){var o=document.querySelector(e.addons.woocommerce_settings.container),a=t.querySelectorAll(e.addons.woocommerce_settings.products),i="prev"===e.rel?e.pagePrev-1:e.page,l=e.addons.woocommerce_settings.paged_urls[i];o&&a&&l&&(a=Array.prototype.slice.call(a),u(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,s.default)(o,a,e,n,l,"alm-woocommerce");case 2:r(!0);case 3:case"end":return t.stop()}}),t,this)})))().catch((function(t){console.log(t,"There was an error with WooCommerce")})))}))},e.woocommerceLoaded=function(t){var e=t.page+2,n=t.addons.woocommerce_settings.paged_urls[e-1];if("prev"===t.rel&&t.buttonPrev){var r=t.pagePrev-1,s=t.addons.woocommerce_settings.paged_urls[t.pagePrev-2];(0,a.setButtonAtts)(t.buttonPrev,r,s),(0,o.default)(!0)}else(0,a.setButtonAtts)(t.button,e,n);(0,i.lazyImages)(t),"function"==typeof almComplete&&"masonry"!==t.transition&&window.almComplete(t);t.AjaxLoadMore.transitionEnd(),"prev"===t.rel&&t.pagePrev<=1&&t.AjaxLoadMore.triggerDonePrev();"next"===t.rel&&e>parseInt(t.addons.woocommerce_settings.pages)&&t.AjaxLoadMore.triggerDone()},e.wooReset=function(){return new Promise((function(t){var e=window.location;r.default.get(e).then((function(e){if(200===e.status&&e.data){var n=document.createElement("div");n.innerHTML=e.data;var r=n.querySelector('.ajax-load-more-wrap .alm-listing[data-woo="true"]'),o=r?r.dataset.wooSettings:"";t(o)}else t(!1)})).catch((function(e){t(!1)}))}))},e.wooGetContent=function(t,e){var n={html:"",meta:{postcount:1,totalposts:e.localize.total_posts,debug:!1}};if(200===t.status&&t.data){var r=document.createElement("div");r.innerHTML=t.data;var o=r.querySelector("title").innerHTML;n.pageTitle=o;var a=r.querySelector(e.addons.woocommerce_settings.container);n.html=a?a.innerHTML:"",function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments[1];if(t&&e&&e.addons.woocommerce_settings.results_text){var n=t.querySelector(e.addons.woocommerce_settings.results);e.addons.woocommerce_settings.results_text&&e.addons.woocommerce_settings.results_text.forEach((function(t){t.innerHTML=n.innerHTML}))}}(r,e)}return n};var r=c(n(64)),o=c(n(182)),a=n(67),i=n(51),s=c(n(111)),l=n(184);function c(t){return t&&t.__esModule?t:{default:t}}function u(t){return function(){var e=t.apply(this,arguments);return new Promise((function(t,n){return function r(o,a){try{var i=e[o](a),s=i.value}catch(t){return void n(t)}if(!i.done)return Promise.resolve(s).then((function(t){r("next",t)}),(function(t){r("throw",t)}));t(s)}("next")}))}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];"function"==typeof Event&&setTimeout((function(){window.dispatchEvent(new CustomEvent("scroll"))}),t?150:1)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,o=n(68),a=(r=o)&&r.__esModule?r:{default:r},i=n(51);var s=n(69);e.default=function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"next";return new Promise((function(o){s(e,(function(){e.style.transition="all 0.4s ease","prev"===r?t.insertBefore(e,t.childNodes[0]):t.appendChild(e),(0,i.lazyImagesReplace)(e),(0,a.default)(e,n),o(!0)}))}))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createLoadPreviousButton=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=arguments[3],o=arguments[4];if(!o)return;var a=document.createElement("div");a.classList.add("alm-btn-wrap--prev");var i=document.createElement("a");i.href=r,i.innerHTML=o,i.setAttribute("rel","prev"),i.dataset.page=n,i.dataset.url=r,i.setAttribute("class","alm-load-more-btn alm-load-more-btn--prev "+t.loading_style),i.addEventListener("click",(function(e){t.AjaxLoadMore.prevClick(e)})),t.AjaxLoadMore.setPreviousButton(i),a.appendChild(i);var s=e.parentNode;s.insertBefore(a,e)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.elementorInit=function(t){if(!t.addons.elementor||!t.addons.elementor_type||"posts"===!t.addons.elementor_type)return!1;var e=t.addons.elementor_element;if(e){t.button.dataset.page=t.addons.elementor_paged;var n=t.addons.elementor_next_page_url;t.button.dataset.url=n||"",e.setAttribute("aria-live","polite"),e.setAttribute("aria-atomic","true"),t.listing.removeAttribute("aria-live"),t.listing.removeAttribute("aria-atomic");var r=e.querySelector("."+t.addons.elementor_item_class);if(r&&(r.classList.add("alm-elementor"),r.dataset.url=window.location,r.dataset.page=t.addons.elementor_paged,r.dataset.pageTitle=document.title),t.addons.elementor_paged,t.addons.elementor_masonry){var o=void 0;setTimeout((function(){window.addEventListener("resize",(function(){clearTimeout(o),o=setTimeout((function(){c(t,"."+t.addons.elementor_container_class,"."+t.addons.elementor_item_class)}),100)}))}),250)}}},e.elementor=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:document.title;if(!t||!e)return!1;return new Promise((function(r){var o=e.addons.elementor_element.querySelector("."+e.addons.elementor_container_class),a=t.querySelectorAll("."+e.addons.elementor_item_class),i=e.addons.elementor_current_url;o&&a&&i?(a=Array.prototype.slice.call(a),l(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,s.default)(o,a,e,n,i,"alm-elementor");case 2:e.addons.elementor_masonry&&setTimeout((function(){c(e,"."+e.addons.elementor_container_class,"."+e.addons.elementor_item_class)}),125),r(!0);case 4:case"end":return t.stop()}}),t,this)})))().catch((function(t){console.log(t,"There was an error with Elementor")}))):r(!1)}))},e.elementorLoaded=function(t){var e=t.page+1,n=t.addons.elementor_next_page_url;(0,o.setButtonAtts)(t.button,e,n),(0,a.lazyImages)(t),"function"==typeof almComplete&&"masonry"!==t.transition&&window.almComplete(t);t.AjaxLoadMore.transitionEnd(),n||t.AjaxLoadMore.triggerDone()},e.elementorGetContent=function(t,e){var n={html:"",meta:{postcount:1,totalposts:e.localize.total_posts,debug:!1}};if(200===t.status&&t.data){var r=document.createElement("div");r.innerHTML=t.data;var o=r.querySelector("title").innerHTML;n.pageTitle=o;var a=r.querySelector(e.addons.elementor_target+" ."+e.addons.elementor_container_class);n.html=a?a.innerHTML:"",e.addons.elementor_current_url=e.addons.elementor_next_page_url,e.addons.elementor_next_page_url=(i=r,s=e.addons.elementor_pagination_class,(l=i.querySelector(s))?u(l):"")}var i,s,l;return n},e.elementorCreateParams=function(t){t.addons.elementor_type="posts",t.addons.elementor_settings=JSON.parse(t.listing.dataset.elementorSettings),t.addons.elementor_target=t.addons.elementor_settings.target,t.addons.elementor_element=t.addons.elementor_settings.target?document.querySelector(".elementor-widget-wrap "+t.addons.elementor_settings.target):"",t.addons.elementor_widget=function(t){if(!t)return!1;return t.classList.contains("elementor-wc-products")?"woocommerce":"posts"}(t.addons.elementor_element),(t=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"posts";return t.addons.elementor_container_class="woocommerce"===e?t.addons.elementor_settings.woo_container_class:t.addons.elementor_settings.posts_container_class,t.addons.elementor_item_class="woocommerce"===e?t.addons.elementor_settings.woo_item_class:t.addons.elementor_settings.posts_item_class,t.addons.elementor_pagination_class="woocommerce"===e?"."+t.addons.elementor_settings.woo_pagination_class:"."+t.addons.elementor_settings.posts_pagination_class,t}(t,t.addons.elementor_widget)).addons.elementor_pagination=t.addons.elementor_element.querySelector(t.addons.elementor_pagination_class)||t.addons.elementor_element.querySelector("."+t.addons.elementor_settings.pagination_class),t.addons.elementor_pagination=!!t.addons.elementor_pagination&&t.addons.elementor_pagination,t.addons.elementor_controls=t.addons.elementor_settings.controls,t.addons.elementor_controls="true"===t.addons.elementor_controls,t.addons.elementor_scrolltop=parseInt(t.addons.elementor_settings.scrolltop),t.addons.elementor_current_url=window.location.href,t.addons.elementor_next_page_url=u(t.addons.elementor_pagination),t.addons.elementor_paged=t.addons.elementor_settings.paged?parseInt(t.addons.elementor_settings.paged):1,t.page=parseInt(t.page)+t.addons.elementor_paged,(t=function(t){if(!t.addons.elementor_element)return t;var e=t.addons.elementor_element,n=e.dataset.settings?JSON.parse(e.dataset.settings):"";if(!n)return t;t.addons.elementor_masonry=n.hasOwnProperty("cards_masonry")||n.hasOwnProperty("classic_masonry"),t.addons.elementor_masonry&&(t.addons.elementor_masonry_columns=parseInt(n.cards_columns)||parseInt(n.classic_columns),t.addons.elementor_masonry_columns_mobile=parseInt(n.cards_columns_mobile)||parseInt(n.classic_columns_mobile),t.addons.elementor_masonry_columns_tablet=parseInt(n.cards_columns_tablet)||parseInt(n.classic_columns_tablet),t.addons.elementor_masonry_gap=parseInt(n.cards_row_gap.size));return t}(t)).addons.elementor_element||console.warn("Ajax Load More: Unable to locate Elementor Widget. Are you sure you've set up your target parameter correctly?");t.addons.elementor_pagination||console.warn("Ajax Load More: Unable to locate Elementor pagination. There are either no results or p Ajax Load More is unable to locate the pagination widget?");return t};var r,o=n(67),a=n(51),i=n(111),s=(r=i)&&r.__esModule?r:{default:r};function l(t){return function(){var e=t.apply(this,arguments);return new Promise((function(t,n){return function r(o,a){try{var i=e[o](a),s=i.value}catch(t){return void n(t)}if(!i.done)return Promise.resolve(s).then((function(t){r("next",t)}),(function(t){r("throw",t)}));t(s)}("next")}))}}function c(t,e,n){var r=[],o=t.addons.elementor_masonry_columns,a=t.addons.elementor_masonry_columns_tablet,i=t.addons.elementor_masonry_columns_mobile,s=t.addons.elementor_masonry_gap,l=o,c=window.elementorFrontendConfig&&window.elementorFrontendConfig.breakpoints?window.elementorFrontendConfig.breakpoints:0,u=window.innerWidth;l=u>c.lg?o:u>c.md?a:i;var d=document.querySelector(e);if(!d)return!1;var f=d.querySelectorAll(n);if(!f)return!1;f.forEach((function(t,e){var n=Math.floor(e/l),o=t.getBoundingClientRect().height+s;if(n){var a=jQuery(t).position(),i=e%l,c=Math.round(a.top)-r[i];c*=-1,t.style.marginTop=Math.round(c)+"px",r[i]+=o}else r.push(o)}))}function u(t){return t&&t.querySelector("a.next")?t.querySelector("a.next").href:""}},function(t,e,n){n(187)},function(t,e,n){"use strict";n(188),n(331),n(333),n(336),n(338),n(340),n(342),n(344),n(346),n(348),n(350),n(352),n(354),n(358)},function(t,e,n){n(189),n(192),n(193),n(194),n(195),n(196),n(197),n(198),n(199),n(200),n(201),n(202),n(203),n(204),n(205),n(206),n(207),n(208),n(209),n(210),n(211),n(212),n(213),n(214),n(215),n(216),n(217),n(218),n(219),n(220),n(221),n(222),n(223),n(224),n(225),n(226),n(227),n(228),n(229),n(230),n(231),n(232),n(233),n(235),n(236),n(237),n(238),n(239),n(240),n(241),n(242),n(243),n(244),n(245),n(246),n(247),n(248),n(249),n(250),n(251),n(252),n(253),n(254),n(255),n(256),n(257),n(258),n(259),n(260),n(261),n(262),n(263),n(264),n(265),n(266),n(267),n(268),n(270),n(271),n(273),n(274),n(275),n(276),n(277),n(278),n(279),n(281),n(282),n(283),n(284),n(285),n(286),n(287),n(288),n(289),n(290),n(291),n(292),n(293),n(91),n(294),n(132),n(295),n(133),n(296),n(297),n(298),n(299),n(134),n(302),n(303),n(304),n(305),n(306),n(307),n(308),n(309),n(310),n(311),n(312),n(313),n(314),n(315),n(316),n(317),n(318),n(319),n(320),n(321),n(322),n(323),n(324),n(325),n(326),n(327),n(328),n(329),n(330),t.exports=n(7)},function(t,e,n){"use strict";var r=n(1),o=n(14),a=n(8),i=n(0),s=n(12),l=n(28).KEY,c=n(2),u=n(52),d=n(39),f=n(30),p=n(5),g=n(72),m=n(113),h=n(191),v=n(55),y=n(3),_=n(4),b=n(10),w=n(16),x=n(27),S=n(29),A=n(34),j=n(116),P=n(21),L=n(54),M=n(9),E=n(32),O=P.f,T=M.f,I=j.f,C=r.Symbol,N=r.JSON,F=N&&N.stringify,k=p("_hidden"),R=p("toPrimitive"),q={}.propertyIsEnumerable,D=u("symbol-registry"),z=u("symbols"),B=u("op-symbols"),U=Object.prototype,W="function"==typeof C&&!!L.f,H=r.QObject,V=!H||!H.prototype||!H.prototype.findChild,G=a&&c((function(){return 7!=A(T({},"a",{get:function(){return T(this,"a",{value:7}).a}})).a}))?function(t,e,n){var r=O(U,e);r&&delete U[e],T(t,e,n),r&&t!==U&&T(U,e,r)}:T,Y=function(t){var e=z[t]=A(C.prototype);return e._k=t,e},X=W&&"symbol"==typeof C.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof C},Q=function(t,e,n){return t===U&&Q(B,e,n),y(t),e=x(e,!0),y(n),o(z,e)?(n.enumerable?(o(t,k)&&t[k][e]&&(t[k][e]=!1),n=A(n,{enumerable:S(0,!1)})):(o(t,k)||T(t,k,S(1,{})),t[k][e]=!0),G(t,e,n)):T(t,e,n)},$=function(t,e){y(t);for(var n,r=h(e=w(e)),o=0,a=r.length;a>o;)Q(t,n=r[o++],e[n]);return t},J=function(t){var e=q.call(this,t=x(t,!0));return!(this===U&&o(z,t)&&!o(B,t))&&(!(e||!o(this,t)||!o(z,t)||o(this,k)&&this[k][t])||e)},K=function(t,e){if(t=w(t),e=x(e,!0),t!==U||!o(z,e)||o(B,e)){var n=O(t,e);return!n||!o(z,e)||o(t,k)&&t[k][e]||(n.enumerable=!0),n}},Z=function(t){for(var e,n=I(w(t)),r=[],a=0;n.length>a;)o(z,e=n[a++])||e==k||e==l||r.push(e);return r},tt=function(t){for(var e,n=t===U,r=I(n?B:w(t)),a=[],i=0;r.length>i;)!o(z,e=r[i++])||n&&!o(U,e)||a.push(z[e]);return a};W||(s((C=function(){if(this instanceof C)throw TypeError("Symbol is not a constructor!");var t=f(arguments.length>0?arguments[0]:void 0),e=function(n){this===U&&e.call(B,n),o(this,k)&&o(this[k],t)&&(this[k][t]=!1),G(this,t,S(1,n))};return a&&V&&G(U,t,{configurable:!0,set:e}),Y(t)}).prototype,"toString",(function(){return this._k})),P.f=K,M.f=Q,n(35).f=j.f=Z,n(46).f=J,L.f=tt,a&&!n(31)&&s(U,"propertyIsEnumerable",J,!0),g.f=function(t){return Y(p(t))}),i(i.G+i.W+i.F*!W,{Symbol:C});for(var et="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),nt=0;et.length>nt;)p(et[nt++]);for(var rt=E(p.store),ot=0;rt.length>ot;)m(rt[ot++]);i(i.S+i.F*!W,"Symbol",{for:function(t){return o(D,t+="")?D[t]:D[t]=C(t)},keyFor:function(t){if(!X(t))throw TypeError(t+" is not a symbol!");for(var e in D)if(D[e]===t)return e},useSetter:function(){V=!0},useSimple:function(){V=!1}}),i(i.S+i.F*!W,"Object",{create:function(t,e){return void 0===e?A(t):$(A(t),e)},defineProperty:Q,defineProperties:$,getOwnPropertyDescriptor:K,getOwnPropertyNames:Z,getOwnPropertySymbols:tt});var at=c((function(){L.f(1)}));i(i.S+i.F*at,"Object",{getOwnPropertySymbols:function(t){return L.f(b(t))}}),N&&i(i.S+i.F*(!W||c((function(){var t=C();return"[null]"!=F([t])||"{}"!=F({a:t})||"{}"!=F(Object(t))}))),"JSON",{stringify:function(t){for(var e,n,r=[t],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=e=r[1],(_(e)||void 0!==t)&&!X(t))return v(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!X(e))return e}),r[1]=e,F.apply(N,r)}}),C.prototype[R]||n(15)(C.prototype,R,C.prototype.valueOf),d(C,"Symbol"),d(Math,"Math",!0),d(r.JSON,"JSON",!0)},function(t,e,n){t.exports=n(52)("native-function-to-string",Function.toString)},function(t,e,n){var r=n(32),o=n(54),a=n(46);t.exports=function(t){var e=r(t),n=o.f;if(n)for(var i,s=n(t),l=a.f,c=0;s.length>c;)l.call(t,i=s[c++])&&e.push(i);return e}},function(t,e,n){var r=n(0);r(r.S,"Object",{create:n(34)})},function(t,e,n){var r=n(0);r(r.S+r.F*!n(8),"Object",{defineProperty:n(9).f})},function(t,e,n){var r=n(0);r(r.S+r.F*!n(8),"Object",{defineProperties:n(115)})},function(t,e,n){var r=n(16),o=n(21).f;n(22)("getOwnPropertyDescriptor",(function(){return function(t,e){return o(r(t),e)}}))},function(t,e,n){var r=n(10),o=n(36);n(22)("getPrototypeOf",(function(){return function(t){return o(r(t))}}))},function(t,e,n){var r=n(10),o=n(32);n(22)("keys",(function(){return function(t){return o(r(t))}}))},function(t,e,n){n(22)("getOwnPropertyNames",(function(){return n(116).f}))},function(t,e,n){var r=n(4),o=n(28).onFreeze;n(22)("freeze",(function(t){return function(e){return t&&r(e)?t(o(e)):e}}))},function(t,e,n){var r=n(4),o=n(28).onFreeze;n(22)("seal",(function(t){return function(e){return t&&r(e)?t(o(e)):e}}))},function(t,e,n){var r=n(4),o=n(28).onFreeze;n(22)("preventExtensions",(function(t){return function(e){return t&&r(e)?t(o(e)):e}}))},function(t,e,n){var r=n(4);n(22)("isFrozen",(function(t){return function(e){return!r(e)||!!t&&t(e)}}))},function(t,e,n){var r=n(4);n(22)("isSealed",(function(t){return function(e){return!r(e)||!!t&&t(e)}}))},function(t,e,n){var r=n(4);n(22)("isExtensible",(function(t){return function(e){return!!r(e)&&(!t||t(e))}}))},function(t,e,n){var r=n(0);r(r.S+r.F,"Object",{assign:n(117)})},function(t,e,n){var r=n(0);r(r.S,"Object",{is:n(118)})},function(t,e,n){var r=n(0);r(r.S,"Object",{setPrototypeOf:n(76).set})},function(t,e,n){"use strict";var r=n(47),o={};o[n(5)("toStringTag")]="z",o+""!="[object z]"&&n(12)(Object.prototype,"toString",(function(){return"[object "+r(this)+"]"}),!0)},function(t,e,n){var r=n(0);r(r.P,"Function",{bind:n(119)})},function(t,e,n){var r=n(9).f,o=Function.prototype,a=/^\s*function ([^ (]*)/;"name"in o||n(8)&&r(o,"name",{configurable:!0,get:function(){try{return(""+this).match(a)[1]}catch(t){return""}}})},function(t,e,n){"use strict";var r=n(4),o=n(36),a=n(5)("hasInstance"),i=Function.prototype;a in i||n(9).f(i,a,{value:function(t){if("function"!=typeof this||!r(t))return!1;if(!r(this.prototype))return t instanceof this;for(;t=o(t);)if(this.prototype===t)return!0;return!1}})},function(t,e,n){var r=n(0),o=n(121);r(r.G+r.F*(parseInt!=o),{parseInt:o})},function(t,e,n){var r=n(0),o=n(122);r(r.G+r.F*(parseFloat!=o),{parseFloat:o})},function(t,e,n){"use strict";var r=n(1),o=n(14),a=n(24),i=n(78),s=n(27),l=n(2),c=n(35).f,u=n(21).f,d=n(9).f,f=n(40).trim,p=r.Number,g=p,m=p.prototype,h="Number"==a(n(34)(m)),v="trim"in String.prototype,y=function(t){var e=s(t,!1);if("string"==typeof e&&e.length>2){var n,r,o,a=(e=v?e.trim():f(e,3)).charCodeAt(0);if(43===a||45===a){if(88===(n=e.charCodeAt(2))||120===n)return NaN}else if(48===a){switch(e.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+e}for(var i,l=e.slice(2),c=0,u=l.length;c<u;c++)if((i=l.charCodeAt(c))<48||i>o)return NaN;return parseInt(l,r)}}return+e};if(!p(" 0o1")||!p("0b1")||p("+0x1")){p=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof p&&(h?l((function(){m.valueOf.call(n)})):"Number"!=a(n))?i(new g(y(e)),n,p):y(e)};for(var _,b=n(8)?c(g):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),w=0;b.length>w;w++)o(g,_=b[w])&&!o(p,_)&&d(p,_,u(g,_));p.prototype=m,m.constructor=p,n(12)(r,"Number",p)}},function(t,e,n){"use strict";var r=n(0),o=n(20),a=n(123),i=n(79),s=1..toFixed,l=Math.floor,c=[0,0,0,0,0,0],u="Number.toFixed: incorrect invocation!",d=function(t,e){for(var n=-1,r=e;++n<6;)r+=t*c[n],c[n]=r%1e7,r=l(r/1e7)},f=function(t){for(var e=6,n=0;--e>=0;)n+=c[e],c[e]=l(n/t),n=n%t*1e7},p=function(){for(var t=6,e="";--t>=0;)if(""!==e||0===t||0!==c[t]){var n=String(c[t]);e=""===e?n:e+i.call("0",7-n.length)+n}return e},g=function(t,e,n){return 0===e?n:e%2==1?g(t,e-1,n*t):g(t*t,e/2,n)};r(r.P+r.F*(!!s&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!n(2)((function(){s.call({})}))),"Number",{toFixed:function(t){var e,n,r,s,l=a(this,u),c=o(t),m="",h="0";if(c<0||c>20)throw RangeError(u);if(l!=l)return"NaN";if(l<=-1e21||l>=1e21)return String(l);if(l<0&&(m="-",l=-l),l>1e-21)if(n=(e=function(t){for(var e=0,n=t;n>=4096;)e+=12,n/=4096;for(;n>=2;)e+=1,n/=2;return e}(l*g(2,69,1))-69)<0?l*g(2,-e,1):l/g(2,e,1),n*=4503599627370496,(e=52-e)>0){for(d(0,n),r=c;r>=7;)d(1e7,0),r-=7;for(d(g(10,r,1),0),r=e-1;r>=23;)f(1<<23),r-=23;f(1<<r),d(1,1),f(2),h=p()}else d(0,n),d(1<<-e,0),h=p()+i.call("0",c);return h=c>0?m+((s=h.length)<=c?"0."+i.call("0",c-s)+h:h.slice(0,s-c)+"."+h.slice(s-c)):m+h}})},function(t,e,n){"use strict";var r=n(0),o=n(2),a=n(123),i=1..toPrecision;r(r.P+r.F*(o((function(){return"1"!==i.call(1,void 0)}))||!o((function(){i.call({})}))),"Number",{toPrecision:function(t){var e=a(this,"Number#toPrecision: incorrect invocation!");return void 0===t?i.call(e):i.call(e,t)}})},function(t,e,n){var r=n(0);r(r.S,"Number",{EPSILON:Math.pow(2,-52)})},function(t,e,n){var r=n(0),o=n(1).isFinite;r(r.S,"Number",{isFinite:function(t){return"number"==typeof t&&o(t)}})},function(t,e,n){var r=n(0);r(r.S,"Number",{isInteger:n(124)})},function(t,e,n){var r=n(0);r(r.S,"Number",{isNaN:function(t){return t!=t}})},function(t,e,n){var r=n(0),o=n(124),a=Math.abs;r(r.S,"Number",{isSafeInteger:function(t){return o(t)&&a(t)<=9007199254740991}})},function(t,e,n){var r=n(0);r(r.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},function(t,e,n){var r=n(0);r(r.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},function(t,e,n){var r=n(0),o=n(122);r(r.S+r.F*(Number.parseFloat!=o),"Number",{parseFloat:o})},function(t,e,n){var r=n(0),o=n(121);r(r.S+r.F*(Number.parseInt!=o),"Number",{parseInt:o})},function(t,e,n){var r=n(0),o=n(125),a=Math.sqrt,i=Math.acosh;r(r.S+r.F*!(i&&710==Math.floor(i(Number.MAX_VALUE))&&i(1/0)==1/0),"Math",{acosh:function(t){return(t=+t)<1?NaN:t>94906265.62425156?Math.log(t)+Math.LN2:o(t-1+a(t-1)*a(t+1))}})},function(t,e,n){var r=n(0),o=Math.asinh;r(r.S+r.F*!(o&&1/o(0)>0),"Math",{asinh:function t(e){return isFinite(e=+e)&&0!=e?e<0?-t(-e):Math.log(e+Math.sqrt(e*e+1)):e}})},function(t,e,n){var r=n(0),o=Math.atanh;r(r.S+r.F*!(o&&1/o(-0)<0),"Math",{atanh:function(t){return 0==(t=+t)?t:Math.log((1+t)/(1-t))/2}})},function(t,e,n){var r=n(0),o=n(80);r(r.S,"Math",{cbrt:function(t){return o(t=+t)*Math.pow(Math.abs(t),1/3)}})},function(t,e,n){var r=n(0);r(r.S,"Math",{clz32:function(t){return(t>>>=0)?31-Math.floor(Math.log(t+.5)*Math.LOG2E):32}})},function(t,e,n){var r=n(0),o=Math.exp;r(r.S,"Math",{cosh:function(t){return(o(t=+t)+o(-t))/2}})},function(t,e,n){var r=n(0),o=n(81);r(r.S+r.F*(o!=Math.expm1),"Math",{expm1:o})},function(t,e,n){var r=n(0);r(r.S,"Math",{fround:n(234)})},function(t,e,n){var r=n(80),o=Math.pow,a=o(2,-52),i=o(2,-23),s=o(2,127)*(2-i),l=o(2,-126);t.exports=Math.fround||function(t){var e,n,o=Math.abs(t),c=r(t);return o<l?c*(o/l/i+1/a-1/a)*l*i:(n=(e=(1+i/a)*o)-(e-o))>s||n!=n?c*(1/0):c*n}},function(t,e,n){var r=n(0),o=Math.abs;r(r.S,"Math",{hypot:function(t,e){for(var n,r,a=0,i=0,s=arguments.length,l=0;i<s;)l<(n=o(arguments[i++]))?(a=a*(r=l/n)*r+1,l=n):a+=n>0?(r=n/l)*r:n;return l===1/0?1/0:l*Math.sqrt(a)}})},function(t,e,n){var r=n(0),o=Math.imul;r(r.S+r.F*n(2)((function(){return-5!=o(4294967295,5)||2!=o.length})),"Math",{imul:function(t,e){var n=+t,r=+e,o=65535&n,a=65535&r;return 0|o*a+((65535&n>>>16)*a+o*(65535&r>>>16)<<16>>>0)}})},function(t,e,n){var r=n(0);r(r.S,"Math",{log10:function(t){return Math.log(t)*Math.LOG10E}})},function(t,e,n){var r=n(0);r(r.S,"Math",{log1p:n(125)})},function(t,e,n){var r=n(0);r(r.S,"Math",{log2:function(t){return Math.log(t)/Math.LN2}})},function(t,e,n){var r=n(0);r(r.S,"Math",{sign:n(80)})},function(t,e,n){var r=n(0),o=n(81),a=Math.exp;r(r.S+r.F*n(2)((function(){return-2e-17!=!Math.sinh(-2e-17)})),"Math",{sinh:function(t){return Math.abs(t=+t)<1?(o(t)-o(-t))/2:(a(t-1)-a(-t-1))*(Math.E/2)}})},function(t,e,n){var r=n(0),o=n(81),a=Math.exp;r(r.S,"Math",{tanh:function(t){var e=o(t=+t),n=o(-t);return e==1/0?1:n==1/0?-1:(e-n)/(a(t)+a(-t))}})},function(t,e,n){var r=n(0);r(r.S,"Math",{trunc:function(t){return(t>0?Math.floor:Math.ceil)(t)}})},function(t,e,n){var r=n(0),o=n(33),a=String.fromCharCode,i=String.fromCodePoint;r(r.S+r.F*(!!i&&1!=i.length),"String",{fromCodePoint:function(t){for(var e,n=[],r=arguments.length,i=0;r>i;){if(e=+arguments[i++],o(e,1114111)!==e)throw RangeError(e+" is not a valid code point");n.push(e<65536?a(e):a(55296+((e-=65536)>>10),e%1024+56320))}return n.join("")}})},function(t,e,n){var r=n(0),o=n(16),a=n(6);r(r.S,"String",{raw:function(t){for(var e=o(t.raw),n=a(e.length),r=arguments.length,i=[],s=0;n>s;)i.push(String(e[s++])),s<r&&i.push(String(arguments[s]));return i.join("")}})},function(t,e,n){"use strict";n(40)("trim",(function(t){return function(){return t(this,3)}}))},function(t,e,n){"use strict";var r=n(82)(!0);n(83)(String,"String",(function(t){this._t=String(t),this._i=0}),(function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})}))},function(t,e,n){"use strict";var r=n(0),o=n(82)(!1);r(r.P,"String",{codePointAt:function(t){return o(this,t)}})},function(t,e,n){"use strict";var r=n(0),o=n(6),a=n(84),i="".endsWith;r(r.P+r.F*n(86)("endsWith"),"String",{endsWith:function(t){var e=a(this,t,"endsWith"),n=arguments.length>1?arguments[1]:void 0,r=o(e.length),s=void 0===n?r:Math.min(o(n),r),l=String(t);return i?i.call(e,l,s):e.slice(s-l.length,s)===l}})},function(t,e,n){"use strict";var r=n(0),o=n(84);r(r.P+r.F*n(86)("includes"),"String",{includes:function(t){return!!~o(this,t,"includes").indexOf(t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){var r=n(0);r(r.P,"String",{repeat:n(79)})},function(t,e,n){"use strict";var r=n(0),o=n(6),a=n(84),i="".startsWith;r(r.P+r.F*n(86)("startsWith"),"String",{startsWith:function(t){var e=a(this,t,"startsWith"),n=o(Math.min(arguments.length>1?arguments[1]:void 0,e.length)),r=String(t);return i?i.call(e,r,n):e.slice(n,n+r.length)===r}})},function(t,e,n){"use strict";n(13)("anchor",(function(t){return function(e){return t(this,"a","name",e)}}))},function(t,e,n){"use strict";n(13)("big",(function(t){return function(){return t(this,"big","","")}}))},function(t,e,n){"use strict";n(13)("blink",(function(t){return function(){return t(this,"blink","","")}}))},function(t,e,n){"use strict";n(13)("bold",(function(t){return function(){return t(this,"b","","")}}))},function(t,e,n){"use strict";n(13)("fixed",(function(t){return function(){return t(this,"tt","","")}}))},function(t,e,n){"use strict";n(13)("fontcolor",(function(t){return function(e){return t(this,"font","color",e)}}))},function(t,e,n){"use strict";n(13)("fontsize",(function(t){return function(e){return t(this,"font","size",e)}}))},function(t,e,n){"use strict";n(13)("italics",(function(t){return function(){return t(this,"i","","")}}))},function(t,e,n){"use strict";n(13)("link",(function(t){return function(e){return t(this,"a","href",e)}}))},function(t,e,n){"use strict";n(13)("small",(function(t){return function(){return t(this,"small","","")}}))},function(t,e,n){"use strict";n(13)("strike",(function(t){return function(){return t(this,"strike","","")}}))},function(t,e,n){"use strict";n(13)("sub",(function(t){return function(){return t(this,"sub","","")}}))},function(t,e,n){"use strict";n(13)("sup",(function(t){return function(){return t(this,"sup","","")}}))},function(t,e,n){var r=n(0);r(r.S,"Date",{now:function(){return(new Date).getTime()}})},function(t,e,n){"use strict";var r=n(0),o=n(10),a=n(27);r(r.P+r.F*n(2)((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})})),"Date",{toJSON:function(t){var e=o(this),n=a(e);return"number"!=typeof n||isFinite(n)?e.toISOString():null}})},function(t,e,n){var r=n(0),o=n(269);r(r.P+r.F*(Date.prototype.toISOString!==o),"Date",{toISOString:o})},function(t,e,n){"use strict";var r=n(2),o=Date.prototype.getTime,a=Date.prototype.toISOString,i=function(t){return t>9?t:"0"+t};t.exports=r((function(){return"0385-07-25T07:06:39.999Z"!=a.call(new Date(-50000000000001))}))||!r((function(){a.call(new Date(NaN))}))?function(){if(!isFinite(o.call(this)))throw RangeError("Invalid time value");var t=this,e=t.getUTCFullYear(),n=t.getUTCMilliseconds(),r=e<0?"-":e>9999?"+":"";return r+("00000"+Math.abs(e)).slice(r?-6:-4)+"-"+i(t.getUTCMonth()+1)+"-"+i(t.getUTCDate())+"T"+i(t.getUTCHours())+":"+i(t.getUTCMinutes())+":"+i(t.getUTCSeconds())+"."+(n>99?n:"0"+i(n))+"Z"}:a},function(t,e,n){var r=Date.prototype,o=r.toString,a=r.getTime;new Date(NaN)+""!="Invalid Date"&&n(12)(r,"toString",(function(){var t=a.call(this);return t==t?o.call(this):"Invalid Date"}))},function(t,e,n){var r=n(5)("toPrimitive"),o=Date.prototype;r in o||n(15)(o,r,n(272))},function(t,e,n){"use strict";var r=n(3),o=n(27);t.exports=function(t){if("string"!==t&&"number"!==t&&"default"!==t)throw TypeError("Incorrect hint");return o(r(this),"number"!=t)}},function(t,e,n){var r=n(0);r(r.S,"Array",{isArray:n(55)})},function(t,e,n){"use strict";var r=n(18),o=n(0),a=n(10),i=n(127),s=n(87),l=n(6),c=n(88),u=n(89);o(o.S+o.F*!n(56)((function(t){Array.from(t)})),"Array",{from:function(t){var e,n,o,d,f=a(t),p="function"==typeof this?this:Array,g=arguments.length,m=g>1?arguments[1]:void 0,h=void 0!==m,v=0,y=u(f);if(h&&(m=r(m,g>2?arguments[2]:void 0,2)),null==y||p==Array&&s(y))for(n=new p(e=l(f.length));e>v;v++)c(n,v,h?m(f[v],v):f[v]);else for(d=y.call(f),n=new p;!(o=d.next()).done;v++)c(n,v,h?i(d,m,[o.value,v],!0):o.value);return n.length=v,n}})},function(t,e,n){"use strict";var r=n(0),o=n(88);r(r.S+r.F*n(2)((function(){function t(){}return!(Array.of.call(t)instanceof t)})),"Array",{of:function(){for(var t=0,e=arguments.length,n=new("function"==typeof this?this:Array)(e);e>t;)o(n,t,arguments[t++]);return n.length=e,n}})},function(t,e,n){"use strict";var r=n(0),o=n(16),a=[].join;r(r.P+r.F*(n(45)!=Object||!n(17)(a)),"Array",{join:function(t){return a.call(o(this),void 0===t?",":t)}})},function(t,e,n){"use strict";var r=n(0),o=n(75),a=n(24),i=n(33),s=n(6),l=[].slice;r(r.P+r.F*n(2)((function(){o&&l.call(o)})),"Array",{slice:function(t,e){var n=s(this.length),r=a(this);if(e=void 0===e?n:e,"Array"==r)return l.call(this,t,e);for(var o=i(t,n),c=i(e,n),u=s(c-o),d=new Array(u),f=0;f<u;f++)d[f]="String"==r?this.charAt(o+f):this[o+f];return d}})},function(t,e,n){"use strict";var r=n(0),o=n(19),a=n(10),i=n(2),s=[].sort,l=[1,2,3];r(r.P+r.F*(i((function(){l.sort(void 0)}))||!i((function(){l.sort(null)}))||!n(17)(s)),"Array",{sort:function(t){return void 0===t?s.call(a(this)):s.call(a(this),o(t))}})},function(t,e,n){"use strict";var r=n(0),o=n(23)(0),a=n(17)([].forEach,!0);r(r.P+r.F*!a,"Array",{forEach:function(t){return o(this,t,arguments[1])}})},function(t,e,n){var r=n(4),o=n(55),a=n(5)("species");t.exports=function(t){var e;return o(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!o(e.prototype)||(e=void 0),r(e)&&null===(e=e[a])&&(e=void 0)),void 0===e?Array:e}},function(t,e,n){"use strict";var r=n(0),o=n(23)(1);r(r.P+r.F*!n(17)([].map,!0),"Array",{map:function(t){return o(this,t,arguments[1])}})},function(t,e,n){"use strict";var r=n(0),o=n(23)(2);r(r.P+r.F*!n(17)([].filter,!0),"Array",{filter:function(t){return o(this,t,arguments[1])}})},function(t,e,n){"use strict";var r=n(0),o=n(23)(3);r(r.P+r.F*!n(17)([].some,!0),"Array",{some:function(t){return o(this,t,arguments[1])}})},function(t,e,n){"use strict";var r=n(0),o=n(23)(4);r(r.P+r.F*!n(17)([].every,!0),"Array",{every:function(t){return o(this,t,arguments[1])}})},function(t,e,n){"use strict";var r=n(0),o=n(129);r(r.P+r.F*!n(17)([].reduce,!0),"Array",{reduce:function(t){return o(this,t,arguments.length,arguments[1],!1)}})},function(t,e,n){"use strict";var r=n(0),o=n(129);r(r.P+r.F*!n(17)([].reduceRight,!0),"Array",{reduceRight:function(t){return o(this,t,arguments.length,arguments[1],!0)}})},function(t,e,n){"use strict";var r=n(0),o=n(53)(!1),a=[].indexOf,i=!!a&&1/[1].indexOf(1,-0)<0;r(r.P+r.F*(i||!n(17)(a)),"Array",{indexOf:function(t){return i?a.apply(this,arguments)||0:o(this,t,arguments[1])}})},function(t,e,n){"use strict";var r=n(0),o=n(16),a=n(20),i=n(6),s=[].lastIndexOf,l=!!s&&1/[1].lastIndexOf(1,-0)<0;r(r.P+r.F*(l||!n(17)(s)),"Array",{lastIndexOf:function(t){if(l)return s.apply(this,arguments)||0;var e=o(this),n=i(e.length),r=n-1;for(arguments.length>1&&(r=Math.min(r,a(arguments[1]))),r<0&&(r=n+r);r>=0;r--)if(r in e&&e[r]===t)return r||0;return-1}})},function(t,e,n){var r=n(0);r(r.P,"Array",{copyWithin:n(130)}),n(37)("copyWithin")},function(t,e,n){var r=n(0);r(r.P,"Array",{fill:n(90)}),n(37)("fill")},function(t,e,n){"use strict";var r=n(0),o=n(23)(5),a=!0;"find"in[]&&Array(1).find((function(){a=!1})),r(r.P+r.F*a,"Array",{find:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),n(37)("find")},function(t,e,n){"use strict";var r=n(0),o=n(23)(6),a="findIndex",i=!0;a in[]&&Array(1)[a]((function(){i=!1})),r(r.P+r.F*i,"Array",{findIndex:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),n(37)(a)},function(t,e,n){n(42)("Array")},function(t,e,n){var r=n(1),o=n(78),a=n(9).f,i=n(35).f,s=n(85),l=n(57),c=r.RegExp,u=c,d=c.prototype,f=/a/g,p=/a/g,g=new c(f)!==f;if(n(8)&&(!g||n(2)((function(){return p[n(5)("match")]=!1,c(f)!=f||c(p)==p||"/a/i"!=c(f,"i")})))){c=function(t,e){var n=this instanceof c,r=s(t),a=void 0===e;return!n&&r&&t.constructor===c&&a?t:o(g?new u(r&&!a?t.source:t,e):u((r=t instanceof c)?t.source:t,r&&a?l.call(t):e),n?this:d,c)};for(var m=function(t){t in c||a(c,t,{configurable:!0,get:function(){return u[t]},set:function(e){u[t]=e}})},h=i(u),v=0;h.length>v;)m(h[v++]);d.constructor=c,c.prototype=d,n(12)(r,"RegExp",c)}n(42)("RegExp")},function(t,e,n){"use strict";n(133);var r=n(3),o=n(57),a=n(8),i=/./.toString,s=function(t){n(12)(RegExp.prototype,"toString",t,!0)};n(2)((function(){return"/a/b"!=i.call({source:"a",flags:"b"})}))?s((function(){var t=r(this);return"/".concat(t.source,"/","flags"in t?t.flags:!a&&t instanceof RegExp?o.call(t):void 0)})):"toString"!=i.name&&s((function(){return i.call(this)}))},function(t,e,n){"use strict";var r=n(3),o=n(6),a=n(93),i=n(58);n(59)("match",1,(function(t,e,n,s){return[function(n){var r=t(this),o=null==n?void 0:n[e];return void 0!==o?o.call(n,r):new RegExp(n)[e](String(r))},function(t){var e=s(n,t,this);if(e.done)return e.value;var l=r(t),c=String(this);if(!l.global)return i(l,c);var u=l.unicode;l.lastIndex=0;for(var d,f=[],p=0;null!==(d=i(l,c));){var g=String(d[0]);f[p]=g,""===g&&(l.lastIndex=a(c,o(l.lastIndex),u)),p++}return 0===p?null:f}]}))},function(t,e,n){"use strict";var r=n(3),o=n(10),a=n(6),i=n(20),s=n(93),l=n(58),c=Math.max,u=Math.min,d=Math.floor,f=/\$([$&`']|\d\d?|<[^>]*>)/g,p=/\$([$&`']|\d\d?)/g;n(59)("replace",2,(function(t,e,n,g){return[function(r,o){var a=t(this),i=null==r?void 0:r[e];return void 0!==i?i.call(r,a,o):n.call(String(a),r,o)},function(t,e){var o=g(n,t,this,e);if(o.done)return o.value;var d=r(t),f=String(this),p="function"==typeof e;p||(e=String(e));var h=d.global;if(h){var v=d.unicode;d.lastIndex=0}for(var y=[];;){var _=l(d,f);if(null===_)break;if(y.push(_),!h)break;""===String(_[0])&&(d.lastIndex=s(f,a(d.lastIndex),v))}for(var b,w="",x=0,S=0;S<y.length;S++){_=y[S];for(var A=String(_[0]),j=c(u(i(_.index),f.length),0),P=[],L=1;L<_.length;L++)P.push(void 0===(b=_[L])?b:String(b));var M=_.groups;if(p){var E=[A].concat(P,j,f);void 0!==M&&E.push(M);var O=String(e.apply(void 0,E))}else O=m(A,f,j,P,M,e);j>=x&&(w+=f.slice(x,j)+O,x=j+A.length)}return w+f.slice(x)}];function m(t,e,r,a,i,s){var l=r+t.length,c=a.length,u=p;return void 0!==i&&(i=o(i),u=f),n.call(s,u,(function(n,o){var s;switch(o.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,r);case"'":return e.slice(l);case"<":s=i[o.slice(1,-1)];break;default:var u=+o;if(0===u)return n;if(u>c){var f=d(u/10);return 0===f?n:f<=c?void 0===a[f-1]?o.charAt(1):a[f-1]+o.charAt(1):n}s=a[u-1]}return void 0===s?"":s}))}}))},function(t,e,n){"use strict";var r=n(3),o=n(118),a=n(58);n(59)("search",1,(function(t,e,n,i){return[function(n){var r=t(this),o=null==n?void 0:n[e];return void 0!==o?o.call(n,r):new RegExp(n)[e](String(r))},function(t){var e=i(n,t,this);if(e.done)return e.value;var s=r(t),l=String(this),c=s.lastIndex;o(c,0)||(s.lastIndex=0);var u=a(s,l);return o(s.lastIndex,c)||(s.lastIndex=c),null===u?-1:u.index}]}))},function(t,e,n){"use strict";var r=n(85),o=n(3),a=n(48),i=n(93),s=n(6),l=n(58),c=n(92),u=n(2),d=Math.min,f=[].push,p="length",g=!u((function(){RegExp(4294967295,"y")}));n(59)("split",2,(function(t,e,n,u){var m;return m="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1)[p]||2!="ab".split(/(?:ab)*/)[p]||4!=".".split(/(.?)(.?)/)[p]||".".split(/()()/)[p]>1||"".split(/.?/)[p]?function(t,e){var o=String(this);if(void 0===t&&0===e)return[];if(!r(t))return n.call(o,t,e);for(var a,i,s,l=[],u=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),d=0,g=void 0===e?4294967295:e>>>0,m=new RegExp(t.source,u+"g");(a=c.call(m,o))&&!((i=m.lastIndex)>d&&(l.push(o.slice(d,a.index)),a[p]>1&&a.index<o[p]&&f.apply(l,a.slice(1)),s=a[0][p],d=i,l[p]>=g));)m.lastIndex===a.index&&m.lastIndex++;return d===o[p]?!s&&m.test("")||l.push(""):l.push(o.slice(d)),l[p]>g?l.slice(0,g):l}:"0".split(void 0,0)[p]?function(t,e){return void 0===t&&0===e?[]:n.call(this,t,e)}:n,[function(n,r){var o=t(this),a=null==n?void 0:n[e];return void 0!==a?a.call(n,o,r):m.call(String(o),n,r)},function(t,e){var r=u(m,t,this,e,m!==n);if(r.done)return r.value;var c=o(t),f=String(this),p=a(c,RegExp),h=c.unicode,v=(c.ignoreCase?"i":"")+(c.multiline?"m":"")+(c.unicode?"u":"")+(g?"y":"g"),y=new p(g?c:"^(?:"+c.source+")",v),_=void 0===e?4294967295:e>>>0;if(0===_)return[];if(0===f.length)return null===l(y,f)?[f]:[];for(var b=0,w=0,x=[];w<f.length;){y.lastIndex=g?w:0;var S,A=l(y,g?f:f.slice(w));if(null===A||(S=d(s(y.lastIndex+(g?0:w)),f.length))===b)w=i(f,w,h);else{if(x.push(f.slice(b,w)),x.length===_)return x;for(var j=1;j<=A.length-1;j++)if(x.push(A[j]),x.length===_)return x;w=b=S}}return x.push(f.slice(b)),x}]}))},function(t,e,n){var r=n(1),o=n(94).set,a=r.MutationObserver||r.WebKitMutationObserver,i=r.process,s=r.Promise,l="process"==n(24)(i);t.exports=function(){var t,e,n,c=function(){var r,o;for(l&&(r=i.domain)&&r.exit();t;){o=t.fn,t=t.next;try{o()}catch(r){throw t?n():e=void 0,r}}e=void 0,r&&r.enter()};if(l)n=function(){i.nextTick(c)};else if(!a||r.navigator&&r.navigator.standalone)if(s&&s.resolve){var u=s.resolve(void 0);n=function(){u.then(c)}}else n=function(){o.call(r,c)};else{var d=!0,f=document.createTextNode("");new a(c).observe(f,{characterData:!0}),n=function(){f.data=d=!d}}return function(r){var o={fn:r,next:void 0};e&&(e.next=o),t||(t=o,n()),e=o}}},function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},function(t,e,n){"use strict";var r=n(137),o=n(38);t.exports=n(62)("Map",(function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}}),{get:function(t){var e=r.getEntry(o(this,"Map"),t);return e&&e.v},set:function(t,e){return r.def(o(this,"Map"),0===t?0:t,e)}},r,!0)},function(t,e,n){"use strict";var r=n(137),o=n(38);t.exports=n(62)("Set",(function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}}),{add:function(t){return r.def(o(this,"Set"),t=0===t?0:t,t)}},r)},function(t,e,n){"use strict";var r,o=n(1),a=n(23)(0),i=n(12),s=n(28),l=n(117),c=n(138),u=n(4),d=n(38),f=n(38),p=!o.ActiveXObject&&"ActiveXObject"in o,g=s.getWeak,m=Object.isExtensible,h=c.ufstore,v=function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},y={get:function(t){if(u(t)){var e=g(t);return!0===e?h(d(this,"WeakMap")).get(t):e?e[this._i]:void 0}},set:function(t,e){return c.def(d(this,"WeakMap"),t,e)}},_=t.exports=n(62)("WeakMap",v,y,c,!0,!0);f&&p&&(l((r=c.getConstructor(v,"WeakMap")).prototype,y),s.NEED=!0,a(["delete","has","get","set"],(function(t){var e=_.prototype,n=e[t];i(e,t,(function(e,o){if(u(e)&&!m(e)){this._f||(this._f=new r);var a=this._f[t](e,o);return"set"==t?this:a}return n.call(this,e,o)}))})))},function(t,e,n){"use strict";var r=n(138),o=n(38);n(62)("WeakSet",(function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}}),{add:function(t){return r.def(o(this,"WeakSet"),t,!0)}},r,!1,!0)},function(t,e,n){"use strict";var r=n(0),o=n(63),a=n(95),i=n(3),s=n(33),l=n(6),c=n(4),u=n(1).ArrayBuffer,d=n(48),f=a.ArrayBuffer,p=a.DataView,g=o.ABV&&u.isView,m=f.prototype.slice,h=o.VIEW;r(r.G+r.W+r.F*(u!==f),{ArrayBuffer:f}),r(r.S+r.F*!o.CONSTR,"ArrayBuffer",{isView:function(t){return g&&g(t)||c(t)&&h in t}}),r(r.P+r.U+r.F*n(2)((function(){return!new f(2).slice(1,void 0).byteLength})),"ArrayBuffer",{slice:function(t,e){if(void 0!==m&&void 0===e)return m.call(i(this),t);for(var n=i(this).byteLength,r=s(t,n),o=s(void 0===e?n:e,n),a=new(d(this,f))(l(o-r)),c=new p(this),u=new p(a),g=0;r<o;)u.setUint8(g++,c.getUint8(r++));return a}}),n(42)("ArrayBuffer")},function(t,e,n){var r=n(0);r(r.G+r.W+r.F*!n(63).ABV,{DataView:n(95).DataView})},function(t,e,n){n(26)("Int8",1,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},function(t,e,n){n(26)("Uint8",1,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},function(t,e,n){n(26)("Uint8",1,(function(t){return function(e,n,r){return t(this,e,n,r)}}),!0)},function(t,e,n){n(26)("Int16",2,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},function(t,e,n){n(26)("Uint16",2,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},function(t,e,n){n(26)("Int32",4,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},function(t,e,n){n(26)("Uint32",4,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},function(t,e,n){n(26)("Float32",4,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},function(t,e,n){n(26)("Float64",8,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},function(t,e,n){var r=n(0),o=n(19),a=n(3),i=(n(1).Reflect||{}).apply,s=Function.apply;r(r.S+r.F*!n(2)((function(){i((function(){}))})),"Reflect",{apply:function(t,e,n){var r=o(t),l=a(n);return i?i(r,e,l):s.call(r,e,l)}})},function(t,e,n){var r=n(0),o=n(34),a=n(19),i=n(3),s=n(4),l=n(2),c=n(119),u=(n(1).Reflect||{}).construct,d=l((function(){function t(){}return!(u((function(){}),[],t)instanceof t)})),f=!l((function(){u((function(){}))}));r(r.S+r.F*(d||f),"Reflect",{construct:function(t,e){a(t),i(e);var n=arguments.length<3?t:a(arguments[2]);if(f&&!d)return u(t,e,n);if(t==n){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var r=[null];return r.push.apply(r,e),new(c.apply(t,r))}var l=n.prototype,p=o(s(l)?l:Object.prototype),g=Function.apply.call(t,p,e);return s(g)?g:p}})},function(t,e,n){var r=n(9),o=n(0),a=n(3),i=n(27);o(o.S+o.F*n(2)((function(){Reflect.defineProperty(r.f({},1,{value:1}),1,{value:2})})),"Reflect",{defineProperty:function(t,e,n){a(t),e=i(e,!0),a(n);try{return r.f(t,e,n),!0}catch(t){return!1}}})},function(t,e,n){var r=n(0),o=n(21).f,a=n(3);r(r.S,"Reflect",{deleteProperty:function(t,e){var n=o(a(t),e);return!(n&&!n.configurable)&&delete t[e]}})},function(t,e,n){"use strict";var r=n(0),o=n(3),a=function(t){this._t=o(t),this._i=0;var e,n=this._k=[];for(e in t)n.push(e)};n(126)(a,"Object",(function(){var t,e=this._k;do{if(this._i>=e.length)return{value:void 0,done:!0}}while(!((t=e[this._i++])in this._t));return{value:t,done:!1}})),r(r.S,"Reflect",{enumerate:function(t){return new a(t)}})},function(t,e,n){var r=n(21),o=n(36),a=n(14),i=n(0),s=n(4),l=n(3);i(i.S,"Reflect",{get:function t(e,n){var i,c,u=arguments.length<3?e:arguments[2];return l(e)===u?e[n]:(i=r.f(e,n))?a(i,"value")?i.value:void 0!==i.get?i.get.call(u):void 0:s(c=o(e))?t(c,n,u):void 0}})},function(t,e,n){var r=n(21),o=n(0),a=n(3);o(o.S,"Reflect",{getOwnPropertyDescriptor:function(t,e){return r.f(a(t),e)}})},function(t,e,n){var r=n(0),o=n(36),a=n(3);r(r.S,"Reflect",{getPrototypeOf:function(t){return o(a(t))}})},function(t,e,n){var r=n(0);r(r.S,"Reflect",{has:function(t,e){return e in t}})},function(t,e,n){var r=n(0),o=n(3),a=Object.isExtensible;r(r.S,"Reflect",{isExtensible:function(t){return o(t),!a||a(t)}})},function(t,e,n){var r=n(0);r(r.S,"Reflect",{ownKeys:n(140)})},function(t,e,n){var r=n(0),o=n(3),a=Object.preventExtensions;r(r.S,"Reflect",{preventExtensions:function(t){o(t);try{return a&&a(t),!0}catch(t){return!1}}})},function(t,e,n){var r=n(9),o=n(21),a=n(36),i=n(14),s=n(0),l=n(29),c=n(3),u=n(4);s(s.S,"Reflect",{set:function t(e,n,s){var d,f,p=arguments.length<4?e:arguments[3],g=o.f(c(e),n);if(!g){if(u(f=a(e)))return t(f,n,s,p);g=l(0)}if(i(g,"value")){if(!1===g.writable||!u(p))return!1;if(d=o.f(p,n)){if(d.get||d.set||!1===d.writable)return!1;d.value=s,r.f(p,n,d)}else r.f(p,n,l(0,s));return!0}return void 0!==g.set&&(g.set.call(p,s),!0)}})},function(t,e,n){var r=n(0),o=n(76);o&&r(r.S,"Reflect",{setPrototypeOf:function(t,e){o.check(t,e);try{return o.set(t,e),!0}catch(t){return!1}}})},function(t,e,n){n(332),t.exports=n(7).Array.includes},function(t,e,n){"use strict";var r=n(0),o=n(53)(!0);r(r.P,"Array",{includes:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),n(37)("includes")},function(t,e,n){n(334),t.exports=n(7).Array.flatMap},function(t,e,n){"use strict";var r=n(0),o=n(335),a=n(10),i=n(6),s=n(19),l=n(128);r(r.P,"Array",{flatMap:function(t){var e,n,r=a(this);return s(t),e=i(r.length),n=l(r,0),o(n,r,r,e,0,1,t,arguments[1]),n}}),n(37)("flatMap")},function(t,e,n){"use strict";var r=n(55),o=n(4),a=n(6),i=n(18),s=n(5)("isConcatSpreadable");t.exports=function t(e,n,l,c,u,d,f,p){for(var g,m,h=u,v=0,y=!!f&&i(f,p,3);v<c;){if(v in l){if(g=y?y(l[v],v,n):l[v],m=!1,o(g)&&(m=void 0!==(m=g[s])?!!m:r(g)),m&&d>0)h=t(e,n,g,a(g.length),h,d-1)-1;else{if(h>=9007199254740991)throw TypeError();e[h]=g}h++}v++}return h}},function(t,e,n){n(337),t.exports=n(7).String.padStart},function(t,e,n){"use strict";var r=n(0),o=n(141),a=n(61),i=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(a);r(r.P+r.F*i,"String",{padStart:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0,!0)}})},function(t,e,n){n(339),t.exports=n(7).String.padEnd},function(t,e,n){"use strict";var r=n(0),o=n(141),a=n(61),i=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(a);r(r.P+r.F*i,"String",{padEnd:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0,!1)}})},function(t,e,n){n(341),t.exports=n(7).String.trimLeft},function(t,e,n){"use strict";n(40)("trimLeft",(function(t){return function(){return t(this,1)}}),"trimStart")},function(t,e,n){n(343),t.exports=n(7).String.trimRight},function(t,e,n){"use strict";n(40)("trimRight",(function(t){return function(){return t(this,2)}}),"trimEnd")},function(t,e,n){n(345),t.exports=n(72).f("asyncIterator")},function(t,e,n){n(113)("asyncIterator")},function(t,e,n){n(347),t.exports=n(7).Object.getOwnPropertyDescriptors},function(t,e,n){var r=n(0),o=n(140),a=n(16),i=n(21),s=n(88);r(r.S,"Object",{getOwnPropertyDescriptors:function(t){for(var e,n,r=a(t),l=i.f,c=o(r),u={},d=0;c.length>d;)void 0!==(n=l(r,e=c[d++]))&&s(u,e,n);return u}})},function(t,e,n){n(349),t.exports=n(7).Object.values},function(t,e,n){var r=n(0),o=n(142)(!1);r(r.S,"Object",{values:function(t){return o(t)}})},function(t,e,n){n(351),t.exports=n(7).Object.entries},function(t,e,n){var r=n(0),o=n(142)(!0);r(r.S,"Object",{entries:function(t){return o(t)}})},function(t,e,n){"use strict";n(134),n(353),t.exports=n(7).Promise.finally},function(t,e,n){"use strict";var r=n(0),o=n(7),a=n(1),i=n(48),s=n(136);r(r.P+r.R,"Promise",{finally:function(t){var e=i(this,o.Promise||a.Promise),n="function"==typeof t;return this.then(n?function(n){return s(e,t()).then((function(){return n}))}:t,n?function(n){return s(e,t()).then((function(){throw n}))}:t)}})},function(t,e,n){n(355),n(356),n(357),t.exports=n(7)},function(t,e,n){var r=n(1),o=n(0),a=n(61),i=[].slice,s=/MSIE .\./.test(a),l=function(t){return function(e,n){var r=arguments.length>2,o=!!r&&i.call(arguments,2);return t(r?function(){("function"==typeof e?e:Function(e)).apply(this,o)}:e,n)}};o(o.G+o.B+o.F*s,{setTimeout:l(r.setTimeout),setInterval:l(r.setInterval)})},function(t,e,n){var r=n(0),o=n(94);r(r.G+r.B,{setImmediate:o.set,clearImmediate:o.clear})},function(t,e,n){for(var r=n(91),o=n(32),a=n(12),i=n(1),s=n(15),l=n(41),c=n(5),u=c("iterator"),d=c("toStringTag"),f=l.Array,p={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},g=o(p),m=0;m<g.length;m++){var h,v=g[m],y=p[v],_=i[v],b=_&&_.prototype;if(b&&(b[u]||s(b,u,f),b[d]||s(b,d,v),l[v]=f,y))for(h in r)b[h]||a(b,h,r[h],!0)}},function(t,e,n){var r=function(t){"use strict";var e=Object.prototype,n=e.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",a=r.asyncIterator||"@@asyncIterator",i=r.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,n){return t[e]=n}}function l(t,e,n,r){var o=e&&e.prototype instanceof d?e:d,a=Object.create(o.prototype),i=new S(r||[]);return a._invoke=function(t,e,n){var r="suspendedStart";return function(o,a){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw a;return j()}for(n.method=o,n.arg=a;;){var i=n.delegate;if(i){var s=b(i,n);if(s){if(s===u)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=c(t,e,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===u)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}(t,n,i),a}function c(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var u={};function d(){}function f(){}function p(){}var g={};g[o]=function(){return this};var m=Object.getPrototypeOf,h=m&&m(m(A([])));h&&h!==e&&n.call(h,o)&&(g=h);var v=p.prototype=d.prototype=Object.create(g);function y(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function _(t,e){var r;this._invoke=function(o,a){function i(){return new e((function(r,i){!function r(o,a,i,s){var l=c(t[o],t,a);if("throw"!==l.type){var u=l.arg,d=u.value;return d&&"object"==typeof d&&n.call(d,"__await")?e.resolve(d.__await).then((function(t){r("next",t,i,s)}),(function(t){r("throw",t,i,s)})):e.resolve(d).then((function(t){u.value=t,i(u)}),(function(t){return r("throw",t,i,s)}))}s(l.arg)}(o,a,r,i)}))}return r=r?r.then(i,i):i()}}function b(t,e){var n=t.iterator[e.method];if(void 0===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,b(t,e),"throw"===e.method))return u;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var r=c(n,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,u;var o=r.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,u):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,u)}function w(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function x(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function S(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(w,this),this.reset(!0)}function A(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,a=function e(){for(;++r<t.length;)if(n.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return a.next=a}}return{next:j}}function j(){return{value:void 0,done:!0}}return f.prototype=v.constructor=p,p.constructor=f,f.displayName=s(p,i,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===f||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,p):(t.__proto__=p,s(t,i,"GeneratorFunction")),t.prototype=Object.create(v),t},t.awrap=function(t){return{__await:t}},y(_.prototype),_.prototype[a]=function(){return this},t.AsyncIterator=_,t.async=function(e,n,r,o,a){void 0===a&&(a=Promise);var i=new _(l(e,n,r,o),a);return t.isGeneratorFunction(n)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},y(v),s(v,i,"Generator"),v[o]=function(){return this},v.toString=function(){return"[object Generator]"},t.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},t.values=A,S.prototype={constructor:S,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(n,r){return i.type="throw",i.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],i=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var s=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(s&&l){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=t,i.arg=e,a?(this.method="next",this.next=a.finallyLoc,u):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),u},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),x(n),u}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;x(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:A(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),u}},t}(t.exports);try{regeneratorRuntime=r}catch(t){Function("r","regeneratorRuntime = r")(r)}},function(t,e){!function(){if("undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof HTMLElement){var t=!1;try{var e=document.createElement("div");e.addEventListener("focus",(function(t){t.preventDefault(),t.stopPropagation()}),!0),e.focus(Object.defineProperty({},"preventScroll",{get:function(){if(navigator&&void 0!==navigator.userAgent&&navigator.userAgent&&navigator.userAgent.match(/Edge\/1[7-8]/))return t=!1;t=!0}}))}catch(t){}if(void 0===HTMLElement.prototype.nativeFocus&&!t){HTMLElement.prototype.nativeFocus=HTMLElement.prototype.focus;var n=function(t){for(var e=0;e<t.length;e++)t[e][0].scrollTop=t[e][1],t[e][0].scrollLeft=t[e][2];t=[]};HTMLElement.prototype.focus=function(t){if(t&&t.preventScroll){var e=function(t){for(var e=t.parentNode,n=[],r=document.scrollingElement||document.documentElement;e&&e!==r;)(e.offsetHeight<e.scrollHeight||e.offsetWidth<e.scrollWidth)&&n.push([e,e.scrollTop,e.scrollLeft]),e=e.parentNode;return e=r,n.push([e,e.scrollTop,e.scrollLeft]),n}(this);if("function"==typeof setTimeout){var r=this;setTimeout((function(){r.nativeFocus(),n(e)}),0)}else this.nativeFocus(),n(e)}else this.nativeFocus()}}}}()},function(t,e,n){"use strict";var r,o,a,i,s,l;if(Function.prototype.bind||(Function.prototype.bind=function(t){if("function"!=typeof this)throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable");var e=Array.prototype.slice.call(arguments,1),n=this,r=function(){},o=function(){return n.apply(this instanceof r&&t?this:t,e.concat(Array.prototype.slice.call(arguments)))};return r.prototype=this.prototype,o.prototype=new r,o}),r=Object.prototype,o=r.__defineGetter__,a=r.__defineSetter__,i=r.__lookupGetter__,s=r.__lookupSetter__,l=r.hasOwnProperty,o&&a&&i&&s&&(Object.defineProperty||(Object.defineProperty=function(t,e,n){if(arguments.length<3)throw new TypeError("Arguments not optional");if(e+="",l.call(n,"value")&&(i.call(t,e)||s.call(t,e)||(t[e]=n.value),l.call(n,"get")||l.call(n,"set")))throw new TypeError("Cannot specify an accessor and a value");if(!(n.writable&&n.enumerable&&n.configurable))throw new TypeError("This implementation of Object.defineProperty does not support false for configurable, enumerable, or writable.");return n.get&&o.call(t,e,n.get),n.set&&a.call(t,e,n.set),t}),Object.getOwnPropertyDescriptor||(Object.getOwnPropertyDescriptor=function(t,e){if(arguments.length<2)throw new TypeError("Arguments not optional.");e+="";var n={configurable:!0,enumerable:!0,writable:!0},r=i.call(t,e),o=s.call(t,e);return l.call(t,e)?r||o?(delete n.writable,n.get=n.set=void 0,r&&(n.get=r),o&&(n.set=o),n):(n.value=t[e],n):n}),Object.defineProperties||(Object.defineProperties=function(t,e){var n;for(n in e)l.call(e,n)&&Object.defineProperty(t,n,e[n])})),!(document.documentElement.dataset||Object.getOwnPropertyDescriptor(Element.prototype,"dataset")&&Object.getOwnPropertyDescriptor(Element.prototype,"dataset").get)){var c={enumerable:!0,get:function(){var t,e,n,r,o,a,i=this.attributes,s=i.length,l=function(t){return t.charAt(1).toUpperCase()},c=function(){return this},u=function(t,e){return void 0!==e?this.setAttribute(t,e):this.removeAttribute(t)};try{({}).__defineGetter__("test",(function(){})),e={}}catch(t){e=document.createElement("div")}for(t=0;t<s;t++)if((a=i[t])&&a.name&&/^data-\w[\w\-]*$/.test(a.name)){n=a.value,o=(r=a.name).substr(5).replace(/-./g,l);try{Object.defineProperty(e,o,{enumerable:this.enumerable,get:c.bind(n||""),set:u.bind(this,r)})}catch(t){e[o]=n}}return e}};try{Object.defineProperty(Element.prototype,"dataset",c)}catch(t){c.enumerable=!1,Object.defineProperty(Element.prototype,"dataset",c)}}},function(t,e,n){"use strict";var r=n(362),o=n(363),a=n(96);t.exports={formats:a,parse:o,stringify:r}},function(t,e,n){"use strict";var r=n(143),o=n(96),a=Object.prototype.hasOwnProperty,i={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,e){return t+"["+e+"]"},repeat:function(t){return t}},s=Array.isArray,l=Array.prototype.push,c=function(t,e){l.apply(t,s(e)?e:[e])},u=Date.prototype.toISOString,d=o.default,f={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:r.encode,encodeValuesOnly:!1,format:d,formatter:o.formatters[d],indices:!1,serializeDate:function(t){return u.call(t)},skipNulls:!1,strictNullHandling:!1},p=function t(e,n,o,a,i,l,u,d,p,g,m,h,v,y){var _,b=e;if("function"==typeof u?b=u(n,b):b instanceof Date?b=g(b):"comma"===o&&s(b)&&(b=r.maybeMap(b,(function(t){return t instanceof Date?g(t):t}))),null===b){if(a)return l&&!v?l(n,f.encoder,y,"key",m):n;b=""}if("string"==typeof(_=b)||"number"==typeof _||"boolean"==typeof _||"symbol"==typeof _||"bigint"==typeof _||r.isBuffer(b))return l?[h(v?n:l(n,f.encoder,y,"key",m))+"="+h(l(b,f.encoder,y,"value",m))]:[h(n)+"="+h(String(b))];var w,x=[];if(void 0===b)return x;if("comma"===o&&s(b))w=[{value:b.length>0?b.join(",")||null:void 0}];else if(s(u))w=u;else{var S=Object.keys(b);w=d?S.sort(d):S}for(var A=0;A<w.length;++A){var j=w[A],P="object"==typeof j&&void 0!==j.value?j.value:b[j];if(!i||null!==P){var L=s(b)?"function"==typeof o?o(n,j):n:n+(p?"."+j:"["+j+"]");c(x,t(P,L,o,a,i,l,u,d,p,g,m,h,v,y))}}return x};t.exports=function(t,e){var n,r=t,l=function(t){if(!t)return f;if(null!==t.encoder&&void 0!==t.encoder&&"function"!=typeof t.encoder)throw new TypeError("Encoder has to be a function.");var e=t.charset||f.charset;if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=o.default;if(void 0!==t.format){if(!a.call(o.formatters,t.format))throw new TypeError("Unknown format option provided.");n=t.format}var r=o.formatters[n],i=f.filter;return("function"==typeof t.filter||s(t.filter))&&(i=t.filter),{addQueryPrefix:"boolean"==typeof t.addQueryPrefix?t.addQueryPrefix:f.addQueryPrefix,allowDots:void 0===t.allowDots?f.allowDots:!!t.allowDots,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:f.charsetSentinel,delimiter:void 0===t.delimiter?f.delimiter:t.delimiter,encode:"boolean"==typeof t.encode?t.encode:f.encode,encoder:"function"==typeof t.encoder?t.encoder:f.encoder,encodeValuesOnly:"boolean"==typeof t.encodeValuesOnly?t.encodeValuesOnly:f.encodeValuesOnly,filter:i,format:n,formatter:r,serializeDate:"function"==typeof t.serializeDate?t.serializeDate:f.serializeDate,skipNulls:"boolean"==typeof t.skipNulls?t.skipNulls:f.skipNulls,sort:"function"==typeof t.sort?t.sort:null,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:f.strictNullHandling}}(e);"function"==typeof l.filter?r=(0,l.filter)("",r):s(l.filter)&&(n=l.filter);var u,d=[];if("object"!=typeof r||null===r)return"";u=e&&e.arrayFormat in i?e.arrayFormat:e&&"indices"in e?e.indices?"indices":"repeat":"indices";var g=i[u];n||(n=Object.keys(r)),l.sort&&n.sort(l.sort);for(var m=0;m<n.length;++m){var h=n[m];l.skipNulls&&null===r[h]||c(d,p(r[h],h,g,l.strictNullHandling,l.skipNulls,l.encode?l.encoder:null,l.filter,l.sort,l.allowDots,l.serializeDate,l.format,l.formatter,l.encodeValuesOnly,l.charset))}var v=d.join(l.delimiter),y=!0===l.addQueryPrefix?"?":"";return l.charsetSentinel&&("iso-8859-1"===l.charset?y+="utf8=%26%2310003%3B&":y+="utf8=%E2%9C%93&"),v.length>0?y+v:""}},function(t,e,n){"use strict";var r=n(143),o=Object.prototype.hasOwnProperty,a=Array.isArray,i={allowDots:!1,allowPrototypes:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:r.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},s=function(t){return t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(parseInt(e,10))}))},l=function(t,e){return t&&"string"==typeof t&&e.comma&&t.indexOf(",")>-1?t.split(","):t},c=function(t,e,n,r){if(t){var a=n.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,i=/(\[[^[\]]*])/g,s=n.depth>0&&/(\[[^[\]]*])/.exec(a),c=s?a.slice(0,s.index):a,u=[];if(c){if(!n.plainObjects&&o.call(Object.prototype,c)&&!n.allowPrototypes)return;u.push(c)}for(var d=0;n.depth>0&&null!==(s=i.exec(a))&&d<n.depth;){if(d+=1,!n.plainObjects&&o.call(Object.prototype,s[1].slice(1,-1))&&!n.allowPrototypes)return;u.push(s[1])}return s&&u.push("["+a.slice(s.index)+"]"),function(t,e,n,r){for(var o=r?e:l(e,n),a=t.length-1;a>=0;--a){var i,s=t[a];if("[]"===s&&n.parseArrays)i=[].concat(o);else{i=n.plainObjects?Object.create(null):{};var c="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,u=parseInt(c,10);n.parseArrays||""!==c?!isNaN(u)&&s!==c&&String(u)===c&&u>=0&&n.parseArrays&&u<=n.arrayLimit?(i=[])[u]=o:i[c]=o:i={0:o}}o=i}return o}(u,e,n,r)}};t.exports=function(t,e){var n=function(t){if(!t)return i;if(null!==t.decoder&&void 0!==t.decoder&&"function"!=typeof t.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var e=void 0===t.charset?i.charset:t.charset;return{allowDots:void 0===t.allowDots?i.allowDots:!!t.allowDots,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:i.allowPrototypes,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:i.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:i.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:i.comma,decoder:"function"==typeof t.decoder?t.decoder:i.decoder,delimiter:"string"==typeof t.delimiter||r.isRegExp(t.delimiter)?t.delimiter:i.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:i.depth,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:i.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:i.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:i.plainObjects,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:i.strictNullHandling}}(e);if(""===t||null==t)return n.plainObjects?Object.create(null):{};for(var u="string"==typeof t?function(t,e){var n,c={},u=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,d=e.parameterLimit===1/0?void 0:e.parameterLimit,f=u.split(e.delimiter,d),p=-1,g=e.charset;if(e.charsetSentinel)for(n=0;n<f.length;++n)0===f[n].indexOf("utf8=")&&("utf8=%E2%9C%93"===f[n]?g="utf-8":"utf8=%26%2310003%3B"===f[n]&&(g="iso-8859-1"),p=n,n=f.length);for(n=0;n<f.length;++n)if(n!==p){var m,h,v=f[n],y=v.indexOf("]="),_=-1===y?v.indexOf("="):y+1;-1===_?(m=e.decoder(v,i.decoder,g,"key"),h=e.strictNullHandling?null:""):(m=e.decoder(v.slice(0,_),i.decoder,g,"key"),h=r.maybeMap(l(v.slice(_+1),e),(function(t){return e.decoder(t,i.decoder,g,"value")}))),h&&e.interpretNumericEntities&&"iso-8859-1"===g&&(h=s(h)),v.indexOf("[]=")>-1&&(h=a(h)?[h]:h),o.call(c,m)?c[m]=r.combine(c[m],h):c[m]=h}return c}(t,n):t,d=n.plainObjects?Object.create(null):{},f=Object.keys(u),p=0;p<f.length;++p){var g=f[p],m=c(g,u[g],n,"string"==typeof t);d=r.merge(d,m,n)}return r.compact(d)}}]);
3
  * imagesLoaded v4.1.4
4
  * JavaScript is all like "You images are done yet or what?"
5
  * MIT License
6
+ */!function(a,i){"use strict";r=[n(173)],void 0===(o=function(t){return function(t,e){var n=t.jQuery,r=t.console;function o(t,e){for(var n in e)t[n]=e[n];return t}var a=Array.prototype.slice;function i(t,e,s){if(!(this instanceof i))return new i(t,e,s);var l,c=t;("string"==typeof t&&(c=document.querySelectorAll(t)),c)?(this.elements=(l=c,Array.isArray(l)?l:"object"==typeof l&&"number"==typeof l.length?a.call(l):[l]),this.options=o({},this.options),"function"==typeof e?s=e:o(this.options,e),s&&this.on("always",s),this.getImages(),n&&(this.jqDeferred=new n.Deferred),setTimeout(this.check.bind(this))):r.error("Bad element for imagesLoaded "+(c||t))}i.prototype=Object.create(e.prototype),i.prototype.options={},i.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)},i.prototype.addElementImages=function(t){"IMG"==t.nodeName&&this.addImage(t),!0===this.options.background&&this.addElementBackgroundImages(t);var e=t.nodeType;if(e&&s[e]){for(var n=t.querySelectorAll("img"),r=0;r<n.length;r++){var o=n[r];this.addImage(o)}if("string"==typeof this.options.background){var a=t.querySelectorAll(this.options.background);for(r=0;r<a.length;r++){var i=a[r];this.addElementBackgroundImages(i)}}}};var s={1:!0,9:!0,11:!0};function l(t){this.img=t}function c(t,e){this.url=t,this.element=e,this.img=new Image}return i.prototype.addElementBackgroundImages=function(t){var e=getComputedStyle(t);if(e)for(var n=/url\((['"])?(.*?)\1\)/gi,r=n.exec(e.backgroundImage);null!==r;){var o=r&&r[2];o&&this.addBackground(o,t),r=n.exec(e.backgroundImage)}},i.prototype.addImage=function(t){var e=new l(t);this.images.push(e)},i.prototype.addBackground=function(t,e){var n=new c(t,e);this.images.push(n)},i.prototype.check=function(){var t=this;function e(e,n,r){setTimeout((function(){t.progress(e,n,r)}))}this.progressedCount=0,this.hasAnyBroken=!1,this.images.length?this.images.forEach((function(t){t.once("progress",e),t.check()})):this.complete()},i.prototype.progress=function(t,e,n){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!t.isLoaded,this.emitEvent("progress",[this,t,e]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,t),this.progressedCount==this.images.length&&this.complete(),this.options.debug&&r&&r.log("progress: "+n,t,e)},i.prototype.complete=function(){var t=this.hasAnyBroken?"fail":"done";if(this.isComplete=!0,this.emitEvent(t,[this]),this.emitEvent("always",[this]),this.jqDeferred){var e=this.hasAnyBroken?"reject":"resolve";this.jqDeferred[e](this)}},l.prototype=Object.create(e.prototype),l.prototype.check=function(){this.getIsImageComplete()?this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.proxyImage.src=this.img.src)},l.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWidth},l.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.img,e])},l.prototype.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},l.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},l.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},l.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},c.prototype=Object.create(l.prototype),c.prototype.check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url,this.getIsImageComplete()&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},c.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},c.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.element,e])},i.makeJQueryPlugin=function(e){(e=e||t.jQuery)&&((n=e).fn.imagesLoaded=function(t,e){return new i(this,t,e).jqDeferred.promise(n(this))})},i.makeJQueryPlugin(),i}(a,t)}.apply(e,r))||(t.exports=o)}("undefined"!=typeof window?window:this)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(t,e){e/=10,t.style.opacity=.5;var n=setInterval((function(){t.style.opacity<.1?clearInterval(n):t.style.opacity-=.1}),e)}},function(t,e,n){var r=n(4),o=n(1).document,a=r(o)&&r(o.createElement);t.exports=function(t){return a?o.createElement(t):{}}},function(t,e,n){e.f=n(5)},function(t,e,n){var r=n(52)("keys"),o=n(30);t.exports=function(t){return r[t]||(r[t]=o(t))}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,n){var r=n(1).document;t.exports=r&&r.documentElement},function(t,e,n){var r=n(4),o=n(3),a=function(t,e){if(o(t),!r(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,r){try{(r=n(18)(Function.call,n(21).f(Object.prototype,"__proto__").set,2))(t,[]),e=!(t instanceof Array)}catch(t){e=!0}return function(t,n){return a(t,n),e?t.__proto__=n:r(t,n),t}}({},!1):void 0),check:a}},function(t,e){t.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"},function(t,e,n){var r=n(4),o=n(76).set;t.exports=function(t,e,n){var a,i=e.constructor;return i!==n&&"function"==typeof i&&(a=i.prototype)!==n.prototype&&r(a)&&o&&o(t,a),t}},function(t,e,n){"use strict";var r=n(20),o=n(25);t.exports=function(t){var e=String(o(this)),n="",a=r(t);if(a<0||a==1/0)throw RangeError("Count can't be negative");for(;a>0;(a>>>=1)&&(e+=e))1&a&&(n+=e);return n}},function(t,e){t.exports=Math.sign||function(t){return 0==(t=+t)||t!=t?t:t<0?-1:1}},function(t,e){var n=Math.expm1;t.exports=!n||n(10)>22025.465794806718||n(10)<22025.465794806718||-2e-17!=n(-2e-17)?function(t){return 0==(t=+t)?t:t>-1e-6&&t<1e-6?t+t*t/2:Math.exp(t)-1}:n},function(t,e,n){var r=n(20),o=n(25);t.exports=function(t){return function(e,n){var a,i,s=String(o(e)),l=r(n),c=s.length;return l<0||l>=c?t?"":void 0:(a=s.charCodeAt(l))<55296||a>56319||l+1===c||(i=s.charCodeAt(l+1))<56320||i>57343?t?s.charAt(l):a:t?s.slice(l,l+2):i-56320+(a-55296<<10)+65536}}},function(t,e,n){"use strict";var r=n(31),o=n(0),a=n(12),i=n(15),s=n(41),l=n(126),c=n(39),u=n(36),d=n(5)("iterator"),f=!([].keys&&"next"in[].keys()),p=function(){return this};t.exports=function(t,e,n,g,m,h,v){l(n,e,g);var y,_,b,w=function(t){if(!f&&t in j)return j[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},x=e+" Iterator",S="values"==m,A=!1,j=t.prototype,P=j[d]||j["@@iterator"]||m&&j[m],L=P||w(m),M=m?S?w("entries"):L:void 0,E="Array"==e&&j.entries||P;if(E&&(b=u(E.call(new t)))!==Object.prototype&&b.next&&(c(b,x,!0),r||"function"==typeof b[d]||i(b,d,p)),S&&P&&"values"!==P.name&&(A=!0,L=function(){return P.call(this)}),r&&!v||!f&&!A&&j[d]||i(j,d,L),s[e]=L,s[x]=p,m)if(y={values:S?L:w("values"),keys:h?L:w("keys"),entries:M},v)for(_ in y)_ in j||a(j,_,y[_]);else o(o.P+o.F*(f||A),e,y);return y}},function(t,e,n){var r=n(85),o=n(25);t.exports=function(t,e,n){if(r(e))throw TypeError("String#"+n+" doesn't accept regex!");return String(o(t))}},function(t,e,n){var r=n(4),o=n(24),a=n(5)("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[a])?!!e:"RegExp"==o(t))}},function(t,e,n){var r=n(5)("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[r]=!1,!"/./"[t](e)}catch(t){}}return!0}},function(t,e,n){var r=n(41),o=n(5)("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||a[o]===t)}},function(t,e,n){"use strict";var r=n(9),o=n(29);t.exports=function(t,e,n){e in t?r.f(t,e,o(0,n)):t[e]=n}},function(t,e,n){var r=n(47),o=n(5)("iterator"),a=n(41);t.exports=n(7).getIteratorMethod=function(t){if(null!=t)return t[o]||t["@@iterator"]||a[r(t)]}},function(t,e,n){"use strict";var r=n(10),o=n(33),a=n(6);t.exports=function(t){for(var e=r(this),n=a(e.length),i=arguments.length,s=o(i>1?arguments[1]:void 0,n),l=i>2?arguments[2]:void 0,c=void 0===l?n:o(l,n);c>s;)e[s++]=t;return e}},function(t,e,n){"use strict";var r=n(37),o=n(131),a=n(41),i=n(16);t.exports=n(83)(Array,"Array",(function(t,e){this._t=i(t),this._i=0,this._k=e}),(function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,o(1)):o(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])}),"values"),a.Arguments=a.Array,r("keys"),r("values"),r("entries")},function(t,e,n){"use strict";var r,o,a=n(57),i=RegExp.prototype.exec,s=String.prototype.replace,l=i,c=(r=/a/,o=/b*/g,i.call(r,"a"),i.call(o,"a"),0!==r.lastIndex||0!==o.lastIndex),u=void 0!==/()??/.exec("")[1];(c||u)&&(l=function(t){var e,n,r,o,l=this;return u&&(n=new RegExp("^"+l.source+"$(?!\\s)",a.call(l))),c&&(e=l.lastIndex),r=i.call(l,t),c&&r&&(l.lastIndex=l.global?r.index+r[0].length:e),u&&r&&r.length>1&&s.call(r[0],n,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(r[o]=void 0)})),r}),t.exports=l},function(t,e,n){"use strict";var r=n(82)(!0);t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},function(t,e,n){var r,o,a,i=n(18),s=n(120),l=n(75),c=n(71),u=n(1),d=u.process,f=u.setImmediate,p=u.clearImmediate,g=u.MessageChannel,m=u.Dispatch,h=0,v={},y=function(){var t=+this;if(v.hasOwnProperty(t)){var e=v[t];delete v[t],e()}},_=function(t){y.call(t.data)};f&&p||(f=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return v[++h]=function(){s("function"==typeof t?t:Function(t),e)},r(h),h},p=function(t){delete v[t]},"process"==n(24)(d)?r=function(t){d.nextTick(i(y,t,1))}:m&&m.now?r=function(t){m.now(i(y,t,1))}:g?(a=(o=new g).port2,o.port1.onmessage=_,r=i(a.postMessage,a,1)):u.addEventListener&&"function"==typeof postMessage&&!u.importScripts?(r=function(t){u.postMessage(t+"","*")},u.addEventListener("message",_,!1)):r="onreadystatechange"in c("script")?function(t){l.appendChild(c("script")).onreadystatechange=function(){l.removeChild(this),y.call(t)}}:function(t){setTimeout(i(y,t,1),0)}),t.exports={set:f,clear:p}},function(t,e,n){"use strict";var r=n(1),o=n(8),a=n(31),i=n(63),s=n(15),l=n(44),c=n(2),u=n(43),d=n(20),f=n(6),p=n(139),g=n(35).f,m=n(9).f,h=n(90),v=n(39),y=r.ArrayBuffer,_=r.DataView,b=r.Math,w=r.RangeError,x=r.Infinity,S=y,A=b.abs,j=b.pow,P=b.floor,L=b.log,M=b.LN2,E=o?"_b":"buffer",O=o?"_l":"byteLength",T=o?"_o":"byteOffset";function I(t,e,n){var r,o,a,i=new Array(n),s=8*n-e-1,l=(1<<s)-1,c=l>>1,u=23===e?j(2,-24)-j(2,-77):0,d=0,f=t<0||0===t&&1/t<0?1:0;for((t=A(t))!=t||t===x?(o=t!=t?1:0,r=l):(r=P(L(t)/M),t*(a=j(2,-r))<1&&(r--,a*=2),(t+=r+c>=1?u/a:u*j(2,1-c))*a>=2&&(r++,a/=2),r+c>=l?(o=0,r=l):r+c>=1?(o=(t*a-1)*j(2,e),r+=c):(o=t*j(2,c-1)*j(2,e),r=0));e>=8;i[d++]=255&o,o/=256,e-=8);for(r=r<<e|o,s+=e;s>0;i[d++]=255&r,r/=256,s-=8);return i[--d]|=128*f,i}function C(t,e,n){var r,o=8*n-e-1,a=(1<<o)-1,i=a>>1,s=o-7,l=n-1,c=t[l--],u=127&c;for(c>>=7;s>0;u=256*u+t[l],l--,s-=8);for(r=u&(1<<-s)-1,u>>=-s,s+=e;s>0;r=256*r+t[l],l--,s-=8);if(0===u)u=1-i;else{if(u===a)return r?NaN:c?-x:x;r+=j(2,e),u-=i}return(c?-1:1)*r*j(2,u-e)}function N(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]}function F(t){return[255&t]}function k(t){return[255&t,t>>8&255]}function R(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]}function q(t){return I(t,52,8)}function D(t){return I(t,23,4)}function z(t,e,n){m(t.prototype,e,{get:function(){return this[n]}})}function B(t,e,n,r){var o=p(+n);if(o+e>t[O])throw w("Wrong index!");var a=t[E]._b,i=o+t[T],s=a.slice(i,i+e);return r?s:s.reverse()}function U(t,e,n,r,o,a){var i=p(+n);if(i+e>t[O])throw w("Wrong index!");for(var s=t[E]._b,l=i+t[T],c=r(+o),u=0;u<e;u++)s[l+u]=c[a?u:e-u-1]}if(i.ABV){if(!c((function(){y(1)}))||!c((function(){new y(-1)}))||c((function(){return new y,new y(1.5),new y(NaN),"ArrayBuffer"!=y.name}))){for(var W,H=(y=function(t){return u(this,y),new S(p(t))}).prototype=S.prototype,V=g(S),G=0;V.length>G;)(W=V[G++])in y||s(y,W,S[W]);a||(H.constructor=y)}var Y=new _(new y(2)),X=_.prototype.setInt8;Y.setInt8(0,2147483648),Y.setInt8(1,2147483649),!Y.getInt8(0)&&Y.getInt8(1)||l(_.prototype,{setInt8:function(t,e){X.call(this,t,e<<24>>24)},setUint8:function(t,e){X.call(this,t,e<<24>>24)}},!0)}else y=function(t){u(this,y,"ArrayBuffer");var e=p(t);this._b=h.call(new Array(e),0),this[O]=e},_=function(t,e,n){u(this,_,"DataView"),u(t,y,"DataView");var r=t[O],o=d(e);if(o<0||o>r)throw w("Wrong offset!");if(o+(n=void 0===n?r-o:f(n))>r)throw w("Wrong length!");this[E]=t,this[T]=o,this[O]=n},o&&(z(y,"byteLength","_l"),z(_,"buffer","_b"),z(_,"byteLength","_l"),z(_,"byteOffset","_o")),l(_.prototype,{getInt8:function(t){return B(this,1,t)[0]<<24>>24},getUint8:function(t){return B(this,1,t)[0]},getInt16:function(t){var e=B(this,2,t,arguments[1]);return(e[1]<<8|e[0])<<16>>16},getUint16:function(t){var e=B(this,2,t,arguments[1]);return e[1]<<8|e[0]},getInt32:function(t){return N(B(this,4,t,arguments[1]))},getUint32:function(t){return N(B(this,4,t,arguments[1]))>>>0},getFloat32:function(t){return C(B(this,4,t,arguments[1]),23,4)},getFloat64:function(t){return C(B(this,8,t,arguments[1]),52,8)},setInt8:function(t,e){U(this,1,t,F,e)},setUint8:function(t,e){U(this,1,t,F,e)},setInt16:function(t,e){U(this,2,t,k,e,arguments[2])},setUint16:function(t,e){U(this,2,t,k,e,arguments[2])},setInt32:function(t,e){U(this,4,t,R,e,arguments[2])},setUint32:function(t,e){U(this,4,t,R,e,arguments[2])},setFloat32:function(t,e){U(this,4,t,D,e,arguments[2])},setFloat64:function(t,e){U(this,8,t,q,e,arguments[2])}});v(y,"ArrayBuffer"),v(_,"DataView"),s(_.prototype,i.VIEW,!0),e.ArrayBuffer=y,e.DataView=_},function(t,e,n){"use strict";var r=String.prototype.replace,o=/%20/g,a="RFC1738",i="RFC3986";t.exports={default:i,formatters:{RFC1738:function(t){return r.call(t,o,"+")},RFC3986:function(t){return String(t)}},RFC1738:a,RFC3986:i}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.render=e.getOffset=e.almScroll=e.start=e.tracking=e.tab=e.reset=e.filter=void 0;var r=F(n(64)),o=F(n(162));n(163);var a=F(n(164)),i=F(n(106)),s=F(n(166)),l=F(n(167)),c=F(n(66)),u=F(n(107)),d=N(n(169)),f=N(n(108)),p=n(109),g=F(n(170)),m=F(n(171)),h=F(n(49)),v=n(67),y=n(172),_=F(n(50)),b=F(n(70)),w=F(n(174)),x=F(n(175)),S=F(n(176)),A=F(n(177)),j=F(n(68)),P=n(178),L=n(51),M=n(179),E=n(180),O=n(181),T=n(185),I=n(65),C=n(110);function N(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function F(t){return t&&t.__esModule?t:{default:t}}function k(t){return function(){var e=t.apply(this,arguments);return new Promise((function(t,n){return function r(o,a){try{var i=e[o](a),s=i.value}catch(t){return void n(t)}if(!i.done)return Promise.resolve(s).then((function(t){r("next",t)}),(function(t){r("throw",t)}));t(s)}("next")}))}}n(186),n(359),n(360);var R=n(361),q=n(69);r.default.defaults.headers.common["X-Requested-With"]="XMLHttpRequest",o.default.polyfill();var D=!1;!function(){var t=function(t,e){alm_localize&&"true"===alm_localize.scrolltop&&window.scrollTo(0,0);var n=this;n.AjaxLoadMore={},n.addons={},n.extensions={},n.integration={},n.window=window,n.page=0,n.posts=0,n.totalposts=0,n.proceed=!1,n.disable_ajax=!1,n.init=!0,n.loading=!0,n.finished=!1,n.timer=null,n.rel="next",n.ua=window.navigator.userAgent?window.navigator.userAgent:"",n.vendor=window.navigator.vendor?window.navigator.vendor:"",n.isSafari=/Safari/i.test(n.ua)&&/Apple Computer/.test(n.vendor)&&!/Mobi|Android/i.test(n.ua),n.master_id=t.dataset.id?"ajax-load-more-"+t.dataset.id:t.id,t.classList.add("alm-"+e),t.setAttribute("data-alm-id",e),n.master_id=n.master_id.replace(/-/g,"_"),n.localize=window[n.master_id+"_vars"],n.main=t,n.listing=t.querySelector(".alm-listing")||t.querySelector(".alm-comments"),n.content=n.listing,n.el=n.content,n.ajax=t.querySelector(".alm-ajax"),n.container_type=n.listing.dataset.containerType,n.loading_style=n.listing.dataset.loadingStyle,n.canonical_url=t.dataset.canonicalUrl,n.nested=t.dataset.nested?t.dataset.nested:null,n.is_search=t.dataset.search,n.slug=t.dataset.slug,n.post_id=t.dataset.postId,n.id=t.dataset.id?t.dataset.id:"";var o=t.querySelector(".alm-no-results");if(n.no_results=o?o.innerHTML:"",n.repeater=n.listing.dataset.repeater,n.theme_repeater=n.listing.dataset.themeRepeater,n.post_type=n.listing.dataset.postType?n.listing.dataset.postType:"post",n.sticky_posts=n.listing.dataset.stickyPosts?n.listing.dataset.stickyPosts:null,n.btnWrap=t.querySelectorAll(".alm-btn-wrap"),n.btnWrap=Array.prototype.slice.call(n.btnWrap),n.btnWrap[n.btnWrap.length-1].style.visibility="visible",n.trigger=n.btnWrap[n.btnWrap.length-1],n.button=n.trigger.querySelector("button.alm-load-more-btn"),n.button_label=n.listing.dataset.buttonLabel,n.button_loading_label=n.listing.dataset.buttonLoadingLabel,n.button_done_label=n.listing.dataset.buttonDoneLabel,n.placeholder=n.main.querySelector(".alm-placeholder"),n.scroll_distance=n.listing.dataset.scrollDistance,n.scroll_distance=n.scroll_distance?n.scroll_distance:100,n.scroll_container=n.listing.dataset.scrollContainer,n.scroll_direction=n.listing.dataset.scrollDirection,n.max_pages=n.listing.dataset.maxPages?parseInt(n.listing.dataset.maxPages):0,n.pause_override=n.listing.dataset.pauseOverride,n.pause=!!n.listing.dataset.pause&&n.listing.dataset.pause,n.transition=n.listing.dataset.transition,n.transition_container=n.listing.dataset.transitionContainer,n.tcc=n.listing.dataset.transitionContainerClasses,n.speed=alm_localize.speed?parseInt(alm_localize.speed):200,n.images_loaded=!!n.listing.dataset.imagesLoaded&&n.listing.dataset.imagesLoaded,n.destroy_after=n.listing.dataset.destroyAfter?n.listing.dataset.destroyAfter:"",n.orginal_posts_per_page=parseInt(n.listing.dataset.postsPerPage),n.posts_per_page=n.listing.dataset.postsPerPage,n.offset=n.listing.dataset.offset?parseInt(n.listing.dataset.offset):0,n.lazy_images=!!n.listing.dataset.lazyImages&&n.listing.dataset.lazyImages,n.integration.woocommerce=!!n.listing.dataset.woocommerce&&n.listing.dataset.woocommerce,n.integration.woocommerce="true"===n.integration.woocommerce,n.is_search=void 0!==n.is_search&&n.is_search,n.search_value="true"===n.is_search?n.slug:"",n.addons.elementor=!("posts"!==n.listing.dataset.elementor||!n.listing.dataset.elementorSettings),n.addons.elementor&&(n=(0,T.elementorCreateParams)(n)),n.addons.woocommerce=!(!n.listing.dataset.woo||"true"!==n.listing.dataset.woo),n.addons.woocommerce&&n.listing.dataset.wooSettings&&(n.addons.woocommerce_settings=JSON.parse(n.listing.dataset.wooSettings),n.addons.woocommerce_settings.results_text=document.querySelectorAll(n.addons.woocommerce_settings.results),n.page=parseInt(n.page)+parseInt(n.addons.woocommerce_settings.paged)),n.addons.cache=n.listing.dataset.cache,n.addons.cache=void 0!==n.addons.cache&&n.addons.cache,"true"===n.addons.cache&&(n.addons.cache_id=n.listing.dataset.cacheId,n.addons.cache_path=n.listing.dataset.cachePath,n.addons.cache_logged_in=n.listing.dataset.cacheLoggedIn,n.addons.cache_logged_in=void 0!==n.addons.cache_logged_in&&n.addons.cache_logged_in),n.addons.cta=!!n.listing.dataset.cta&&n.listing.dataset.cta,"true"===n.addons.cta&&(n.addons.cta_position=n.listing.dataset.ctaPosition,n.addons.cta_repeater=n.listing.dataset.ctaRepeater,n.addons.cta_theme_repeater=n.listing.dataset.ctaThemeRepeater),n.addons.nextpage=n.listing.dataset.nextpage,"true"===n.addons.nextpage&&(n.addons.nextpage_urls=n.listing.dataset.nextpageUrls,n.addons.nextpage_scroll=n.listing.dataset.nextpageScroll,n.addons.nextpage_pageviews=n.listing.dataset.nextpagePageviews,n.addons.nextpage_post_id=n.listing.dataset.nextpagePostId,n.addons.nextpage_startpage=n.listing.dataset.nextpageStartpage,n.addons.nextpage_title_template=n.listing.dataset.nextpageTitleTemplate),n.addons.single_post=n.listing.dataset.singlePost,"true"===n.addons.single_post&&(n.addons.single_post_id=n.listing.dataset.singlePostId,n.addons.single_post_query=n.listing.dataset.singlePostQuery,n.addons.single_post_order=void 0===n.listing.dataset.singlePostOrder?"previous":n.listing.dataset.singlePostOrder,n.addons.single_post_init_id=n.listing.dataset.singlePostId,n.addons.single_post_taxonomy=void 0===n.listing.dataset.singlePostTaxonomy?"":n.listing.dataset.singlePostTaxonomy,n.addons.single_post_excluded_terms=void 0===n.listing.dataset.singlePostExcludedTerms?"":n.listing.dataset.singlePostExcludedTerms,n.addons.single_post_progress_bar=void 0===n.listing.dataset.singlePostProgressBar?"":n.listing.dataset.singlePostProgressBar,n.addons.single_post_target=void 0===n.listing.dataset.singlePostTarget?"":n.listing.dataset.singlePostTarget,n.addons.single_post_preview=void 0!==n.listing.dataset.singlePostPreview,n.addons.single_post_preview)){var w=n.listing.dataset.singlePostPreview.split(":");n.addons.single_post_preview_data={button_label:w[0]?w[0]:"Continue Reading",height:w[1]?w[1]:500,element:w[2]?w[2]:"default",className:"alm-single-post--preview"}}if(n.addons.comments=!!n.listing.dataset.comments&&n.listing.dataset.comments,"true"===n.addons.comments&&(n.addons.comments_post_id=n.listing.dataset.comments_post_id,n.addons.comments_per_page=n.listing.dataset.comments_per_page,n.addons.comments_per_page=void 0===n.addons.comments_per_page?"5":n.addons.comments_per_page,n.addons.comments_type=n.listing.dataset.comments_type,n.addons.comments_style=n.listing.dataset.comments_style,n.addons.comments_template=n.listing.dataset.comments_template,n.addons.comments_callback=n.listing.dataset.comments_callback),n.addons.tabs=n.listing.dataset.tabs,n.addons.filters=n.listing.dataset.filters,n.addons.seo=n.listing.dataset.seo,n.addons.preloaded=n.listing.dataset.preloaded,n.addons.preloaded_amount=n.listing.dataset.preloadedAmount?n.listing.dataset.preloadedAmount:0,n.is_preloaded="true"===n.listing.dataset.isPreloaded,n.addons.users="true"===n.listing.dataset.users,n.addons.users&&(n.orginal_posts_per_page=n.listing.dataset.usersPerPage,n.posts_per_page=n.listing.dataset.usersPerPage),n.extensions.restapi=n.listing.dataset.restapi,n.extensions.restapi_base_url=n.listing.dataset.restapiBaseUrl,n.extensions.restapi_namespace=n.listing.dataset.restapiNamespace,n.extensions.restapi_endpoint=n.listing.dataset.restapiEndpoint,n.extensions.restapi_template_id=n.listing.dataset.restapiTemplateId,n.extensions.restapi_debug=n.listing.dataset.restapiDebug,n.extensions.acf=n.listing.dataset.acf,n.extensions.acf_field_type=n.listing.dataset.acfFieldType,n.extensions.acf_field_name=n.listing.dataset.acfFieldName,n.extensions.acf_parent_field_name=n.listing.dataset.acfParentFieldName,n.extensions.acf_post_id=n.listing.dataset.acfPostId,n.extensions.acf="true"===n.extensions.acf,void 0!==n.extensions.acf_field_type&&void 0!==n.extensions.acf_field_name&&void 0!==n.extensions.acf_post_id||(n.extensions.acf=!1),n.extensions.term_query=n.listing.dataset.termQuery,n.extensions.term_query_taxonomy=n.listing.dataset.termQueryTaxonomy,n.extensions.term_query_hide_empty=n.listing.dataset.termQueryHideEmpty,n.extensions.term_query_number=n.listing.dataset.termQueryNumber,n.extensions.term_query="true"===n.extensions.term_query,n.addons.paging=n.listing.dataset.paging,"true"===n.addons.paging?(n.addons.paging=!0,n.addons.paging_init=!0,n.addons.paging_controls="true"===n.listing.dataset.pagingControls,n.addons.paging_show_at_most=n.listing.dataset.pagingShowAtMost,n.addons.paging_classes=n.listing.dataset.pagingClasses,n.addons.paging_show_at_most=void 0===n.addons.paging_show_at_most?7:n.addons.paging_show_at_most,n.addons.paging_first_label=n.listing.dataset.pagingFirstLabel,n.addons.paging_previous_label=n.listing.dataset.pagingPreviousLabel,n.addons.paging_next_label=n.listing.dataset.pagingNextLabel,n.addons.paging_last_label=n.listing.dataset.pagingLastLabel,n.addons.paging_scroll=!!n.listing.dataset.pagingScroll&&n.listing.dataset.pagingScroll,n.addons.paging_scrolltop=n.listing.dataset.pagingScrolltop?parseInt(n.listing.dataset.pagingScrolltop):100,n.pause="true"===n.addons.preloaded||n.pause):n.addons.paging=!1,"true"===n.addons.filters){n.addons.filters=!0,n.addons.filters_url="true"===n.listing.dataset.filtersUrl,n.addons.filters_target=!!n.listing.dataset.filtersTarget&&n.listing.dataset.filtersTarget,n.addons.filters_paging="true"===n.listing.dataset.filtersPaging,n.addons.filters_scroll="true"===n.listing.dataset.filtersScroll,n.addons.filters_scrolltop=n.listing.dataset.filtersScrolltop?n.listing.dataset.filtersScrolltop:"30",n.addons.filters_analtyics=n.listing.dataset.filtersAnalytics,n.addons.filters_debug=n.listing.dataset.filtersDebug,n.addons.filters_startpage=0,n.addons.filters_target||console.warn("Ajax Load More: Unable to locate target for Filters. Make sure you set a filters_target in core Ajax Load More.");var N=(0,a.default)("pg");n.addons.filters_startpage=null!==N?parseInt(N):0,!n.addons.paging&&n.addons.filters_startpage>0&&(n.posts_per_page=n.posts_per_page*n.addons.filters_startpage,n.isPaged=n.addons.filters_startpage>0)}else n.addons.filters=!1;if("true"===n.addons.tabs){if(n.addons.tabs=!0,n.addons.tab_template=n.listing.dataset.tabTemplate?n.listing.dataset.tabTemplate:"",n.addons.tab_onload=n.listing.dataset.tabOnload?n.listing.dataset.tabOnload:"",n.addons.tabs_resturl=n.listing.dataset.tabsRestUrl?n.listing.dataset.tabsRestUrl:"",""!==n.addons.tab_onload){var F=document.querySelector(".alm-tab-nav li [data-tab-url="+n.addons.tab_onload+"]");if(n.addons.tab_template=F?F.dataset.tabTemplate:n.addons.tab_template,n.listing.dataset.tabOnload="",F){var z=document.querySelector(".alm-tab-nav li .active");z&&z.classList.remove("active")}}}else n.addons.tabs=!1;if("true"===n.extensions.restapi?(n.extensions.restapi=!0,n.extensions.restapi_debug=void 0!==n.extensions.restapi_debug&&n.extensions.restapi_debug,n.extensions.restapi=""!==n.extensions.restapi_template_id&&n.extensions.restapi):n.extensions.restapi=!1,"true"===n.addons.preloaded?(n.addons.preloaded_amount=void 0===n.addons.preloaded_amount?n.posts_per_page:n.addons.preloaded_amount,n.localize&&n.localize.total_posts&&parseInt(n.localize.total_posts)<=parseInt(n.addons.preloaded_amount)&&(n.addons.preloaded_total_posts=n.localize.total_posts,n.disable_ajax=!0)):n.addons.preloaded="false",n.addons.seo=void 0!==n.addons.seo&&n.addons.seo,n.addons.seo="true"===n.addons.seo||n.addons.seo,n.addons.seo&&(n.addons.seo_permalink=n.listing.dataset.seoPermalink,n.addons.seo_pageview=n.listing.dataset.seoPageview,n.addons.seo_trailing_slash="false"===n.listing.dataset.seoTrailingSlash?"":"/",n.addons.seo_leading_slash="true"===n.listing.dataset.seoLeadingSlash?"/":""),n.start_page=n.listing.dataset.seoStartPage,n.start_page?(n.addons.seo_scroll=n.listing.dataset.seoScroll,n.addons.seo_scrolltop=n.listing.dataset.seoScrolltop,n.addons.seo_controls=n.listing.dataset.seoControls,n.isPaged=!1,n.start_page>1&&(n.isPaged=!0,n.posts_per_page=n.start_page*n.posts_per_page),n.addons.paging&&(n.posts_per_page=n.orginal_posts_per_page)):n.start_page=1,"true"===n.addons.nextpage?(n.addons.nextpage=!0,n.posts_per_page=1,void 0===n.addons.nextpage_urls&&(n.addons.nextpage_urls="true"),void 0===n.addons.nextpage_scroll&&(n.addons.nextpage_scroll="false:30"),void 0===n.addons.nextpage_pageviews&&(n.addons.nextpage_pageviews="true"),void 0===n.addons.nextpage_post_id&&(n.addons.nextpage=!1,n.addons.nextpage_post_id=null),void 0===n.addons.nextpage_startpage&&(n.addons.nextpage_startpage=1),n.addons.nextpage_startpage>1&&(n.isPaged=!0),n.addons.nextpage_postTitle=n.listing.dataset.nextpagePostTitle):n.addons.nextpage=!1,"true"===n.addons.single_post?(n.addons.single_post=!0,n.addons.single_post_permalink="",n.addons.single_post_title="",n.addons.single_post_slug="",n.addons.single_post_title_template=n.listing.dataset.singlePostTitleTemplate,n.addons.single_post_siteTitle=n.listing.dataset.singlePostSiteTitle,n.addons.single_post_siteTagline=n.listing.dataset.singlePostSiteTagline,n.addons.single_post_pageview=n.listing.dataset.singlePostPageview,n.addons.single_post_scroll=n.listing.dataset.singlePostScroll,n.addons.single_post_scroll_speed=n.listing.dataset.singlePostScrollSpeed,n.addons.single_post_scroll_top=n.listing.dataset.singlePostScrolltop,n.addons.single_post_controls=n.listing.dataset.singlePostControls):n.addons.single_post=!1,n.addons.single_post&&void 0===n.addons.single_post_id&&(n.addons.single_post_id="",n.addons.single_post_init_id=""),(void 0===n.pause||n.addons.seo&&n.start_page>1)&&(n.pause=!1),"true"===n.addons.preloaded&&n.addons.seo&&n.start_page>0&&(n.pause=!1),n.addons.filters&&n.addons.filters_startpage>0&&(n.pause=!1),"true"===n.addons.preloaded&&n.addons.paging&&(n.pause=!0),n.repeater=void 0===n.repeater?"default":n.repeater,n.theme_repeater=void 0!==n.theme_repeater&&n.theme_repeater,n.max_pages=void 0===n.max_pages||0===n.max_pages?9999:n.max_pages,n.scroll_distance=void 0===n.scroll_distance?100:n.scroll_distance,n.scroll_distance_perc=!1,-1==n.scroll_distance.toString().indexOf("%")?n.scroll_distance=parseInt(n.scroll_distance):(n.scroll_distance_perc=!0,n.scroll_distance_orig=parseInt(n.scroll_distance),n.scroll_distance=(0,A.default)(n)),n.scroll_container=void 0===n.scroll_container?"":n.scroll_container,n.scroll_direction=void 0===n.scroll_direction?"vertical":n.scroll_direction,n.transition=void 0===n.transition?"fade":n.transition,n.tcc=void 0===n.tcc?"":n.tcc,"masonry"===n.transition&&(n=(0,y.almMasonryConfig)(n)),void 0===n.listing.dataset.scroll?n.scroll=!0:"false"===n.listing.dataset.scroll?n.scroll=!1:n.scroll=!0,n.transition_container=void 0===n.transition_container||"true"===n.transition_container,n.button_label=void 0===n.button_label?"Load More":n.button_label,n.button_loading_label=void 0!==n.button_loading_label&&n.button_loading_label,n.button_done_label=void 0!==n.button_done_label&&n.button_done_label,n.addons.paging)n.main.classList.add("loading");else{var B=t.childNodes;if(B){var U=Array.prototype.slice.call(B).filter((function(t){return!!t.classList&&t.classList.contains("alm-btn-wrap")}));n.button=U?U[0].querySelector(".alm-load-more-btn"):container.querySelector(".alm-btn-wrap .alm-load-more-btn")}else n.button=container.querySelector(".alm-btn-wrap .alm-load-more-btn");n.button.disabled=!1,n.button.style.display=""}if(n.integration.woocommerce?(n.resultsText=document.querySelectorAll(".woocommerce-result-count"),n.resultsText.length<1&&(n.resultsText=document.querySelectorAll(".alm-results-text"))):n.resultsText=document.querySelectorAll(".alm-results-text"),n.resultsText?n.resultsText.forEach((function(t){t.setAttribute("aria-live","polite"),t.setAttribute("aria-atomic","true")})):n.resultsText=!1,n.tableofcontents=document.querySelector(".alm-toc"),n.tableofcontents?(n.tableofcontents.setAttribute("aria-live","polite"),n.tableofcontents.setAttribute("aria-atomic","true")):n.tableofcontents=!1,n.AjaxLoadMore.loadPosts=function(){if("function"==typeof almOnChange&&window.almOnChange(n),!n.disable_ajax)if(n.loading=!0,(0,P.showPlaceholder)(n),n.main.classList.add("alm-loading"),n.addons.paging||("prev"===n.rel?n.buttonPrev.classList.add("loading"):(n.button.classList.add("loading"),!1!==n.button_loading_label&&(n.button.innerHTML=n.button_loading_label))),"true"!==n.addons.cache||n.addons.cache_logged_in)n.AjaxLoadMore.ajax();else{var t=(0,l.default)(n);t?r.default.get(t).then((function(t){n.AjaxLoadMore.success(t.data,!0)})).catch((function(t){console.log(t),n.AjaxLoadMore.ajax()})):n.AjaxLoadMore.ajax()}},n.AjaxLoadMore.ajax=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"standard",e="alm_get_posts";n.acf_array="",n.extensions.acf&&("relationship"!==n.extensions.acf_field_type&&(e="alm_acf"),n.acf_array={acf:"true",post_id:n.extensions.acf_post_id,field_type:n.extensions.acf_field_type,field_name:n.extensions.acf_field_name,parent_field_name:n.extensions.acf_parent_field_name}),n.term_query_array="",n.extensions.term_query&&(e="alm_get_terms",n.term_query_array={term_query:"true",taxonomy:n.extensions.term_query_taxonomy,hide_empty:n.extensions.term_query_hide_empty,number:n.extensions.term_query_number}),n.nextpage_array="",n.addons.nextpage&&(e="alm_nextpage",n.nextpage_array={nextpage:"true",urls:n.addons.nextpage_urls,scroll:n.addons.nextpage_scroll,pageviews:n.addons.nextpage_pageviews,post_id:n.addons.nextpage_post_id,startpage:n.addons.nextpage_startpage,nested:n.nested}),n.single_post_array="",n.addons.single_post&&(n.single_post_array={single_post:"true",id:n.addons.single_post_id,slug:n.addons.single_post_slug}),n.comments_array="","true"===n.addons.comments&&(e="alm_comments",n.posts_per_page=n.addons.comments_per_page,n.comments_array={comments:"true",post_id:n.addons.comments_post_id,per_page:n.addons.comments_per_page,type:n.addons.comments_type,style:n.addons.comments_style,template:n.addons.comments_template,callback:n.addons.comments_callback}),n.users_array="",n.addons.users&&(e="alm_users",n.users_array={users:"true",role:n.listing.dataset.usersRole,include:n.listing.dataset.usersInclude,exclude:n.listing.dataset.usersExclude,per_page:n.posts_per_page,order:n.listing.dataset.usersOrder,orderby:n.listing.dataset.usersOrderby}),n.cta_array="","true"===n.addons.cta&&(n.cta_array={cta:"true",cta_position:n.addons.cta_position,cta_repeater:n.addons.cta_repeater,cta_theme_repeater:n.addons.cta_theme_repeater}),n.extensions.restapi?n.AjaxLoadMore.restapi(n,e,t):n.addons.tabs?n.AjaxLoadMore.tabs(n):n.AjaxLoadMore.adminajax(n,e,t)},n.AjaxLoadMore.adminajax=function(t,e,n){r.default.interceptors.request.use((function(t){return t.paramsSerializer=function(t){return R.stringify(t,{arrayFormat:"brackets",encode:!1})},t}));var o=alm_localize.ajaxurl,a=d.almGetAjaxParams(t,e,n);t.addons.single_post&&t.addons.single_post_target&&(o=t.addons.single_post_permalink+"?id="+t.addons.single_post_id+"&alm_page="+(parseInt(t.page)+1),a=""),t.addons.woocommerce&&(o=(0,v.getButtonURL)(t,t.rel),a=""),t.addons.elementor&&t.addons.elementor_type&&"posts"===t.addons.elementor_type&&(o=(0,v.getButtonURL)(t,t.rel),a=""),r.default.get(o,{params:a}).then((function(e){var r="";t.addons.single_post&&t.addons.single_post_target?(r=(0,M.singlePostHTML)(e,t.addons.single_post_target),(0,E.createCacheFile)(t,r.html,"single")):t.addons.woocommerce?(r=(0,O.wooGetContent)(e,t),(0,E.createCacheFile)(t,r.html,"woocommerce")):t.addons.elementor?(r=(0,T.elementorGetContent)(e,t),(0,E.createCacheFile)(t,r.html,"elementor")):r=e.data,"standard"===n?t.AjaxLoadMore.success(r,!1):"totalpages"===n&&t.addons.paging&&t.addons.nextpage?"function"==typeof almBuildPagination&&(window.almBuildPagination(r.totalpages,t),t.totalpages=r.totalpages):"totalposts"===n&&t.addons.paging&&"function"==typeof almBuildPagination&&window.almBuildPagination(r.totalposts,t)})).catch((function(e){t.AjaxLoadMore.error(e,"adminajax")}))},n.AjaxLoadMore.tabs=function(t){var e=t.addons.tabs_resturl+"ajaxloadmore/tab",n={post_id:t.post_id,template:t.addons.tab_template};r.default.interceptors.request.use((function(t){return t.paramsSerializer=function(t){return R.stringify(t,{arrayFormat:"brackets",encode:!1})},t})),r.default.get(e,{params:n}).then((function(e){var n={html:e.data.html,meta:{postcount:1,totalposts:1}};t.AjaxLoadMore.success(n,!1),"function"==typeof almTabLoaded&&window.almTabLoaded(t)})).catch((function(e){t.AjaxLoadMore.error(e,"restapi")}))},n.AjaxLoadMore.restapi=function(t,e,n){var o=wp.template(t.extensions.restapi_template_id),a=t.extensions.restapi_base_url+"/"+t.extensions.restapi_namespace+"/"+t.extensions.restapi_endpoint,i=d.almGetRestParams(t);r.default.interceptors.request.use((function(t){return t.paramsSerializer=function(t){return R.stringify(t,{arrayFormat:"brackets",encode:!1})},t})),r.default.get(a,{params:i}).then((function(e){for(var n=e.data,r="",a=n.html,i=n.meta,s=i&&i.postcount?i.postcount:0,l=i&&i.totalposts?i.totalposts:0,c=0;c<a.length;c++){var u=a[c];"true"===t.restapi_debug&&console.log(u),r+=o(u)}var d={html:r,meta:{postcount:s,totalposts:l}};t.AjaxLoadMore.success(d,!1)})).catch((function(e){t.AjaxLoadMore.error(e,"restapi")}))},n.addons.paging&&(n.addons.nextpage?n.AjaxLoadMore.ajax("totalpages"):n.AjaxLoadMore.ajax("totalposts")),n.AjaxLoadMore.success=function(e,r){var o=this;n.addons.single_post&&n.AjaxLoadMore.getSinglePost();var a=!1,l="table"===n.container_type?document.createElement("tbody"):document.createElement("div");n.el=l,l.style.opacity=0,l.style.height=0,l.style.outline="none";var d=n.listing.querySelector(".alm-paging-content"),f=void 0,v=void 0,w=void 0;if(r)f=e;else{f=e.html,v=e.meta,w=v?parseInt(v.postcount):parseInt(n.posts_per_page);var A=void 0!==v?v.totalposts:5*n.posts_per_page;n.totalposts="true"===n.addons.preloaded?A-n.addons.preloaded_amount:A,n.posts=n.addons.paging?w:n.posts+w,n.debug=v.debug?v.debug:"",v||console.warn("Ajax Load More: Unable to access `meta` object in Ajax response. There may be an issue in your Repeater Template or another hook causing interference.")}if(n.html=f,w=r?(0,c.default)(f).length:w,n.init&&(v&&(n.main.dataset.totalPosts=v.totalposts?v.totalposts:0),n.addons.paging&&w>0&&n.AjaxLoadMore.pagingInit(f,"alm-reveal"),0===w&&(n.addons.paging&&"function"==typeof almPagingEmpty&&window.almPagingEmpty(n),"function"==typeof almEmpty&&window.almEmpty(n),n.no_results&&setTimeout((function(){(0,x.default)(n.content,n.no_results)}),n.speed+10)),n.isPaged&&(n.posts_per_page=n.addons.users?n.listing.dataset.usersPerPage:n.listing.dataset.postsPerPage,n.posts_per_page=n.addons.nextpage?1:n.posts_per_page,n.page=n.start_page?n.start_page-1:n.page,n.addons.filters&&n.addons.filters_startpage>0&&(n.page=n.addons.filters_startpage-1,n.posts_per_page=n.listing.dataset.postsPerPage))),(0,S.default)(n),k(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,g.default)(n);case 2:case"end":return t.stop()}}),t,o)})))(),w>0){if(n.addons.paging)n.init?setTimeout((function(){n.main.classList.remove("alm-loading"),n.AjaxLoadMore.triggerAddons(n)}),n.speed):d&&((0,b.default)(d,n.speed),d.style.outline="none",n.main.classList.remove("alm-loading"),setTimeout((function(){d.style.opacity=0,d.innerHTML=n.html,q(d,(function(){n.AjaxLoadMore.triggerAddons(n),(0,_.default)(d,n.speed),setTimeout((function(){d.style.opacity="",m.default.init(d)}),parseInt(n.speed)+10),"function"==typeof almOnPagingComplete&&window.almOnPagingComplete(n)}))}),parseInt(n.speed)+25));else{if(n.addons.single_post){if(l.setAttribute("class","alm-reveal alm-single-post post-"+n.addons.single_post_id+(n.tcc?" "+n.tcc:"")),l.dataset.url=n.addons.single_post_permalink,n.addons.single_post_target?l.dataset.page=parseInt(n.page)+1:l.dataset.page=n.page,l.dataset.id=n.addons.single_post_id,l.dataset.title=n.addons.single_post_title,l.innerHTML=n.html,n.addons.single_post_preview&&n.addons.single_post_preview_data&&"function"==typeof almSinglePostCreatePreview){var P=window.almSinglePostCreatePreview(l,n.addons.single_post_id,n.addons.single_post_preview_data);l.replaceChildren(P||l)}}else if(n.transition_container){var M=void 0,E=window.location.search,N=n.addons.seo?" alm-seo":"",F=n.addons.filters?" alm-filters":"",R=n.is_preloaded?" alm-preloaded":"";if(n.init&&(n.start_page>1||n.addons.filters_startpage>0)){var z=[],B=[],U=parseInt(n.posts_per_page),W=Math.ceil(w/U);a=!0,"true"===n.addons.cta&&(U+=1,W=Math.ceil(w/U),w=W+w);for(var H=(0,u.default)((0,c.default)(n.html,"text/html")),V=0;V<w;V+=U)z.push(H.slice(V,U+V));for(var G=0;G<z.length;G++){var Y="true"===n.addons.preloaded?1:0,X=document.createElement("div");G>0||"true"===n.addons.preloaded?(M=G+1+Y,n.addons.seo&&(X=(0,C.createSEOAttributes)(n,X,E,N,M)),n.addons.filters&&(X.setAttribute("class","alm-reveal"+F+n.tcc),X.dataset.url=n.canonical_url+(0,I.buildFilterURL)(n,E,M),X.dataset.page=M)):(n.addons.seo&&(X=(0,C.createSEOAttributes)(n,X,E,N,1)),n.addons.filters&&(X.setAttribute("class","alm-reveal"+F+R+n.tcc),X.dataset.url=n.canonical_url+(0,I.buildFilterURL)(n,E,0),X.dataset.page="1")),(0,i.default)(X,z[G]),(0,j.default)(X,n.ua),B.push(X)}n.listing.style.opacity=0,n.listing.style.height=0,(0,i.default)(n.listing,B),l=n.listing,n.el=l}else{if(n.addons.seo&&n.page>0||"true"===n.addons.preloaded){var Q="true"===n.addons.preloaded?1:0;M=n.page+1+Q,n.addons.seo?l=(0,C.createSEOAttributes)(n,l,E,N,M):n.addons.filters?(l.setAttribute("class","alm-reveal"+F+n.tcc),l.dataset.url=n.canonical_url+(0,I.buildFilterURL)(n,E,M),l.dataset.page=M):l.setAttribute("class","alm-reveal"+n.tcc)}else n.addons.filters?(l.setAttribute("class","alm-reveal"+F+n.tcc),l.dataset.url=n.canonical_url+(0,I.buildFilterURL)(n,E,parseInt(n.page)+1),l.dataset.page=parseInt(n.page)+1):n.addons.seo?l=(0,C.createSEOAttributes)(n,l,E,N,1):l.setAttribute("class","alm-reveal"+n.tcc);l.innerHTML=n.html}}else n.el=n.html,l="table"===n.container_type?(0,s.default)(n.html):(0,u.default)((0,c.default)(n.html,"text/html"));if(n.addons.woocommerce)return k(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,O.woocommerce)(l,n,e.pageTitle);case 2:(0,O.woocommerceLoaded)(n);case 3:case"end":return t.stop()}}),t,this)})))().catch((function(t){console.log("Ajax Load More: There was an error loading woocommerce products.",t)})),void(n.init=!1);if(n.addons.elementor)return k(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,T.elementor)(l,n,e.pageTitle);case 2:(0,T.elementorLoaded)(n);case 3:case"end":return t.stop()}}),t,this)})))().catch((function(t){console.log("Ajax Load More: There was an error loading Elementor items.",t)})),void(n.init=!1);("masonry"!==n.transition||n.init&&"true"!==n.addons.preloaded)&&(a||(n.transition_container?n.listing.appendChild(l):"true"===n.images_loaded?q(l,(function(){(0,i.default)(n.listing,l),(0,j.default)(n.listing,n.ua)})):((0,i.default)(n.listing,l),(0,j.default)(n.listing,n.ua)))),"masonry"===n.transition?(n.el=n.listing,k(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,y.almMasonry)(n,n.init,D);case 2:n.masonry.init=!1,n.AjaxLoadMore.triggerWindowResize(),n.AjaxLoadMore.transitionEnd(),"function"==typeof almComplete&&window.almComplete(n),(0,L.lazyImages)(n);case 7:case"end":return t.stop()}}),t,this)})))().catch((function(t){console.log("There was an error with ALM Masonry")}))):"none"===n.transition&&n.transition_container?"true"===n.images_loaded?q(l,(function(){(0,_.default)(l,0),n.AjaxLoadMore.transitionEnd()})):((0,_.default)(l,0),n.AjaxLoadMore.transitionEnd()):"true"===n.images_loaded?q(l,(function(){n.transition_container&&(0,_.default)(l,n.speed),n.AjaxLoadMore.transitionEnd()})):(n.transition_container&&(0,_.default)(l,n.speed),n.AjaxLoadMore.transitionEnd()),n.addons.tabs&&"function"==typeof almTabsSetHeight&&q(l,(function(){(0,_.default)(n.listing,n.speed),setTimeout((function(){window.almTabsSetHeight(n)}),n.speed)}))}q(l,(function(){n.AjaxLoadMore.nested(l),m.default.init(n.el),"function"==typeof almComplete&&"masonry"!==n.transition&&window.almComplete(n),(0,L.lazyImages)(n),D&&n.addons.filters&&"function"==typeof almFiltersAddonComplete&&window.almFiltersAddonComplete(t),D=!1,n.addons.tabs&&"function"==typeof almTabsComplete&&window.almTabsComplete(),n.addons.cache?n.addons.nextpage&&n.localize?parseInt(n.localize.page)===parseInt(n.localize.total_posts)&&n.AjaxLoadMore.triggerDone():w<parseInt(n.posts_per_page)&&n.AjaxLoadMore.triggerDone():n.posts>=n.totalposts&&!n.addons.single_post&&n.AjaxLoadMore.triggerDone()})),"function"==typeof almFiltersOnload&&n.init&&window.almFiltersOnload(n)}else n.AjaxLoadMore.noresults();if(void 0!==n.destroy_after&&""!==n.destroy_after){var $=n.page+1;($="true"===n.addons.preloaded?$++:$)==n.destroy_after&&n.AjaxLoadMore.destroyed()}(0,p.tableOfContents)(n,n.init),"masonry"!==n.transition&&(0,h.default)(n,l,w,D),n.main.classList.contains("alm-is-filtering")&&n.main.classList.remove("alm-is-filtering"),n.init=!1},n.AjaxLoadMore.noresults=function(){n.addons.paging||(setTimeout((function(){n.button.classList.remove("loading"),n.button.classList.add("done")}),n.speed),n.AjaxLoadMore.resetBtnText()),"function"==typeof almComplete&&"masonry"!==n.transition&&window.almComplete(n),D&&n.addons.filters&&("function"==typeof almFiltersAddonComplete&&almFiltersAddonComplete(t),D=!1),n.addons.tabs&&"function"==typeof almTabsComplete&&almTabsComplete(),"masonry"===n.transition&&(n.content.style.height="auto"),n.AjaxLoadMore.triggerDone()},n.AjaxLoadMore.pagingPreloadedInit=function(t){t=null==t?"":t,n.AjaxLoadMore.pagingInit(t,"alm-reveal"),""===t&&("function"==typeof almPagingEmpty&&window.almPagingEmpty(n),"function"==typeof almEmpty&&window.almEmpty(n),n.no_results&&(0,x.default)(n.content,n.no_results))},n.AjaxLoadMore.pagingNextpageInit=function(t){t=null==t?"":t,n.AjaxLoadMore.pagingInit(t,"alm-reveal alm-nextpage"),"function"==typeof almSetNextPageVars&&window.almSetNextPageVars(n)},n.AjaxLoadMore.pagingInit=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"alm-reveal";t=null==t?"":t;var r=document.createElement("div");r.setAttribute("class",e);var o=document.createElement("div");o.setAttribute("class","alm-paging-content"+n.tcc),o.innerHTML=t,r.appendChild(o);var a=document.createElement("div");a.setAttribute("class","alm-paging-loading"),r.appendChild(a),n.listing.appendChild(r);var i=window.getComputedStyle(n.listing),s=parseInt(i.getPropertyValue("padding-top").replace("px","")),l=parseInt(i.getPropertyValue("padding-bottom").replace("px","")),c=r.offsetHeight;n.listing.style.height=c+s+l+"px",m.default.init(r),n.AjaxLoadMore.resetBtnText(),setTimeout((function(){"function"==typeof almFadePageControls&&window.almFadePageControls(n.btnWrap),"function"==typeof almOnWindowResize&&window.almOnWindowResize(n),n.main.classList.remove("loading")}),n.speed)},n.AjaxLoadMore.nested=function(t){if(!t||!n.transition_container)return!1;var e=t.querySelectorAll(".ajax-load-more-wrap");e&&e.forEach((function(t){window.almInit(t)}))},n.addons.single_post_id&&(n.fetchingPreviousPost=!1,n.addons.single_post_init=!0),n.AjaxLoadMore.getSinglePost=function(){if(n.fetchingPreviousPost)return!1;n.fetchingPreviousPost=!0;var t=alm_localize.ajaxurl,e={id:n.addons.single_post_id,initial_id:n.addons.single_post_init_id,order:n.addons.single_post_order,taxonomy:n.addons.single_post_taxonomy,excluded_terms:n.addons.single_post_excluded_terms,post_type:n.post_type,init:n.addons.single_post_init,action:"alm_get_single"};r.default.get(t,{params:e}).then((function(t){var e=t.data;e.has_previous_post?(n.listing.dataset.singlePostId=e.prev_id,n.addons.single_post_id=e.prev_id,n.addons.single_post_permalink=e.prev_permalink,n.addons.single_post_title=e.prev_title,n.addons.single_post_slug=e.prev_slug):e.has_previous_post||n.AjaxLoadMore.triggerDone(),"function"==typeof window.almSetSinglePost&&window.almSetSinglePost(n,e.current_id,e.permalink,e.title),n.fetchingPreviousPost=!1,n.addons.single_post_init=!1})).catch((function(t){n.AjaxLoadMore.error(t,"getSinglePost"),n.fetchingPreviousPost=!1}))},n.AjaxLoadMore.triggerAddons=function(t){"function"==typeof almSetNextPage&&t.addons.nextpage&&window.almSetNextPage(t),"function"==typeof almSEO&&t.addons.seo&&window.almSEO(t,!1),"function"==typeof almWooCommerce&&t.addons.woocommerce&&window.almWooCommerce(t),"function"==typeof almElementor&&t.addons.elementor&&window.almElementor(t)},n.AjaxLoadMore.triggerDone=function(){n.loading=!1,n.finished=!0,(0,P.hidePlaceholder)(n),n.addons.paging||(!1!==n.button_done_label&&setTimeout((function(){n.button.innerHTML=n.button_done_label}),75),n.button.classList.add("done"),n.button.removeAttribute("rel"),n.button.disabled=!0),"function"==typeof almDone&&setTimeout((function(){window.almDone(n)}),n.speed+10)},n.AjaxLoadMore.triggerDonePrev=function(){n.loading=!1,(0,P.hidePlaceholder)(n),n.addons.paging||(n.buttonPrev.classList.add("done"),n.buttonPrev.removeAttribute("rel"),n.buttonPrev.disabled=!0),"function"==typeof almDonePrev&&setTimeout((function(){window.almDonePrev(n)}),n.speed+10)},n.AjaxLoadMore.resetBtnText=function(){!1===n.button_loading_label||n.addons.paging||(n.button.innerHTML=n.button_label)},n.AjaxLoadMore.error=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;n.loading=!1,n.addons.paging||(n.button.classList.remove("loading"),n.AjaxLoadMore.resetBtnText()),console.log("Error: ",t),t.response?console.log("Error Msg: ",t.message):t.request?console.log(t.request):console.log("Error Msg: ",t.message),e&&console.log("ALM Error started in "+e),t.config&&console.log("ALM Error Debug: ",t.config)},n.AjaxLoadMore.click=function(t){var e=t.target||t.currentTarget;n.rel="next","true"===n.pause&&(n.pause=!1,n.pause_override=!1,n.AjaxLoadMore.loadPosts()),n.loading||n.finished||e.classList.contains("done")||(n.loading=!0,n.page++,n.AjaxLoadMore.loadPosts()),e.blur()},n.AjaxLoadMore.prevClick=function(t){var e=t.target||t.currentTarget;t.preventDefault(),n.loading||e.classList.contains("done")||(n.loading=!0,n.pagePrev--,n.rel="prev",n.AjaxLoadMore.loadPosts(),e.blur())},n.AjaxLoadMore.setPreviousButton=function(t){n.pagePrev=n.page,n.buttonPrev=t},n.addons.paging||n.fetchingPreviousPost||(n.button.onclick=n.AjaxLoadMore.click),n.addons.paging||n.addons.tabs||n.scroll_distance_perc||"horizontal"===n.scroll_direction){var W=void 0;n.window.onresize=function(){clearTimeout(W),W=setTimeout((function(t){n.addons.tabs&&"function"==typeof almOnTabsWindowResize&&window.almOnTabsWindowResize(n),n.addons.paging&&"function"==typeof almOnWindowResize&&window.almOnWindowResize(n),n.scroll_distance_perc&&(n.scroll_distance=(0,A.default)(n)),"horizontal"===n.scroll_direction&&n.AjaxLoadMore.horizontal()}),n.speed)}}n.AjaxLoadMore.isVisible=function(){return n.visible=n.main.clientWidth>0&&n.main.clientHeight>0,n.visible},n.AjaxLoadMore.triggerWindowResize=function(){if("function"==typeof Event)window.dispatchEvent(new Event("resize"));else{var t=window.document.createEvent("UIEvents");t.initUIEvent("resize",!0,!1,window,0),window.dispatchEvent(t)}},n.AjaxLoadMore.scroll=function(){n.timer&&clearTimeout(n.timer),n.timer=setTimeout((function(){if(n.AjaxLoadMore.isVisible()&&!n.fetchingPreviousPost){var t=n.trigger.getBoundingClientRect(),e=Math.round(t.top-n.window.innerHeight)+n.scroll_distance<=0;if(n.window!==window){var r=n.main.offsetHeight,o=n.main.offsetWidth;"horizontal"===n.scroll_direction?(n.AjaxLoadMore.horizontal(),e=o<=Math.round(n.window.scrollLeft+n.window.offsetWidth-n.scroll_distance)):e=r<=Math.round(n.window.scrollTop+n.window.offsetHeight-n.scroll_distance)}(!n.loading&&!n.finished&&e&&n.page<n.max_pages-1&&n.proceed&&"true"===n.pause&&"true"===n.pause_override||!n.loading&&!n.finished&&e&&n.page<n.max_pages-1&&n.proceed&&"true"!==n.pause)&&n.button.click()}}),25)},n.AjaxLoadMore.scrollSetup=function(){n.scroll&&!n.addons.paging&&(""!==n.scroll_container&&(n.window=document.querySelector(n.scroll_container)?document.querySelector(n.scroll_container):n.window,setTimeout((function(){n.AjaxLoadMore.horizontal()}),500)),n.window.addEventListener("scroll",n.AjaxLoadMore.scroll),n.window.addEventListener("touchstart",n.AjaxLoadMore.scroll),n.window.addEventListener("wheel",(function(t){Math.sign(t.deltaY)>0&&n.AjaxLoadMore.scroll()})),n.window.addEventListener("keyup",(function(t){switch(t.key?t.key:t.code){case 35:case 34:n.AjaxLoadMore.scroll()}})))},n.AjaxLoadMore.horizontal=function(){"horizontal"===n.scroll_direction&&(n.main.style.width=n.listing.offsetWidth+"px")},n.AjaxLoadMore.destroyed=function(){n.disable_ajax=!0,n.addons.paging||(n.button.style.display="none",n.AjaxLoadMore.triggerDone(),"function"==typeof almDestroyed&&window.almDestroyed(n))},n.AjaxLoadMore.transitionEnd=function(){setTimeout((function(){n.AjaxLoadMore.resetBtnText(),n.main.classList.remove("alm-loading"),"prev"===n.rel?n.buttonPrev.classList.remove("loading"):n.button.classList.remove("loading"),n.AjaxLoadMore.triggerAddons(n),n.addons.paging||setTimeout((function(){n.loading=!1}),3*n.speed)}),50),(0,P.hidePlaceholder)(n)},n.AjaxLoadMore.setLocalizedVar=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";n.localize&&""!==t&&""!==e&&(n.localize[t]=e.toString(),window[n.master_id+"_vars"][t]=e.toString())},n.AjaxLoadMore.init=function(){if("true"===n.addons.preloaded&&1==n.destroy_after&&n.AjaxLoadMore.destroyed(),n.addons.paging||n.addons.single_post||(n.disable_ajax?(n.finished=!0,n.button.classList.add("done")):(n.button.innerHTML=n.button_label,"true"===n.pause?n.loading=!1:n.AjaxLoadMore.loadPosts())),n.addons.single_post&&(n.AjaxLoadMore.getSinglePost(),n.loading=!1,n.addons.single_post_query&&""===n.addons.single_post_order&&n.AjaxLoadMore.triggerDone(),(0,p.tableOfContents)(n,!0,!0)),"true"===n.addons.preloaded&&n.addons.seo&&!n.addons.paging&&setTimeout((function(){"function"==typeof almSEO&&n.start_page<1&&window.almSEO(n,!0)}),n.speed),"true"!==n.addons.preloaded||n.addons.paging||setTimeout((function(){n.addons.preloaded_total_posts<=parseInt(n.addons.preloaded_amount)&&n.AjaxLoadMore.triggerDone(),0==n.addons.preloaded_total_posts&&("function"==typeof almEmpty&&window.almEmpty(n),n.no_results&&(0,x.default)(n.content,n.no_results))}),n.speed),"true"===n.addons.preloaded&&(n.resultsText&&f.almInitResultsText(n,"preloaded"),(0,p.tableOfContents)(n,n.init,!0)),n.addons.nextpage){if(n.listing.querySelector(".alm-nextpage")&&!n.addons.paging){var t=n.listing.querySelectorAll(".alm-nextpage");if(t){var e=t[0],r=e.dataset.totalPosts?parseInt(e.dataset.totalPosts):n.localize.total_posts;t.length!==r&&parseInt(e.dataset.id)!==r||n.AjaxLoadMore.triggerDone()}}n.resultsText&&f.almInitResultsText(n,"nextpage"),(0,p.tableOfContents)(n,n.init,!0)}n.addons.woocommerce&&((0,O.wooInit)(n),n.addons.woocommerce_settings.paged>=parseInt(n.addons.woocommerce_settings.pages)&&n.AjaxLoadMore.triggerDone()),n.addons.elementor&&n.addons.elementor_type&&"posts"===n.addons.elementor_type&&((0,T.elementorInit)(n),""===n.addons.elementor_next_page_url&&n.AjaxLoadMore.triggerDone()),n.window.addEventListener("load",(function(){"masonry"===n.transition&&"true"===n.addons.preloaded&&k(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,y.almMasonry)(n,!0,!1);case 2:n.masonry.init=!1;case 3:case"end":return t.stop()}}),t,this)})))().catch((function(t){console.log("There was an error with ALM Masonry")})),"function"==typeof almOnLoad&&window.almOnLoad(n)}))},window.almUpdateCurrentPage=function(t,e,n){n.page=t,n.page=n.addons.nextpage&&!n.addons.paging?n.page-1:n.page;var r="",o="";n.addons.paging_init&&"true"===n.addons.preloaded?((o=n.listing.querySelector(".alm-reveal")||n.listing.querySelector(".alm-nextpage"))&&(r=o.innerHTML,o.parentNode.removeChild(o),n.addons.preloaded_amount=0,n.AjaxLoadMore.pagingPreloadedInit(r)),n.addons.paging_init=!1,n.init=!1):n.addons.paging_init&&n.addons.nextpage?((o=n.listing.querySelector(".alm-reveal")||n.listing.querySelector(".alm-nextpage"))&&(r=o.innerHTML,o.parentNode.removeChild(o),n.AjaxLoadMore.pagingNextpageInit(r)),n.addons.paging_init=!1,n.init=!1):n.AjaxLoadMore.loadPosts()},window.almGetParentContainer=function(){return n.listing},window.almGetObj=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return""!==t?n[t]:n},window.almTriggerClick=function(){n.button.click()},setTimeout((function(){n.proceed=!0,n.AjaxLoadMore.scrollSetup()}),500),n.AjaxLoadMore.init()};window.almInit=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;new t(e,n)};var e=document.querySelectorAll(".ajax-load-more-wrap");e.length&&[].concat(function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}(e)).forEach((function(e,n){new t(e,n)}))}();e.filter=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"fade",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"200",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";if(!t||!e||!n)return!1;D=!0,(0,w.default)(t,e,n,"filter")};e.reset=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e={};D=!0,t&&t.target&&(e={target:target}),t&&"woocommerce"===t.type?k(regeneratorRuntime.mark((function t(){var n,r;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=document.querySelector('.ajax-load-more-wrap .alm-listing[data-woo="true"]'),t.next=3,(0,O.wooReset)();case 3:(r=t.sent)&&(n.dataset.wooSettings=r,(0,w.default)("fade","100",e,"filter"));case 5:case"end":return t.stop()}}),t,this)})))().catch((function(){console.warn("Ajax Load More: There was an resetting the Ajax Load More instance.")})):(0,w.default)("fade","200",e,"filter")};e.tab=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e="fade",n=alm_localize.speed?parseInt(alm_localize.speed):200;if(!t)return!1;D=!0,(0,w.default)(e,n,t,"tab")};e.tracking=function(t){setTimeout((function(){t=t.replace(/\/\//g,"/"),"function"==typeof gtag&&(gtag("event","page_view",{page_title:document.title,page_location:window.location.href,page_path:window.location.pathname}),alm_localize.ga_debug&&console.log("Pageview sent to Google Analytics (gtag)")),"function"==typeof ga&&(ga("set","page",t),ga("send","pageview"),alm_localize.ga_debug&&console.log("Pageview sent to Google Analytics (ga)")),"function"==typeof __gaTracker&&(__gaTracker("set","page",t),__gaTracker("send","pageview"),alm_localize.ga_debug&&console.log("Pageview sent to Google Analytics (__gaTracker)")),"function"==typeof almAnalytics&&window.almAnalytics(t)}),250)};e.start=function(t){if(!t)return!1;window.almInit(t)};e.almScroll=function(t){if(!t)return!1;window.scrollTo({top:t,behavior:"smooth"})};e.getOffset=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(!t)return!1;var e=t.getBoundingClientRect(),n=window.pageXOffset||document.documentElement.scrollLeft,r=window.pageYOffset||document.documentElement.scrollTop;return{top:e.top+r,left:e.left+n}};e.render=function(t){if(!t)return!1}},function(t,e,n){"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return t.apply(e,n)}}},function(t,e,n){"use strict";var r=n(11);function o(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,n){if(!e)return t;var a;if(n)a=n(e);else if(r.isURLSearchParams(e))a=e.toString();else{var i=[];r.forEach(e,(function(t,e){null!=t&&(r.isArray(t)?e+="[]":t=[t],r.forEach(t,(function(t){r.isDate(t)?t=t.toISOString():r.isObject(t)&&(t=JSON.stringify(t)),i.push(o(e)+"="+o(t))})))})),a=i.join("&")}if(a){var s=t.indexOf("#");-1!==s&&(t=t.slice(0,s)),t+=(-1===t.indexOf("?")?"?":"&")+a}return t}},function(t,e,n){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},function(t,e,n){"use strict";(function(e){var r=n(11),o=n(150),a={"Content-Type":"application/x-www-form-urlencoded"};function i(t,e){!r.isUndefined(t)&&r.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var s,l={adapter:(("undefined"!=typeof XMLHttpRequest||void 0!==e&&"[object process]"===Object.prototype.toString.call(e))&&(s=n(102)),s),transformRequest:[function(t,e){return o(e,"Accept"),o(e,"Content-Type"),r.isFormData(t)||r.isArrayBuffer(t)||r.isBuffer(t)||r.isStream(t)||r.isFile(t)||r.isBlob(t)?t:r.isArrayBufferView(t)?t.buffer:r.isURLSearchParams(t)?(i(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):r.isObject(t)?(i(e,"application/json;charset=utf-8"),JSON.stringify(t)):t}],transformResponse:[function(t){if("string"==typeof t)try{t=JSON.parse(t)}catch(t){}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300}};l.headers={common:{Accept:"application/json, text/plain, */*"}},r.forEach(["delete","get","head"],(function(t){l.headers[t]={}})),r.forEach(["post","put","patch"],(function(t){l.headers[t]=r.merge(a)})),t.exports=l}).call(this,n(149))},function(t,e,n){"use strict";var r=n(11),o=n(151),a=n(153),i=n(99),s=n(154),l=n(157),c=n(158),u=n(103);t.exports=function(t){return new Promise((function(e,n){var d=t.data,f=t.headers;r.isFormData(d)&&delete f["Content-Type"];var p=new XMLHttpRequest;if(t.auth){var g=t.auth.username||"",m=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";f.Authorization="Basic "+btoa(g+":"+m)}var h=s(t.baseURL,t.url);if(p.open(t.method.toUpperCase(),i(h,t.params,t.paramsSerializer),!0),p.timeout=t.timeout,p.onreadystatechange=function(){if(p&&4===p.readyState&&(0!==p.status||p.responseURL&&0===p.responseURL.indexOf("file:"))){var r="getAllResponseHeaders"in p?l(p.getAllResponseHeaders()):null,a={data:t.responseType&&"text"!==t.responseType?p.response:p.responseText,status:p.status,statusText:p.statusText,headers:r,config:t,request:p};o(e,n,a),p=null}},p.onabort=function(){p&&(n(u("Request aborted",t,"ECONNABORTED",p)),p=null)},p.onerror=function(){n(u("Network Error",t,null,p)),p=null},p.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),n(u(e,t,"ECONNABORTED",p)),p=null},r.isStandardBrowserEnv()){var v=(t.withCredentials||c(h))&&t.xsrfCookieName?a.read(t.xsrfCookieName):void 0;v&&(f[t.xsrfHeaderName]=v)}if("setRequestHeader"in p&&r.forEach(f,(function(t,e){void 0===d&&"content-type"===e.toLowerCase()?delete f[e]:p.setRequestHeader(e,t)})),r.isUndefined(t.withCredentials)||(p.withCredentials=!!t.withCredentials),t.responseType)try{p.responseType=t.responseType}catch(e){if("json"!==t.responseType)throw e}"function"==typeof t.onDownloadProgress&&p.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&p.upload&&p.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){p&&(p.abort(),n(t),p=null)})),d||(d=null),p.send(d)}))}},function(t,e,n){"use strict";var r=n(152);t.exports=function(t,e,n,o,a){var i=new Error(t);return r(i,e,n,o,a)}},function(t,e,n){"use strict";var r=n(11);t.exports=function(t,e){e=e||{};var n={},o=["url","method","data"],a=["headers","auth","proxy","params"],i=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],s=["validateStatus"];function l(t,e){return r.isPlainObject(t)&&r.isPlainObject(e)?r.merge(t,e):r.isPlainObject(e)?r.merge({},e):r.isArray(e)?e.slice():e}function c(o){r.isUndefined(e[o])?r.isUndefined(t[o])||(n[o]=l(void 0,t[o])):n[o]=l(t[o],e[o])}r.forEach(o,(function(t){r.isUndefined(e[t])||(n[t]=l(void 0,e[t]))})),r.forEach(a,c),r.forEach(i,(function(o){r.isUndefined(e[o])?r.isUndefined(t[o])||(n[o]=l(void 0,t[o])):n[o]=l(void 0,e[o])})),r.forEach(s,(function(r){r in e?n[r]=l(t[r],e[r]):r in t&&(n[r]=l(void 0,t[r]))}));var u=o.concat(a).concat(i).concat(s),d=Object.keys(t).concat(Object.keys(e)).filter((function(t){return-1===u.indexOf(t)}));return r.forEach(d,c),n}},function(t,e,n){"use strict";function r(t){this.message=t}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,t.exports=r},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,o=n(165),a=(r=o)&&r.__esModule?r:{default:r};e.default=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"fade";if(!t||!e)return!1;for(var r=0;r<e.length;r++){var o=e[r];(0,a.default)(t,o,n)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(!t)return!1;var e=["#text","#comment"],n=t.filter((function(t){return-1===e.indexOf(t.nodeName.toLowerCase())}));return n}},function(t,e,n){"use strict";function r(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"standard";if(!t.resultsText||!t.localize||"true"===t.nested)return!1;var n=0,r=0,a=0,i=0,s="true"===t.addons.preloaded,l=!!t.addons.paging,c=t.orginal_posts_per_page;switch(e){case"nextpage":a=n=parseInt(t.localize.page),r=parseInt(t.localize.total_posts),i=parseInt(r),o(t.resultsText,n,r,a,i);break;case"woocommerce":break;default:n=parseInt(t.page)+1,r=Math.ceil(t.localize.total_posts/c),a=parseInt(t.localize.post_count),i=parseInt(t.localize.total_posts),s&&(n=l?t.page+1:n+1),o(t.resultsText,n,r,a,i)}}Object.defineProperty(e,"__esModule",{value:!0}),e.almResultsText=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"standard";if(!t.resultsText||"true"===t.nested)return!1;var n="nextpage"===e||"woocommerce"===e?e:"standard";r(t,n)},e.almGetResultsText=r,e.almInitResultsText=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"standard";if(!t.resultsText||!t.localize||"true"===t.nested)return!1;var n=0,r=Math.ceil(t.localize.total_posts/t.orginal_posts_per_page),a=parseInt(t.localize.post_count),i=parseInt(t.localize.total_posts);switch(e){case"nextpage":n=t.addons.nextpage_startpage,a=n,r=i,o(t.resultsText,n,i,a,i);break;case"preloaded":n=t.addons.paging&&t.addons.seo?parseInt(t.start_page)+1:parseInt(t.page)+1,o(t.resultsText,n,r,a,i);break;case"woocommerce":break;default:console.log("No results to set.")}};var o=function(t,e,n,r,o){t.forEach((function(t){var a=(n=parseInt(n))>0?alm_localize.results_text:alm_localize.no_results_text;n>0?(a=(a=(a=(a=(a=(a=a.replace("{num}",'<span class="alm-results-num">'+e+"</span>")).replace("{page}",'<span class="alm-results-page">'+e+"</span>")).replace("{total}",'<span class="alm-results-total">'+n+"</span>")).replace("{pages}",'<span class="alm-results-pages">'+n+"</span>")).replace("{post_count}",'<span class="alm-results-post_count">'+r+"</span>")).replace("{total_posts}",'<span class="alm-results-total_posts">'+o+"</span>"),t.innerHTML=a):t.innerHTML=a}))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.tableOfContents=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=t.localize&&t.localize.post_count?parseInt(t.localize.post_count):0;if(0==r&&!t.addons.single_post)return!1;if(t&&t.tableofcontents&&t.transition_container&&"masonry"!==t.transition){var o=t.tableofcontents.dataset.offset?parseInt(t.tableofcontents.dataset.offset):30,a=t.start_page?parseInt(t.start_page):0,i=t.addons.filters_startpage?parseInt(t.addons.filters_startpage):0,l=t.addons.nextpage_startpage?parseInt(t.addons.nextpage_startpage):0,c=parseInt(t.page),u="true"===t.addons.preloaded;if(t.addons.paging||t.addons.nextpage)return!1;e?setTimeout((function(){if(t.addons.seo&&a>1||t.addons.filters&&i>1||t.addons.nextpage&&l>1){if(t.addons.seo&&a>1)for(var e=0;e<a;e++)s(t,e,o);if(t.addons.filters&&i>1)for(var r=0;r<i;r++)s(t,r,o);if(t.addons.nextpage&&l>1)for(var d=0;d<l;d++)s(t,d,o)}else!n&&u&&(c+=1),s(t,c,o)}),100):(u&&(t.addons.seo&&a>0||t.addons.filters&&i>0?c=c:c+=1),s(t,c,o))}},e.clearTOC=function(){var t=document.querySelector(".alm-toc");t&&(t.innerHTML="")};var r,o=n(97),a=n(49),i=(r=a)&&r.__esModule?r:{default:r};function s(t,e,n){if(!t.tableofcontents)return!1;var r=document.createElement("button");r.type="button",e=parseInt(e)+1,r.innerHTML=function(t,e){var n=e;if(t.addons.single_post){var r=e-1,o=void 0;if(t.addons.single_post_target){t.init?r=r:r+=1;var a=document.querySelectorAll(".alm-reveal.alm-single-post");a&&(o=a[r])}else o=document.querySelector(".alm-reveal.alm-single-post[data-page="+(e-1)+"]");n=o?o.dataset.title:n}var i="almTOCLabel_"+t.id;"function"==typeof window[i]&&(n=window[i](e,n));return n}(t,e),r.dataset.page=t.addons.single_post_target&&t.init?e-1:e,t.tableofcontents.appendChild(r),r.addEventListener("click",(function(e){var r=this.dataset.page,a=document.querySelector(".alm-reveal:nth-child("+r+")")||document.querySelector(".alm-nextpage:nth-child("+r+")");if(t.addons.single_post_target&&(a=document.querySelector('.alm-reveal.alm-single-post[data-page="'+r+'"]')),!a)return!1;var s="function"==typeof o.getOffset?(0,o.getOffset)(a).top:a.offsetTop;(0,o.almScroll)(s-n),setTimeout((function(){(0,i.default)(t,a,r,!1)}),1e3)}))}},function(t,e,n){"use strict";function r(t,e,n,r,o){return e.classList.add(r),e.dataset.page=o,"default"===t.addons.seo_permalink?e.dataset.url=o>1?t.canonical_url+n+"&paged="+o:t.canonical_url+n:e.dataset.url=o>1?t.canonical_url+t.addons.seo_leading_slash+"page/"+o+t.addons.seo_trailing_slash+n:t.canonical_url+n,e}Object.defineProperty(e,"__esModule",{value:!0}),e.createMasonrySEOPage=function(t,e){if(!t.addons.seo)return e;var n=window.location.search,o=t.page+1;return o="true"===t.addons.preloaded?o+1:o,e=r(t,e,n,"alm-seo",o)},e.createMasonrySEOPages=function(t,e){if(!t.addons.seo)return e;var n=1,o=t.page,a=window.location.search;if(t.start_page>1){for(var i=parseInt(t.posts_per_page),s=[],l=0;l<e.length;l+=i)s.push(e.slice(l,i+l));for(var c=0;c<s.length;c++){var u=c>0?c*i:0;n=c+1,e[u]&&(e[u]=r(t,e[u],a,"alm-seo",n))}}else n=o,e[0]=r(t,e[0],a,"alm-seo",n);return e},e.createSEOAttributes=function(t,e,n,r,o){e.setAttribute("class","alm-reveal"+r+t.tcc),e.dataset.page=o,"default"===t.addons.seo_permalink?e.dataset.url=o>1?t.canonical_url+n+"&paged="+o:t.canonical_url+n:e.dataset.url=o>1?t.canonical_url+t.addons.seo_leading_slash+"page/"+o+t.addons.seo_trailing_slash+n:t.canonical_url+n;return e}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=a(n(183)),o=a(n(49));function a(t){return t&&t.__esModule?t:{default:t}}function i(t){return function(){var e=t.apply(this,arguments);return new Promise((function(t,n){return function r(o,a){try{var i=e[o](a),s=i.value}catch(t){return void n(t)}if(!i.done)return Promise.resolve(s).then((function(t){r("next",t)}),(function(t){r("throw",t)}));t(s)}("next")}))}}e.default=function(t,e,n,a){var s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:window.location,l=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"";return new Promise((function(c){var u=e.length,d=0,f=1,p=n.rel?n.rel:"next",g="prev"===p?u:1,m="prev"===p?n.pagePrev:n.page+1;e="prev"===p?e.reverse():e,function h(){f<=u?i(regeneratorRuntime.mark((function o(){return regeneratorRuntime.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return e[d].style.opacity=0,f==g&&(e[d].classList.add(l),e[d].dataset.url=s,e[d].dataset.page=m,e[d].dataset.pageTitle=a),o.next=4,(0,r.default)(t,e[d],n.ua,p);case 4:f++,d++,h();case 7:case"end":return o.stop()}}),o,this)})))().catch((function(t){console.log("There was an error loading the items")})):(setTimeout((function(){if(e.map((function(t){t.style.opacity=1})),e[0]){var t="prev"===p?e[e.length-1]:e[0];(0,o.default)(n,t,null,!1)}}),50),c(!0))}()}))}},function(t,e,n){t.exports=!n(8)&&!n(2)((function(){return 7!=Object.defineProperty(n(71)("div"),"a",{get:function(){return 7}}).a}))},function(t,e,n){var r=n(1),o=n(7),a=n(31),i=n(72),s=n(9).f;t.exports=function(t){var e=o.Symbol||(o.Symbol=a?{}:r.Symbol||{});"_"==t.charAt(0)||t in e||s(e,t,{value:i.f(t)})}},function(t,e,n){var r=n(14),o=n(16),a=n(53)(!1),i=n(73)("IE_PROTO");t.exports=function(t,e){var n,s=o(t),l=0,c=[];for(n in s)n!=i&&r(s,n)&&c.push(n);for(;e.length>l;)r(s,n=e[l++])&&(~a(c,n)||c.push(n));return c}},function(t,e,n){var r=n(9),o=n(3),a=n(32);t.exports=n(8)?Object.defineProperties:function(t,e){o(t);for(var n,i=a(e),s=i.length,l=0;s>l;)r.f(t,n=i[l++],e[n]);return t}},function(t,e,n){var r=n(16),o=n(35).f,a={}.toString,i="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return i&&"[object Window]"==a.call(t)?function(t){try{return o(t)}catch(t){return i.slice()}}(t):o(r(t))}},function(t,e,n){"use strict";var r=n(8),o=n(32),a=n(54),i=n(46),s=n(10),l=n(45),c=Object.assign;t.exports=!c||n(2)((function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach((function(t){e[t]=t})),7!=c({},t)[n]||Object.keys(c({},e)).join("")!=r}))?function(t,e){for(var n=s(t),c=arguments.length,u=1,d=a.f,f=i.f;c>u;)for(var p,g=l(arguments[u++]),m=d?o(g).concat(d(g)):o(g),h=m.length,v=0;h>v;)p=m[v++],r&&!f.call(g,p)||(n[p]=g[p]);return n}:c},function(t,e){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}},function(t,e,n){"use strict";var r=n(19),o=n(4),a=n(120),i=[].slice,s={},l=function(t,e,n){if(!(e in s)){for(var r=[],o=0;o<e;o++)r[o]="a["+o+"]";s[e]=Function("F,a","return new F("+r.join(",")+")")}return s[e](t,n)};t.exports=Function.bind||function(t){var e=r(this),n=i.call(arguments,1),s=function(){var r=n.concat(i.call(arguments));return this instanceof s?l(e,r.length,r):a(e,r,t)};return o(e.prototype)&&(s.prototype=e.prototype),s}},function(t,e){t.exports=function(t,e,n){var r=void 0===n;switch(e.length){case 0:return r?t():t.call(n);case 1:return r?t(e[0]):t.call(n,e[0]);case 2:return r?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return r?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return r?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},function(t,e,n){var r=n(1).parseInt,o=n(40).trim,a=n(77),i=/^[-+]?0[xX]/;t.exports=8!==r(a+"08")||22!==r(a+"0x16")?function(t,e){var n=o(String(t),3);return r(n,e>>>0||(i.test(n)?16:10))}:r},function(t,e,n){var r=n(1).parseFloat,o=n(40).trim;t.exports=1/r(n(77)+"-0")!=-1/0?function(t){var e=o(String(t),3),n=r(e);return 0===n&&"-"==e.charAt(0)?-0:n}:r},function(t,e,n){var r=n(24);t.exports=function(t,e){if("number"!=typeof t&&"Number"!=r(t))throw TypeError(e);return+t}},function(t,e,n){var r=n(4),o=Math.floor;t.exports=function(t){return!r(t)&&isFinite(t)&&o(t)===t}},function(t,e){t.exports=Math.log1p||function(t){return(t=+t)>-1e-8&&t<1e-8?t-t*t/2:Math.log(1+t)}},function(t,e,n){"use strict";var r=n(34),o=n(29),a=n(39),i={};n(15)(i,n(5)("iterator"),(function(){return this})),t.exports=function(t,e,n){t.prototype=r(i,{next:o(1,n)}),a(t,e+" Iterator")}},function(t,e,n){var r=n(3);t.exports=function(t,e,n,o){try{return o?e(r(n)[0],n[1]):e(n)}catch(e){var a=t.return;throw void 0!==a&&r(a.call(t)),e}}},function(t,e,n){var r=n(280);t.exports=function(t,e){return new(r(t))(e)}},function(t,e,n){var r=n(19),o=n(10),a=n(45),i=n(6);t.exports=function(t,e,n,s,l){r(e);var c=o(t),u=a(c),d=i(c.length),f=l?d-1:0,p=l?-1:1;if(n<2)for(;;){if(f in u){s=u[f],f+=p;break}if(f+=p,l?f<0:d<=f)throw TypeError("Reduce of empty array with no initial value")}for(;l?f>=0:d>f;f+=p)f in u&&(s=e(s,u[f],f,c));return s}},function(t,e,n){"use strict";var r=n(10),o=n(33),a=n(6);t.exports=[].copyWithin||function(t,e){var n=r(this),i=a(n.length),s=o(t,i),l=o(e,i),c=arguments.length>2?arguments[2]:void 0,u=Math.min((void 0===c?i:o(c,i))-l,i-s),d=1;for(l<s&&s<l+u&&(d=-1,l+=u-1,s+=u-1);u-- >0;)l in n?n[s]=n[l]:delete n[s],s+=d,l+=d;return n}},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,n){"use strict";var r=n(92);n(0)({target:"RegExp",proto:!0,forced:r!==/./.exec},{exec:r})},function(t,e,n){n(8)&&"g"!=/./g.flags&&n(9).f(RegExp.prototype,"flags",{configurable:!0,get:n(57)})},function(t,e,n){"use strict";var r,o,a,i,s=n(31),l=n(1),c=n(18),u=n(47),d=n(0),f=n(4),p=n(19),g=n(43),m=n(60),h=n(48),v=n(94).set,y=n(300)(),_=n(135),b=n(301),w=n(61),x=n(136),S=l.TypeError,A=l.process,j=A&&A.versions,P=j&&j.v8||"",L=l.Promise,M="process"==u(A),E=function(){},O=o=_.f,T=!!function(){try{var t=L.resolve(1),e=(t.constructor={})[n(5)("species")]=function(t){t(E,E)};return(M||"function"==typeof PromiseRejectionEvent)&&t.then(E)instanceof e&&0!==P.indexOf("6.6")&&-1===w.indexOf("Chrome/66")}catch(t){}}(),I=function(t){var e;return!(!f(t)||"function"!=typeof(e=t.then))&&e},C=function(t,e){if(!t._n){t._n=!0;var n=t._c;y((function(){for(var r=t._v,o=1==t._s,a=0,i=function(e){var n,a,i,s=o?e.ok:e.fail,l=e.resolve,c=e.reject,u=e.domain;try{s?(o||(2==t._h&&k(t),t._h=1),!0===s?n=r:(u&&u.enter(),n=s(r),u&&(u.exit(),i=!0)),n===e.promise?c(S("Promise-chain cycle")):(a=I(n))?a.call(n,l,c):l(n)):c(r)}catch(t){u&&!i&&u.exit(),c(t)}};n.length>a;)i(n[a++]);t._c=[],t._n=!1,e&&!t._h&&N(t)}))}},N=function(t){v.call(l,(function(){var e,n,r,o=t._v,a=F(t);if(a&&(e=b((function(){M?A.emit("unhandledRejection",o,t):(n=l.onunhandledrejection)?n({promise:t,reason:o}):(r=l.console)&&r.error&&r.error("Unhandled promise rejection",o)})),t._h=M||F(t)?2:1),t._a=void 0,a&&e.e)throw e.v}))},F=function(t){return 1!==t._h&&0===(t._a||t._c).length},k=function(t){v.call(l,(function(){var e;M?A.emit("rejectionHandled",t):(e=l.onrejectionhandled)&&e({promise:t,reason:t._v})}))},R=function(t){var e=this;e._d||(e._d=!0,(e=e._w||e)._v=t,e._s=2,e._a||(e._a=e._c.slice()),C(e,!0))},q=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw S("Promise can't be resolved itself");(e=I(t))?y((function(){var r={_w:n,_d:!1};try{e.call(t,c(q,r,1),c(R,r,1))}catch(t){R.call(r,t)}})):(n._v=t,n._s=1,C(n,!1))}catch(t){R.call({_w:n,_d:!1},t)}}};T||(L=function(t){g(this,L,"Promise","_h"),p(t),r.call(this);try{t(c(q,this,1),c(R,this,1))}catch(t){R.call(this,t)}},(r=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n(44)(L.prototype,{then:function(t,e){var n=O(h(this,L));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=M?A.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&C(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),a=function(){var t=new r;this.promise=t,this.resolve=c(q,t,1),this.reject=c(R,t,1)},_.f=O=function(t){return t===L||t===i?new a(t):o(t)}),d(d.G+d.W+d.F*!T,{Promise:L}),n(39)(L,"Promise"),n(42)("Promise"),i=n(7).Promise,d(d.S+d.F*!T,"Promise",{reject:function(t){var e=O(this);return(0,e.reject)(t),e.promise}}),d(d.S+d.F*(s||!T),"Promise",{resolve:function(t){return x(s&&this===i?L:this,t)}}),d(d.S+d.F*!(T&&n(56)((function(t){L.all(t).catch(E)}))),"Promise",{all:function(t){var e=this,n=O(e),r=n.resolve,o=n.reject,a=b((function(){var n=[],a=0,i=1;m(t,!1,(function(t){var s=a++,l=!1;n.push(void 0),i++,e.resolve(t).then((function(t){l||(l=!0,n[s]=t,--i||r(n))}),o)})),--i||r(n)}));return a.e&&o(a.v),n.promise},race:function(t){var e=this,n=O(e),r=n.reject,o=b((function(){m(t,!1,(function(t){e.resolve(t).then(n.resolve,r)}))}));return o.e&&r(o.v),n.promise}})},function(t,e,n){"use strict";var r=n(19);function o(t){var e,n;this.promise=new t((function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r})),this.resolve=r(e),this.reject=r(n)}t.exports.f=function(t){return new o(t)}},function(t,e,n){var r=n(3),o=n(4),a=n(135);t.exports=function(t,e){if(r(t),o(e)&&e.constructor===t)return e;var n=a.f(t);return(0,n.resolve)(e),n.promise}},function(t,e,n){"use strict";var r=n(9).f,o=n(34),a=n(44),i=n(18),s=n(43),l=n(60),c=n(83),u=n(131),d=n(42),f=n(8),p=n(28).fastKey,g=n(38),m=f?"_s":"size",h=function(t,e){var n,r=p(e);if("F"!==r)return t._i[r];for(n=t._f;n;n=n.n)if(n.k==e)return n};t.exports={getConstructor:function(t,e,n,c){var u=t((function(t,r){s(t,u,e,"_i"),t._t=e,t._i=o(null),t._f=void 0,t._l=void 0,t[m]=0,null!=r&&l(r,n,t[c],t)}));return a(u.prototype,{clear:function(){for(var t=g(this,e),n=t._i,r=t._f;r;r=r.n)r.r=!0,r.p&&(r.p=r.p.n=void 0),delete n[r.i];t._f=t._l=void 0,t[m]=0},delete:function(t){var n=g(this,e),r=h(n,t);if(r){var o=r.n,a=r.p;delete n._i[r.i],r.r=!0,a&&(a.n=o),o&&(o.p=a),n._f==r&&(n._f=o),n._l==r&&(n._l=a),n[m]--}return!!r},forEach:function(t){g(this,e);for(var n,r=i(t,arguments.length>1?arguments[1]:void 0,3);n=n?n.n:this._f;)for(r(n.v,n.k,this);n&&n.r;)n=n.p},has:function(t){return!!h(g(this,e),t)}}),f&&r(u.prototype,"size",{get:function(){return g(this,e)[m]}}),u},def:function(t,e,n){var r,o,a=h(t,e);return a?a.v=n:(t._l=a={i:o=p(e,!0),k:e,v:n,p:r=t._l,n:void 0,r:!1},t._f||(t._f=a),r&&(r.n=a),t[m]++,"F"!==o&&(t._i[o]=a)),t},getEntry:h,setStrong:function(t,e,n){c(t,e,(function(t,n){this._t=g(t,e),this._k=n,this._l=void 0}),(function(){for(var t=this._k,e=this._l;e&&e.r;)e=e.p;return this._t&&(this._l=e=e?e.n:this._t._f)?u(0,"keys"==t?e.k:"values"==t?e.v:[e.k,e.v]):(this._t=void 0,u(1))}),n?"entries":"values",!n,!0),d(e)}}},function(t,e,n){"use strict";var r=n(44),o=n(28).getWeak,a=n(3),i=n(4),s=n(43),l=n(60),c=n(23),u=n(14),d=n(38),f=c(5),p=c(6),g=0,m=function(t){return t._l||(t._l=new h)},h=function(){this.a=[]},v=function(t,e){return f(t.a,(function(t){return t[0]===e}))};h.prototype={get:function(t){var e=v(this,t);if(e)return e[1]},has:function(t){return!!v(this,t)},set:function(t,e){var n=v(this,t);n?n[1]=e:this.a.push([t,e])},delete:function(t){var e=p(this.a,(function(e){return e[0]===t}));return~e&&this.a.splice(e,1),!!~e}},t.exports={getConstructor:function(t,e,n,a){var c=t((function(t,r){s(t,c,e,"_i"),t._t=e,t._i=g++,t._l=void 0,null!=r&&l(r,n,t[a],t)}));return r(c.prototype,{delete:function(t){if(!i(t))return!1;var n=o(t);return!0===n?m(d(this,e)).delete(t):n&&u(n,this._i)&&delete n[this._i]},has:function(t){if(!i(t))return!1;var n=o(t);return!0===n?m(d(this,e)).has(t):n&&u(n,this._i)}}),c},def:function(t,e,n){var r=o(a(e),!0);return!0===r?m(t).set(e,n):r[t._i]=n,t},ufstore:m}},function(t,e,n){var r=n(20),o=n(6);t.exports=function(t){if(void 0===t)return 0;var e=r(t),n=o(e);if(e!==n)throw RangeError("Wrong length!");return n}},function(t,e,n){var r=n(35),o=n(54),a=n(3),i=n(1).Reflect;t.exports=i&&i.ownKeys||function(t){var e=r.f(a(t)),n=o.f;return n?e.concat(n(t)):e}},function(t,e,n){var r=n(6),o=n(79),a=n(25);t.exports=function(t,e,n,i){var s=String(a(t)),l=s.length,c=void 0===n?" ":String(n),u=r(e);if(u<=l||""==c)return s;var d=u-l,f=o.call(c,Math.ceil(d/c.length));return f.length>d&&(f=f.slice(0,d)),i?f+s:s+f}},function(t,e,n){var r=n(8),o=n(32),a=n(16),i=n(46).f;t.exports=function(t){return function(e){for(var n,s=a(e),l=o(s),c=l.length,u=0,d=[];c>u;)n=l[u++],r&&!i.call(s,n)||d.push(t?[n,s[n]]:s[n]);return d}}},function(t,e,n){"use strict";var r=n(96),o=Object.prototype.hasOwnProperty,a=Array.isArray,i=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),s=function(t,e){for(var n=e&&e.plainObjects?Object.create(null):{},r=0;r<t.length;++r)void 0!==t[r]&&(n[r]=t[r]);return n};t.exports={arrayToObject:s,assign:function(t,e){return Object.keys(e).reduce((function(t,n){return t[n]=e[n],t}),t)},combine:function(t,e){return[].concat(t,e)},compact:function(t){for(var e=[{obj:{o:t},prop:"o"}],n=[],r=0;r<e.length;++r)for(var o=e[r],i=o.obj[o.prop],s=Object.keys(i),l=0;l<s.length;++l){var c=s[l],u=i[c];"object"==typeof u&&null!==u&&-1===n.indexOf(u)&&(e.push({obj:i,prop:c}),n.push(u))}return function(t){for(;t.length>1;){var e=t.pop(),n=e.obj[e.prop];if(a(n)){for(var r=[],o=0;o<n.length;++o)void 0!==n[o]&&r.push(n[o]);e.obj[e.prop]=r}}}(e),t},decode:function(t,e,n){var r=t.replace(/\+/g," ");if("iso-8859-1"===n)return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch(t){return r}},encode:function(t,e,n,o,a){if(0===t.length)return t;var s=t;if("symbol"==typeof t?s=Symbol.prototype.toString.call(t):"string"!=typeof t&&(s=String(t)),"iso-8859-1"===n)return escape(s).replace(/%u[0-9a-f]{4}/gi,(function(t){return"%26%23"+parseInt(t.slice(2),16)+"%3B"}));for(var l="",c=0;c<s.length;++c){var u=s.charCodeAt(c);45===u||46===u||95===u||126===u||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122||a===r.RFC1738&&(40===u||41===u)?l+=s.charAt(c):u<128?l+=i[u]:u<2048?l+=i[192|u>>6]+i[128|63&u]:u<55296||u>=57344?l+=i[224|u>>12]+i[128|u>>6&63]+i[128|63&u]:(c+=1,u=65536+((1023&u)<<10|1023&s.charCodeAt(c)),l+=i[240|u>>18]+i[128|u>>12&63]+i[128|u>>6&63]+i[128|63&u])}return l},isBuffer:function(t){return!(!t||"object"!=typeof t)&&!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},maybeMap:function(t,e){if(a(t)){for(var n=[],r=0;r<t.length;r+=1)n.push(e(t[r]));return n}return e(t)},merge:function t(e,n,r){if(!n)return e;if("object"!=typeof n){if(a(e))e.push(n);else{if(!e||"object"!=typeof e)return[e,n];(r&&(r.plainObjects||r.allowPrototypes)||!o.call(Object.prototype,n))&&(e[n]=!0)}return e}if(!e||"object"!=typeof e)return[e].concat(n);var i=e;return a(e)&&!a(n)&&(i=s(e,r)),a(e)&&a(n)?(n.forEach((function(n,a){if(o.call(e,a)){var i=e[a];i&&"object"==typeof i&&n&&"object"==typeof n?e[a]=t(i,n,r):e.push(n)}else e[a]=n})),e):Object.keys(n).reduce((function(e,a){var i=n[a];return o.call(e,a)?e[a]=t(e[a],i,r):e[a]=i,e}),i)}}},function(t,e,n){"use strict";var r=n(11),o=n(98),a=n(145),i=n(104);function s(t){var e=new a(t),n=o(a.prototype.request,e);return r.extend(n,a.prototype,e),r.extend(n,e),n}var l=s(n(101));l.Axios=a,l.create=function(t){return s(i(l.defaults,t))},l.Cancel=n(105),l.CancelToken=n(159),l.isCancel=n(100),l.all=function(t){return Promise.all(t)},l.spread=n(160),l.isAxiosError=n(161),t.exports=l,t.exports.default=l},function(t,e,n){"use strict";var r=n(11),o=n(99),a=n(146),i=n(147),s=n(104);function l(t){this.defaults=t,this.interceptors={request:new a,response:new a}}l.prototype.request=function(t){"string"==typeof t?(t=arguments[1]||{}).url=arguments[0]:t=t||{},(t=s(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var e=[i,void 0],n=Promise.resolve(t);for(this.interceptors.request.forEach((function(t){e.unshift(t.fulfilled,t.rejected)})),this.interceptors.response.forEach((function(t){e.push(t.fulfilled,t.rejected)}));e.length;)n=n.then(e.shift(),e.shift());return n},l.prototype.getUri=function(t){return t=s(this.defaults,t),o(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(t){l.prototype[t]=function(e,n){return this.request(s(n||{},{method:t,url:e,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(t){l.prototype[t]=function(e,n,r){return this.request(s(r||{},{method:t,url:e,data:n}))}})),t.exports=l},function(t,e,n){"use strict";var r=n(11);function o(){this.handlers=[]}o.prototype.use=function(t,e){return this.handlers.push({fulfilled:t,rejected:e}),this.handlers.length-1},o.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},o.prototype.forEach=function(t){r.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=o},function(t,e,n){"use strict";var r=n(11),o=n(148),a=n(100),i=n(101);function s(t){t.cancelToken&&t.cancelToken.throwIfRequested()}t.exports=function(t){return s(t),t.headers=t.headers||{},t.data=o(t.data,t.headers,t.transformRequest),t.headers=r.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]})),(t.adapter||i.adapter)(t).then((function(e){return s(t),e.data=o(e.data,e.headers,t.transformResponse),e}),(function(e){return a(e)||(s(t),e&&e.response&&(e.response.data=o(e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},function(t,e,n){"use strict";var r=n(11);t.exports=function(t,e,n){return r.forEach(n,(function(n){t=n(t,e)})),t}},function(t,e){var n,r,o=t.exports={};function a(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function s(t){if(n===setTimeout)return setTimeout(t,0);if((n===a||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:a}catch(t){n=a}try{r="function"==typeof clearTimeout?clearTimeout:i}catch(t){r=i}}();var l,c=[],u=!1,d=-1;function f(){u&&l&&(u=!1,l.length?c=l.concat(c):d=-1,c.length&&p())}function p(){if(!u){var t=s(f);u=!0;for(var e=c.length;e;){for(l=c,c=[];++d<e;)l&&l[d].run();d=-1,e=c.length}l=null,u=!1,function(t){if(r===clearTimeout)return clearTimeout(t);if((r===i||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(t);try{r(t)}catch(e){try{return r.call(null,t)}catch(e){return r.call(this,t)}}}(t)}}function g(t,e){this.fun=t,this.array=e}function m(){}o.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];c.push(new g(t,e)),1!==c.length||u||s(p)},g.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=m,o.addListener=m,o.once=m,o.off=m,o.removeListener=m,o.removeAllListeners=m,o.emit=m,o.prependListener=m,o.prependOnceListener=m,o.listeners=function(t){return[]},o.binding=function(t){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(t){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},function(t,e,n){"use strict";var r=n(11);t.exports=function(t,e){r.forEach(t,(function(n,r){r!==e&&r.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[r])}))}},function(t,e,n){"use strict";var r=n(103);t.exports=function(t,e,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?e(r("Request failed with status code "+n.status,n.config,null,n.request,n)):t(n)}},function(t,e,n){"use strict";t.exports=function(t,e,n,r,o){return t.config=e,n&&(t.code=n),t.request=r,t.response=o,t.isAxiosError=!0,t.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},t}},function(t,e,n){"use strict";var r=n(11);t.exports=r.isStandardBrowserEnv()?{write:function(t,e,n,o,a,i){var s=[];s.push(t+"="+encodeURIComponent(e)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(o)&&s.push("path="+o),r.isString(a)&&s.push("domain="+a),!0===i&&s.push("secure"),document.cookie=s.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(t,e,n){"use strict";var r=n(155),o=n(156);t.exports=function(t,e){return t&&!r(e)?o(t,e):e}},function(t,e,n){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},function(t,e,n){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},function(t,e,n){"use strict";var r=n(11),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];t.exports=function(t){var e,n,a,i={};return t?(r.forEach(t.split("\n"),(function(t){if(a=t.indexOf(":"),e=r.trim(t.substr(0,a)).toLowerCase(),n=r.trim(t.substr(a+1)),e){if(i[e]&&o.indexOf(e)>=0)return;i[e]="set-cookie"===e?(i[e]?i[e]:[]).concat([n]):i[e]?i[e]+", "+n:n}})),i):i}},function(t,e,n){"use strict";var r=n(11);t.exports=r.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(t){var r=t;return e&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return t=o(window.location.href),function(e){var n=r.isString(e)?o(e):e;return n.protocol===t.protocol&&n.host===t.host}}():function(){return!0}},function(t,e,n){"use strict";var r=n(105);function o(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var n=this;t((function(t){n.reason||(n.reason=new r(t),e(n.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var t;return{token:new o((function(e){t=e})),cancel:t}},t.exports=o},function(t,e,n){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},function(t,e,n){"use strict";t.exports=function(t){return"object"==typeof t&&!0===t.isAxiosError}},function(t,e,n){!function(){"use strict";t.exports={polyfill:function(){var t=window,e=document;if(!("scrollBehavior"in e.documentElement.style)||!0===t.__forceSmoothScrollPolyfill__){var n,r=t.HTMLElement||t.Element,o={scroll:t.scroll||t.scrollTo,scrollBy:t.scrollBy,elementScroll:r.prototype.scroll||s,scrollIntoView:r.prototype.scrollIntoView},a=t.performance&&t.performance.now?t.performance.now.bind(t.performance):Date.now,i=(n=t.navigator.userAgent,new RegExp(["MSIE ","Trident/","Edge/"].join("|")).test(n)?1:0);t.scroll=t.scrollTo=function(){void 0!==arguments[0]&&(!0!==l(arguments[0])?g.call(t,e.body,void 0!==arguments[0].left?~~arguments[0].left:t.scrollX||t.pageXOffset,void 0!==arguments[0].top?~~arguments[0].top:t.scrollY||t.pageYOffset):o.scroll.call(t,void 0!==arguments[0].left?arguments[0].left:"object"!=typeof arguments[0]?arguments[0]:t.scrollX||t.pageXOffset,void 0!==arguments[0].top?arguments[0].top:void 0!==arguments[1]?arguments[1]:t.scrollY||t.pageYOffset))},t.scrollBy=function(){void 0!==arguments[0]&&(l(arguments[0])?o.scrollBy.call(t,void 0!==arguments[0].left?arguments[0].left:"object"!=typeof arguments[0]?arguments[0]:0,void 0!==arguments[0].top?arguments[0].top:void 0!==arguments[1]?arguments[1]:0):g.call(t,e.body,~~arguments[0].left+(t.scrollX||t.pageXOffset),~~arguments[0].top+(t.scrollY||t.pageYOffset)))},r.prototype.scroll=r.prototype.scrollTo=function(){if(void 0!==arguments[0])if(!0!==l(arguments[0])){var t=arguments[0].left,e=arguments[0].top;g.call(this,this,void 0===t?this.scrollLeft:~~t,void 0===e?this.scrollTop:~~e)}else{if("number"==typeof arguments[0]&&void 0===arguments[1])throw new SyntaxError("Value could not be converted");o.elementScroll.call(this,void 0!==arguments[0].left?~~arguments[0].left:"object"!=typeof arguments[0]?~~arguments[0]:this.scrollLeft,void 0!==arguments[0].top?~~arguments[0].top:void 0!==arguments[1]?~~arguments[1]:this.scrollTop)}},r.prototype.scrollBy=function(){void 0!==arguments[0]&&(!0!==l(arguments[0])?this.scroll({left:~~arguments[0].left+this.scrollLeft,top:~~arguments[0].top+this.scrollTop,behavior:arguments[0].behavior}):o.elementScroll.call(this,void 0!==arguments[0].left?~~arguments[0].left+this.scrollLeft:~~arguments[0]+this.scrollLeft,void 0!==arguments[0].top?~~arguments[0].top+this.scrollTop:~~arguments[1]+this.scrollTop))},r.prototype.scrollIntoView=function(){if(!0!==l(arguments[0])){var n=f(this),r=n.getBoundingClientRect(),a=this.getBoundingClientRect();n!==e.body?(g.call(this,n,n.scrollLeft+a.left-r.left,n.scrollTop+a.top-r.top),"fixed"!==t.getComputedStyle(n).position&&t.scrollBy({left:r.left,top:r.top,behavior:"smooth"})):t.scrollBy({left:a.left,top:a.top,behavior:"smooth"})}else o.scrollIntoView.call(this,void 0===arguments[0]||arguments[0])}}function s(t,e){this.scrollLeft=t,this.scrollTop=e}function l(t){if(null===t||"object"!=typeof t||void 0===t.behavior||"auto"===t.behavior||"instant"===t.behavior)return!0;if("object"==typeof t&&"smooth"===t.behavior)return!1;throw new TypeError("behavior member of ScrollOptions "+t.behavior+" is not a valid value for enumeration ScrollBehavior.")}function c(t,e){return"Y"===e?t.clientHeight+i<t.scrollHeight:"X"===e?t.clientWidth+i<t.scrollWidth:void 0}function u(e,n){var r=t.getComputedStyle(e,null)["overflow"+n];return"auto"===r||"scroll"===r}function d(t){var e=c(t,"Y")&&u(t,"Y"),n=c(t,"X")&&u(t,"X");return e||n}function f(t){for(;t!==e.body&&!1===d(t);)t=t.parentNode||t.host;return t}function p(e){var n,r,o,i,s=(a()-e.startTime)/468;i=s=s>1?1:s,n=.5*(1-Math.cos(Math.PI*i)),r=e.startX+(e.x-e.startX)*n,o=e.startY+(e.y-e.startY)*n,e.method.call(e.scrollable,r,o),r===e.x&&o===e.y||t.requestAnimationFrame(p.bind(t,e))}function g(n,r,i){var l,c,u,d,f=a();n===e.body?(l=t,c=t.scrollX||t.pageXOffset,u=t.scrollY||t.pageYOffset,d=o.scroll):(l=n,c=n.scrollLeft,u=n.scrollTop,d=s),p({scrollable:l,method:d,startTime:f,startX:c,startY:u,x:r,y:i})}}}}()},function(t,e,n){"use strict";var r,o,a,i;history,Object.entries||(Object.entries=function(t){for(var e=Object.keys(t),n=e.length,r=new Array(n);n--;)r[n]=[e[n],t[e[n]]];return r}),void 0===Array.isArray&&(Array.isArray=function(t){return"[object Array]"===Object.prototype.toString.call(t)}),Array.from||(Array.from=(r=Object.prototype.toString,o=function(t){return"function"==typeof t||"[object Function]"===r.call(t)},a=Math.pow(2,53)-1,i=function(t){var e=function(t){var e=Number(t);return isNaN(e)?0:0!==e&&isFinite(e)?(e>0?1:-1)*Math.floor(Math.abs(e)):e}(t);return Math.min(Math.max(e,0),a)},function(t){var e=this,n=Object(t);if(null==t)throw new TypeError("Array.from requires an array-like object - not null or undefined");var r,a=arguments.length>1?arguments[1]:void 0;if(void 0!==a){if(!o(a))throw new TypeError("Array.from: when provided, the second argument must be a function");arguments.length>2&&(r=arguments[2])}for(var s,l=i(n.length),c=o(e)?Object(new e(l)):new Array(l),u=0;u<l;)s=n[u],c[u]=a?void 0===r?a(s,u):a.call(r,s,u):s,u+=1;return c.length=l,c})),window.NodeList&&!NodeList.prototype.forEach&&(NodeList.prototype.forEach=function(t,e){e=e||window;for(var n=0;n<this.length;n++)t.call(e,this[n],n,this)}),[Element.prototype,CharacterData.prototype,DocumentType.prototype].forEach((function(t){t.hasOwnProperty("remove")||Object.defineProperty(t,"remove",{configurable:!0,enumerable:!0,writable:!0,value:function(){null!==this.parentNode&&this.parentNode.removeChild(this)}})}))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(t,e){e||(e=window.location.href),t=t.replace(/[\[\]]/g,"\\$&");var n=new RegExp("[?&]"+t+"(=([^&#]*)|&|#|$)").exec(e);return n?n[2]?decodeURIComponent(n[2].replace(/\+/g," ")):"":null}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=["#text","#comment"];e.default=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"fade";if(!t||!e)return!1;-1===r.indexOf(e.nodeName.toLowerCase())&&("masonry"===n&&(e.style.opacity=0),t.appendChild(e))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(!t)return!1;var e=document.createElement("tbody");e.innerHTML=t;var n=[e];return n}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(65);e.default=function(t){if(!t)return!1;var e="",n=".html",o=t.addons.cache_path+t.addons.cache_id;if(t.init&&t.addons.seo&&t.isPaged)e=o+"/page-1-"+t.start_page+n;else if(t.addons.filters){var a=(0,r.parseQuerystring)(o);if(t.init&&t.isPaged)e=a+"/page-1-"+t.addons.filters_startpage+n;else{var i=t.page+1;"true"===t.addons.preloaded&&(i=t.page+2),e=a+"/page-"+i+n}}else if(t.addons.nextpage){var s=void 0;t.addons.paging?s=parseInt(t.page)+1:(s=parseInt(t.page)+2,t.isPaged&&(s=parseInt(t.page)+parseInt(t.addons.nextpage_startpage)+1)),e=o+"/page-"+s+n}else e=t.addons.single_post?o+"/"+t.addons.single_post_id+n:"true"===t.addons.comments&&"true"===t.addons.preloaded?o+"/page-"+(t.page+2)+n:o+"/page-"+(t.page+1)+n;return e}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(t){for(var e=window.location.search.substring(1).split("&"),n=0;n<e.length;n++){var r=e[n].split("=");if(decodeURIComponent(r[0])==t)return decodeURIComponent(r[1])}return!1}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.almGetAjaxParams=function(t,e,n){var r={id:t.id,post_id:t.post_id,slug:t.slug,canonical_url:encodeURIComponent(t.canonical_url),posts_per_page:t.posts_per_page,page:t.page,offset:t.offset,post_type:t.post_type,repeater:t.repeater,seo_start_page:t.start_page};t.theme_repeater&&(r.theme_repeater=t.theme_repeater);t.addons.filters&&(r.filters=t.addons.filters,r.filters_startpage=t.addons.filters_startpage);t.addons.paging&&(r.paging=t.addons.paging);t.addons.preloaded&&(r.preloaded=t.addons.preloaded,r.preloaded_amount=t.addons.preloaded_amount);"true"===t.addons.cache&&(r.cache_id=t.addons.cache_id,r.cache_logged_in=t.addons.cache_logged_in);t.acf_array&&(r.acf=t.acf_array);t.term_query_array&&(r.term_query=t.term_query_array);t.cta_array&&(r.cta=t.cta_array);t.comments_array&&(r.comments=t.comments_array);t.nextpage_array&&(r.nextpage=t.nextpage_array);t.single_post_array&&(r.single_post=t.single_post_array);t.users_array&&(r.users=t.users_array);t.listing.dataset.lang&&(r.lang=t.listing.dataset.lang);t.listing.dataset.stickyPosts&&(r.sticky_posts=t.listing.dataset.stickyPosts);t.listing.dataset.postFormat&&(r.post_format=t.listing.dataset.postFormat);t.listing.dataset.category&&(r.category=t.listing.dataset.category);t.listing.dataset.categoryAnd&&(r.category__and=t.listing.dataset.categoryAnd);t.listing.dataset.categoryNotIn&&(r.category__not_in=t.listing.dataset.categoryNotIn);t.listing.dataset.tag&&(r.tag=t.listing.dataset.tag);t.listing.dataset.tagAnd&&(r.tag__and=t.listing.dataset.tagAnd);t.listing.dataset.tagNotIn&&(r.tag__not_in=t.listing.dataset.tagNotIn);t.listing.dataset.taxonomy&&(r.taxonomy=t.listing.dataset.taxonomy);t.listing.dataset.taxonomyTerms&&(r.taxonomy_terms=t.listing.dataset.taxonomyTerms);t.listing.dataset.taxonomyOperator&&(r.taxonomy_operator=t.listing.dataset.taxonomyOperator);t.listing.dataset.taxonomyRelation&&(r.taxonomy_relation=t.listing.dataset.taxonomyRelation);t.listing.dataset.metaKey&&(r.meta_key=t.listing.dataset.metaKey);t.listing.dataset.metaValue&&(r.meta_value=t.listing.dataset.metaValue);t.listing.dataset.metaCompare&&(r.meta_compare=t.listing.dataset.metaCompare);t.listing.dataset.metaRelation&&(r.meta_relation=t.listing.dataset.metaRelation);t.listing.dataset.metaType&&(r.meta_type=t.listing.dataset.metaType);t.listing.dataset.author&&(r.author=t.listing.dataset.author);t.listing.dataset.year&&(r.year=t.listing.dataset.year);t.listing.dataset.month&&(r.month=t.listing.dataset.month);t.listing.dataset.day&&(r.day=t.listing.dataset.day);t.listing.dataset.order&&(r.order=t.listing.dataset.order);t.listing.dataset.orderby&&(r.orderby=t.listing.dataset.orderby);t.listing.dataset.postStatus&&(r.post_status=t.listing.dataset.postStatus);t.listing.dataset.postIn&&(r.post__in=t.listing.dataset.postIn);t.listing.dataset.postNotIn&&(r.post__not_in=t.listing.dataset.postNotIn);t.listing.dataset.exclude&&(r.exclude=t.listing.dataset.exclude);t.listing.dataset.search&&(r.search=t.listing.dataset.search);t.listing.dataset.s&&(r.search=t.listing.dataset.s);t.listing.dataset.customArgs&&(r.custom_args=escape(t.listing.dataset.customArgs));t.listing.dataset.vars&&(r.vars=escape(t.listing.dataset.vars));return r.action=e,r.query_type=n,r},e.almGetRestParams=function(t){return{id:t.id,post_id:t.post_id,posts_per_page:t.posts_per_page,page:t.page,offset:t.offset,slug:t.slug,canonical_url:encodeURIComponent(t.canonical_url),post_type:t.post_type,post_format:t.listing.dataset.postFormat,category:t.listing.dataset.category,category__not_in:t.listing.dataset.categoryNotIn,tag:t.listing.dataset.tag,tag__not_in:t.listing.dataset.tagNotIn,taxonomy:t.listing.dataset.taxonomy,taxonomy_terms:t.listing.dataset.taxonomyTerms,taxonomy_operator:t.listing.dataset.taxonomyOperator,taxonomy_relation:t.listing.dataset.taxonomyRelation,meta_key:t.listing.dataset.metaKey,meta_value:t.listing.dataset.metaValue,meta_compare:t.listing.dataset.metaCompare,meta_relation:t.listing.dataset.metaRelation,meta_type:t.listing.dataset.metaType,author:t.listing.dataset.author,year:t.listing.dataset.year,month:t.listing.dataset.month,day:t.listing.dataset.day,post_status:t.listing.dataset.postStatus,order:t.listing.dataset.order,orderby:t.listing.dataset.orderby,post__in:t.listing.dataset.postIn,post__not_in:t.listing.dataset.postNotIn,search:t.listing.dataset.search,s:t.listing.dataset.s,custom_args:t.listing.dataset.customArgs,vars:t.listing.dataset.vars,lang:t.lang,preloaded:t.addons.preloaded,preloaded_amount:t.addons.preloaded_amount,seo_start_page:t.start_page}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}(n(108));e.default=function(t){return new Promise((function(e){var n="standard";t.addons.nextpage?(n="nextpage",t.addons.paging?t.AjaxLoadMore.setLocalizedVar("page",parseInt(t.page)+1):t.AjaxLoadMore.setLocalizedVar("page",parseInt(t.page)+parseInt(t.addons.nextpage_startpage)+1)):t.addons.woocommerce?(n="woocommerce",t.AjaxLoadMore.setLocalizedVar("page",parseInt(t.page)+1)):t.AjaxLoadMore.setLocalizedVar("page",parseInt(t.page)+1),"true"===t.addons.preloaded||t.addons.nextpage||t.addons.woocommerce||t.AjaxLoadMore.setLocalizedVar("total_posts",t.totalposts),t.AjaxLoadMore.setLocalizedVar("post_count",function(t){var e=parseInt(t.posts),n=parseInt(t.addons.preloaded_amount),r=e+n;return r=t.start_page>1?r-n:r,r=t.addons.filters_startpage>1?r-n:r,r=t.addons.single_post?r+1:r,r=t.addons.nextpage?r+1:r}(t)),r.almResultsText(t,n),e(!0)}))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,o=n(66);(r=o)&&r.__esModule;var a={init:function(t){if(!0===this.isScript(t))t.parentNode.replaceChild(this.clone(t),t);else{var e=0,n=t.childNodes;if(void 0===n){var r=(new DOMParser).parseFromString(t,"text/html");r&&(n=r.body.childNodes)}for(;e<n.length;)this.replace(n[e++])}return t},replace:function(t){if(!0===this.isScript(t))t.parentNode.replaceChild(this.clone(t),t);else for(var e=0,n=t.childNodes;e<n.length;)this.replace(n[e++]);return t},isScript:function(t){return"SCRIPT"===t.tagName},clone:function(t){var e=document.createElement("script");e.text=t.innerHTML;for(var n=t.attributes.length-1;n>=0;n--)e.setAttribute(t.attributes[n].name,t.attributes[n].value);return e}};e.default=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.almMasonry=function t(e,n,d){e.masonry||console.warn("Ajax Load More: Unable to locate Masonry settings.");return new Promise((function(p){var g=e.listing,m=e.html,h=e.masonry.selector,v=e.masonry.columnwidth,y=e.masonry.animation,_=e.masonry.horizontalorder,b=e.speed,w=e.masonry.init,x=(b+100)/1e3+"s",S="scale(0.5)",A="scale(1)";if("zoom-out"===y&&(S="translateY(-20px) scale(1.25)",A="translateY(0) scale(1)"),"slide-up"===y&&(S="translateY(50px)",A="translateY(0)"),"slide