Version Description
- April 20, 2021 =
- 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. - NEW - Added filter that can disable the
<noscript/>
functionality of the SEO and Filters add-ons.add_filter( 'alm_disable_noscript_{alm_id}', '__return_true' );
- FIX - Added fix for issue where Load More button would not disable if zero posts were available on initial page load.
- FIX - Updated fix for `postcount ==
Download this release
Release Info
Developer | dcooney |
Plugin | WordPress Infinite Scroll – Ajax Load More |
Version | 5.4.5 |
Comparing to | |
See all releases |
Code changes from version 5.4.4 to 5.4.5
- README.txt +11 -1
- admin/admin-functions.php +0 -0
- admin/admin.php +0 -0
- admin/dist/css/admin.css +428 -461
- admin/dist/js/admin.js +8 -0
- admin/img/bkg-chkbox_off.png +0 -0
- admin/img/bkg-chkbox_on.png +0 -0
- admin/img/bkg-chkbox_selected.png +0 -0
- admin/img/bkg-radio_on.png +0 -0
- admin/img/bkg-radio_selected.png +0 -0
- admin/img/icon-search.png +0 -0
- admin/includes/components/repeater-options.php +9 -9
- admin/includes/cta/about.php +0 -0
- admin/includes/cta/add-ons.php +0 -0
- admin/includes/cta/dyk.php +0 -0
- admin/includes/cta/resources.php +0 -0
- admin/includes/cta/test.php +4 -4
- admin/includes/cta/writeable.php +20 -14
- admin/shortcode-builder/components/seo.php +0 -0
- admin/shortcode-builder/includes/meta-query-options.php +0 -0
- admin/shortcode-builder/js/shortcode-builder.js +0 -0
- admin/shortcode-builder/shortcode-builder.php +0 -0
- admin/src/js/admin.js +8 -0
- admin/src/scss/_variables.scss +8 -2
- admin/src/scss/admin.scss +392 -366
- admin/src/scss/libs/select2.scss +242 -246
- admin/src/scss/partials/_alm-tabbed-wrapper.scss +5 -2
- admin/src/scss/partials/_builder-option-toggle.scss +12 -11
- admin/src/scss/partials/_codemirror.scss +82 -73
- admin/src/scss/partials/_header.scss +7 -10
- admin/src/scss/partials/_select2.scss +73 -73
- admin/src/scss/partials/_shortcode-builder.scss +2 -1
- admin/views/help.php +0 -0
- admin/views/repeater-templates.php +9 -12
- admin/views/settings.php +0 -0
- admin/views/shortcode-builder.php +0 -0
- ajax-load-more.php +7 -6
- core/classes/class-alm-enqueue.php +25 -30
- core/classes/class-alm-noscript.php +3 -0
- core/classes/class-alm-shortcode.php +204 -211
- core/classes/includes/preloaded.php +9 -2
- core/dist/css/ajax-load-more.css +0 -1
- core/dist/css/ajax-load-more.min.css +1 -1
- core/dist/js/ajax-load-more.js +179 -94
- core/dist/js/ajax-load-more.min.js +2 -2
- core/functions.php +20 -20
- core/functions/addons.php +1 -1
- core/src/js/addons/seo.js +25 -50
- core/src/js/ajax-load-more.js +35 -37
- core/src/js/modules/lazyImages.js +28 -0
- core/src/js/modules/loadItems.js +1 -1
- core/src/js/modules/masonry.js +58 -35
- core/src/js/modules/placeholder.js +19 -20
- core/src/scss/_listing.scss +0 -1
- core/src/scss/ajax-load-more.scss +0 -0
- lang/ajax-load-more.pot +25 -47
README.txt
CHANGED
@@ -4,7 +4,7 @@ Donate;WordPressInfiniteScrollAjaxLoadMoreContributorsWordPressInfiniteScrollAja
|
|
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.0
|
6 |
Tested up to: 5.7
|
7 |
-
Stable tag: 5.4.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -260,6 +260,16 @@ How to install Ajax Load More.
|
|
260 |
|
261 |
== Changelog ==
|
262 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
263 |
= 5.4.4 - March 31, 2021 =
|
264 |
|
265 |
* FIX - Fixed issue when filtering and updating the Load More button label.
|
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.0
|
6 |
Tested up to: 5.7
|
7 |
+
Stable tag: 5.4.5
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
260 |
|
261 |
== Changelog ==
|
262 |
|
263 |
+
= 5.4.5 - April 20, 2021 =
|
264 |
+
* 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.
|
265 |
+
* NEW - Added filter that can disable the `<noscript/>` functionality of the SEO and Filters add-ons.
|
266 |
+
`add_filter( 'alm_disable_noscript_{alm_id}', '__return_true' );`
|
267 |
+
* FIX - Added fix for issue where Load More button would not disable if zero posts were available on initial page load.
|
268 |
+
* FIX - Updated fix for `postcount === undefined` JavaScript error when an issue occurs in a Repeater Template and the return data is corrupt.
|
269 |
+
* UPDATE - Updated Masonry parameters and how they are passed and handled inside Ajax Load More.
|
270 |
+
* UPDATE - Admin UI/UX updates and refresh.
|
271 |
+
|
272 |
+
|
273 |
= 5.4.4 - March 31, 2021 =
|
274 |
|
275 |
* FIX - Fixed issue when filtering and updating the Load More button label.
|
admin/admin-functions.php
CHANGED
File without changes
|
admin/admin.php
CHANGED
File without changes
|
admin/dist/css/admin.css
CHANGED
@@ -231,18 +231,17 @@
|
|
231 |
|
232 |
.select2-container a.select2-choice {
|
233 |
display: block;
|
234 |
-
height:
|
235 |
-
line-height:
|
236 |
-
padding: 0 10px;
|
237 |
overflow: hidden;
|
238 |
position: relative;
|
239 |
border: 1px solid #e1e1e1;
|
240 |
white-space: nowrap;
|
241 |
-
color: #
|
242 |
text-decoration: none;
|
243 |
background: #fff;
|
244 |
-
|
245 |
-
border-radius: 2px;
|
246 |
-webkit-background-clip: padding-box;
|
247 |
-moz-background-clip: padding;
|
248 |
background-clip: padding-box;
|
@@ -251,7 +250,7 @@
|
|
251 |
-moz-user-select: none;
|
252 |
-ms-user-select: none;
|
253 |
user-select: none;
|
254 |
-
font-size:
|
255 |
|
256 |
.select2-dropdown-open.select2-container-active .select2-choice {
|
257 |
border-radius: 4px 4px 0 0; }
|
@@ -261,13 +260,13 @@
|
|
261 |
border-radius: 0 0 4px 4px; }
|
262 |
|
263 |
.select2-container .select2-choice span {
|
264 |
-
|
265 |
-
margin
|
|
|
266 |
display: block;
|
267 |
overflow: hidden;
|
268 |
white-space: nowrap;
|
269 |
color: #666;
|
270 |
-
-ms-text-overflow: ellipsis;
|
271 |
text-overflow: ellipsis; }
|
272 |
|
273 |
.select2-container .select2-choice abbr:hover {
|
@@ -280,37 +279,26 @@
|
|
280 |
top: 0;
|
281 |
z-index: 8;
|
282 |
background-color: #fff;
|
283 |
-
opacity: 0;
|
284 |
-
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
|
285 |
-
/* works in IE 8 */
|
286 |
-
filter: "alpha(opacity=0)";
|
287 |
-
/* expected to work in IE 8 */
|
288 |
-
filter: alpha(opacity=0);
|
289 |
-
/* IE 4-7 */ }
|
290 |
|
291 |
.select2-drop {
|
292 |
overflow: hidden;
|
293 |
width: 100%;
|
294 |
-
margin-top: -1px;
|
295 |
position: absolute;
|
296 |
z-index: 9;
|
297 |
top: 100%;
|
298 |
background: #fff;
|
299 |
-
color: #
|
300 |
-
border: 1px solid #
|
301 |
-
border-
|
302 |
-
|
303 |
-
|
304 |
-
|
305 |
-
|
306 |
-
|
307 |
-
|
308 |
-
|
309 |
-
|
310 |
-
border-bottom: 0;
|
311 |
-
border-radius: 2px 2px 0 0;
|
312 |
-
-webkit-box-shadow: 0 -2px -1px rgba(0, 0, 0, 0.1);
|
313 |
-
box-shadow: 0 -2px -1px rgba(0, 0, 0, 0.1); }
|
314 |
|
315 |
.select2-container .select2-choice div {
|
316 |
display: block;
|
@@ -334,20 +322,23 @@
|
|
334 |
|
335 |
/* Search */
|
336 |
.select2-search {
|
337 |
-
|
338 |
-
padding: 2px;
|
339 |
display: block;
|
340 |
-
background-color: #fff;
|
341 |
-
|
342 |
-
.select2-search .select2-input {
|
343 |
-
|
344 |
-
|
345 |
-
|
346 |
-
|
347 |
-
|
348 |
-
|
|
|
349 |
|
350 |
/* Multi select box */
|
|
|
|
|
|
|
351 |
#alm-builder .select2-container-multi {
|
352 |
width: 60%; }
|
353 |
|
@@ -373,29 +364,30 @@
|
|
373 |
font-size: 12px;
|
374 |
line-height: 13px;
|
375 |
margin: 0 5px 5px 0;
|
376 |
-
padding: 5px 10px 5px
|
377 |
border-radius: 3px;
|
378 |
background: #fff;
|
379 |
-
border: 1px solid #
|
380 |
width: auto;
|
381 |
position: relative; }
|
382 |
|
383 |
#alm-builder ul.select2-choices .select2-input {
|
384 |
-
background: #
|
|
|
|
|
|
|
385 |
|
386 |
#alm-builder ul.select2-choices li.select2-search-choice a {
|
387 |
position: absolute;
|
388 |
-
left:
|
389 |
-
top:
|
390 |
-
width:
|
391 |
-
height:
|
392 |
-
background: #
|
393 |
-
color: #fff;
|
394 |
display: block;
|
395 |
-
border-radius:
|
396 |
-
|
397 |
-
|
398 |
-
background-color: #ff0000; }
|
399 |
|
400 |
/* results UL */
|
401 |
.select2-results {
|
@@ -417,22 +409,24 @@
|
|
417 |
background-image: none;
|
418 |
padding: 0;
|
419 |
margin: 0 !important;
|
420 |
-
border-top: 1px solid #
|
421 |
-
color: #
|
422 |
width: auto;
|
423 |
font-size: 13px; }
|
|
|
|
|
424 |
|
425 |
.select2-results li.select2-result-with-children > .select2-result-label {
|
426 |
-
font-weight:
|
427 |
-
font-size:
|
428 |
cursor: default;
|
429 |
-
|
430 |
|
431 |
.select2-results .select2-result-label {
|
432 |
margin: 0;
|
433 |
cursor: pointer;
|
434 |
min-height: 1em;
|
435 |
-
padding: 10px
|
436 |
-webkit-touch-callout: none;
|
437 |
-webkit-user-select: none;
|
438 |
-moz-user-select: none;
|
@@ -442,7 +436,7 @@
|
|
442 |
.select2-results .select2-highlighted .select2-result-label {
|
443 |
/* Hover */
|
444 |
background: #f7f7f7;
|
445 |
-
color: #
|
446 |
|
447 |
.select2-results .select2-highlighted:active {
|
448 |
background: #fff; }
|
@@ -520,7 +514,7 @@ disabled look for disabled choices in the results dropdown
|
|
520 |
position: relative;
|
521 |
z-index: 1; }
|
522 |
.ajax-load-more .header-wrap h1 {
|
523 |
-
padding: 20px 20px 20px
|
524 |
margin: 0;
|
525 |
min-height: 48px;
|
526 |
background: #fff url("../../img/alm-logo-48x48.png") no-repeat 20px 20px;
|
@@ -535,7 +529,7 @@ disabled look for disabled choices in the results dropdown
|
|
535 |
display: block;
|
536 |
position: relative;
|
537 |
font-size: 13px;
|
538 |
-
color: #
|
539 |
font-style: normal;
|
540 |
font-weight: 400;
|
541 |
line-height: 1.3;
|
@@ -547,21 +541,18 @@ disabled look for disabled choices in the results dropdown
|
|
547 |
.ajax-load-more .header-wrap h1 strong {
|
548 |
font-weight: 600; }
|
549 |
.ajax-load-more .header-wrap h1 span {
|
550 |
-
color: #
|
551 |
-
font-weight:
|
552 |
margin: 0 0 0 5px;
|
553 |
vertical-align: top;
|
554 |
font-size: 12px;
|
555 |
-
background-color: #
|
556 |
-
border-radius:
|
557 |
-
padding: 2px
|
558 |
display: inline-block;
|
559 |
line-height: 1.45;
|
560 |
position: relative;
|
561 |
top: 3px; }
|
562 |
-
@media screen and (min-width: 768px) {
|
563 |
-
.ajax-load-more .header-wrap h1 span {
|
564 |
-
font-size: 13px; } }
|
565 |
.ajax-load-more .header-wrap .notice {
|
566 |
margin: 20px; }
|
567 |
|
@@ -786,9 +777,9 @@ disabled look for disabled choices in the results dropdown
|
|
786 |
line-height: 1.5;
|
787 |
font-size: 13px; }
|
788 |
.ajax-load-more .CodeMirror.CodeMirror-focused {
|
789 |
-
border-color: #
|
790 |
-
-webkit-box-shadow: 0 0
|
791 |
-
box-shadow: 0 0
|
792 |
|
793 |
.ajax-load-more .cm-readonly .CodeMirror {
|
794 |
opacity: 0.8; }
|
@@ -1079,7 +1070,8 @@ disabled look for disabled choices in the results dropdown
|
|
1079 |
.shortcode-builder--label.full {
|
1080 |
width: 100%; }
|
1081 |
.shortcode-builder--label h4 {
|
1082 |
-
|
|
|
1083 |
.shortcode-builder--label p {
|
1084 |
font-size: 13px !important;
|
1085 |
line-height: 18px !important; }
|
@@ -1282,8 +1274,12 @@ disabled look for disabled choices in the results dropdown
|
|
1282 |
border-radius: 0 3px 3px 0;
|
1283 |
padding: 3px;
|
1284 |
width: auto;
|
1285 |
-
border: 1px solid #
|
1286 |
-
|
|
|
|
|
|
|
|
|
1287 |
.ajax-load-more .builder-option-toggle--buttons button {
|
1288 |
height: 100%;
|
1289 |
border: 1px solid #e1e1e1;
|
@@ -1292,7 +1288,6 @@ disabled look for disabled choices in the results dropdown
|
|
1292 |
font-weight: 600;
|
1293 |
font-size: 11px;
|
1294 |
text-transform: uppercase;
|
1295 |
-
float: left;
|
1296 |
cursor: pointer;
|
1297 |
padding: 0;
|
1298 |
margin: 0;
|
@@ -1300,7 +1295,7 @@ disabled look for disabled choices in the results dropdown
|
|
1300 |
width: 34px;
|
1301 |
text-align: center;
|
1302 |
display: inline-block;
|
1303 |
-
color: #
|
1304 |
background-color: transparent; }
|
1305 |
.ajax-load-more .builder-option-toggle--buttons button:hover, .ajax-load-more .builder-option-toggle--buttons button:focus {
|
1306 |
color: #222;
|
@@ -1311,8 +1306,8 @@ disabled look for disabled choices in the results dropdown
|
|
1311 |
.ajax-load-more .builder-option-toggle--buttons button:last-child {
|
1312 |
border-radius: 0 3px 3px 0; }
|
1313 |
.ajax-load-more .builder-option-toggle--buttons button.active {
|
1314 |
-
border-color: #
|
1315 |
-
background-color: #
|
1316 |
color: #fff;
|
1317 |
cursor: default; }
|
1318 |
|
@@ -1360,11 +1355,11 @@ disabled look for disabled choices in the results dropdown
|
|
1360 |
margin: 0 0 15px;
|
1361 |
display: block;
|
1362 |
font-size: 20px;
|
1363 |
-
color: #
|
1364 |
font-weight: 700; }
|
1365 |
.ajax-load-more .alm-tabbed-wrapper h2 + p {
|
1366 |
position: relative;
|
1367 |
-
top: -
|
1368 |
.ajax-load-more .alm-tabbed-wrapper--nav {
|
1369 |
border: 1px solid #e1e1e1;
|
1370 |
margin-bottom: 20px;
|
@@ -1416,7 +1411,6 @@ disabled look for disabled choices in the results dropdown
|
|
1416 |
width: 100%;
|
1417 |
border: none;
|
1418 |
background: none;
|
1419 |
-
font-size: 13px;
|
1420 |
line-height: 1.4;
|
1421 |
padding: 12px 10px;
|
1422 |
text-align: left;
|
@@ -1426,7 +1420,8 @@ disabled look for disabled choices in the results dropdown
|
|
1426 |
text-overflow: ellipsis;
|
1427 |
background: #f7f7f7;
|
1428 |
border-bottom: 1px solid #e1e1e1;
|
1429 |
-
cursor: pointer;
|
|
|
1430 |
.ajax-load-more .alm-tabbed-wrapper--nav button:hover, .ajax-load-more .alm-tabbed-wrapper--nav button:focus {
|
1431 |
background-color: #efefef; }
|
1432 |
.ajax-load-more .alm-tabbed-wrapper--nav button i {
|
@@ -1438,8 +1433,10 @@ disabled look for disabled choices in the results dropdown
|
|
1438 |
.ajax-load-more .alm-tabbed-wrapper--nav button.active {
|
1439 |
font-weight: 600;
|
1440 |
background-color: #fff;
|
1441 |
-
color: #
|
1442 |
cursor: default; }
|
|
|
|
|
1443 |
@media screen and (min-width: 620px) {
|
1444 |
.ajax-load-more .alm-tabbed-wrapper--nav button.active {
|
1445 |
width: calc(100% + 1px); } }
|
@@ -1593,10 +1590,15 @@ body.ajax-load-more_page_ajax-load-more-woocommerce #wpfooter {
|
|
1593 |
left: -9999px; }
|
1594 |
|
1595 |
.ajax-load-more {
|
1596 |
-
|
1597 |
-
color: #666;
|
1598 |
position: relative;
|
1599 |
max-width: 100%; }
|
|
|
|
|
|
|
|
|
|
|
|
|
1600 |
|
1601 |
#alm-help.ajax-load-more {
|
1602 |
max-width: 1600px; }
|
@@ -1655,26 +1657,19 @@ body.ajax-load-more_page_ajax-load-more-woocommerce #wpfooter {
|
|
1655 |
|
1656 |
.ajax-load-more p {
|
1657 |
display: block;
|
1658 |
-
color: #777;
|
1659 |
width: 100%;
|
1660 |
-
display: block;
|
1661 |
clear: both;
|
1662 |
text-transform: none;
|
1663 |
padding: 0;
|
1664 |
-
margin: 0 0 15px;
|
|
|
1665 |
|
1666 |
-
.ajax-load-more p,
|
1667 |
-
.ajax-load-more li,
|
1668 |
-
.ajax-load-more input,
|
1669 |
-
.ajax-load-more textarea,
|
1670 |
-
.ajax-load-more label {
|
1671 |
-
font-size:
|
1672 |
-
.ajax-load-more p.lg,
|
1673 |
-
.ajax-load-more li.lg,
|
1674 |
-
.ajax-load-more input.lg,
|
1675 |
-
.ajax-load-more textarea.lg,
|
1676 |
-
.ajax-load-more label.lg {
|
1677 |
-
font-size: 16px; }
|
1678 |
|
1679 |
.ajax-load-more textarea#_alm_layouts_css {
|
1680 |
height: 240px; }
|
@@ -1714,7 +1709,7 @@ body.ajax-load-more_page_ajax-load-more-woocommerce #wpfooter {
|
|
1714 |
.ajax-load-more h1,
|
1715 |
.ajax-load-more h3,
|
1716 |
.ajax-load-more h4 {
|
1717 |
-
color: #
|
1718 |
margin-top: 0; }
|
1719 |
|
1720 |
.ajax-load-more h4 + p {
|
@@ -1752,7 +1747,7 @@ body.ajax-load-more_page_ajax-load-more-woocommerce #wpfooter {
|
|
1752 |
padding: 15px 10px 15px 38px !important;
|
1753 |
line-height: normal !important;
|
1754 |
margin: 0 !important;
|
1755 |
-
color: #
|
1756 |
cursor: pointer;
|
1757 |
width: 100%;
|
1758 |
position: relative;
|
@@ -1789,12 +1784,12 @@ body.ajax-load-more_page_ajax-load-more-woocommerce #wpfooter {
|
|
1789 |
font-size: 11px;
|
1790 |
text-transform: uppercase;
|
1791 |
border-radius: 3px;
|
1792 |
-
padding: 0 12px
|
1793 |
-
height:
|
1794 |
-
line-height:
|
1795 |
background: #fff;
|
1796 |
border: 1px solid #e1e1e1;
|
1797 |
-
color: #
|
1798 |
cursor: pointer;
|
1799 |
z-index: 20;
|
1800 |
margin-bottom: 10px;
|
@@ -1802,40 +1797,32 @@ body.ajax-load-more_page_ajax-load-more-woocommerce #wpfooter {
|
|
1802 |
@media screen and (min-width: 768px) {
|
1803 |
.ajax-load-more .toggle-all {
|
1804 |
position: absolute; } }
|
1805 |
-
|
1806 |
-
|
1807 |
-
|
1808 |
-
|
1809 |
-
|
1810 |
-
|
1811 |
-
|
1812 |
-
|
1813 |
-
|
1814 |
-
.ajax-load-more .toggle-all .
|
1815 |
-
|
1816 |
-
|
1817 |
-
|
1818 |
-
|
1819 |
-
|
1820 |
-
.ajax-load-more .toggle-all
|
1821 |
-
|
1822 |
-
|
1823 |
-
|
1824 |
-
|
1825 |
-
|
1826 |
-
|
1827 |
-
|
1828 |
-
|
1829 |
-
.ajax-load-more .toggle-all .inner-wrap:before {
|
1830 |
-
|
1831 |
-
content: '\f068';
|
1832 |
-
font-size: 10px;
|
1833 |
-
position: absolute;
|
1834 |
-
left: 0;
|
1835 |
-
top: -5px; }
|
1836 |
-
|
1837 |
-
.ajax-load-more .toggle-all.closed .inner-wrap:before {
|
1838 |
-
content: '\f067'; }
|
1839 |
|
1840 |
#alm-container.ajax-load-more .toggle-all {
|
1841 |
display: none; }
|
@@ -1843,18 +1830,23 @@ body.ajax-load-more_page_ajax-load-more-woocommerce #wpfooter {
|
|
1843 |
a.button-small {
|
1844 |
text-decoration: none;
|
1845 |
font-size: 12px;
|
1846 |
-
padding:
|
1847 |
display: inline-block;
|
1848 |
background-color: #eaf6fb;
|
1849 |
border: 1px solid #b9d2de;
|
1850 |
-
color: #
|
1851 |
line-height: 1.1;
|
1852 |
-
border-radius:
|
1853 |
-
a.button-small:hover
|
1854 |
-
color: #
|
1855 |
-
background-color: #
|
1856 |
text-decoration: none;
|
1857 |
-
border-color: #
|
|
|
|
|
|
|
|
|
|
|
1858 |
|
1859 |
.ajax-load-more ul {
|
1860 |
padding: 0;
|
@@ -1875,7 +1867,7 @@ a.button-small {
|
|
1875 |
display: block;
|
1876 |
clear: both;
|
1877 |
width: 100%;
|
1878 |
-
color: #
|
1879 |
font-weight: 500;
|
1880 |
padding: 0 0 10px;
|
1881 |
cursor: default;
|
@@ -1924,7 +1916,7 @@ a.button-small {
|
|
1924 |
|
1925 |
.alm-settings-nav a:hover {
|
1926 |
color: #fff;
|
1927 |
-
background-color: #
|
1928 |
|
1929 |
.alm-settings-nav li:first-of-type a {
|
1930 |
border: none;
|
@@ -1950,6 +1942,8 @@ a.button-small {
|
|
1950 |
background-color: transparent;
|
1951 |
padding: 0;
|
1952 |
margin: 0; }
|
|
|
|
|
1953 |
|
1954 |
.section-control {
|
1955 |
padding-top: 15px; }
|
@@ -1972,23 +1966,23 @@ a.button-small {
|
|
1972 |
.meta-query-wrap .remove-meta-query,
|
1973 |
.taxonomy-wrap .remove-tax-query {
|
1974 |
position: absolute;
|
1975 |
-
right:
|
1976 |
-
top:
|
1977 |
-
width:
|
1978 |
-
height:
|
1979 |
-
line-height:
|
1980 |
text-align: center;
|
1981 |
font-weight: 500;
|
1982 |
font-size: 18px;
|
1983 |
-
background-color: #
|
1984 |
-
color: #
|
1985 |
text-decoration: none;
|
1986 |
-
border-radius:
|
1987 |
padding-left: 1px; }
|
1988 |
.meta-query-wrap .remove-meta-query:hover, .meta-query-wrap .remove-meta-query:hover,
|
1989 |
.taxonomy-wrap .remove-tax-query:hover,
|
1990 |
.taxonomy-wrap .remove-tax-query:hover {
|
1991 |
-
background-color: #
|
1992 |
color: #fff; }
|
1993 |
|
1994 |
.ajax-load-more .meta-query-wrap {
|
@@ -2009,7 +2003,7 @@ a.button-small {
|
|
2009 |
margin-bottom: 15px; }
|
2010 |
|
2011 |
#meta-query-relation {
|
2012 |
-
margin:
|
2013 |
|
2014 |
.ajax-load-more .meta-query-wrap .border-top:first-of-type {
|
2015 |
padding: 0 0 0 !important;
|
@@ -2096,7 +2090,7 @@ a.button-small {
|
|
2096 |
display: inline-block;
|
2097 |
clear: both;
|
2098 |
border-radius: 3px;
|
2099 |
-
color: #
|
2100 |
-webkit-box-shadow: none;
|
2101 |
box-shadow: none; }
|
2102 |
|
@@ -2139,6 +2133,8 @@ a.button-small {
|
|
2139 |
|
2140 |
.ajax-load-more textarea,
|
2141 |
.ajax-load-more input[type='text'],
|
|
|
|
|
2142 |
.ajax-load-more input[type='number'] {
|
2143 |
padding: 10px 12px;
|
2144 |
line-height: 1.3;
|
@@ -2186,12 +2182,6 @@ a.button-small {
|
|
2186 |
color: #999;
|
2187 |
font-style: italic; }
|
2188 |
|
2189 |
-
.ajax-load-more input[type='text'],
|
2190 |
-
.ajax-load-more input[type='number'],
|
2191 |
-
.ajax-load-more input[type='email'],
|
2192 |
-
.ajax-load-more textarea {
|
2193 |
-
background: #f7f7f7; }
|
2194 |
-
|
2195 |
.ajax-load-more .repeaters input[type='text'] {
|
2196 |
padding: 9px 10px; }
|
2197 |
|
@@ -2209,7 +2199,6 @@ a.button-small {
|
|
2209 |
opacity: 0.5;
|
2210 |
filter: alpha(opacity=50);
|
2211 |
cursor: not-allowed;
|
2212 |
-
background: #f7f7f7 !important;
|
2213 |
border-color: #ccc !important;
|
2214 |
-webkit-box-shadow: none !important;
|
2215 |
box-shadow: none !important; }
|
@@ -2218,10 +2207,9 @@ a.button-small {
|
|
2218 |
.ajax-load-more input[type='number']:focus,
|
2219 |
.ajax-load-more input[type='email']:focus,
|
2220 |
.ajax-load-more textarea:focus {
|
2221 |
-
border-color: #
|
2222 |
-
-webkit-box-shadow: 0 0
|
2223 |
-
box-shadow: 0 0
|
2224 |
-
background: #f7f7f7; }
|
2225 |
|
2226 |
.checkboxes label {
|
2227 |
margin-right: 5px; }
|
@@ -2272,7 +2260,7 @@ a.button-small {
|
|
2272 |
/* --------------------------------------------------------------------------- */
|
2273 |
.ajax-load-more .row {
|
2274 |
padding: 0 !important;
|
2275 |
-
margin:
|
2276 |
height: auto;
|
2277 |
width: 100%;
|
2278 |
display: block;
|
@@ -2477,7 +2465,7 @@ hr.indented {
|
|
2477 |
**************************************/
|
2478 |
.ajax-load-more .output-wrap {
|
2479 |
margin: 20px 0 0;
|
2480 |
-
background: #
|
2481 |
width: 100%;
|
2482 |
display: block;
|
2483 |
border-radius: 3px; }
|
@@ -2578,7 +2566,7 @@ hr.indented {
|
|
2578 |
.form-table label span,
|
2579 |
#alm-shortcode-builder-form label span.description {
|
2580 |
font-size: 13px;
|
2581 |
-
color: #
|
2582 |
padding-top: 10px; }
|
2583 |
|
2584 |
#alm-shortcode-builder-form label span.description {
|
@@ -2604,6 +2592,7 @@ hr.indented {
|
|
2604 |
|
2605 |
.admin.ajax-load-more.settings input[type='text'],
|
2606 |
.admin.ajax-load-more.settings input[type='number'],
|
|
|
2607 |
.admin.ajax-load-more.settings .select2-container {
|
2608 |
margin-top: 10px; }
|
2609 |
|
@@ -2644,14 +2633,18 @@ hr.indented {
|
|
2644 |
font-size: 14px; }
|
2645 |
.admin.ajax-load-more.settings .ajax-load-more-wrap.pages li a {
|
2646 |
text-decoration: none; }
|
|
|
|
|
|
|
|
|
2647 |
.admin.ajax-load-more.settings .form-table td,
|
2648 |
.admin.ajax-load-more.settings .form-table th {
|
2649 |
-
padding:
|
2650 |
line-height: 1.5; }
|
2651 |
-
|
2652 |
-
|
|
|
2653 |
.admin.ajax-load-more.settings .form-table th {
|
2654 |
-
padding-left: 20px;
|
2655 |
font-weight: 600;
|
2656 |
background-color: #f7f7f7;
|
2657 |
border-right: 1px solid #e1e1e1;
|
@@ -2696,10 +2689,6 @@ hr.indented {
|
|
2696 |
.ajax-load-more p.writeable-title {
|
2697 |
padding: 0 0 2px 28px; }
|
2698 |
|
2699 |
-
.ajax-load-more p.desc {
|
2700 |
-
font-size: 13px !important;
|
2701 |
-
line-height: 19px !important; }
|
2702 |
-
|
2703 |
.ajax-load-more p.writeable-title {
|
2704 |
position: relative; }
|
2705 |
|
@@ -2890,11 +2879,11 @@ table.highlight {
|
|
2890 |
background: none;
|
2891 |
color: #c94141;
|
2892 |
font-size: 14px;
|
2893 |
-
line-height:
|
2894 |
-
height:
|
2895 |
text-decoration: none;
|
2896 |
display: block;
|
2897 |
-
padding: 0
|
2898 |
.repeaters .alm-delete a:hover {
|
2899 |
background-color: #c94141;
|
2900 |
color: #fff; }
|
@@ -2985,7 +2974,8 @@ table.highlight {
|
|
2985 |
#alm-add-ons .group.highlighted .pro-desc, #alm-add-ons .group.extend .pro-desc {
|
2986 |
display: none; } }
|
2987 |
#alm-add-ons .group.extend a {
|
2988 |
-
background-color: #fff;
|
|
|
2989 |
#alm-add-ons .group.installed {
|
2990 |
opacity: 0.85;
|
2991 |
-webkit-filter: grayscale(1);
|
@@ -3023,17 +3013,17 @@ table.highlight {
|
|
3023 |
#alm-add-ons .group--pro a {
|
3024 |
padding-bottom: 17px; }
|
3025 |
|
3026 |
-
#alm-add-ons .group:hover h2 {
|
3027 |
-
text-decoration: underline; }
|
3028 |
-
|
3029 |
#alm-add-ons .group a h2 {
|
3030 |
-webkit-transition: all 0.15s ease;
|
3031 |
transition: all 0.15s ease; }
|
3032 |
|
3033 |
-
#alm-add-ons .group a:hover h2
|
3034 |
-
|
|
|
|
|
3035 |
|
3036 |
-
#alm-add-ons .group.installed a:hover h2
|
|
|
3037 |
color: #444 !important; }
|
3038 |
|
3039 |
/* Add-on Callout! */
|
@@ -3059,7 +3049,7 @@ table.highlight {
|
|
3059 |
font-weight: 400; }
|
3060 |
|
3061 |
.call-out.light p a {
|
3062 |
-
color: #
|
3063 |
|
3064 |
.call-out.light p a:hover {
|
3065 |
text-decoration: underline; }
|
@@ -3079,18 +3069,16 @@ table.highlight {
|
|
3079 |
position: absolute;
|
3080 |
right: 12px;
|
3081 |
top: 13px;
|
3082 |
-
color: #
|
3083 |
-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
|
3084 |
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1); }
|
3085 |
|
3086 |
.call-out a {
|
3087 |
-
color: #
|
3088 |
text-decoration: none;
|
3089 |
font-weight: 600; }
|
3090 |
-
|
3091 |
-
|
3092 |
-
.call-out a:focus {
|
3093 |
-
color: #222 !important; }
|
3094 |
|
3095 |
a.cnkt-button,
|
3096 |
span.cnkt-button {
|
@@ -3335,22 +3323,46 @@ span.cnkt-button.installed i,
|
|
3335 |
-webkit-box-shadow: 0 4px 10px 1px rgba(0, 0, 0, 0.065);
|
3336 |
box-shadow: 0 4px 10px 1px rgba(0, 0, 0, 0.065);
|
3337 |
border-radius: 3px; }
|
3338 |
-
.ajax-load-more .cnkt-sidebar .cta .alm-file-location {
|
3339 |
padding-top: 15px;
|
3340 |
margin-top: 15px;
|
3341 |
border-top: 1px solid #efefef; }
|
3342 |
-
.ajax-load-more .cnkt-sidebar .cta .alm-file-location input {
|
3343 |
-
font-size:
|
3344 |
font-family: Consolas, monaco, monospace;
|
3345 |
-
|
3346 |
-
|
3347 |
-
|
3348 |
-
|
3349 |
-
|
3350 |
-
|
3351 |
-
|
3352 |
-
|
3353 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3354 |
|
3355 |
.ajax-load-more .cnkt-sidebar .cta-inner {
|
3356 |
padding: 15px;
|
@@ -3375,7 +3387,6 @@ span.cnkt-button.installed i,
|
|
3375 |
margin: 0;
|
3376 |
display: block;
|
3377 |
font-size: 14px;
|
3378 |
-
font-weight: 700;
|
3379 |
text-transform: none; }
|
3380 |
|
3381 |
.ajax-load-more .cnkt-sidebar .item {
|
@@ -3390,11 +3401,6 @@ span.cnkt-button.installed i,
|
|
3390 |
.ajax-load-more .cnkt-sidebar h4 {
|
3391 |
margin-bottom: 5px; }
|
3392 |
|
3393 |
-
.ajax-load-more .cnkt-sidebar p {
|
3394 |
-
line-height: 22px;
|
3395 |
-
margin: 0 0 5px;
|
3396 |
-
font-size: 14px; }
|
3397 |
-
|
3398 |
.ajax-load-more .cnkt-sidebar .cta.dyk .cta-inner {
|
3399 |
overflow: hidden; }
|
3400 |
|
@@ -3437,7 +3443,6 @@ span.cnkt-button.installed i,
|
|
3437 |
overflow: hidden; }
|
3438 |
|
3439 |
.ajax-load-more .cnkt-sidebar li {
|
3440 |
-
font-size: 14px;
|
3441 |
margin: 0 0 10px;
|
3442 |
line-height: 1.5; }
|
3443 |
|
@@ -3465,26 +3470,6 @@ span.cnkt-button.installed i,
|
|
3465 |
text-decoration: none;
|
3466 |
font-size: 14px; }
|
3467 |
|
3468 |
-
.ajax-load-more .cnkt-sidebar .item i {
|
3469 |
-
font-size: 12px;
|
3470 |
-
float: left;
|
3471 |
-
width: 18px;
|
3472 |
-
height: 18px;
|
3473 |
-
border-radius: 100%;
|
3474 |
-
background: #efefef;
|
3475 |
-
line-height: 18px;
|
3476 |
-
text-align: center;
|
3477 |
-
margin: 1px 7px 0 0;
|
3478 |
-
position: relative; }
|
3479 |
-
|
3480 |
-
.ajax-load-more .cnkt-sidebar .item i.fa-check {
|
3481 |
-
background: #90be59;
|
3482 |
-
color: #fff; }
|
3483 |
-
|
3484 |
-
.ajax-load-more .cnkt-sidebar .item i.fa-exclamation {
|
3485 |
-
background: #c43a3a;
|
3486 |
-
color: #fff; }
|
3487 |
-
|
3488 |
.ajax-load-more .cnkt-sidebar a.visit {
|
3489 |
background: #ed7070;
|
3490 |
padding: 17px 20px 18px 44px;
|
@@ -3526,10 +3511,11 @@ span.cnkt-button.installed i,
|
|
3526 |
margin-top: 0; }
|
3527 |
.ajax-load-more .cnkt-sidebar .project-listing li strong {
|
3528 |
display: block;
|
3529 |
-
font-weight: 700;
|
|
|
|
|
3530 |
.ajax-load-more .cnkt-sidebar .project-listing li span {
|
3531 |
-
color: #
|
3532 |
-
font-size: 0.95em;
|
3533 |
opacity: 0.75; }
|
3534 |
.ajax-load-more .cnkt-sidebar .project-listing li span strong {
|
3535 |
display: inline; }
|
@@ -3627,59 +3613,37 @@ span.cnkt-button.installed i,
|
|
3627 |
font-weight: 700;
|
3628 |
text-transform: none !important;
|
3629 |
text-align: center; }
|
3630 |
-
|
3631 |
-
|
3632 |
-
|
3633 |
-
|
3634 |
-
|
3635 |
-
|
3636 |
-
|
3637 |
-
|
3638 |
-
|
3639 |
-
|
3640 |
-
|
3641 |
-
|
3642 |
-
|
3643 |
-
|
3644 |
-
.alm-add-template a.
|
3645 |
-
|
3646 |
-
|
3647 |
-
|
3648 |
-
|
3649 |
-
|
3650 |
-
|
3651 |
-
|
3652 |
-
|
3653 |
-
|
3654 |
-
|
3655 |
-
|
3656 |
-
|
3657 |
-
|
3658 |
-
|
3659 |
-
.alm-add-template a
|
3660 |
-
|
3661 |
-
box-shadow: none;
|
3662 |
-
text-shadow: none; }
|
3663 |
-
|
3664 |
-
.alm-add-template a:active {
|
3665 |
-
color: #fff;
|
3666 |
-
background: #ec4745;
|
3667 |
-
border-color: #ec4745;
|
3668 |
-
-webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
|
3669 |
-
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
|
3670 |
-
text-shadow: none; }
|
3671 |
-
|
3672 |
-
.alm-add-template a i {
|
3673 |
-
font-size: 20px;
|
3674 |
-
color: #ec4745;
|
3675 |
-
margin: 0 3px 0 0;
|
3676 |
-
position: relative;
|
3677 |
-
top: 2px;
|
3678 |
-
left: -1px; }
|
3679 |
-
|
3680 |
-
.alm-add-template a:hover i,
|
3681 |
-
.alm-add-template a:active i {
|
3682 |
-
color: #fff; }
|
3683 |
|
3684 |
.spacer {
|
3685 |
height: 10px;
|
@@ -3724,10 +3688,11 @@ span.cnkt-button.installed i,
|
|
3724 |
.alm-cache .alm-cache-search-wrap input {
|
3725 |
width: 100% !important;
|
3726 |
margin: 0 !important;
|
3727 |
-
padding:
|
3728 |
display: block;
|
3729 |
-
font-size:
|
3730 |
-
border-radius:
|
|
|
3731 |
.alm-cache .alm-cache-search-wrap i {
|
3732 |
position: absolute;
|
3733 |
right: 15px;
|
@@ -3736,7 +3701,7 @@ span.cnkt-button.installed i,
|
|
3736 |
-ms-transform: translateY(-50%);
|
3737 |
transform: translateY(-50%);
|
3738 |
color: #ccc;
|
3739 |
-
font-size:
|
3740 |
z-index: 1; }
|
3741 |
.alm-cache .alm-cache-listing {
|
3742 |
position: relative; }
|
@@ -3835,11 +3800,9 @@ span.cnkt-button.installed i,
|
|
3835 |
width: 100%;
|
3836 |
background: none;
|
3837 |
padding: 0 10px 0 28px;
|
3838 |
-
margin: 0 0 10px;
|
3839 |
-
color: #878787;
|
3840 |
-
font-size: 13px; }
|
3841 |
.alm-cache .alm-dir-listing ul.cache-details li i {
|
3842 |
-
color: #
|
3843 |
font-size: 16px;
|
3844 |
position: absolute;
|
3845 |
top: 1px;
|
@@ -3868,9 +3831,6 @@ span.cnkt-button.installed i,
|
|
3868 |
float: right;
|
3869 |
font-size: 12px;
|
3870 |
font-weight: 600; }
|
3871 |
-
.alm-cache .cnkt-sidebar .item {
|
3872 |
-
padding: 20px;
|
3873 |
-
display: block; }
|
3874 |
.alm-cache p.cache-stats {
|
3875 |
min-height: 38px;
|
3876 |
line-height: 37px;
|
@@ -3900,16 +3860,20 @@ span.cnkt-button.installed i,
|
|
3900 |
.alm-dir-listing ul {
|
3901 |
padding: 20px 0 0;
|
3902 |
margin: 10px 0 0;
|
3903 |
-
border-top: 1px solid #
|
|
|
|
|
|
|
|
|
|
|
|
|
3904 |
|
3905 |
.alm-dir-listing ul li {
|
3906 |
-
margin: 0
|
3907 |
-
padding:
|
3908 |
-
display:
|
3909 |
-
vertical-align: top;
|
3910 |
overflow: hidden;
|
3911 |
-
width:
|
3912 |
-
font-size: 14px;
|
3913 |
background: transparent url("../../img/directory-list.gif") no-repeat left 46%; }
|
3914 |
.alm-dir-listing ul li.full {
|
3915 |
width: 100%;
|
@@ -4006,9 +3970,8 @@ span.cnkt-button.installed i,
|
|
4006 |
.shortcode-builder input[type='radio'] + label span,
|
4007 |
.ajax-load-more .form-table input[type='radio'] + label span {
|
4008 |
display: inline-block;
|
4009 |
-
|
4010 |
-
|
4011 |
-
color: #999; }
|
4012 |
|
4013 |
.shortcode-builder input[type='radio'] + label,
|
4014 |
.ajax-load-more .form-table input[type='radio'] + label {
|
@@ -4031,14 +3994,12 @@ span.cnkt-button.installed i,
|
|
4031 |
.shortcode-builder input[type='checkbox']:checked + label,
|
4032 |
.ajax-load-more .form-table input[type='checkbox']:checked + label {
|
4033 |
/* selected */
|
4034 |
-
background-image: url("../../img/bkg-chkbox_selected.png");
|
4035 |
-
color: #000; }
|
4036 |
|
4037 |
.shortcode-builder input[type='radio']:checked + label,
|
4038 |
.ajax-load-more .form-table input[type='radio']:checked + label {
|
4039 |
/* selected */
|
4040 |
-
background-image: url("../../img/bkg-radio_selected.png");
|
4041 |
-
color: #000; }
|
4042 |
|
4043 |
.shortcode-builder input[type='checkbox'] + label:hover,
|
4044 |
.ajax-load-more .form-table input[type='checkbox'] + label:hover,
|
@@ -4086,37 +4047,40 @@ span.cnkt-button.installed i,
|
|
4086 |
right: 7px;
|
4087 |
z-index: 8; }
|
4088 |
.alm-drop-btn.alm-repeater-options a.target {
|
4089 |
-
padding: 5px
|
4090 |
-webkit-box-shadow: none;
|
4091 |
box-shadow: none;
|
4092 |
border: none; }
|
4093 |
.alm-drop-btn.alm-repeater-options a.target > i {
|
4094 |
-
font-size:
|
4095 |
-
position: static;
|
|
|
|
|
|
|
4096 |
|
4097 |
.alm-drop-btn a.target {
|
4098 |
position: relative;
|
4099 |
color: #444;
|
4100 |
text-decoration: none !important;
|
4101 |
-
padding:
|
4102 |
-
border: 1px solid #
|
4103 |
border-radius: 3px;
|
4104 |
-
|
4105 |
-
line-height: 30px;
|
4106 |
-
height: 32px;
|
4107 |
display: block;
|
4108 |
-webkit-box-shadow: 0 0 0 1px #fff;
|
4109 |
box-shadow: 0 0 0 1px #fff; }
|
4110 |
-
|
4111 |
-
|
4112 |
-
|
4113 |
-
|
4114 |
-
|
4115 |
-
|
4116 |
-
|
|
|
|
|
4117 |
|
4118 |
.alm-repeater-options a.target:hover i.fa-cog {
|
4119 |
-
color: #
|
4120 |
|
4121 |
/* Active / Hover state */
|
4122 |
.alm-repeater-options a.target:active,
|
@@ -4124,7 +4088,7 @@ span.cnkt-button.installed i,
|
|
4124 |
.alm-repeater-options a.target:hover,
|
4125 |
.alm-repeater-options a.target:focus {
|
4126 |
background-color: transparent;
|
4127 |
-
color: #
|
4128 |
border-color: transparent;
|
4129 |
-webkit-box-shadow: none;
|
4130 |
box-shadow: none;
|
@@ -4132,11 +4096,10 @@ span.cnkt-button.installed i,
|
|
4132 |
|
4133 |
.alm-repeater-options.active a.target,
|
4134 |
.alm-repeater-options.active a.target i.fa-cog {
|
4135 |
-
color: #
|
4136 |
|
4137 |
/* Layout Dropdown */
|
4138 |
.alm-drop-btn.alm-layout-selection {
|
4139 |
-
display: inline-block;
|
4140 |
float: right;
|
4141 |
margin: 6px 0 0; }
|
4142 |
@media screen and (max-width: 480px) {
|
@@ -4145,98 +4108,94 @@ span.cnkt-button.installed i,
|
|
4145 |
.alm-drop-btn.alm-layout-selection a.target {
|
4146 |
background-color: #f7f7f7;
|
4147 |
border-color: #e1e1e1;
|
4148 |
-
color: #
|
4149 |
text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.2); }
|
4150 |
.alm-drop-btn.alm-layout-selection > a > i {
|
4151 |
left: 12px; }
|
4152 |
-
.alm-drop-btn.alm-layout-selection li.type {
|
4153 |
-
height: 36px;
|
4154 |
-
line-height: 36px;
|
4155 |
-
padding: 0 4px 0 8px;
|
4156 |
-
position: relative;
|
4157 |
-
border-top: 1px solid #e1e1e1; }
|
4158 |
-
.alm-drop-btn.alm-layout-selection li.type:first-of-type {
|
4159 |
-
border: none; }
|
4160 |
-
|
4161 |
-
.alm-dropdown ul li.layout i {
|
4162 |
-
top: 11px; }
|
4163 |
-
|
4164 |
-
.alm-drop-btn.alm-layout-selection li.type .col-select {
|
4165 |
-
float: right;
|
4166 |
-
text-align: right;
|
4167 |
-
width: auto;
|
4168 |
-
height: 33px;
|
4169 |
-
line-height: 33px; }
|
4170 |
-
|
4171 |
-
.alm-drop-btn.alm-layout-selection li.type .col-select a {
|
4172 |
-
width: 32px;
|
4173 |
-
height: 30px;
|
4174 |
-
margin: 3px 0 0 0;
|
4175 |
-
padding: 0;
|
4176 |
-
float: left;
|
4177 |
-
text-align: center;
|
4178 |
-
background-position: center center;
|
4179 |
-
background-repeat: no-repeat;
|
4180 |
-
vertical-align: top;
|
4181 |
-
text-indent: -99999px;
|
4182 |
-
overflow: hidden;
|
4183 |
-
opacity: 1;
|
4184 |
-
border-radius: 2px;
|
4185 |
-
border: 1px solid transparent; }
|
4186 |
-
|
4187 |
-
.alm-drop-btn.alm-layout-selection li.type .col-select a.column-1 {
|
4188 |
-
background-image: url("../../img/column-1.png"); }
|
4189 |
-
|
4190 |
-
.alm-drop-btn.alm-layout-selection li.type .col-select a.column-2 {
|
4191 |
-
background-image: url("../../img/column-2.png"); }
|
4192 |
-
|
4193 |
-
.alm-drop-btn.alm-layout-selection li.type .col-select a.column-3 {
|
4194 |
-
background-image: url("../../img/column-3.png");
|
4195 |
-
width: 36px; }
|
4196 |
-
|
4197 |
-
.alm-drop-btn.alm-layout-selection li.type .col-select a.column-4 {
|
4198 |
-
background-image: url("../../img/column-4.png");
|
4199 |
-
width: 36px; }
|
4200 |
-
|
4201 |
-
.alm-drop-btn.alm-layout-selection li.type .col-select a.column-1.updating,
|
4202 |
-
.alm-drop-btn.alm-layout-selection li.type .col-select a.column-2.updating,
|
4203 |
-
.alm-drop-btn.alm-layout-selection li.type .col-select a.column-3.updating {
|
4204 |
-
background-image: url("../../img/loader.gif");
|
4205 |
-
padding: 0 !important; }
|
4206 |
-
|
4207 |
-
.alm-drop-btn.alm-layout-selection li.type .col-select a:hover,
|
4208 |
-
.alm-drop-btn.alm-layout-selection li.type .col-select a.updating {
|
4209 |
-
opacity: 1;
|
4210 |
-
background-color: #fff;
|
4211 |
-
border-color: #ccc; }
|
4212 |
|
4213 |
-
.alm-drop-btn.alm-layout-selection li.type
|
4214 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4215 |
|
4216 |
/* External Link + Add-on */
|
4217 |
.alm-drop-btn.alm-layout-selection a.external,
|
4218 |
.alm-drop-btn.alm-layout-selection a.add-on {
|
4219 |
background-color: #f7f7f7;
|
4220 |
-
padding:
|
4221 |
display: block; }
|
4222 |
|
4223 |
.alm-drop-btn.alm-layout-selection a.external {
|
4224 |
-
padding: 0
|
4225 |
font-weight: 600;
|
4226 |
-
border: 1px solid #
|
4227 |
-
border-radius: 3px; }
|
4228 |
-
|
4229 |
-
|
4230 |
-
|
4231 |
-
|
4232 |
-
|
4233 |
-
|
4234 |
-
|
4235 |
-
|
4236 |
-
width: 38px; }
|
4237 |
-
|
4238 |
-
.alm-drop-btn.alm-layout-selection a.external:hover i {
|
4239 |
-
color: #666; }
|
4240 |
|
4241 |
.alm-drop-btn.alm-layout-selection a.add-on {
|
4242 |
line-height: 1.5;
|
@@ -4273,15 +4232,15 @@ span.cnkt-button.installed i,
|
|
4273 |
.alm-drop-btn.alm-layout-selection a.target:hover,
|
4274 |
.alm-drop-btn.alm-layout-selection a.target:active,
|
4275 |
.alm-drop-btn.alm-layout-selection.active a.target {
|
4276 |
-
color: #
|
4277 |
-
border-color: #
|
4278 |
-
background-color: #
|
4279 |
opacity: 1; }
|
4280 |
|
4281 |
.alm-drop-btn.alm-layout-selection.active a.target,
|
4282 |
.alm-drop-btn.alm-layout-selection a.target:active {
|
4283 |
-
-webkit-box-shadow: inset 0
|
4284 |
-
box-shadow: inset 0
|
4285 |
|
4286 |
.alm-drop-btn.alm-layout-selection .alm-dropdown {
|
4287 |
display: none;
|
@@ -4309,7 +4268,7 @@ span.cnkt-button.installed i,
|
|
4309 |
left: 35px; } }
|
4310 |
|
4311 |
.add-layout-cta {
|
4312 |
-
border-radius:
|
4313 |
border: 1px solid #e1e1e1;
|
4314 |
background-color: #fefeed;
|
4315 |
padding: 10px 100px 10px 10px;
|
@@ -4317,10 +4276,8 @@ span.cnkt-button.installed i,
|
|
4317 |
margin: 5px 0 15px;
|
4318 |
font-weight: 600;
|
4319 |
position: relative; }
|
4320 |
-
|
4321 |
-
|
4322 |
-
margin: 0;
|
4323 |
-
font-size: 13px; }
|
4324 |
|
4325 |
span.dismiss {
|
4326 |
position: absolute;
|
@@ -4350,8 +4307,8 @@ span.dismiss a {
|
|
4350 |
border: 1px solid #ccc;
|
4351 |
-webkit-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
|
4352 |
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
|
4353 |
-
padding:
|
4354 |
-
width:
|
4355 |
.alm-dropdown .alm-drop-inner:after,
|
4356 |
.alm-dropdown .alm-drop-inner:before {
|
4357 |
bottom: 100%;
|
@@ -4376,8 +4333,8 @@ span.dismiss a {
|
|
4376 |
display: block !important; }
|
4377 |
|
4378 |
.alm-layout-selection .alm-dropdown .alm-drop-inner {
|
4379 |
-
width:
|
4380 |
-
padding: 10px
|
4381 |
|
4382 |
.alm-dropdown ul {
|
4383 |
padding: 0;
|
@@ -4386,40 +4343,45 @@ span.dismiss a {
|
|
4386 |
|
4387 |
.alm-dropdown li {
|
4388 |
margin: 0;
|
4389 |
-
padding:
|
4390 |
list-style: none;
|
4391 |
clear: both;
|
4392 |
-
font-size: 13px;
|
4393 |
line-height: 1.2;
|
4394 |
font-weight: 400; }
|
4395 |
.alm-dropdown li.option {
|
4396 |
-
border
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4397 |
.alm-dropdown li.option:nth-child(even) {
|
4398 |
background-color: #f7f7f7; }
|
4399 |
.alm-dropdown li a:not(.button) {
|
4400 |
-
padding: 0 10px 0
|
4401 |
line-height: 40px;
|
4402 |
height: 40px;
|
4403 |
display: block;
|
4404 |
text-decoration: none;
|
4405 |
background-position: 4px center;
|
4406 |
-
color: #
|
4407 |
-webkit-box-shadow: none !important;
|
4408 |
box-shadow: none !important;
|
4409 |
position: relative;
|
4410 |
width: 100%;
|
4411 |
white-space: nowrap;
|
4412 |
overflow: hidden;
|
4413 |
-
text-overflow: ellipsis;
|
4414 |
-
border-radius: 3px; }
|
4415 |
.alm-dropdown li a:not(.button):hover, .alm-dropdown li a:not(.button):focus {
|
4416 |
-
color: #
|
4417 |
.alm-dropdown li a:not(.button):hover i, .alm-dropdown li a:not(.button):focus i {
|
4418 |
-
opacity: 0.
|
4419 |
.alm-dropdown li a:not(.button) i {
|
4420 |
margin: 0;
|
4421 |
position: absolute;
|
4422 |
-
left:
|
4423 |
top: 50%;
|
4424 |
-webkit-transform: translateY(-50%);
|
4425 |
-ms-transform: translateY(-50%);
|
@@ -4429,18 +4391,22 @@ span.dismiss a {
|
|
4429 |
line-height: 1;
|
4430 |
display: inline-block;
|
4431 |
text-align: center;
|
4432 |
-
opacity: 0.5;
|
|
|
|
|
|
|
4433 |
.alm-dropdown li.layout-cta {
|
4434 |
-
border: 1px solid #
|
4435 |
-
padding:
|
4436 |
border-radius: 3px;
|
4437 |
-
margin-
|
4438 |
-
background-color: #
|
4439 |
text-align: center; }
|
4440 |
.alm-dropdown li.layout-cta span {
|
4441 |
display: block;
|
4442 |
-
padding: 0 0
|
4443 |
-
line-height: 1.
|
|
|
4444 |
|
4445 |
/*
|
4446 |
* Mailchimp Sign-up
|
@@ -4516,7 +4482,7 @@ span.dismiss a {
|
|
4516 |
|
4517 |
#alm-mailing-list .form-wrap i.fa-envelope {
|
4518 |
color: #fff;
|
4519 |
-
background: #
|
4520 |
position: absolute;
|
4521 |
top: 0;
|
4522 |
left: 0;
|
@@ -4543,7 +4509,7 @@ span.dismiss a {
|
|
4543 |
border-radius: 0;
|
4544 |
width: 40px;
|
4545 |
height: 40px;
|
4546 |
-
color: #
|
4547 |
background: none !important;
|
4548 |
cursor: pointer; }
|
4549 |
|
@@ -4659,7 +4625,7 @@ span.dismiss a {
|
|
4659 |
width: 100%;
|
4660 |
height: auto;
|
4661 |
border-radius: 0 0 3px 3px;
|
4662 |
-
background-color: #
|
4663 |
background-color: #9d87c7; }
|
4664 |
.alm-notification ul.share li {
|
4665 |
-webkit-box-flex: 1;
|
@@ -4796,10 +4762,11 @@ span.dismiss a {
|
|
4796 |
z-index: 9; }
|
4797 |
.ajax-load-more .alm-toggle-switch li {
|
4798 |
float: left;
|
4799 |
-
margin: 0
|
4800 |
padding: 0;
|
4801 |
background: none;
|
4802 |
-
list-style: none;
|
|
|
4803 |
.ajax-load-more .alm-toggle-switch li a {
|
4804 |
display: block;
|
4805 |
padding: 15px 20px;
|
@@ -4808,13 +4775,13 @@ span.dismiss a {
|
|
4808 |
border: 1px solid #e1e1e1;
|
4809 |
border-radius: 3px 3px 0 0;
|
4810 |
background: #f7f7f7;
|
4811 |
-
color: #
|
4812 |
.ajax-load-more .alm-toggle-switch li a:hover {
|
4813 |
color: #222;
|
4814 |
background-color: #fff; }
|
4815 |
.ajax-load-more .alm-toggle-switch li a.active {
|
4816 |
background: #fff;
|
4817 |
-
font-weight:
|
4818 |
border-bottom-color: #fff;
|
4819 |
color: #111; }
|
4820 |
|
231 |
|
232 |
.select2-container a.select2-choice {
|
233 |
display: block;
|
234 |
+
height: 38px;
|
235 |
+
line-height: 37px;
|
236 |
+
padding: 0 0 0 10px;
|
237 |
overflow: hidden;
|
238 |
position: relative;
|
239 |
border: 1px solid #e1e1e1;
|
240 |
white-space: nowrap;
|
241 |
+
color: #393d41;
|
242 |
text-decoration: none;
|
243 |
background: #fff;
|
244 |
+
border-radius: 3px;
|
|
|
245 |
-webkit-background-clip: padding-box;
|
246 |
-moz-background-clip: padding;
|
247 |
background-clip: padding-box;
|
250 |
-moz-user-select: none;
|
251 |
-ms-user-select: none;
|
252 |
user-select: none;
|
253 |
+
font-size: 13px; }
|
254 |
|
255 |
.select2-dropdown-open.select2-container-active .select2-choice {
|
256 |
border-radius: 4px 4px 0 0; }
|
260 |
border-radius: 0 0 4px 4px; }
|
261 |
|
262 |
.select2-container .select2-choice span {
|
263 |
+
padding-right: 40px;
|
264 |
+
margin: 0;
|
265 |
+
width: 100%;
|
266 |
display: block;
|
267 |
overflow: hidden;
|
268 |
white-space: nowrap;
|
269 |
color: #666;
|
|
|
270 |
text-overflow: ellipsis; }
|
271 |
|
272 |
.select2-container .select2-choice abbr:hover {
|
279 |
top: 0;
|
280 |
z-index: 8;
|
281 |
background-color: #fff;
|
282 |
+
opacity: 0; }
|
|
|
|
|
|
|
|
|
|
|
|
|
283 |
|
284 |
.select2-drop {
|
285 |
overflow: hidden;
|
286 |
width: 100%;
|
|
|
287 |
position: absolute;
|
288 |
z-index: 9;
|
289 |
top: 100%;
|
290 |
background: #fff;
|
291 |
+
color: #393d41;
|
292 |
+
border: 1px solid #e1e1e1;
|
293 |
+
border-radius: 3px;
|
294 |
+
-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
|
295 |
+
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
|
296 |
+
font-size: 13px;
|
297 |
+
overflow: hidden;
|
298 |
+
margin-top: 2px;
|
299 |
+
margin-left: -1px; }
|
300 |
+
.select2-drop.select2-drop-above {
|
301 |
+
margin-top: -2px; }
|
|
|
|
|
|
|
|
|
302 |
|
303 |
.select2-container .select2-choice div {
|
304 |
display: block;
|
322 |
|
323 |
/* Search */
|
324 |
.select2-search {
|
325 |
+
padding: 5px;
|
|
|
326 |
display: block;
|
327 |
+
background-color: #fff;
|
328 |
+
border-bottom: 1px solid #f7f7f7; }
|
329 |
+
.select2-search .select2-input {
|
330 |
+
width: 99%;
|
331 |
+
height: 35px !important;
|
332 |
+
line-height: 35px !important;
|
333 |
+
-webkit-box-shadow: none !important;
|
334 |
+
box-shadow: none !important;
|
335 |
+
background: #fff url("../../img/icon-search.png") no-repeat right 7px center;
|
336 |
+
background-size: 16px 16px; }
|
337 |
|
338 |
/* Multi select box */
|
339 |
+
#alm-builder .select2-choices li {
|
340 |
+
margin: 0 0 2px; }
|
341 |
+
|
342 |
#alm-builder .select2-container-multi {
|
343 |
width: 60%; }
|
344 |
|
364 |
font-size: 12px;
|
365 |
line-height: 13px;
|
366 |
margin: 0 5px 5px 0;
|
367 |
+
padding: 5px 10px 5px 27px;
|
368 |
border-radius: 3px;
|
369 |
background: #fff;
|
370 |
+
border: 1px solid #e1e1e1;
|
371 |
width: auto;
|
372 |
position: relative; }
|
373 |
|
374 |
#alm-builder ul.select2-choices .select2-input {
|
375 |
+
background: #fff url("../../img/bkg-select.png") no-repeat right center; }
|
376 |
+
#alm-builder ul.select2-choices .select2-input.select2-focused {
|
377 |
+
background: #fff url("../../img/icon-search.png") no-repeat right 7px center;
|
378 |
+
background-size: 16px 16px; }
|
379 |
|
380 |
#alm-builder ul.select2-choices li.select2-search-choice a {
|
381 |
position: absolute;
|
382 |
+
left: 3px;
|
383 |
+
top: 3px;
|
384 |
+
width: 17px;
|
385 |
+
height: 17px;
|
386 |
+
background: #393d41 url("../../img/ico-close.png") no-repeat center center;
|
|
|
387 |
display: block;
|
388 |
+
border-radius: 3px; }
|
389 |
+
#alm-builder ul.select2-choices li.select2-search-choice a:hover, #alm-builder ul.select2-choices li.select2-search-choice a:focus {
|
390 |
+
background-color: #c71316; }
|
|
|
391 |
|
392 |
/* results UL */
|
393 |
.select2-results {
|
409 |
background-image: none;
|
410 |
padding: 0;
|
411 |
margin: 0 !important;
|
412 |
+
border-top: 1px solid #f7f7f7;
|
413 |
+
color: #393d41;
|
414 |
width: auto;
|
415 |
font-size: 13px; }
|
416 |
+
.select2-results li:first-of-type {
|
417 |
+
border: none; }
|
418 |
|
419 |
.select2-results li.select2-result-with-children > .select2-result-label {
|
420 |
+
font-weight: 700;
|
421 |
+
font-size: 13px;
|
422 |
cursor: default;
|
423 |
+
border-bottom: 1px solid #f7f7f7; }
|
424 |
|
425 |
.select2-results .select2-result-label {
|
426 |
margin: 0;
|
427 |
cursor: pointer;
|
428 |
min-height: 1em;
|
429 |
+
padding: 10px;
|
430 |
-webkit-touch-callout: none;
|
431 |
-webkit-user-select: none;
|
432 |
-moz-user-select: none;
|
436 |
.select2-results .select2-highlighted .select2-result-label {
|
437 |
/* Hover */
|
438 |
background: #f7f7f7;
|
439 |
+
color: #3784c2; }
|
440 |
|
441 |
.select2-results .select2-highlighted:active {
|
442 |
background: #fff; }
|
514 |
position: relative;
|
515 |
z-index: 1; }
|
516 |
.ajax-load-more .header-wrap h1 {
|
517 |
+
padding: 20px 20px 20px 80px;
|
518 |
margin: 0;
|
519 |
min-height: 48px;
|
520 |
background: #fff url("../../img/alm-logo-48x48.png") no-repeat 20px 20px;
|
529 |
display: block;
|
530 |
position: relative;
|
531 |
font-size: 13px;
|
532 |
+
color: #6a7178;
|
533 |
font-style: normal;
|
534 |
font-weight: 400;
|
535 |
line-height: 1.3;
|
541 |
.ajax-load-more .header-wrap h1 strong {
|
542 |
font-weight: 600; }
|
543 |
.ajax-load-more .header-wrap h1 span {
|
544 |
+
color: #fff;
|
545 |
+
font-weight: 400;
|
546 |
margin: 0 0 0 5px;
|
547 |
vertical-align: top;
|
548 |
font-size: 12px;
|
549 |
+
background-color: #3784c2;
|
550 |
+
border-radius: 3px;
|
551 |
+
padding: 2px 5px;
|
552 |
display: inline-block;
|
553 |
line-height: 1.45;
|
554 |
position: relative;
|
555 |
top: 3px; }
|
|
|
|
|
|
|
556 |
.ajax-load-more .header-wrap .notice {
|
557 |
margin: 20px; }
|
558 |
|
777 |
line-height: 1.5;
|
778 |
font-size: 13px; }
|
779 |
.ajax-load-more .CodeMirror.CodeMirror-focused {
|
780 |
+
border-color: #3784c2;
|
781 |
+
-webkit-box-shadow: 0 0 4px 1px rgba(55, 132, 194, 0.15);
|
782 |
+
box-shadow: 0 0 4px 1px rgba(55, 132, 194, 0.15); }
|
783 |
|
784 |
.ajax-load-more .cm-readonly .CodeMirror {
|
785 |
opacity: 0.8; }
|
1070 |
.shortcode-builder--label.full {
|
1071 |
width: 100%; }
|
1072 |
.shortcode-builder--label h4 {
|
1073 |
+
font-size: 14px;
|
1074 |
+
margin: 0 0 15px; }
|
1075 |
.shortcode-builder--label p {
|
1076 |
font-size: 13px !important;
|
1077 |
line-height: 18px !important; }
|
1274 |
border-radius: 0 3px 3px 0;
|
1275 |
padding: 3px;
|
1276 |
width: auto;
|
1277 |
+
border: 1px solid #ccc;
|
1278 |
+
background-color: #fcfcfc;
|
1279 |
+
border-left: none;
|
1280 |
+
display: -webkit-box;
|
1281 |
+
display: -ms-flexbox;
|
1282 |
+
display: flex; }
|
1283 |
.ajax-load-more .builder-option-toggle--buttons button {
|
1284 |
height: 100%;
|
1285 |
border: 1px solid #e1e1e1;
|
1288 |
font-weight: 600;
|
1289 |
font-size: 11px;
|
1290 |
text-transform: uppercase;
|
|
|
1291 |
cursor: pointer;
|
1292 |
padding: 0;
|
1293 |
margin: 0;
|
1295 |
width: 34px;
|
1296 |
text-align: center;
|
1297 |
display: inline-block;
|
1298 |
+
color: #393d41;
|
1299 |
background-color: transparent; }
|
1300 |
.ajax-load-more .builder-option-toggle--buttons button:hover, .ajax-load-more .builder-option-toggle--buttons button:focus {
|
1301 |
color: #222;
|
1306 |
.ajax-load-more .builder-option-toggle--buttons button:last-child {
|
1307 |
border-radius: 0 3px 3px 0; }
|
1308 |
.ajax-load-more .builder-option-toggle--buttons button.active {
|
1309 |
+
border-color: #393d41;
|
1310 |
+
background-color: #393d41;
|
1311 |
color: #fff;
|
1312 |
cursor: default; }
|
1313 |
|
1355 |
margin: 0 0 15px;
|
1356 |
display: block;
|
1357 |
font-size: 20px;
|
1358 |
+
color: #393d41;
|
1359 |
font-weight: 700; }
|
1360 |
.ajax-load-more .alm-tabbed-wrapper h2 + p {
|
1361 |
position: relative;
|
1362 |
+
top: -3px; }
|
1363 |
.ajax-load-more .alm-tabbed-wrapper--nav {
|
1364 |
border: 1px solid #e1e1e1;
|
1365 |
margin-bottom: 20px;
|
1411 |
width: 100%;
|
1412 |
border: none;
|
1413 |
background: none;
|
|
|
1414 |
line-height: 1.4;
|
1415 |
padding: 12px 10px;
|
1416 |
text-align: left;
|
1420 |
text-overflow: ellipsis;
|
1421 |
background: #f7f7f7;
|
1422 |
border-bottom: 1px solid #e1e1e1;
|
1423 |
+
cursor: pointer;
|
1424 |
+
color: #393d41; }
|
1425 |
.ajax-load-more .alm-tabbed-wrapper--nav button:hover, .ajax-load-more .alm-tabbed-wrapper--nav button:focus {
|
1426 |
background-color: #efefef; }
|
1427 |
.ajax-load-more .alm-tabbed-wrapper--nav button i {
|
1433 |
.ajax-load-more .alm-tabbed-wrapper--nav button.active {
|
1434 |
font-weight: 600;
|
1435 |
background-color: #fff;
|
1436 |
+
color: #e84648;
|
1437 |
cursor: default; }
|
1438 |
+
.ajax-load-more .alm-tabbed-wrapper--nav button.active i {
|
1439 |
+
color: #393d41; }
|
1440 |
@media screen and (min-width: 620px) {
|
1441 |
.ajax-load-more .alm-tabbed-wrapper--nav button.active {
|
1442 |
width: calc(100% + 1px); } }
|
1590 |
left: -9999px; }
|
1591 |
|
1592 |
.ajax-load-more {
|
1593 |
+
color: #393d41;
|
|
|
1594 |
position: relative;
|
1595 |
max-width: 100%; }
|
1596 |
+
.ajax-load-more a {
|
1597 |
+
color: #3784c2;
|
1598 |
+
text-decoration: underline; }
|
1599 |
+
.ajax-load-more a:hover {
|
1600 |
+
color: #58a1de;
|
1601 |
+
text-decoration: none; }
|
1602 |
|
1603 |
#alm-help.ajax-load-more {
|
1604 |
max-width: 1600px; }
|
1657 |
|
1658 |
.ajax-load-more p {
|
1659 |
display: block;
|
|
|
1660 |
width: 100%;
|
|
|
1661 |
clear: both;
|
1662 |
text-transform: none;
|
1663 |
padding: 0;
|
1664 |
+
margin: 0 0 15px;
|
1665 |
+
color: #6a7178; }
|
1666 |
|
1667 |
+
.ajax-load-more p.lg,
|
1668 |
+
.ajax-load-more li.lg,
|
1669 |
+
.ajax-load-more input.lg,
|
1670 |
+
.ajax-load-more textarea.lg,
|
1671 |
+
.ajax-load-more label.lg {
|
1672 |
+
font-size: 16px; }
|
|
|
|
|
|
|
|
|
|
|
|
|
1673 |
|
1674 |
.ajax-load-more textarea#_alm_layouts_css {
|
1675 |
height: 240px; }
|
1709 |
.ajax-load-more h1,
|
1710 |
.ajax-load-more h3,
|
1711 |
.ajax-load-more h4 {
|
1712 |
+
color: #393d41;
|
1713 |
margin-top: 0; }
|
1714 |
|
1715 |
.ajax-load-more h4 + p {
|
1747 |
padding: 15px 10px 15px 38px !important;
|
1748 |
line-height: normal !important;
|
1749 |
margin: 0 !important;
|
1750 |
+
color: #393d41;
|
1751 |
cursor: pointer;
|
1752 |
width: 100%;
|
1753 |
position: relative;
|
1784 |
font-size: 11px;
|
1785 |
text-transform: uppercase;
|
1786 |
border-radius: 3px;
|
1787 |
+
padding: 0 12px;
|
1788 |
+
height: 35px;
|
1789 |
+
line-height: 34px;
|
1790 |
background: #fff;
|
1791 |
border: 1px solid #e1e1e1;
|
1792 |
+
color: #393d41;
|
1793 |
cursor: pointer;
|
1794 |
z-index: 20;
|
1795 |
margin-bottom: 10px;
|
1797 |
@media screen and (min-width: 768px) {
|
1798 |
.ajax-load-more .toggle-all {
|
1799 |
position: absolute; } }
|
1800 |
+
.ajax-load-more .toggle-all:hover, .ajax-load-more .toggle-all:focus {
|
1801 |
+
color: #393d41;
|
1802 |
+
border-color: #ccc; }
|
1803 |
+
.ajax-load-more .toggle-all .inner-wrap {
|
1804 |
+
position: relative;
|
1805 |
+
padding-left: 16px;
|
1806 |
+
line-height: 24px; }
|
1807 |
+
.ajax-load-more .toggle-all .expand {
|
1808 |
+
display: none; }
|
1809 |
+
.ajax-load-more .toggle-all .collapse {
|
1810 |
+
display: inline-block; }
|
1811 |
+
.ajax-load-more .toggle-all em {
|
1812 |
+
font-style: normal; }
|
1813 |
+
.ajax-load-more .toggle-all.closed .expand {
|
1814 |
+
display: inline-block; }
|
1815 |
+
.ajax-load-more .toggle-all.closed .collapse {
|
1816 |
+
display: none; }
|
1817 |
+
.ajax-load-more .toggle-all .inner-wrap:before {
|
1818 |
+
font-family: 'FontAwesome';
|
1819 |
+
content: '\f068';
|
1820 |
+
font-size: 10px;
|
1821 |
+
position: absolute;
|
1822 |
+
left: 0;
|
1823 |
+
top: -5px; }
|
1824 |
+
.ajax-load-more .toggle-all.closed .inner-wrap:before {
|
1825 |
+
content: '\f067'; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1826 |
|
1827 |
#alm-container.ajax-load-more .toggle-all {
|
1828 |
display: none; }
|
1830 |
a.button-small {
|
1831 |
text-decoration: none;
|
1832 |
font-size: 12px;
|
1833 |
+
padding: 6px 10px;
|
1834 |
display: inline-block;
|
1835 |
background-color: #eaf6fb;
|
1836 |
border: 1px solid #b9d2de;
|
1837 |
+
color: #393d41;
|
1838 |
line-height: 1.1;
|
1839 |
+
border-radius: 3px; }
|
1840 |
+
a.button-small:hover {
|
1841 |
+
color: #fff;
|
1842 |
+
background-color: #3784c2;
|
1843 |
text-decoration: none;
|
1844 |
+
border-color: #3784c2; }
|
1845 |
+
a.button-small:focus {
|
1846 |
+
color: #fff;
|
1847 |
+
background-color: #58a1de;
|
1848 |
+
text-decoration: none;
|
1849 |
+
border-color: #58a1de; }
|
1850 |
|
1851 |
.ajax-load-more ul {
|
1852 |
padding: 0;
|
1867 |
display: block;
|
1868 |
clear: both;
|
1869 |
width: 100%;
|
1870 |
+
color: #393d41;
|
1871 |
font-weight: 500;
|
1872 |
padding: 0 0 10px;
|
1873 |
cursor: default;
|
1916 |
|
1917 |
.alm-settings-nav a:hover {
|
1918 |
color: #fff;
|
1919 |
+
background-color: #e84648; }
|
1920 |
|
1921 |
.alm-settings-nav li:first-of-type a {
|
1922 |
border: none;
|
1942 |
background-color: transparent;
|
1943 |
padding: 0;
|
1944 |
margin: 0; }
|
1945 |
+
#alm-meta-key .meta-query-wrap-first .meta-query-wrap .padding-top {
|
1946 |
+
margin-bottom: 0; }
|
1947 |
|
1948 |
.section-control {
|
1949 |
padding-top: 15px; }
|
1966 |
.meta-query-wrap .remove-meta-query,
|
1967 |
.taxonomy-wrap .remove-tax-query {
|
1968 |
position: absolute;
|
1969 |
+
right: 5px;
|
1970 |
+
top: 5px;
|
1971 |
+
width: 23px;
|
1972 |
+
height: 23px;
|
1973 |
+
line-height: 22px;
|
1974 |
text-align: center;
|
1975 |
font-weight: 500;
|
1976 |
font-size: 18px;
|
1977 |
+
background-color: #393d41;
|
1978 |
+
color: #fff;
|
1979 |
text-decoration: none;
|
1980 |
+
border-radius: 3px;
|
1981 |
padding-left: 1px; }
|
1982 |
.meta-query-wrap .remove-meta-query:hover, .meta-query-wrap .remove-meta-query:hover,
|
1983 |
.taxonomy-wrap .remove-tax-query:hover,
|
1984 |
.taxonomy-wrap .remove-tax-query:hover {
|
1985 |
+
background-color: #c71316;
|
1986 |
color: #fff; }
|
1987 |
|
1988 |
.ajax-load-more .meta-query-wrap {
|
2003 |
margin-bottom: 15px; }
|
2004 |
|
2005 |
#meta-query-relation {
|
2006 |
+
margin: 15px 0; }
|
2007 |
|
2008 |
.ajax-load-more .meta-query-wrap .border-top:first-of-type {
|
2009 |
padding: 0 0 0 !important;
|
2090 |
display: inline-block;
|
2091 |
clear: both;
|
2092 |
border-radius: 3px;
|
2093 |
+
color: #393d41;
|
2094 |
-webkit-box-shadow: none;
|
2095 |
box-shadow: none; }
|
2096 |
|
2133 |
|
2134 |
.ajax-load-more textarea,
|
2135 |
.ajax-load-more input[type='text'],
|
2136 |
+
.ajax-load-more input[type='email'],
|
2137 |
+
.ajax-load-more input[type='search'],
|
2138 |
.ajax-load-more input[type='number'] {
|
2139 |
padding: 10px 12px;
|
2140 |
line-height: 1.3;
|
2182 |
color: #999;
|
2183 |
font-style: italic; }
|
2184 |
|
|
|
|
|
|
|
|
|
|
|
|
|
2185 |
.ajax-load-more .repeaters input[type='text'] {
|
2186 |
padding: 9px 10px; }
|
2187 |
|
2199 |
opacity: 0.5;
|
2200 |
filter: alpha(opacity=50);
|
2201 |
cursor: not-allowed;
|
|
|
2202 |
border-color: #ccc !important;
|
2203 |
-webkit-box-shadow: none !important;
|
2204 |
box-shadow: none !important; }
|
2207 |
.ajax-load-more input[type='number']:focus,
|
2208 |
.ajax-load-more input[type='email']:focus,
|
2209 |
.ajax-load-more textarea:focus {
|
2210 |
+
border-color: #3784c2;
|
2211 |
+
-webkit-box-shadow: 0 0 4px 1px rgba(55, 132, 194, 0.15);
|
2212 |
+
box-shadow: 0 0 4px 1px rgba(55, 132, 194, 0.15); }
|
|
|
2213 |
|
2214 |
.checkboxes label {
|
2215 |
margin-right: 5px; }
|
2260 |
/* --------------------------------------------------------------------------- */
|
2261 |
.ajax-load-more .row {
|
2262 |
padding: 0 !important;
|
2263 |
+
margin: 10px 0 0;
|
2264 |
height: auto;
|
2265 |
width: 100%;
|
2266 |
display: block;
|
2465 |
**************************************/
|
2466 |
.ajax-load-more .output-wrap {
|
2467 |
margin: 20px 0 0;
|
2468 |
+
background: #e84648;
|
2469 |
width: 100%;
|
2470 |
display: block;
|
2471 |
border-radius: 3px; }
|
2566 |
.form-table label span,
|
2567 |
#alm-shortcode-builder-form label span.description {
|
2568 |
font-size: 13px;
|
2569 |
+
color: #6a7178;
|
2570 |
padding-top: 10px; }
|
2571 |
|
2572 |
#alm-shortcode-builder-form label span.description {
|
2592 |
|
2593 |
.admin.ajax-load-more.settings input[type='text'],
|
2594 |
.admin.ajax-load-more.settings input[type='number'],
|
2595 |
+
.admin.ajax-load-more.settings input[type='email'],
|
2596 |
.admin.ajax-load-more.settings .select2-container {
|
2597 |
margin-top: 10px; }
|
2598 |
|
2633 |
font-size: 14px; }
|
2634 |
.admin.ajax-load-more.settings .ajax-load-more-wrap.pages li a {
|
2635 |
text-decoration: none; }
|
2636 |
+
.admin.ajax-load-more.settings .ajax-load-more-wrap.pages li span {
|
2637 |
+
margin: 0;
|
2638 |
+
font-size: 14px;
|
2639 |
+
border-bottom: none; }
|
2640 |
.admin.ajax-load-more.settings .form-table td,
|
2641 |
.admin.ajax-load-more.settings .form-table th {
|
2642 |
+
padding: 25px;
|
2643 |
line-height: 1.5; }
|
2644 |
+
.admin.ajax-load-more.settings .form-table td:last-of-type,
|
2645 |
+
.admin.ajax-load-more.settings .form-table th:last-of-type {
|
2646 |
+
margin: 0; }
|
2647 |
.admin.ajax-load-more.settings .form-table th {
|
|
|
2648 |
font-weight: 600;
|
2649 |
background-color: #f7f7f7;
|
2650 |
border-right: 1px solid #e1e1e1;
|
2689 |
.ajax-load-more p.writeable-title {
|
2690 |
padding: 0 0 2px 28px; }
|
2691 |
|
|
|
|
|
|
|
|
|
2692 |
.ajax-load-more p.writeable-title {
|
2693 |
position: relative; }
|
2694 |
|
2879 |
background: none;
|
2880 |
color: #c94141;
|
2881 |
font-size: 14px;
|
2882 |
+
line-height: 30px;
|
2883 |
+
height: 30px;
|
2884 |
text-decoration: none;
|
2885 |
display: block;
|
2886 |
+
padding: 0 12px; }
|
2887 |
.repeaters .alm-delete a:hover {
|
2888 |
background-color: #c94141;
|
2889 |
color: #fff; }
|
2974 |
#alm-add-ons .group.highlighted .pro-desc, #alm-add-ons .group.extend .pro-desc {
|
2975 |
display: none; } }
|
2976 |
#alm-add-ons .group.extend a {
|
2977 |
+
background-color: #fff;
|
2978 |
+
border-color: #fcfcfc; }
|
2979 |
#alm-add-ons .group.installed {
|
2980 |
opacity: 0.85;
|
2981 |
-webkit-filter: grayscale(1);
|
3013 |
#alm-add-ons .group--pro a {
|
3014 |
padding-bottom: 17px; }
|
3015 |
|
|
|
|
|
|
|
3016 |
#alm-add-ons .group a h2 {
|
3017 |
-webkit-transition: all 0.15s ease;
|
3018 |
transition: all 0.15s ease; }
|
3019 |
|
3020 |
+
#alm-add-ons .group a:hover h2,
|
3021 |
+
#alm-add-ons .group a:focus h2 {
|
3022 |
+
color: #e84648 !important;
|
3023 |
+
text-decoration: underline; }
|
3024 |
|
3025 |
+
#alm-add-ons .group.installed a:hover h2,
|
3026 |
+
#alm-add-ons .group.installed a:focus h2 {
|
3027 |
color: #444 !important; }
|
3028 |
|
3029 |
/* Add-on Callout! */
|
3049 |
font-weight: 400; }
|
3050 |
|
3051 |
.call-out.light p a {
|
3052 |
+
color: #e84648 !important; }
|
3053 |
|
3054 |
.call-out.light p a:hover {
|
3055 |
text-decoration: underline; }
|
3069 |
position: absolute;
|
3070 |
right: 12px;
|
3071 |
top: 13px;
|
3072 |
+
color: #2d564c !important;
|
3073 |
-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
|
3074 |
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1); }
|
3075 |
|
3076 |
.call-out a {
|
3077 |
+
color: #2d564c !important;
|
3078 |
text-decoration: none;
|
3079 |
font-weight: 600; }
|
3080 |
+
.call-out a:hover, .call-out a:focus {
|
3081 |
+
text-decoration: underline; }
|
|
|
|
|
3082 |
|
3083 |
a.cnkt-button,
|
3084 |
span.cnkt-button {
|
3323 |
-webkit-box-shadow: 0 4px 10px 1px rgba(0, 0, 0, 0.065);
|
3324 |
box-shadow: 0 4px 10px 1px rgba(0, 0, 0, 0.065);
|
3325 |
border-radius: 3px; }
|
3326 |
+
.ajax-load-more .cnkt-sidebar .cta .alm-file-location:not(input) {
|
3327 |
padding-top: 15px;
|
3328 |
margin-top: 15px;
|
3329 |
border-top: 1px solid #efefef; }
|
3330 |
+
.ajax-load-more .cnkt-sidebar .cta .alm-file-location:not(input) input {
|
3331 |
+
font-size: 11px;
|
3332 |
font-family: Consolas, monaco, monospace;
|
3333 |
+
width: 100%; }
|
3334 |
+
|
3335 |
+
.alm-status {
|
3336 |
+
display: -webkit-box;
|
3337 |
+
display: -ms-flexbox;
|
3338 |
+
display: flex;
|
3339 |
+
margin: 0 0 15px;
|
3340 |
+
cursor: default; }
|
3341 |
+
.alm-status span {
|
3342 |
+
background-color: #f7f7f7;
|
3343 |
+
padding: 0 10px 0 0;
|
3344 |
+
line-height: 1;
|
3345 |
+
border-radius: 3px;
|
3346 |
+
overflow: hidden;
|
3347 |
+
display: -webkit-box;
|
3348 |
+
display: -ms-flexbox;
|
3349 |
+
display: flex;
|
3350 |
+
-webkit-box-align: center;
|
3351 |
+
-ms-flex-align: center;
|
3352 |
+
align-items: center;
|
3353 |
+
font-weight: 500;
|
3354 |
+
text-transform: uppercase;
|
3355 |
+
font-size: 11px; }
|
3356 |
+
.alm-status span i {
|
3357 |
+
padding: 10px 12px;
|
3358 |
+
margin: 0 10px 0 0;
|
3359 |
+
text-align: center; }
|
3360 |
+
.alm-status.success span i {
|
3361 |
+
background-color: #8ed074;
|
3362 |
+
color: #fff; }
|
3363 |
+
.alm-status.failed span i {
|
3364 |
+
background-color: #c71316;
|
3365 |
+
color: #fff; }
|
3366 |
|
3367 |
.ajax-load-more .cnkt-sidebar .cta-inner {
|
3368 |
padding: 15px;
|
3387 |
margin: 0;
|
3388 |
display: block;
|
3389 |
font-size: 14px;
|
|
|
3390 |
text-transform: none; }
|
3391 |
|
3392 |
.ajax-load-more .cnkt-sidebar .item {
|
3401 |
.ajax-load-more .cnkt-sidebar h4 {
|
3402 |
margin-bottom: 5px; }
|
3403 |
|
|
|
|
|
|
|
|
|
|
|
3404 |
.ajax-load-more .cnkt-sidebar .cta.dyk .cta-inner {
|
3405 |
overflow: hidden; }
|
3406 |
|
3443 |
overflow: hidden; }
|
3444 |
|
3445 |
.ajax-load-more .cnkt-sidebar li {
|
|
|
3446 |
margin: 0 0 10px;
|
3447 |
line-height: 1.5; }
|
3448 |
|
3470 |
text-decoration: none;
|
3471 |
font-size: 14px; }
|
3472 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3473 |
.ajax-load-more .cnkt-sidebar a.visit {
|
3474 |
background: #ed7070;
|
3475 |
padding: 17px 20px 18px 44px;
|
3511 |
margin-top: 0; }
|
3512 |
.ajax-load-more .cnkt-sidebar .project-listing li strong {
|
3513 |
display: block;
|
3514 |
+
font-weight: 700;
|
3515 |
+
font-size: 14px;
|
3516 |
+
margin: 0 0 3px; }
|
3517 |
.ajax-load-more .cnkt-sidebar .project-listing li span {
|
3518 |
+
color: #393d41;
|
|
|
3519 |
opacity: 0.75; }
|
3520 |
.ajax-load-more .cnkt-sidebar .project-listing li span strong {
|
3521 |
display: inline; }
|
3613 |
font-weight: 700;
|
3614 |
text-transform: none !important;
|
3615 |
text-align: center; }
|
3616 |
+
.alm-add-template a {
|
3617 |
+
background: #f7f7f7;
|
3618 |
+
border: 1px solid #e1e1e1;
|
3619 |
+
color: #393d41;
|
3620 |
+
display: inline-block;
|
3621 |
+
padding: 15px 18px;
|
3622 |
+
line-height: 1;
|
3623 |
+
border-radius: 3px;
|
3624 |
+
text-decoration: none; }
|
3625 |
+
.alm-add-template a i {
|
3626 |
+
color: #e84648;
|
3627 |
+
margin: 0 5px 0 0;
|
3628 |
+
position: relative;
|
3629 |
+
left: -1px; }
|
3630 |
+
.alm-add-template a:hover, .alm-add-template a:focus {
|
3631 |
+
background: #e84648;
|
3632 |
+
border-color: #e84648;
|
3633 |
+
color: #fff;
|
3634 |
+
text-shadow: none;
|
3635 |
+
color: #fff; }
|
3636 |
+
.alm-add-template a:hover i, .alm-add-template a:focus i {
|
3637 |
+
color: #fff;
|
3638 |
+
opacity: 0.65; }
|
3639 |
+
.alm-add-template a.active {
|
3640 |
+
opacity: 0.5;
|
3641 |
+
cursor: default;
|
3642 |
+
color: #333 !important;
|
3643 |
+
background: #efefef !important;
|
3644 |
+
border-color: #efefef !important; }
|
3645 |
+
.alm-add-template a.active i {
|
3646 |
+
color: #393d41; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3647 |
|
3648 |
.spacer {
|
3649 |
height: 10px;
|
3688 |
.alm-cache .alm-cache-search-wrap input {
|
3689 |
width: 100% !important;
|
3690 |
margin: 0 !important;
|
3691 |
+
padding: 13px 20px;
|
3692 |
display: block;
|
3693 |
+
font-size: 15px;
|
3694 |
+
border-radius: 3px;
|
3695 |
+
background-color: #f7f7f7; }
|
3696 |
.alm-cache .alm-cache-search-wrap i {
|
3697 |
position: absolute;
|
3698 |
right: 15px;
|
3701 |
-ms-transform: translateY(-50%);
|
3702 |
transform: translateY(-50%);
|
3703 |
color: #ccc;
|
3704 |
+
font-size: 16px;
|
3705 |
z-index: 1; }
|
3706 |
.alm-cache .alm-cache-listing {
|
3707 |
position: relative; }
|
3800 |
width: 100%;
|
3801 |
background: none;
|
3802 |
padding: 0 10px 0 28px;
|
3803 |
+
margin: 0 0 10px; }
|
|
|
|
|
3804 |
.alm-cache .alm-dir-listing ul.cache-details li i {
|
3805 |
+
color: #999;
|
3806 |
font-size: 16px;
|
3807 |
position: absolute;
|
3808 |
top: 1px;
|
3831 |
float: right;
|
3832 |
font-size: 12px;
|
3833 |
font-weight: 600; }
|
|
|
|
|
|
|
3834 |
.alm-cache p.cache-stats {
|
3835 |
min-height: 38px;
|
3836 |
line-height: 37px;
|
3860 |
.alm-dir-listing ul {
|
3861 |
padding: 20px 0 0;
|
3862 |
margin: 10px 0 0;
|
3863 |
+
border-top: 1px solid #e1e1e1;
|
3864 |
+
display: -webkit-box;
|
3865 |
+
display: -ms-flexbox;
|
3866 |
+
display: flex;
|
3867 |
+
width: 100%;
|
3868 |
+
-ms-flex-wrap: wrap;
|
3869 |
+
flex-wrap: wrap; }
|
3870 |
|
3871 |
.alm-dir-listing ul li {
|
3872 |
+
margin: 0;
|
3873 |
+
padding: 10px 5px 5px 40px;
|
3874 |
+
display: block;
|
|
|
3875 |
overflow: hidden;
|
3876 |
+
width: 50%;
|
|
|
3877 |
background: transparent url("../../img/directory-list.gif") no-repeat left 46%; }
|
3878 |
.alm-dir-listing ul li.full {
|
3879 |
width: 100%;
|
3970 |
.shortcode-builder input[type='radio'] + label span,
|
3971 |
.ajax-load-more .form-table input[type='radio'] + label span {
|
3972 |
display: inline-block;
|
3973 |
+
color: #6a7178;
|
3974 |
+
line-height: 1.65; }
|
|
|
3975 |
|
3976 |
.shortcode-builder input[type='radio'] + label,
|
3977 |
.ajax-load-more .form-table input[type='radio'] + label {
|
3994 |
.shortcode-builder input[type='checkbox']:checked + label,
|
3995 |
.ajax-load-more .form-table input[type='checkbox']:checked + label {
|
3996 |
/* selected */
|
3997 |
+
background-image: url("../../img/bkg-chkbox_selected.png"); }
|
|
|
3998 |
|
3999 |
.shortcode-builder input[type='radio']:checked + label,
|
4000 |
.ajax-load-more .form-table input[type='radio']:checked + label {
|
4001 |
/* selected */
|
4002 |
+
background-image: url("../../img/bkg-radio_selected.png"); }
|
|
|
4003 |
|
4004 |
.shortcode-builder input[type='checkbox'] + label:hover,
|
4005 |
.ajax-load-more .form-table input[type='checkbox'] + label:hover,
|
4047 |
right: 7px;
|
4048 |
z-index: 8; }
|
4049 |
.alm-drop-btn.alm-repeater-options a.target {
|
4050 |
+
padding: 5px 9px;
|
4051 |
-webkit-box-shadow: none;
|
4052 |
box-shadow: none;
|
4053 |
border: none; }
|
4054 |
.alm-drop-btn.alm-repeater-options a.target > i {
|
4055 |
+
font-size: 24px;
|
4056 |
+
position: static;
|
4057 |
+
-webkit-transform: none;
|
4058 |
+
-ms-transform: none;
|
4059 |
+
transform: none; }
|
4060 |
|
4061 |
.alm-drop-btn a.target {
|
4062 |
position: relative;
|
4063 |
color: #444;
|
4064 |
text-decoration: none !important;
|
4065 |
+
padding: 10px 15px 10px 30px;
|
4066 |
+
border: 1px solid #e1e1e1;
|
4067 |
border-radius: 3px;
|
4068 |
+
line-height: 1;
|
|
|
|
|
4069 |
display: block;
|
4070 |
-webkit-box-shadow: 0 0 0 1px #fff;
|
4071 |
box-shadow: 0 0 0 1px #fff; }
|
4072 |
+
.alm-drop-btn a.target > i {
|
4073 |
+
color: #999;
|
4074 |
+
font-size: 15px;
|
4075 |
+
position: absolute;
|
4076 |
+
top: 50%;
|
4077 |
+
-webkit-transform: translateY(-50%);
|
4078 |
+
-ms-transform: translateY(-50%);
|
4079 |
+
transform: translateY(-50%);
|
4080 |
+
left: 10px; }
|
4081 |
|
4082 |
.alm-repeater-options a.target:hover i.fa-cog {
|
4083 |
+
color: #393d41; }
|
4084 |
|
4085 |
/* Active / Hover state */
|
4086 |
.alm-repeater-options a.target:active,
|
4088 |
.alm-repeater-options a.target:hover,
|
4089 |
.alm-repeater-options a.target:focus {
|
4090 |
background-color: transparent;
|
4091 |
+
color: #393d41;
|
4092 |
border-color: transparent;
|
4093 |
-webkit-box-shadow: none;
|
4094 |
box-shadow: none;
|
4096 |
|
4097 |
.alm-repeater-options.active a.target,
|
4098 |
.alm-repeater-options.active a.target i.fa-cog {
|
4099 |
+
color: #393d41; }
|
4100 |
|
4101 |
/* Layout Dropdown */
|
4102 |
.alm-drop-btn.alm-layout-selection {
|
|
|
4103 |
float: right;
|
4104 |
margin: 6px 0 0; }
|
4105 |
@media screen and (max-width: 480px) {
|
4108 |
.alm-drop-btn.alm-layout-selection a.target {
|
4109 |
background-color: #f7f7f7;
|
4110 |
border-color: #e1e1e1;
|
4111 |
+
color: #393d41;
|
4112 |
text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.2); }
|
4113 |
.alm-drop-btn.alm-layout-selection > a > i {
|
4114 |
left: 12px; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4115 |
|
4116 |
+
.alm-drop-btn.alm-layout-selection li.type {
|
4117 |
+
border: 1px solid #f1f1f1;
|
4118 |
+
border-bottom: none;
|
4119 |
+
height: 40px;
|
4120 |
+
line-height: 40px;
|
4121 |
+
padding: 0 4px 0 10px;
|
4122 |
+
position: relative; }
|
4123 |
+
.alm-drop-btn.alm-layout-selection li.type:first-of-type {
|
4124 |
+
border-top: 1px solid #f1f1f1;
|
4125 |
+
border-radius: 3px 3px 0 0; }
|
4126 |
+
.alm-drop-btn.alm-layout-selection li.type:last-of-type {
|
4127 |
+
border-radius: 0 0 3px 3px 0 0;
|
4128 |
+
border-bottom: 1px solid #f1f1f1; }
|
4129 |
+
.alm-drop-btn.alm-layout-selection li.type .col-select {
|
4130 |
+
float: right;
|
4131 |
+
text-align: right;
|
4132 |
+
width: auto;
|
4133 |
+
height: 39px;
|
4134 |
+
line-height: 39px;
|
4135 |
+
position: relative;
|
4136 |
+
top: 1px;
|
4137 |
+
display: -webkit-box;
|
4138 |
+
display: -ms-flexbox;
|
4139 |
+
display: flex;
|
4140 |
+
-webkit-box-align: center;
|
4141 |
+
-ms-flex-align: center;
|
4142 |
+
align-items: center; }
|
4143 |
+
.alm-drop-btn.alm-layout-selection li.type .col-select a {
|
4144 |
+
width: 32px;
|
4145 |
+
height: 32px;
|
4146 |
+
margin: 0;
|
4147 |
+
padding: 0;
|
4148 |
+
float: left;
|
4149 |
+
text-align: center;
|
4150 |
+
background-position: center center;
|
4151 |
+
background-repeat: no-repeat;
|
4152 |
+
vertical-align: top;
|
4153 |
+
text-indent: -99999px;
|
4154 |
+
overflow: hidden;
|
4155 |
+
opacity: 1;
|
4156 |
+
border-radius: 3px;
|
4157 |
+
border: 1px solid transparent; }
|
4158 |
+
.alm-drop-btn.alm-layout-selection li.type .col-select a.column-1 {
|
4159 |
+
background-image: url("../../img/column-1.png"); }
|
4160 |
+
.alm-drop-btn.alm-layout-selection li.type .col-select a.column-2 {
|
4161 |
+
background-image: url("../../img/column-2.png"); }
|
4162 |
+
.alm-drop-btn.alm-layout-selection li.type .col-select a.column-3 {
|
4163 |
+
background-image: url("../../img/column-3.png");
|
4164 |
+
width: 36px; }
|
4165 |
+
.alm-drop-btn.alm-layout-selection li.type .col-select a.column-4 {
|
4166 |
+
background-image: url("../../img/column-4.png");
|
4167 |
+
width: 36px; }
|
4168 |
+
.alm-drop-btn.alm-layout-selection li.type .col-select a.column-1.updating,
|
4169 |
+
.alm-drop-btn.alm-layout-selection li.type .col-select a.column-2.updating,
|
4170 |
+
.alm-drop-btn.alm-layout-selection li.type .col-select a.column-3.updating {
|
4171 |
+
background-image: url("../../img/loader.gif");
|
4172 |
+
padding: 0 !important; }
|
4173 |
+
.alm-drop-btn.alm-layout-selection li.type .col-select a:hover,
|
4174 |
+
.alm-drop-btn.alm-layout-selection li.type .col-select a.updating {
|
4175 |
+
opacity: 1;
|
4176 |
+
background-color: #ffffe8;
|
4177 |
+
border-color: #e1e1e1; }
|
4178 |
|
4179 |
/* External Link + Add-on */
|
4180 |
.alm-drop-btn.alm-layout-selection a.external,
|
4181 |
.alm-drop-btn.alm-layout-selection a.add-on {
|
4182 |
background-color: #f7f7f7;
|
4183 |
+
padding: 12px 12px 12px 34px;
|
4184 |
display: block; }
|
4185 |
|
4186 |
.alm-drop-btn.alm-layout-selection a.external {
|
4187 |
+
padding: 0 12px 0 34px;
|
4188 |
font-weight: 600;
|
4189 |
+
border: 1px solid #f1f1f1;
|
4190 |
+
border-radius: 0 0 3px 3px; }
|
4191 |
+
.alm-drop-btn.alm-layout-selection a.external i {
|
4192 |
+
color: #999;
|
4193 |
+
border-color: #ccc;
|
4194 |
+
top: 53%;
|
4195 |
+
-webkit-transform: translateY(-50%);
|
4196 |
+
-ms-transform: translateY(-50%);
|
4197 |
+
transform: translateY(-50%);
|
4198 |
+
width: 32px; }
|
|
|
|
|
|
|
|
|
4199 |
|
4200 |
.alm-drop-btn.alm-layout-selection a.add-on {
|
4201 |
line-height: 1.5;
|
4232 |
.alm-drop-btn.alm-layout-selection a.target:hover,
|
4233 |
.alm-drop-btn.alm-layout-selection a.target:active,
|
4234 |
.alm-drop-btn.alm-layout-selection.active a.target {
|
4235 |
+
color: #393d41;
|
4236 |
+
border-color: #ccc;
|
4237 |
+
background-color: #f7f7f7;
|
4238 |
opacity: 1; }
|
4239 |
|
4240 |
.alm-drop-btn.alm-layout-selection.active a.target,
|
4241 |
.alm-drop-btn.alm-layout-selection a.target:active {
|
4242 |
+
-webkit-box-shadow: inset 0 2px 2px rgba(0, 0, 0, 0.065) !important;
|
4243 |
+
box-shadow: inset 0 2px 2px rgba(0, 0, 0, 0.065) !important; }
|
4244 |
|
4245 |
.alm-drop-btn.alm-layout-selection .alm-dropdown {
|
4246 |
display: none;
|
4268 |
left: 35px; } }
|
4269 |
|
4270 |
.add-layout-cta {
|
4271 |
+
border-radius: 3px;
|
4272 |
border: 1px solid #e1e1e1;
|
4273 |
background-color: #fefeed;
|
4274 |
padding: 10px 100px 10px 10px;
|
4276 |
margin: 5px 0 15px;
|
4277 |
font-weight: 600;
|
4278 |
position: relative; }
|
4279 |
+
.add-layout-cta p {
|
4280 |
+
margin: 0; }
|
|
|
|
|
4281 |
|
4282 |
span.dismiss {
|
4283 |
position: absolute;
|
4307 |
border: 1px solid #ccc;
|
4308 |
-webkit-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
|
4309 |
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
|
4310 |
+
padding: 10px;
|
4311 |
+
width: 240px; }
|
4312 |
.alm-dropdown .alm-drop-inner:after,
|
4313 |
.alm-dropdown .alm-drop-inner:before {
|
4314 |
bottom: 100%;
|
4333 |
display: block !important; }
|
4334 |
|
4335 |
.alm-layout-selection .alm-dropdown .alm-drop-inner {
|
4336 |
+
width: 300px;
|
4337 |
+
padding: 10px; }
|
4338 |
|
4339 |
.alm-dropdown ul {
|
4340 |
padding: 0;
|
4343 |
|
4344 |
.alm-dropdown li {
|
4345 |
margin: 0;
|
4346 |
+
padding: 0;
|
4347 |
list-style: none;
|
4348 |
clear: both;
|
|
|
4349 |
line-height: 1.2;
|
4350 |
font-weight: 400; }
|
4351 |
.alm-dropdown li.option {
|
4352 |
+
border: 1px solid #f1f1f1;
|
4353 |
+
border-top: none;
|
4354 |
+
overflow: hidden; }
|
4355 |
+
.alm-dropdown li.option:first-of-type {
|
4356 |
+
border-top: 1px solid #f1f1f1;
|
4357 |
+
border-radius: 3px 3px 0 0; }
|
4358 |
+
.alm-dropdown li.option:last-of-type {
|
4359 |
+
border-radius: 0 0 3px 3px 0 0; }
|
4360 |
.alm-dropdown li.option:nth-child(even) {
|
4361 |
background-color: #f7f7f7; }
|
4362 |
.alm-dropdown li a:not(.button) {
|
4363 |
+
padding: 0 10px 0 35px;
|
4364 |
line-height: 40px;
|
4365 |
height: 40px;
|
4366 |
display: block;
|
4367 |
text-decoration: none;
|
4368 |
background-position: 4px center;
|
4369 |
+
color: #393d41;
|
4370 |
-webkit-box-shadow: none !important;
|
4371 |
box-shadow: none !important;
|
4372 |
position: relative;
|
4373 |
width: 100%;
|
4374 |
white-space: nowrap;
|
4375 |
overflow: hidden;
|
4376 |
+
text-overflow: ellipsis; }
|
|
|
4377 |
.alm-dropdown li a:not(.button):hover, .alm-dropdown li a:not(.button):focus {
|
4378 |
+
color: #3784c2; }
|
4379 |
.alm-dropdown li a:not(.button):hover i, .alm-dropdown li a:not(.button):focus i {
|
4380 |
+
opacity: 0.65; }
|
4381 |
.alm-dropdown li a:not(.button) i {
|
4382 |
margin: 0;
|
4383 |
position: absolute;
|
4384 |
+
left: 2px;
|
4385 |
top: 50%;
|
4386 |
-webkit-transform: translateY(-50%);
|
4387 |
-ms-transform: translateY(-50%);
|
4391 |
line-height: 1;
|
4392 |
display: inline-block;
|
4393 |
text-align: center;
|
4394 |
+
opacity: 0.5;
|
4395 |
+
color: #393d41 !important; }
|
4396 |
+
.alm-dropdown li a.layout {
|
4397 |
+
border: 1px solid #f1f1f1; }
|
4398 |
.alm-dropdown li.layout-cta {
|
4399 |
+
border: 1px solid #f1f1f1;
|
4400 |
+
padding: 15px;
|
4401 |
border-radius: 3px;
|
4402 |
+
margin-top: 5px;
|
4403 |
+
background-color: #ffffe8;
|
4404 |
text-align: center; }
|
4405 |
.alm-dropdown li.layout-cta span {
|
4406 |
display: block;
|
4407 |
+
padding: 0 0 15px;
|
4408 |
+
line-height: 1.75;
|
4409 |
+
font-size: 13px; }
|
4410 |
|
4411 |
/*
|
4412 |
* Mailchimp Sign-up
|
4482 |
|
4483 |
#alm-mailing-list .form-wrap i.fa-envelope {
|
4484 |
color: #fff;
|
4485 |
+
background: #e84648;
|
4486 |
position: absolute;
|
4487 |
top: 0;
|
4488 |
left: 0;
|
4509 |
border-radius: 0;
|
4510 |
width: 40px;
|
4511 |
height: 40px;
|
4512 |
+
color: #e84648;
|
4513 |
background: none !important;
|
4514 |
cursor: pointer; }
|
4515 |
|
4625 |
width: 100%;
|
4626 |
height: auto;
|
4627 |
border-radius: 0 0 3px 3px;
|
4628 |
+
background-color: #e84648;
|
4629 |
background-color: #9d87c7; }
|
4630 |
.alm-notification ul.share li {
|
4631 |
-webkit-box-flex: 1;
|
4762 |
z-index: 9; }
|
4763 |
.ajax-load-more .alm-toggle-switch li {
|
4764 |
float: left;
|
4765 |
+
margin: 0 4px 0 0;
|
4766 |
padding: 0;
|
4767 |
background: none;
|
4768 |
+
list-style: none;
|
4769 |
+
font-size: 14px; }
|
4770 |
.ajax-load-more .alm-toggle-switch li a {
|
4771 |
display: block;
|
4772 |
padding: 15px 20px;
|
4775 |
border: 1px solid #e1e1e1;
|
4776 |
border-radius: 3px 3px 0 0;
|
4777 |
background: #f7f7f7;
|
4778 |
+
color: #393d41; }
|
4779 |
.ajax-load-more .alm-toggle-switch li a:hover {
|
4780 |
color: #222;
|
4781 |
background-color: #fff; }
|
4782 |
.ajax-load-more .alm-toggle-switch li a.active {
|
4783 |
background: #fff;
|
4784 |
+
font-weight: 600;
|
4785 |
border-bottom-color: #fff;
|
4786 |
color: #111; }
|
4787 |
|
admin/dist/js/admin.js
CHANGED
@@ -1370,6 +1370,10 @@ jQuery(document).ready(function ($) {
|
|
1370 |
// trigger a click.
|
1371 |
nodeItem.click();
|
1372 |
}
|
|
|
|
|
|
|
|
|
1373 |
}
|
1374 |
}
|
1375 |
|
@@ -1572,6 +1576,10 @@ jQuery(document).ready(function ($) {
|
|
1572 |
}
|
1573 |
});
|
1574 |
|
|
|
|
|
|
|
|
|
1575 |
// Copy link on repeater templates
|
1576 |
$('.alm-dropdown .copy a').click(function () {
|
1577 |
var container = $(this).closest('.repeater-wrap'),
|
1370 |
// trigger a click.
|
1371 |
nodeItem.click();
|
1372 |
}
|
1373 |
+
} else {
|
1374 |
+
if (tabbedNav) {
|
1375 |
+
tabbedNav[0].classList.add(ACTIVE_TAB_CLASS);
|
1376 |
+
}
|
1377 |
}
|
1378 |
}
|
1379 |
|
1576 |
}
|
1577 |
});
|
1578 |
|
1579 |
+
_alm.copyToClipboard = function (text) {
|
1580 |
+
window.prompt('Copy link to your clipboard: Press Ctrl + C then hit Enter to copy.', text);
|
1581 |
+
};
|
1582 |
+
|
1583 |
// Copy link on repeater templates
|
1584 |
$('.alm-dropdown .copy a').click(function () {
|
1585 |
var container = $(this).closest('.repeater-wrap'),
|
admin/img/bkg-chkbox_off.png
CHANGED
Binary file
|
admin/img/bkg-chkbox_on.png
CHANGED
Binary file
|
admin/img/bkg-chkbox_selected.png
CHANGED
Binary file
|
admin/img/bkg-radio_on.png
CHANGED
Binary file
|
admin/img/bkg-radio_selected.png
CHANGED
Binary file
|
admin/img/icon-search.png
ADDED
Binary file
|
admin/includes/components/repeater-options.php
CHANGED
@@ -6,15 +6,15 @@
|
|
6 |
</a>
|
7 |
<div class="alm-dropdown">
|
8 |
<div class="alm-drop-inner">
|
9 |
-
<ul>
|
10 |
-
<?php if($repeater_options['type'] !== 'theme-repeater'){ ?>
|
11 |
<li class="option option-update">
|
12 |
<a href="javascript:void(0);" title="<?php _e('Update Template from Database', 'ajax-load-more'); ?>"><i class="fa fa-pencil"></i> <?php _e('Update from Database', 'ajax-load-more'); ?></a>
|
13 |
-
</li>
|
14 |
<?php } ?>
|
15 |
-
|
16 |
-
<?php
|
17 |
-
if(isset($repeater_options['path'])){
|
18 |
$path = str_replace('/', '_', $repeater_options['path']);
|
19 |
?>
|
20 |
<li class="option download">
|
@@ -25,12 +25,12 @@
|
|
25 |
</a>
|
26 |
</form>
|
27 |
</li>
|
28 |
-
<?php } ?>
|
29 |
<li class="option copy">
|
30 |
<a href="javascript:void(0);" title="<?php _e('Copy Template Data', 'ajax-load-more'); ?>"><i class="fa fa-file"></i> <?php _e('Copy Template Data', 'ajax-load-more'); ?></a>
|
31 |
</li>
|
32 |
-
|
33 |
-
</ul>
|
34 |
</div>
|
35 |
</div>
|
36 |
</div>
|
6 |
</a>
|
7 |
<div class="alm-dropdown">
|
8 |
<div class="alm-drop-inner">
|
9 |
+
<ul>
|
10 |
+
<?php if( $repeater_options['type'] !== 'theme-repeater' ) { ?>
|
11 |
<li class="option option-update">
|
12 |
<a href="javascript:void(0);" title="<?php _e('Update Template from Database', 'ajax-load-more'); ?>"><i class="fa fa-pencil"></i> <?php _e('Update from Database', 'ajax-load-more'); ?></a>
|
13 |
+
</li>
|
14 |
<?php } ?>
|
15 |
+
|
16 |
+
<?php
|
17 |
+
if(isset($repeater_options['path'])){
|
18 |
$path = str_replace('/', '_', $repeater_options['path']);
|
19 |
?>
|
20 |
<li class="option download">
|
25 |
</a>
|
26 |
</form>
|
27 |
</li>
|
28 |
+
<?php } ?>
|
29 |
<li class="option copy">
|
30 |
<a href="javascript:void(0);" title="<?php _e('Copy Template Data', 'ajax-load-more'); ?>"><i class="fa fa-file"></i> <?php _e('Copy Template Data', 'ajax-load-more'); ?></a>
|
31 |
</li>
|
32 |
+
|
33 |
+
</ul>
|
34 |
</div>
|
35 |
</div>
|
36 |
</div>
|
admin/includes/cta/about.php
CHANGED
File without changes
|
admin/includes/cta/add-ons.php
CHANGED
File without changes
|
admin/includes/cta/dyk.php
CHANGED
File without changes
|
admin/includes/cta/resources.php
CHANGED
File without changes
|
admin/includes/cta/test.php
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
<?php
|
2 |
// Only render REST API test if REST API is active
|
3 |
|
4 |
$options = get_option( 'alm_settings' ); // Get ALM Options
|
@@ -10,15 +10,15 @@ if(isset($options['_alm_use_rest_api']) && $options['_alm_use_rest_api'] !== '1'
|
|
10 |
<div class="cta-inner">
|
11 |
<div class="item">
|
12 |
<p class="writeable-title">
|
13 |
-
<i class="fa fa-exclamation"></i>
|
14 |
<strong><?php _e('REST API Blocked', 'ajax-load-more'); ?></strong><br/>
|
15 |
<?php echo __('Unable to access the WordPress REST API. Are you running a security plugin or have your server configured in a way that may be preventing access to the REST API?', 'ajax-load-more'); ?>
|
16 |
</p>
|
17 |
<p class="writeable-title">
|
18 |
<a href="https://connekthq.com/plugins/ajax-load-more/support" target="_blank" class="button button-primary"><?php _e('Get Plugin Support', 'ajax-load-more'); ?></a>
|
19 |
</p>
|
20 |
-
</div>
|
21 |
</div>
|
22 |
</div>
|
23 |
<?php } ?>
|
24 |
-
<?php } ?>
|
1 |
+
<?php
|
2 |
// Only render REST API test if REST API is active
|
3 |
|
4 |
$options = get_option( 'alm_settings' ); // Get ALM Options
|
10 |
<div class="cta-inner">
|
11 |
<div class="item">
|
12 |
<p class="writeable-title">
|
13 |
+
<i class="fa fa-exclamation"></i>
|
14 |
<strong><?php _e('REST API Blocked', 'ajax-load-more'); ?></strong><br/>
|
15 |
<?php echo __('Unable to access the WordPress REST API. Are you running a security plugin or have your server configured in a way that may be preventing access to the REST API?', 'ajax-load-more'); ?>
|
16 |
</p>
|
17 |
<p class="writeable-title">
|
18 |
<a href="https://connekthq.com/plugins/ajax-load-more/support" target="_blank" class="button button-primary"><?php _e('Get Plugin Support', 'ajax-load-more'); ?></a>
|
19 |
</p>
|
20 |
+
</div>
|
21 |
</div>
|
22 |
</div>
|
23 |
<?php } ?>
|
24 |
+
<?php } ?>
|
admin/includes/cta/writeable.php
CHANGED
@@ -1,25 +1,31 @@
|
|
|
|
|
|
|
|
1 |
<div class="cta">
|
2 |
<h3><?php _e('Read/Write Access', 'ajax-load-more'); ?></h3>
|
3 |
<div class="cta-inner">
|
4 |
-
<div class="item">
|
5 |
<?php
|
6 |
-
//Test server for write capabilities
|
7 |
-
$path = AjaxLoadMore::alm_get_repeater_path();
|
8 |
-
$alm_file = $path .'/default.php'; // Default ALM repeater
|
9 |
-
|
10 |
-
if(file_exists($alm_file)){
|
11 |
-
if (is_writable($alm_file)){
|
12 |
-
|
|
|
13 |
} else {
|
14 |
-
|
|
|
15 |
}
|
16 |
}else{
|
17 |
-
|
18 |
-
|
|
|
19 |
?>
|
20 |
-
|
21 |
<div class="alm-file-location">
|
22 |
-
<input type="text" value="<?php echo $path; ?>" readonly="readonly">
|
23 |
</div>
|
|
|
24 |
</div>
|
25 |
-
</div>
|
1 |
+
<?php
|
2 |
+
// @codingStandardsIgnoreStart
|
3 |
+
?>
|
4 |
<div class="cta">
|
5 |
<h3><?php _e('Read/Write Access', 'ajax-load-more'); ?></h3>
|
6 |
<div class="cta-inner">
|
|
|
7 |
<?php
|
8 |
+
//Test server for write capabilities
|
9 |
+
$path = AjaxLoadMore::alm_get_repeater_path();
|
10 |
+
$alm_file = $path . '/default.php'; // Default ALM repeater
|
11 |
+
|
12 |
+
if ( file_exists( $alm_file ) ) {
|
13 |
+
if ( is_writable( $alm_file ) ) {
|
14 |
+
echo '<div class="alm-status success"><span><i class="fa fa-check"></i>' . esc_html__( 'Enabled', 'ajax-load-more' ) . '</span></div>';
|
15 |
+
echo '<p>' . esc_html__( 'Read/Write access is enabled within the Repeater Template directory.', 'ajax-load-more') . '</p>';
|
16 |
} else {
|
17 |
+
echo '<div class="alm-status failed"><span><i class="fa fa-exclamation"></i>' . esc_html__( 'Access Denied', 'ajax-load-more' ) . '</span></div>';
|
18 |
+
echo '<p>'. esc_html__( 'You must enable read and write access to save repeater template data. Please contact your hosting provider or site administrator for more information.', 'ajax-load-more' ) .'</p>';
|
19 |
}
|
20 |
}else{
|
21 |
+
echo '<div class="alm-status failed"><span><i class="fa fa-exclamation"></i>' . esc_html__( 'Error', 'ajax-load-more' ) . '</span></div>';
|
22 |
+
echo '<p>'. esc_html__( 'Unable to locate configuration file. Directory access may not be granted.', 'ajax-load-more' ) .'</p>';
|
23 |
+
}
|
24 |
?>
|
25 |
+
|
26 |
<div class="alm-file-location">
|
27 |
+
<input type="text" value="<?php echo esc_html__($path); ?>" readonly="readonly">
|
28 |
</div>
|
29 |
+
|
30 |
</div>
|
31 |
+
</div>
|
admin/shortcode-builder/components/seo.php
CHANGED
File without changes
|
admin/shortcode-builder/includes/meta-query-options.php
CHANGED
File without changes
|
admin/shortcode-builder/js/shortcode-builder.js
CHANGED
File without changes
|
admin/shortcode-builder/shortcode-builder.php
CHANGED
File without changes
|
admin/src/js/admin.js
CHANGED
@@ -96,6 +96,10 @@ jQuery(document).ready(function ($) {
|
|
96 |
// trigger a click.
|
97 |
nodeItem.click();
|
98 |
}
|
|
|
|
|
|
|
|
|
99 |
}
|
100 |
}
|
101 |
|
@@ -304,6 +308,10 @@ jQuery(document).ready(function ($) {
|
|
304 |
}
|
305 |
});
|
306 |
|
|
|
|
|
|
|
|
|
307 |
// Copy link on repeater templates
|
308 |
$('.alm-dropdown .copy a').click(function () {
|
309 |
var container = $(this).closest('.repeater-wrap'), // find closet wrap
|
96 |
// trigger a click.
|
97 |
nodeItem.click();
|
98 |
}
|
99 |
+
} else {
|
100 |
+
if (tabbedNav) {
|
101 |
+
tabbedNav[0].classList.add(ACTIVE_TAB_CLASS);
|
102 |
+
}
|
103 |
}
|
104 |
}
|
105 |
|
308 |
}
|
309 |
});
|
310 |
|
311 |
+
_alm.copyToClipboard = function (text) {
|
312 |
+
window.prompt('Copy link to your clipboard: Press Ctrl + C then hit Enter to copy.', text);
|
313 |
+
};
|
314 |
+
|
315 |
// Copy link on repeater templates
|
316 |
$('.alm-dropdown .copy a').click(function () {
|
317 |
var container = $(this).closest('.repeater-wrap'), // find closet wrap
|
admin/src/scss/_variables.scss
CHANGED
@@ -1,18 +1,24 @@
|
|
1 |
$gutter: 25px;
|
2 |
$padding: 20px;
|
3 |
$padding_sm: 15px;
|
4 |
-
$grey: #555;
|
5 |
$green: #8ed074;
|
6 |
$green_hover: #57bda4;
|
|
|
|
|
7 |
$yellow: #ffffe8;
|
8 |
$yellow_dark: #e4e4c8;
|
9 |
-
$red: #
|
|
|
|
|
|
|
|
|
10 |
$light_grey: #f7f7f7;
|
11 |
$lighter_grey: #fcfcfc;
|
12 |
$light_border: #f1f1f1;
|
13 |
$grey_blue: #f8f9fb;
|
14 |
$border: #e1e1e1;
|
15 |
$border_hover: #ccc;
|
|
|
16 |
$radius: 3px;
|
17 |
$small: 480px;
|
18 |
$desktop: 620px;
|
1 |
$gutter: 25px;
|
2 |
$padding: 20px;
|
3 |
$padding_sm: 15px;
|
|
|
4 |
$green: #8ed074;
|
5 |
$green_hover: #57bda4;
|
6 |
+
$blue: #3784c2;
|
7 |
+
$blue_hover: #58a1de;
|
8 |
$yellow: #ffffe8;
|
9 |
$yellow_dark: #e4e4c8;
|
10 |
+
$red: #e84648;
|
11 |
+
$red_alert: #c71316;
|
12 |
+
$grey: #393d41;
|
13 |
+
$paragraph: #6a7178;
|
14 |
+
$grey_text: #999;
|
15 |
$light_grey: #f7f7f7;
|
16 |
$lighter_grey: #fcfcfc;
|
17 |
$light_border: #f1f1f1;
|
18 |
$grey_blue: #f8f9fb;
|
19 |
$border: #e1e1e1;
|
20 |
$border_hover: #ccc;
|
21 |
+
$shadow: 0 0 4px 1px rgba($blue, 0.15);
|
22 |
$radius: 3px;
|
23 |
$small: 480px;
|
24 |
$desktop: 620px;
|
admin/src/scss/admin.scss
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
@import '//netdna.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css';
|
|
|
2 |
@import 'libs/tooltipster';
|
3 |
@import 'libs/select2';
|
4 |
@import 'variables';
|
@@ -104,7 +105,7 @@ body.ajax-load-more_page_ajax-load-more-woocommerce {
|
|
104 |
&:active,
|
105 |
&:focus {
|
106 |
color: #222;
|
107 |
-
border-color:
|
108 |
background-color: #f1f1f1;
|
109 |
box-shadow: none;
|
110 |
}
|
@@ -128,10 +129,19 @@ body.ajax-load-more_page_ajax-load-more-woocommerce {
|
|
128 |
left: -9999px;
|
129 |
}
|
130 |
.ajax-load-more {
|
131 |
-
font-size: 14px;
|
132 |
-
color: #666;
|
|
|
133 |
position: relative;
|
134 |
max-width: 100%;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
135 |
}
|
136 |
#alm-help.ajax-load-more {
|
137 |
max-width: 1600px;
|
@@ -185,24 +195,24 @@ body.ajax-load-more_page_ajax-load-more-woocommerce {
|
|
185 |
border-right: 1px solid $border;
|
186 |
}
|
187 |
code {
|
188 |
-
color:
|
189 |
background: transparent;
|
190 |
cursor: help;
|
191 |
}
|
192 |
}
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
}
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
}
|
207 |
|
208 |
.ajax-load-more p,
|
@@ -210,7 +220,7 @@ body.ajax-load-more_page_ajax-load-more-woocommerce {
|
|
210 |
.ajax-load-more input,
|
211 |
.ajax-load-more textarea,
|
212 |
.ajax-load-more label {
|
213 |
-
font-size: 14px;
|
214 |
&.lg {
|
215 |
font-size: 16px;
|
216 |
}
|
@@ -259,7 +269,7 @@ body.ajax-load-more_page_ajax-load-more-woocommerce {
|
|
259 |
.ajax-load-more h1,
|
260 |
.ajax-load-more h3,
|
261 |
.ajax-load-more h4 {
|
262 |
-
color:
|
263 |
margin-top: 0;
|
264 |
}
|
265 |
.ajax-load-more h4 + p {
|
@@ -342,12 +352,12 @@ body.ajax-load-more_page_ajax-load-more-woocommerce {
|
|
342 |
font-size: 11px;
|
343 |
text-transform: uppercase;
|
344 |
border-radius: 3px;
|
345 |
-
padding: 0 12px
|
346 |
-
height:
|
347 |
-
line-height:
|
348 |
background: #fff;
|
349 |
border: 1px solid $border;
|
350 |
-
color:
|
351 |
cursor: pointer;
|
352 |
z-index: 20;
|
353 |
margin-bottom: 10px;
|
@@ -355,40 +365,44 @@ body.ajax-load-more_page_ajax-load-more-woocommerce {
|
|
355 |
@media screen and (min-width: 768px) {
|
356 |
position: absolute;
|
357 |
}
|
358 |
-
|
359 |
-
|
360 |
-
|
361 |
-
|
362 |
-
|
363 |
-
|
364 |
-
|
365 |
-
|
366 |
-
|
367 |
-
|
368 |
-
|
369 |
-
|
370 |
-
|
371 |
-
|
372 |
-
|
373 |
-
|
374 |
-
|
375 |
-
|
376 |
-
|
377 |
-
|
378 |
-
|
379 |
-
|
380 |
-
|
381 |
-
|
382 |
-
|
383 |
-
|
384 |
-
|
385 |
-
|
386 |
-
|
387 |
-
|
388 |
-
|
389 |
-
|
390 |
-
|
391 |
-
|
|
|
|
|
|
|
|
|
392 |
}
|
393 |
}
|
394 |
#alm-container.ajax-load-more .toggle-all {
|
@@ -398,19 +412,24 @@ body.ajax-load-more_page_ajax-load-more-woocommerce {
|
|
398 |
a.button-small {
|
399 |
text-decoration: none;
|
400 |
font-size: 12px;
|
401 |
-
padding:
|
402 |
display: inline-block;
|
403 |
background-color: #eaf6fb;
|
404 |
border: 1px solid #b9d2de;
|
405 |
-
color:
|
406 |
line-height: 1.1;
|
407 |
-
border-radius:
|
408 |
-
&:hover
|
|
|
|
|
|
|
|
|
|
|
409 |
&:focus {
|
410 |
-
color: #
|
411 |
-
background-color:
|
412 |
text-decoration: none;
|
413 |
-
border-color:
|
414 |
}
|
415 |
}
|
416 |
|
@@ -487,7 +506,7 @@ a.button-small {
|
|
487 |
}
|
488 |
.alm-settings-nav a:hover {
|
489 |
color: #fff;
|
490 |
-
background-color:
|
491 |
}
|
492 |
.alm-settings-nav li:first-of-type a {
|
493 |
border: none;
|
@@ -515,6 +534,9 @@ a.button-small {
|
|
515 |
background-color: transparent;
|
516 |
padding: 0;
|
517 |
margin: 0;
|
|
|
|
|
|
|
518 |
}
|
519 |
.section-control {
|
520 |
padding-top: 15px;
|
@@ -540,22 +562,22 @@ a.button-small {
|
|
540 |
.meta-query-wrap .remove-meta-query,
|
541 |
.taxonomy-wrap .remove-tax-query {
|
542 |
position: absolute;
|
543 |
-
right:
|
544 |
-
top:
|
545 |
-
width:
|
546 |
-
height:
|
547 |
-
line-height:
|
548 |
text-align: center;
|
549 |
font-weight: 500;
|
550 |
font-size: 18px;
|
551 |
-
background-color: $
|
552 |
-
color:
|
553 |
text-decoration: none;
|
554 |
-
border-radius:
|
555 |
padding-left: 1px;
|
556 |
&:hover,
|
557 |
&:hover {
|
558 |
-
background-color: $
|
559 |
color: #fff;
|
560 |
}
|
561 |
}
|
@@ -576,7 +598,7 @@ a.button-small {
|
|
576 |
}
|
577 |
}
|
578 |
#meta-query-relation {
|
579 |
-
margin:
|
580 |
}
|
581 |
|
582 |
.ajax-load-more .meta-query-wrap .border-top:first-of-type {
|
@@ -721,6 +743,8 @@ a.button-small {
|
|
721 |
}
|
722 |
.ajax-load-more textarea,
|
723 |
.ajax-load-more input[type='text'],
|
|
|
|
|
724 |
.ajax-load-more input[type='number'] {
|
725 |
padding: 10px 12px;
|
726 |
line-height: 1.3;
|
@@ -730,7 +754,6 @@ a.button-small {
|
|
730 |
.ajax-load-more input[type='text'].full {
|
731 |
width: 100%;
|
732 |
}
|
733 |
-
|
734 |
.ajax-load-more .wrap-30 {
|
735 |
width: 32.333%;
|
736 |
padding-right: 3%;
|
@@ -748,30 +771,25 @@ a.button-small {
|
|
748 |
width: 100%;
|
749 |
margin: 0;
|
750 |
}
|
751 |
-
|
752 |
.ajax-load-more input[type='number'].sm {
|
753 |
width: 100px;
|
754 |
}
|
755 |
-
|
756 |
.ajax-load-more ::-webkit-input-placeholder {
|
757 |
-
color:
|
758 |
font-style: italic;
|
759 |
}
|
760 |
-
|
761 |
.ajax-load-more :-moz-placeholder {
|
762 |
/* Firefox 18- */
|
763 |
-
color:
|
764 |
font-style: italic;
|
765 |
}
|
766 |
-
|
767 |
.ajax-load-more ::-moz-placeholder {
|
768 |
/* Firefox 19+ */
|
769 |
-
color:
|
770 |
font-style: italic;
|
771 |
}
|
772 |
-
|
773 |
.ajax-load-more :-ms-input-placeholder {
|
774 |
-
color:
|
775 |
font-style: italic;
|
776 |
}
|
777 |
|
@@ -779,7 +797,7 @@ a.button-small {
|
|
779 |
.ajax-load-more input[type='number'],
|
780 |
.ajax-load-more input[type='email'],
|
781 |
.ajax-load-more textarea {
|
782 |
-
background: $light_grey;
|
783 |
}
|
784 |
.ajax-load-more .repeaters input[type='text'] {
|
785 |
padding: 9px 10px;
|
@@ -787,7 +805,6 @@ a.button-small {
|
|
787 |
.ajax-load-more input[type='number'] {
|
788 |
height: auto;
|
789 |
}
|
790 |
-
|
791 |
.admin.ajax-load-more .form-table textarea {
|
792 |
clear: both;
|
793 |
display: inline-block;
|
@@ -799,17 +816,17 @@ a.button-small {
|
|
799 |
opacity: 0.5;
|
800 |
filter: alpha(opacity=50);
|
801 |
cursor: not-allowed;
|
802 |
-
background: $light_grey !important;
|
803 |
border-color: #ccc !important;
|
804 |
box-shadow: none !important;
|
|
|
805 |
}
|
806 |
.ajax-load-more input[type='text']:focus,
|
807 |
.ajax-load-more input[type='number']:focus,
|
808 |
.ajax-load-more input[type='email']:focus,
|
809 |
.ajax-load-more textarea:focus {
|
810 |
-
border-color:
|
811 |
-
box-shadow:
|
812 |
-
background: $light_grey;
|
813 |
}
|
814 |
|
815 |
.checkboxes label {
|
@@ -877,7 +894,7 @@ a.button-small {
|
|
877 |
|
878 |
.ajax-load-more .row {
|
879 |
padding: 0 !important;
|
880 |
-
margin: $padding 0 0;
|
881 |
height: auto;
|
882 |
width: 100%;
|
883 |
display: block;
|
@@ -1004,7 +1021,7 @@ hr.indented {
|
|
1004 |
.wrap p.descriptor {
|
1005 |
font-size: 13px;
|
1006 |
line-height: 20px;
|
1007 |
-
color:
|
1008 |
}
|
1009 |
}
|
1010 |
.ajax-load-more .wrap p.descriptor {
|
@@ -1102,7 +1119,7 @@ hr.indented {
|
|
1102 |
**************************************/
|
1103 |
.ajax-load-more .output-wrap {
|
1104 |
margin: 20px 0 0;
|
1105 |
-
background:
|
1106 |
width: 100%;
|
1107 |
display: block;
|
1108 |
border-radius: 3px;
|
@@ -1207,7 +1224,7 @@ hr.indented {
|
|
1207 |
.form-table label span,
|
1208 |
#alm-shortcode-builder-form label span.description {
|
1209 |
font-size: 13px;
|
1210 |
-
color:
|
1211 |
padding-top: 10px;
|
1212 |
}
|
1213 |
#alm-shortcode-builder-form label span.description {
|
@@ -1236,6 +1253,7 @@ hr.indented {
|
|
1236 |
|
1237 |
.admin.ajax-load-more.settings input[type='text'],
|
1238 |
.admin.ajax-load-more.settings input[type='number'],
|
|
|
1239 |
.admin.ajax-load-more.settings .select2-container {
|
1240 |
margin-top: 10px;
|
1241 |
}
|
@@ -1247,7 +1265,6 @@ hr.indented {
|
|
1247 |
border: 1px solid $border;
|
1248 |
box-shadow: inset 0 0 0 5px rgba(0, 0, 0, 0.025), 0 0 5px rgba(0, 0, 0, 0.1);
|
1249 |
border-radius: $radius;
|
1250 |
-
//display: inline-block;
|
1251 |
margin-top: 10px;
|
1252 |
margin-bottom: 10px;
|
1253 |
&.preview-pane.none {
|
@@ -1283,19 +1300,23 @@ hr.indented {
|
|
1283 |
a {
|
1284 |
text-decoration: none;
|
1285 |
}
|
|
|
|
|
|
|
|
|
|
|
1286 |
}
|
1287 |
|
1288 |
/* Table Overrides */
|
1289 |
.form-table td,
|
1290 |
.form-table th {
|
1291 |
-
padding:
|
1292 |
line-height: 1.5;
|
1293 |
-
|
1294 |
-
|
1295 |
-
|
1296 |
}
|
1297 |
.form-table th {
|
1298 |
-
padding-left: 20px;
|
1299 |
font-weight: 600;
|
1300 |
background-color: $light_grey;
|
1301 |
border-right: 1px solid $border;
|
@@ -1309,7 +1330,7 @@ hr.indented {
|
|
1309 |
padding: 10px 0 0;
|
1310 |
margin: 5px 0 20px;
|
1311 |
overflow: hidden;
|
1312 |
-
color:
|
1313 |
}
|
1314 |
}
|
1315 |
|
@@ -1324,7 +1345,7 @@ hr.indented {
|
|
1324 |
.ajax-load-more p.addon-intro {
|
1325 |
font-size: 16px !important;
|
1326 |
line-height: 22px !important;
|
1327 |
-
color:
|
1328 |
}
|
1329 |
|
1330 |
.ajax-load-more h3.add-on-title {
|
@@ -1345,10 +1366,6 @@ hr.indented {
|
|
1345 |
.ajax-load-more p.writeable-title {
|
1346 |
padding: 0 0 2px 28px;
|
1347 |
}
|
1348 |
-
.ajax-load-more p.desc {
|
1349 |
-
font-size: 13px !important;
|
1350 |
-
line-height: 19px !important;
|
1351 |
-
}
|
1352 |
.ajax-load-more p.writeable-title {
|
1353 |
position: relative;
|
1354 |
}
|
@@ -1373,7 +1390,7 @@ hr.indented {
|
|
1373 |
p.loading {
|
1374 |
font-size: 12px;
|
1375 |
padding: 0;
|
1376 |
-
color:
|
1377 |
background: none;
|
1378 |
transition: padding 0.2s ease;
|
1379 |
display: inline-block;
|
@@ -1512,7 +1529,7 @@ table.highlight {
|
|
1512 |
span {
|
1513 |
display: block;
|
1514 |
font-weight: 400;
|
1515 |
-
color:
|
1516 |
font-size: 13px;
|
1517 |
padding-top: 2px;
|
1518 |
}
|
@@ -1554,11 +1571,11 @@ table.highlight {
|
|
1554 |
background: none;
|
1555 |
color: #c94141;
|
1556 |
font-size: 14px;
|
1557 |
-
line-height:
|
1558 |
-
height:
|
1559 |
text-decoration: none;
|
1560 |
display: block;
|
1561 |
-
padding: 0
|
1562 |
&:hover {
|
1563 |
background-color: #c94141;
|
1564 |
color: #fff;
|
@@ -1660,6 +1677,7 @@ table.highlight {
|
|
1660 |
&.extend {
|
1661 |
a {
|
1662 |
background-color: #fff;
|
|
|
1663 |
}
|
1664 |
}
|
1665 |
&.installed {
|
@@ -1705,16 +1723,16 @@ table.highlight {
|
|
1705 |
}
|
1706 |
}
|
1707 |
|
1708 |
-
#alm-add-ons .group:hover h2 {
|
1709 |
-
text-decoration: underline;
|
1710 |
-
}
|
1711 |
#alm-add-ons .group a h2 {
|
1712 |
transition: all 0.15s ease;
|
1713 |
}
|
1714 |
-
#alm-add-ons .group a:hover h2
|
1715 |
-
|
|
|
|
|
1716 |
}
|
1717 |
-
#alm-add-ons .group.installed a:hover h2
|
|
|
1718 |
color: #444 !important;
|
1719 |
}
|
1720 |
|
@@ -1741,7 +1759,7 @@ table.highlight {
|
|
1741 |
font-weight: 400;
|
1742 |
}
|
1743 |
.call-out.light p a {
|
1744 |
-
color:
|
1745 |
}
|
1746 |
.call-out.light p a:hover {
|
1747 |
text-decoration: underline;
|
@@ -1761,17 +1779,17 @@ table.highlight {
|
|
1761 |
position: absolute;
|
1762 |
right: 12px;
|
1763 |
top: 13px;
|
1764 |
-
color: #
|
1765 |
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
|
1766 |
}
|
1767 |
.call-out a {
|
1768 |
-
color: #
|
1769 |
text-decoration: none;
|
1770 |
font-weight: 600;
|
1771 |
-
|
1772 |
-
|
1773 |
-
|
1774 |
-
|
1775 |
}
|
1776 |
a.cnkt-button,
|
1777 |
span.cnkt-button {
|
@@ -1974,7 +1992,7 @@ span.cnkt-button.installed i,
|
|
1974 |
padding: 6px 12px;
|
1975 |
line-height: 1.3;
|
1976 |
color: #fff;
|
1977 |
-
border-color:
|
1978 |
cursor: default;
|
1979 |
}
|
1980 |
.license-key-field .status.active {
|
@@ -2017,24 +2035,57 @@ span.cnkt-button.installed i,
|
|
2017 |
position: relative;
|
2018 |
box-shadow: 0 4px 10px 1px rgba(0, 0, 0, 0.065);
|
2019 |
border-radius: $radius;
|
2020 |
-
.alm-file-location {
|
2021 |
padding-top: 15px;
|
2022 |
margin-top: 15px;
|
2023 |
border-top: 1px solid #efefef;
|
2024 |
input {
|
2025 |
-
font-size:
|
2026 |
font-family: Consolas, monaco, monospace;
|
2027 |
-
background: $light_grey;
|
2028 |
-
border: 1px solid $border;
|
2029 |
-
display: block;
|
2030 |
width: 100%;
|
2031 |
-
padding: 8px;
|
2032 |
-
margin: 0;
|
2033 |
-
color: #777;
|
2034 |
-
box-shadow: none !important;
|
2035 |
}
|
2036 |
}
|
2037 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2038 |
.ajax-load-more .cnkt-sidebar .cta-inner {
|
2039 |
padding: $padding_sm;
|
2040 |
display: block;
|
@@ -2059,7 +2110,6 @@ span.cnkt-button.installed i,
|
|
2059 |
margin: 0;
|
2060 |
display: block;
|
2061 |
font-size: 14px;
|
2062 |
-
font-weight: 700;
|
2063 |
text-transform: none;
|
2064 |
}
|
2065 |
|
@@ -2075,11 +2125,6 @@ span.cnkt-button.installed i,
|
|
2075 |
.ajax-load-more .cnkt-sidebar h4 {
|
2076 |
margin-bottom: 5px;
|
2077 |
}
|
2078 |
-
.ajax-load-more .cnkt-sidebar p {
|
2079 |
-
line-height: 22px;
|
2080 |
-
margin: 0 0 5px;
|
2081 |
-
font-size: 14px;
|
2082 |
-
}
|
2083 |
|
2084 |
// Did You Know
|
2085 |
.ajax-load-more .cnkt-sidebar .cta.dyk {
|
@@ -2130,7 +2175,6 @@ span.cnkt-button.installed i,
|
|
2130 |
overflow: hidden;
|
2131 |
}
|
2132 |
.ajax-load-more .cnkt-sidebar li {
|
2133 |
-
font-size: 14px;
|
2134 |
margin: 0 0 10px;
|
2135 |
line-height: 1.5;
|
2136 |
}
|
@@ -2159,27 +2203,6 @@ span.cnkt-button.installed i,
|
|
2159 |
text-decoration: none;
|
2160 |
font-size: 14px;
|
2161 |
}
|
2162 |
-
.ajax-load-more .cnkt-sidebar .item i {
|
2163 |
-
font-size: 12px;
|
2164 |
-
float: left;
|
2165 |
-
width: 18px;
|
2166 |
-
height: 18px;
|
2167 |
-
border-radius: 100%;
|
2168 |
-
background: #efefef;
|
2169 |
-
line-height: 18px;
|
2170 |
-
text-align: center;
|
2171 |
-
margin: 1px 7px 0 0;
|
2172 |
-
position: relative;
|
2173 |
-
}
|
2174 |
-
|
2175 |
-
.ajax-load-more .cnkt-sidebar .item i.fa-check {
|
2176 |
-
background: #90be59;
|
2177 |
-
color: #fff;
|
2178 |
-
}
|
2179 |
-
.ajax-load-more .cnkt-sidebar .item i.fa-exclamation {
|
2180 |
-
background: #c43a3a;
|
2181 |
-
color: #fff;
|
2182 |
-
}
|
2183 |
|
2184 |
.ajax-load-more .cnkt-sidebar a.visit {
|
2185 |
background: #ed7070;
|
@@ -2225,10 +2248,11 @@ span.cnkt-button.installed i,
|
|
2225 |
strong {
|
2226 |
display: block;
|
2227 |
font-weight: 700;
|
|
|
|
|
2228 |
}
|
2229 |
span {
|
2230 |
color: $grey;
|
2231 |
-
font-size: 0.95em;
|
2232 |
opacity: 0.75;
|
2233 |
strong {
|
2234 |
display: inline;
|
@@ -2330,6 +2354,7 @@ span.cnkt-button.installed i,
|
|
2330 |
width: 100%;
|
2331 |
}
|
2332 |
|
|
|
2333 |
.alm-add-template {
|
2334 |
text-align: center;
|
2335 |
margin: 20px 0 5px !important;
|
@@ -2338,56 +2363,44 @@ span.cnkt-button.installed i,
|
|
2338 |
font-weight: 700;
|
2339 |
text-transform: none !important;
|
2340 |
text-align: center;
|
2341 |
-
|
2342 |
-
|
2343 |
-
|
2344 |
-
|
2345 |
-
|
2346 |
-
|
2347 |
-
|
2348 |
-
|
2349 |
-
|
2350 |
-
|
2351 |
-
|
2352 |
-
|
2353 |
-
|
2354 |
-
|
2355 |
-
|
2356 |
-
|
2357 |
-
|
2358 |
-
|
2359 |
-
|
2360 |
-
|
2361 |
-
|
2362 |
-
|
2363 |
-
|
2364 |
-
|
2365 |
-
|
2366 |
-
|
2367 |
-
}
|
2368 |
-
|
2369 |
-
|
2370 |
-
|
2371 |
-
|
2372 |
-
|
2373 |
-
|
2374 |
-
|
2375 |
-
|
2376 |
-
|
2377 |
-
|
2378 |
-
}
|
2379 |
-
|
2380 |
-
.alm-add-template a i {
|
2381 |
-
font-size: 20px;
|
2382 |
-
color: #ec4745;
|
2383 |
-
margin: 0 3px 0 0;
|
2384 |
-
position: relative;
|
2385 |
-
top: 2px;
|
2386 |
-
left: -1px;
|
2387 |
-
}
|
2388 |
-
.alm-add-template a:hover i,
|
2389 |
-
.alm-add-template a:active i {
|
2390 |
-
color: #fff;
|
2391 |
}
|
2392 |
|
2393 |
.spacer {
|
@@ -2408,7 +2421,7 @@ span.cnkt-button.installed i,
|
|
2408 |
font-size: 12px !important;
|
2409 |
i {
|
2410 |
margin: 0 2px 0 0;
|
2411 |
-
color:
|
2412 |
}
|
2413 |
a {
|
2414 |
text-decoration: none;
|
@@ -2419,7 +2432,6 @@ span.cnkt-button.installed i,
|
|
2419 |
* Cache
|
2420 |
* @since 2.6.0
|
2421 |
*/
|
2422 |
-
|
2423 |
.alm-cache {
|
2424 |
.group .row {
|
2425 |
overflow: visible;
|
@@ -2445,10 +2457,11 @@ span.cnkt-button.installed i,
|
|
2445 |
input {
|
2446 |
width: 100% !important;
|
2447 |
margin: 0 !important;
|
2448 |
-
padding:
|
2449 |
display: block;
|
2450 |
-
font-size:
|
2451 |
-
border-radius:
|
|
|
2452 |
}
|
2453 |
i {
|
2454 |
position: absolute;
|
@@ -2456,7 +2469,7 @@ span.cnkt-button.installed i,
|
|
2456 |
top: 50%;
|
2457 |
transform: translateY(-50%);
|
2458 |
color: #ccc;
|
2459 |
-
font-size:
|
2460 |
z-index: 1;
|
2461 |
}
|
2462 |
}
|
@@ -2590,10 +2603,8 @@ span.cnkt-button.installed i,
|
|
2590 |
background: none;
|
2591 |
padding: 0 10px 0 28px;
|
2592 |
margin: 0 0 10px;
|
2593 |
-
color: #878787;
|
2594 |
-
font-size: 13px;
|
2595 |
i {
|
2596 |
-
color:
|
2597 |
font-size: 16px;
|
2598 |
position: absolute;
|
2599 |
top: 1px;
|
@@ -2632,10 +2643,6 @@ span.cnkt-button.installed i,
|
|
2632 |
font-weight: 600;
|
2633 |
}
|
2634 |
}
|
2635 |
-
.cnkt-sidebar .item {
|
2636 |
-
padding: 20px;
|
2637 |
-
display: block;
|
2638 |
-
}
|
2639 |
p.cache-stats {
|
2640 |
min-height: 38px;
|
2641 |
line-height: 37px;
|
@@ -2668,16 +2675,17 @@ span.cnkt-button.installed i,
|
|
2668 |
ul {
|
2669 |
padding: 20px 0 0;
|
2670 |
margin: 10px 0 0;
|
2671 |
-
border-top: 1px solid
|
|
|
|
|
|
|
2672 |
}
|
2673 |
ul li {
|
2674 |
-
margin: 0
|
2675 |
-
padding:
|
2676 |
-
display:
|
2677 |
-
vertical-align: top;
|
2678 |
overflow: hidden;
|
2679 |
-
width:
|
2680 |
-
font-size: 14px;
|
2681 |
background: transparent url('../../img/directory-list.gif') no-repeat left 46%;
|
2682 |
&.full {
|
2683 |
width: 100%;
|
@@ -2691,7 +2699,7 @@ span.cnkt-button.installed i,
|
|
2691 |
text-decoration: none;
|
2692 |
}
|
2693 |
i {
|
2694 |
-
color:
|
2695 |
padding: 0 5px 0 0;
|
2696 |
}
|
2697 |
}
|
@@ -2782,9 +2790,8 @@ span.cnkt-button.installed i,
|
|
2782 |
cursor: pointer !important;
|
2783 |
span {
|
2784 |
display: inline-block;
|
2785 |
-
|
2786 |
-
|
2787 |
-
color: #999;
|
2788 |
}
|
2789 |
}
|
2790 |
.shortcode-builder input[type='radio'] + label,
|
@@ -2812,14 +2819,12 @@ span.cnkt-button.installed i,
|
|
2812 |
.ajax-load-more .form-table input[type='checkbox']:checked + label {
|
2813 |
/* selected */
|
2814 |
background-image: url('../../img/bkg-chkbox_selected.png');
|
2815 |
-
color: #000;
|
2816 |
}
|
2817 |
|
2818 |
.shortcode-builder input[type='radio']:checked + label,
|
2819 |
.ajax-load-more .form-table input[type='radio']:checked + label {
|
2820 |
/* selected */
|
2821 |
background-image: url('../../img/bkg-radio_selected.png');
|
2822 |
-
color: #000;
|
2823 |
}
|
2824 |
|
2825 |
.shortcode-builder input[type='checkbox'] + label:hover,
|
@@ -2872,12 +2877,13 @@ span.cnkt-button.installed i,
|
|
2872 |
right: 7px;
|
2873 |
z-index: 8;
|
2874 |
a.target {
|
2875 |
-
padding: 5px
|
2876 |
box-shadow: none;
|
2877 |
border: none;
|
2878 |
> i {
|
2879 |
-
font-size:
|
2880 |
position: static;
|
|
|
2881 |
}
|
2882 |
}
|
2883 |
}
|
@@ -2886,24 +2892,23 @@ span.cnkt-button.installed i,
|
|
2886 |
position: relative;
|
2887 |
color: #444;
|
2888 |
text-decoration: none !important;
|
2889 |
-
padding:
|
2890 |
-
border: 1px solid
|
2891 |
border-radius: $radius;
|
2892 |
-
|
2893 |
-
line-height: 30px;
|
2894 |
-
height: 32px;
|
2895 |
display: block;
|
2896 |
box-shadow: 0 0 0 1px #fff;
|
2897 |
-
|
2898 |
-
|
2899 |
-
|
2900 |
-
|
2901 |
-
|
2902 |
-
|
2903 |
-
|
|
|
2904 |
}
|
2905 |
.alm-repeater-options a.target:hover i.fa-cog {
|
2906 |
-
color:
|
2907 |
}
|
2908 |
|
2909 |
/* Active / Hover state */
|
@@ -2912,19 +2917,18 @@ span.cnkt-button.installed i,
|
|
2912 |
.alm-repeater-options a.target:hover,
|
2913 |
.alm-repeater-options a.target:focus {
|
2914 |
background-color: transparent;
|
2915 |
-
color:
|
2916 |
border-color: transparent;
|
2917 |
box-shadow: none;
|
2918 |
opacity: 1;
|
2919 |
}
|
2920 |
.alm-repeater-options.active a.target,
|
2921 |
.alm-repeater-options.active a.target i.fa-cog {
|
2922 |
-
color:
|
2923 |
}
|
2924 |
|
2925 |
/* Layout Dropdown */
|
2926 |
.alm-drop-btn.alm-layout-selection {
|
2927 |
-
display: inline-block;
|
2928 |
float: right;
|
2929 |
margin: 6px 0 0;
|
2930 |
@media screen and (max-width: 480px) {
|
@@ -2939,95 +2943,105 @@ span.cnkt-button.installed i,
|
|
2939 |
> a > i {
|
2940 |
left: 12px;
|
2941 |
}
|
|
|
|
|
|
|
|
|
|
|
2942 |
li.type {
|
2943 |
-
|
2944 |
-
|
2945 |
-
|
|
|
|
|
2946 |
position: relative;
|
2947 |
-
border-top: 1px solid $border;
|
2948 |
&:first-of-type {
|
2949 |
-
border:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2950 |
}
|
2951 |
}
|
2952 |
}
|
2953 |
-
.alm-dropdown ul li.layout i {
|
2954 |
-
top: 11px;
|
2955 |
-
}
|
2956 |
-
.alm-drop-btn.alm-layout-selection li.type .col-select {
|
2957 |
-
float: right;
|
2958 |
-
text-align: right;
|
2959 |
-
width: auto;
|
2960 |
-
height: 33px;
|
2961 |
-
line-height: 33px;
|
2962 |
-
}
|
2963 |
-
.alm-drop-btn.alm-layout-selection li.type .col-select a {
|
2964 |
-
width: 32px;
|
2965 |
-
height: 30px;
|
2966 |
-
margin: 3px 0 0 0;
|
2967 |
-
padding: 0;
|
2968 |
-
float: left;
|
2969 |
-
text-align: center;
|
2970 |
-
background-position: center center;
|
2971 |
-
background-repeat: no-repeat;
|
2972 |
-
vertical-align: top;
|
2973 |
-
text-indent: -99999px;
|
2974 |
-
overflow: hidden;
|
2975 |
-
opacity: 1;
|
2976 |
-
border-radius: 2px;
|
2977 |
-
border: 1px solid transparent;
|
2978 |
-
}
|
2979 |
-
.alm-drop-btn.alm-layout-selection li.type .col-select a.column-1 {
|
2980 |
-
background-image: url('../../img/column-1.png');
|
2981 |
-
}
|
2982 |
-
.alm-drop-btn.alm-layout-selection li.type .col-select a.column-2 {
|
2983 |
-
background-image: url('../../img/column-2.png');
|
2984 |
-
}
|
2985 |
-
.alm-drop-btn.alm-layout-selection li.type .col-select a.column-3 {
|
2986 |
-
background-image: url('../../img/column-3.png');
|
2987 |
-
width: 36px;
|
2988 |
-
}
|
2989 |
-
.alm-drop-btn.alm-layout-selection li.type .col-select a.column-4 {
|
2990 |
-
background-image: url('../../img/column-4.png');
|
2991 |
-
width: 36px;
|
2992 |
-
}
|
2993 |
-
.alm-drop-btn.alm-layout-selection li.type .col-select a.column-1.updating,
|
2994 |
-
.alm-drop-btn.alm-layout-selection li.type .col-select a.column-2.updating,
|
2995 |
-
.alm-drop-btn.alm-layout-selection li.type .col-select a.column-3.updating {
|
2996 |
-
background-image: url('../../img/loader.gif');
|
2997 |
-
padding: 0 !important;
|
2998 |
-
}
|
2999 |
-
.alm-drop-btn.alm-layout-selection li.type .col-select a:hover,
|
3000 |
-
.alm-drop-btn.alm-layout-selection li.type .col-select a.updating {
|
3001 |
-
opacity: 1;
|
3002 |
-
background-color: #fff;
|
3003 |
-
border-color: #ccc;
|
3004 |
-
}
|
3005 |
-
.alm-drop-btn.alm-layout-selection li.type:hover {
|
3006 |
-
background-color: #faf8e6;
|
3007 |
-
}
|
3008 |
|
3009 |
/* External Link + Add-on */
|
3010 |
.alm-drop-btn.alm-layout-selection a.external,
|
3011 |
.alm-drop-btn.alm-layout-selection a.add-on {
|
3012 |
background-color: $light_grey;
|
3013 |
-
padding:
|
3014 |
display: block;
|
3015 |
}
|
3016 |
.alm-drop-btn.alm-layout-selection a.external {
|
3017 |
-
padding: 0
|
3018 |
font-weight: 600;
|
3019 |
-
border: 1px solid $
|
3020 |
-
border-radius: $radius;
|
3021 |
-
|
3022 |
-
|
3023 |
-
|
3024 |
-
|
3025 |
-
|
3026 |
-
|
3027 |
-
|
3028 |
-
}
|
3029 |
-
.alm-drop-btn.alm-layout-selection a.external:hover i {
|
3030 |
-
color: #666;
|
3031 |
}
|
3032 |
.alm-drop-btn.alm-layout-selection a.add-on {
|
3033 |
line-height: 1.5;
|
@@ -3065,14 +3079,14 @@ span.cnkt-button.installed i,
|
|
3065 |
.alm-drop-btn.alm-layout-selection a.target:hover,
|
3066 |
.alm-drop-btn.alm-layout-selection a.target:active,
|
3067 |
.alm-drop-btn.alm-layout-selection.active a.target {
|
3068 |
-
color:
|
3069 |
-
border-color:
|
3070 |
-
background-color:
|
3071 |
opacity: 1;
|
3072 |
}
|
3073 |
.alm-drop-btn.alm-layout-selection.active a.target,
|
3074 |
.alm-drop-btn.alm-layout-selection a.target:active {
|
3075 |
-
box-shadow: inset 0
|
3076 |
}
|
3077 |
|
3078 |
.alm-drop-btn.alm-layout-selection .alm-dropdown {
|
@@ -3106,7 +3120,7 @@ span.cnkt-button.installed i,
|
|
3106 |
}
|
3107 |
|
3108 |
.add-layout-cta {
|
3109 |
-
border-radius:
|
3110 |
border: 1px solid $border;
|
3111 |
background-color: #fefeed;
|
3112 |
padding: 10px 100px 10px 10px;
|
@@ -3114,10 +3128,9 @@ span.cnkt-button.installed i,
|
|
3114 |
margin: 5px 0 15px;
|
3115 |
font-weight: 600;
|
3116 |
position: relative;
|
3117 |
-
|
3118 |
-
|
3119 |
-
|
3120 |
-
font-size: 13px;
|
3121 |
}
|
3122 |
span.dismiss {
|
3123 |
position: absolute;
|
@@ -3149,8 +3162,8 @@ span.dismiss a {
|
|
3149 |
border-radius: $radius;
|
3150 |
border: 1px solid #ccc;
|
3151 |
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
|
3152 |
-
padding:
|
3153 |
-
width:
|
3154 |
}
|
3155 |
.alm-drop-inner:after,
|
3156 |
.alm-drop-inner:before {
|
@@ -3183,8 +3196,8 @@ span.dismiss a {
|
|
3183 |
}
|
3184 |
|
3185 |
.alm-layout-selection .alm-dropdown .alm-drop-inner {
|
3186 |
-
width:
|
3187 |
-
padding: 10px
|
3188 |
}
|
3189 |
|
3190 |
.alm-dropdown {
|
@@ -3195,20 +3208,28 @@ span.dismiss a {
|
|
3195 |
}
|
3196 |
li {
|
3197 |
margin: 0;
|
3198 |
-
padding:
|
3199 |
list-style: none;
|
3200 |
clear: both;
|
3201 |
-
font-size: 13px;
|
3202 |
line-height: 1.2;
|
3203 |
font-weight: 400;
|
3204 |
&.option {
|
3205 |
-
border
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3206 |
&:nth-child(even) {
|
3207 |
background-color: $light_grey;
|
3208 |
}
|
3209 |
}
|
3210 |
a:not(.button) {
|
3211 |
-
padding: 0 10px 0
|
3212 |
line-height: 40px;
|
3213 |
height: 40px;
|
3214 |
display: block;
|
@@ -3221,18 +3242,17 @@ span.dismiss a {
|
|
3221 |
white-space: nowrap;
|
3222 |
overflow: hidden;
|
3223 |
text-overflow: ellipsis;
|
3224 |
-
border-radius: $radius;
|
3225 |
&:hover,
|
3226 |
&:focus {
|
3227 |
-
color:
|
3228 |
i {
|
3229 |
-
opacity: 0.
|
3230 |
}
|
3231 |
}
|
3232 |
i {
|
3233 |
margin: 0;
|
3234 |
position: absolute;
|
3235 |
-
left:
|
3236 |
top: 50%;
|
3237 |
transform: translateY(-50%);
|
3238 |
width: 32px;
|
@@ -3241,19 +3261,24 @@ span.dismiss a {
|
|
3241 |
display: inline-block;
|
3242 |
text-align: center;
|
3243 |
opacity: 0.5;
|
|
|
3244 |
}
|
3245 |
}
|
|
|
|
|
|
|
3246 |
&.layout-cta {
|
3247 |
-
border: 1px solid $
|
3248 |
-
padding:
|
3249 |
border-radius: $radius;
|
3250 |
-
margin-
|
3251 |
-
background-color:
|
3252 |
text-align: center;
|
3253 |
span {
|
3254 |
display: block;
|
3255 |
-
padding: 0 0
|
3256 |
-
line-height: 1.
|
|
|
3257 |
}
|
3258 |
}
|
3259 |
}
|
@@ -3336,7 +3361,7 @@ span.dismiss a {
|
|
3336 |
}
|
3337 |
#alm-mailing-list .form-wrap i.fa-envelope {
|
3338 |
color: #fff;
|
3339 |
-
background:
|
3340 |
position: absolute;
|
3341 |
top: 0;
|
3342 |
left: 0;
|
@@ -3363,7 +3388,7 @@ span.dismiss a {
|
|
3363 |
border-radius: 0;
|
3364 |
width: 40px;
|
3365 |
height: 40px;
|
3366 |
-
color:
|
3367 |
background: none !important;
|
3368 |
cursor: pointer;
|
3369 |
}
|
@@ -3379,7 +3404,7 @@ span.dismiss a {
|
|
3379 |
font-size: 19px;
|
3380 |
}
|
3381 |
#alm-mailing-list .form-wrap button:hover i {
|
3382 |
-
color:
|
3383 |
}
|
3384 |
|
3385 |
#alm-mailing-list .form-wrap button span {
|
@@ -3589,7 +3614,7 @@ span.dismiss a {
|
|
3589 |
opacity: 0.3;
|
3590 |
&:hover,
|
3591 |
&:focus {
|
3592 |
-
color:
|
3593 |
opacity: 1;
|
3594 |
}
|
3595 |
}
|
@@ -3659,10 +3684,11 @@ span.dismiss a {
|
|
3659 |
z-index: 9;
|
3660 |
li {
|
3661 |
float: left;
|
3662 |
-
margin: 0
|
3663 |
padding: 0;
|
3664 |
background: none;
|
3665 |
list-style: none;
|
|
|
3666 |
}
|
3667 |
li a {
|
3668 |
display: block;
|
@@ -3680,7 +3706,7 @@ span.dismiss a {
|
|
3680 |
}
|
3681 |
li a.active {
|
3682 |
background: #fff;
|
3683 |
-
font-weight:
|
3684 |
border-bottom-color: #fff;
|
3685 |
color: #111;
|
3686 |
}
|
@@ -3779,7 +3805,7 @@ span.dismiss a {
|
|
3779 |
width: 100%;
|
3780 |
}
|
3781 |
.ajax-load-more .section-title p {
|
3782 |
-
color:
|
3783 |
padding: 0 !important;
|
3784 |
}
|
3785 |
#alm-add-ons .row .wrap {
|
1 |
@import '//netdna.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css';
|
2 |
+
@import 'variables';
|
3 |
@import 'libs/tooltipster';
|
4 |
@import 'libs/select2';
|
5 |
@import 'variables';
|
105 |
&:active,
|
106 |
&:focus {
|
107 |
color: #222;
|
108 |
+
border-color: $grey_text;
|
109 |
background-color: #f1f1f1;
|
110 |
box-shadow: none;
|
111 |
}
|
129 |
left: -9999px;
|
130 |
}
|
131 |
.ajax-load-more {
|
132 |
+
//font-size: 14px;
|
133 |
+
//color: #666;
|
134 |
+
color: $grey;
|
135 |
position: relative;
|
136 |
max-width: 100%;
|
137 |
+
a {
|
138 |
+
color: $blue;
|
139 |
+
text-decoration: underline;
|
140 |
+
&:hover {
|
141 |
+
color: $blue_hover;
|
142 |
+
text-decoration: none;
|
143 |
+
}
|
144 |
+
}
|
145 |
}
|
146 |
#alm-help.ajax-load-more {
|
147 |
max-width: 1600px;
|
195 |
border-right: 1px solid $border;
|
196 |
}
|
197 |
code {
|
198 |
+
color: $grey_text;
|
199 |
background: transparent;
|
200 |
cursor: help;
|
201 |
}
|
202 |
}
|
203 |
+
.ajax-load-more {
|
204 |
+
code {
|
205 |
+
background: #fcf3d0;
|
206 |
+
}
|
207 |
+
p {
|
208 |
+
display: block;
|
209 |
+
width: 100%;
|
210 |
+
clear: both;
|
211 |
+
text-transform: none;
|
212 |
+
padding: 0;
|
213 |
+
margin: 0 0 15px;
|
214 |
+
color: $paragraph;
|
215 |
+
}
|
216 |
}
|
217 |
|
218 |
.ajax-load-more p,
|
220 |
.ajax-load-more input,
|
221 |
.ajax-load-more textarea,
|
222 |
.ajax-load-more label {
|
223 |
+
//font-size: 14px;
|
224 |
&.lg {
|
225 |
font-size: 16px;
|
226 |
}
|
269 |
.ajax-load-more h1,
|
270 |
.ajax-load-more h3,
|
271 |
.ajax-load-more h4 {
|
272 |
+
color: $grey;
|
273 |
margin-top: 0;
|
274 |
}
|
275 |
.ajax-load-more h4 + p {
|
352 |
font-size: 11px;
|
353 |
text-transform: uppercase;
|
354 |
border-radius: 3px;
|
355 |
+
padding: 0 12px;
|
356 |
+
height: 35px;
|
357 |
+
line-height: 34px;
|
358 |
background: #fff;
|
359 |
border: 1px solid $border;
|
360 |
+
color: $grey;
|
361 |
cursor: pointer;
|
362 |
z-index: 20;
|
363 |
margin-bottom: 10px;
|
365 |
@media screen and (min-width: 768px) {
|
366 |
position: absolute;
|
367 |
}
|
368 |
+
&:hover,
|
369 |
+
&:focus {
|
370 |
+
color: $grey;
|
371 |
+
border-color: $border_hover;
|
372 |
+
}
|
373 |
+
.inner-wrap {
|
374 |
+
position: relative;
|
375 |
+
padding-left: 16px;
|
376 |
+
line-height: 24px;
|
377 |
+
}
|
378 |
+
.expand {
|
379 |
+
display: none;
|
380 |
+
}
|
381 |
+
.collapse {
|
382 |
+
display: inline-block;
|
383 |
+
}
|
384 |
+
em {
|
385 |
+
font-style: normal;
|
386 |
+
}
|
387 |
+
&.closed {
|
388 |
+
.expand {
|
389 |
+
display: inline-block;
|
390 |
+
}
|
391 |
+
.collapse {
|
392 |
+
display: none;
|
393 |
+
}
|
394 |
+
}
|
395 |
+
.inner-wrap:before {
|
396 |
+
font-family: 'FontAwesome';
|
397 |
+
content: '\f068';
|
398 |
+
font-size: 10px;
|
399 |
+
position: absolute;
|
400 |
+
left: 0;
|
401 |
+
top: -5px;
|
402 |
+
}
|
403 |
+
&.closed .inner-wrap:before {
|
404 |
+
content: '\f067';
|
405 |
+
}
|
406 |
}
|
407 |
}
|
408 |
#alm-container.ajax-load-more .toggle-all {
|
412 |
a.button-small {
|
413 |
text-decoration: none;
|
414 |
font-size: 12px;
|
415 |
+
padding: 6px 10px;
|
416 |
display: inline-block;
|
417 |
background-color: #eaf6fb;
|
418 |
border: 1px solid #b9d2de;
|
419 |
+
color: $grey;
|
420 |
line-height: 1.1;
|
421 |
+
border-radius: $radius;
|
422 |
+
&:hover {
|
423 |
+
color: #fff;
|
424 |
+
background-color: $blue;
|
425 |
+
text-decoration: none;
|
426 |
+
border-color: $blue;
|
427 |
+
}
|
428 |
&:focus {
|
429 |
+
color: #fff;
|
430 |
+
background-color: $blue_hover;
|
431 |
text-decoration: none;
|
432 |
+
border-color: $blue_hover;
|
433 |
}
|
434 |
}
|
435 |
|
506 |
}
|
507 |
.alm-settings-nav a:hover {
|
508 |
color: #fff;
|
509 |
+
background-color: $red;
|
510 |
}
|
511 |
.alm-settings-nav li:first-of-type a {
|
512 |
border: none;
|
534 |
background-color: transparent;
|
535 |
padding: 0;
|
536 |
margin: 0;
|
537 |
+
.padding-top {
|
538 |
+
margin-bottom: 0;
|
539 |
+
}
|
540 |
}
|
541 |
.section-control {
|
542 |
padding-top: 15px;
|
562 |
.meta-query-wrap .remove-meta-query,
|
563 |
.taxonomy-wrap .remove-tax-query {
|
564 |
position: absolute;
|
565 |
+
right: 5px;
|
566 |
+
top: 5px;
|
567 |
+
width: 23px;
|
568 |
+
height: 23px;
|
569 |
+
line-height: 22px;
|
570 |
text-align: center;
|
571 |
font-weight: 500;
|
572 |
font-size: 18px;
|
573 |
+
background-color: $grey;
|
574 |
+
color: #fff;
|
575 |
text-decoration: none;
|
576 |
+
border-radius: $radius;
|
577 |
padding-left: 1px;
|
578 |
&:hover,
|
579 |
&:hover {
|
580 |
+
background-color: $red_alert;
|
581 |
color: #fff;
|
582 |
}
|
583 |
}
|
598 |
}
|
599 |
}
|
600 |
#meta-query-relation {
|
601 |
+
margin: 15px 0;
|
602 |
}
|
603 |
|
604 |
.ajax-load-more .meta-query-wrap .border-top:first-of-type {
|
743 |
}
|
744 |
.ajax-load-more textarea,
|
745 |
.ajax-load-more input[type='text'],
|
746 |
+
.ajax-load-more input[type='email'],
|
747 |
+
.ajax-load-more input[type='search'],
|
748 |
.ajax-load-more input[type='number'] {
|
749 |
padding: 10px 12px;
|
750 |
line-height: 1.3;
|
754 |
.ajax-load-more input[type='text'].full {
|
755 |
width: 100%;
|
756 |
}
|
|
|
757 |
.ajax-load-more .wrap-30 {
|
758 |
width: 32.333%;
|
759 |
padding-right: 3%;
|
771 |
width: 100%;
|
772 |
margin: 0;
|
773 |
}
|
|
|
774 |
.ajax-load-more input[type='number'].sm {
|
775 |
width: 100px;
|
776 |
}
|
|
|
777 |
.ajax-load-more ::-webkit-input-placeholder {
|
778 |
+
color: $grey_text;
|
779 |
font-style: italic;
|
780 |
}
|
|
|
781 |
.ajax-load-more :-moz-placeholder {
|
782 |
/* Firefox 18- */
|
783 |
+
color: $grey_text;
|
784 |
font-style: italic;
|
785 |
}
|
|
|
786 |
.ajax-load-more ::-moz-placeholder {
|
787 |
/* Firefox 19+ */
|
788 |
+
color: $grey_text;
|
789 |
font-style: italic;
|
790 |
}
|
|
|
791 |
.ajax-load-more :-ms-input-placeholder {
|
792 |
+
color: $grey_text;
|
793 |
font-style: italic;
|
794 |
}
|
795 |
|
797 |
.ajax-load-more input[type='number'],
|
798 |
.ajax-load-more input[type='email'],
|
799 |
.ajax-load-more textarea {
|
800 |
+
//background: $light_grey;
|
801 |
}
|
802 |
.ajax-load-more .repeaters input[type='text'] {
|
803 |
padding: 9px 10px;
|
805 |
.ajax-load-more input[type='number'] {
|
806 |
height: auto;
|
807 |
}
|
|
|
808 |
.admin.ajax-load-more .form-table textarea {
|
809 |
clear: both;
|
810 |
display: inline-block;
|
816 |
opacity: 0.5;
|
817 |
filter: alpha(opacity=50);
|
818 |
cursor: not-allowed;
|
|
|
819 |
border-color: #ccc !important;
|
820 |
box-shadow: none !important;
|
821 |
+
//background: $light_grey !important;
|
822 |
}
|
823 |
.ajax-load-more input[type='text']:focus,
|
824 |
.ajax-load-more input[type='number']:focus,
|
825 |
.ajax-load-more input[type='email']:focus,
|
826 |
.ajax-load-more textarea:focus {
|
827 |
+
border-color: $blue;
|
828 |
+
box-shadow: $shadow;
|
829 |
+
//background: $light_grey;
|
830 |
}
|
831 |
|
832 |
.checkboxes label {
|
894 |
|
895 |
.ajax-load-more .row {
|
896 |
padding: 0 !important;
|
897 |
+
margin: $padding/2 0 0;
|
898 |
height: auto;
|
899 |
width: 100%;
|
900 |
display: block;
|
1021 |
.wrap p.descriptor {
|
1022 |
font-size: 13px;
|
1023 |
line-height: 20px;
|
1024 |
+
color: $grey_text;
|
1025 |
}
|
1026 |
}
|
1027 |
.ajax-load-more .wrap p.descriptor {
|
1119 |
**************************************/
|
1120 |
.ajax-load-more .output-wrap {
|
1121 |
margin: 20px 0 0;
|
1122 |
+
background: $red;
|
1123 |
width: 100%;
|
1124 |
display: block;
|
1125 |
border-radius: 3px;
|
1224 |
.form-table label span,
|
1225 |
#alm-shortcode-builder-form label span.description {
|
1226 |
font-size: 13px;
|
1227 |
+
color: $paragraph;
|
1228 |
padding-top: 10px;
|
1229 |
}
|
1230 |
#alm-shortcode-builder-form label span.description {
|
1253 |
|
1254 |
.admin.ajax-load-more.settings input[type='text'],
|
1255 |
.admin.ajax-load-more.settings input[type='number'],
|
1256 |
+
.admin.ajax-load-more.settings input[type='email'],
|
1257 |
.admin.ajax-load-more.settings .select2-container {
|
1258 |
margin-top: 10px;
|
1259 |
}
|
1265 |
border: 1px solid $border;
|
1266 |
box-shadow: inset 0 0 0 5px rgba(0, 0, 0, 0.025), 0 0 5px rgba(0, 0, 0, 0.1);
|
1267 |
border-radius: $radius;
|
|
|
1268 |
margin-top: 10px;
|
1269 |
margin-bottom: 10px;
|
1270 |
&.preview-pane.none {
|
1300 |
a {
|
1301 |
text-decoration: none;
|
1302 |
}
|
1303 |
+
span {
|
1304 |
+
margin: 0;
|
1305 |
+
font-size: 14px;
|
1306 |
+
border-bottom: none;
|
1307 |
+
}
|
1308 |
}
|
1309 |
|
1310 |
/* Table Overrides */
|
1311 |
.form-table td,
|
1312 |
.form-table th {
|
1313 |
+
padding: 25px;
|
1314 |
line-height: 1.5;
|
1315 |
+
&:last-of-type {
|
1316 |
+
margin: 0;
|
1317 |
+
}
|
1318 |
}
|
1319 |
.form-table th {
|
|
|
1320 |
font-weight: 600;
|
1321 |
background-color: $light_grey;
|
1322 |
border-right: 1px solid $border;
|
1330 |
padding: 10px 0 0;
|
1331 |
margin: 5px 0 20px;
|
1332 |
overflow: hidden;
|
1333 |
+
color: $grey_text;
|
1334 |
}
|
1335 |
}
|
1336 |
|
1345 |
.ajax-load-more p.addon-intro {
|
1346 |
font-size: 16px !important;
|
1347 |
line-height: 22px !important;
|
1348 |
+
color: $grey_text !important;
|
1349 |
}
|
1350 |
|
1351 |
.ajax-load-more h3.add-on-title {
|
1366 |
.ajax-load-more p.writeable-title {
|
1367 |
padding: 0 0 2px 28px;
|
1368 |
}
|
|
|
|
|
|
|
|
|
1369 |
.ajax-load-more p.writeable-title {
|
1370 |
position: relative;
|
1371 |
}
|
1390 |
p.loading {
|
1391 |
font-size: 12px;
|
1392 |
padding: 0;
|
1393 |
+
color: $grey_text;
|
1394 |
background: none;
|
1395 |
transition: padding 0.2s ease;
|
1396 |
display: inline-block;
|
1529 |
span {
|
1530 |
display: block;
|
1531 |
font-weight: 400;
|
1532 |
+
color: $grey_text;
|
1533 |
font-size: 13px;
|
1534 |
padding-top: 2px;
|
1535 |
}
|
1571 |
background: none;
|
1572 |
color: #c94141;
|
1573 |
font-size: 14px;
|
1574 |
+
line-height: 30px;
|
1575 |
+
height: 30px;
|
1576 |
text-decoration: none;
|
1577 |
display: block;
|
1578 |
+
padding: 0 12px;
|
1579 |
&:hover {
|
1580 |
background-color: #c94141;
|
1581 |
color: #fff;
|
1677 |
&.extend {
|
1678 |
a {
|
1679 |
background-color: #fff;
|
1680 |
+
border-color: $lighter_grey;
|
1681 |
}
|
1682 |
}
|
1683 |
&.installed {
|
1723 |
}
|
1724 |
}
|
1725 |
|
|
|
|
|
|
|
1726 |
#alm-add-ons .group a h2 {
|
1727 |
transition: all 0.15s ease;
|
1728 |
}
|
1729 |
+
#alm-add-ons .group a:hover h2,
|
1730 |
+
#alm-add-ons .group a:focus h2 {
|
1731 |
+
color: $red !important;
|
1732 |
+
text-decoration: underline;
|
1733 |
}
|
1734 |
+
#alm-add-ons .group.installed a:hover h2,
|
1735 |
+
#alm-add-ons .group.installed a:focus h2 {
|
1736 |
color: #444 !important;
|
1737 |
}
|
1738 |
|
1759 |
font-weight: 400;
|
1760 |
}
|
1761 |
.call-out.light p a {
|
1762 |
+
color: $red !important;
|
1763 |
}
|
1764 |
.call-out.light p a:hover {
|
1765 |
text-decoration: underline;
|
1779 |
position: absolute;
|
1780 |
right: 12px;
|
1781 |
top: 13px;
|
1782 |
+
color: #2d564c !important;
|
1783 |
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
|
1784 |
}
|
1785 |
.call-out a {
|
1786 |
+
color: #2d564c !important;
|
1787 |
text-decoration: none;
|
1788 |
font-weight: 600;
|
1789 |
+
&:hover,
|
1790 |
+
&:focus {
|
1791 |
+
text-decoration: underline;
|
1792 |
+
}
|
1793 |
}
|
1794 |
a.cnkt-button,
|
1795 |
span.cnkt-button {
|
1992 |
padding: 6px 12px;
|
1993 |
line-height: 1.3;
|
1994 |
color: #fff;
|
1995 |
+
border-color: $grey_text;
|
1996 |
cursor: default;
|
1997 |
}
|
1998 |
.license-key-field .status.active {
|
2035 |
position: relative;
|
2036 |
box-shadow: 0 4px 10px 1px rgba(0, 0, 0, 0.065);
|
2037 |
border-radius: $radius;
|
2038 |
+
.alm-file-location:not(input) {
|
2039 |
padding-top: 15px;
|
2040 |
margin-top: 15px;
|
2041 |
border-top: 1px solid #efefef;
|
2042 |
input {
|
2043 |
+
font-size: 11px;
|
2044 |
font-family: Consolas, monaco, monospace;
|
|
|
|
|
|
|
2045 |
width: 100%;
|
|
|
|
|
|
|
|
|
2046 |
}
|
2047 |
}
|
2048 |
}
|
2049 |
+
|
2050 |
+
.alm-status {
|
2051 |
+
display: flex;
|
2052 |
+
margin: 0 0 15px;
|
2053 |
+
cursor: default;
|
2054 |
+
span {
|
2055 |
+
background-color: $light_grey;
|
2056 |
+
padding: 0 10px 0 0;
|
2057 |
+
line-height: 1;
|
2058 |
+
border-radius: $radius;
|
2059 |
+
overflow: hidden;
|
2060 |
+
display: flex;
|
2061 |
+
align-items: center;
|
2062 |
+
font-weight: 500;
|
2063 |
+
text-transform: uppercase;
|
2064 |
+
font-size: 11px;
|
2065 |
+
i {
|
2066 |
+
padding: 10px 12px;
|
2067 |
+
margin: 0 10px 0 0;
|
2068 |
+
text-align: center;
|
2069 |
+
}
|
2070 |
+
}
|
2071 |
+
&.success {
|
2072 |
+
span {
|
2073 |
+
i {
|
2074 |
+
background-color: $green;
|
2075 |
+
color: #fff;
|
2076 |
+
}
|
2077 |
+
}
|
2078 |
+
}
|
2079 |
+
&.failed {
|
2080 |
+
span {
|
2081 |
+
i {
|
2082 |
+
background-color: $red_alert;
|
2083 |
+
color: #fff;
|
2084 |
+
}
|
2085 |
+
}
|
2086 |
+
}
|
2087 |
+
}
|
2088 |
+
|
2089 |
.ajax-load-more .cnkt-sidebar .cta-inner {
|
2090 |
padding: $padding_sm;
|
2091 |
display: block;
|
2110 |
margin: 0;
|
2111 |
display: block;
|
2112 |
font-size: 14px;
|
|
|
2113 |
text-transform: none;
|
2114 |
}
|
2115 |
|
2125 |
.ajax-load-more .cnkt-sidebar h4 {
|
2126 |
margin-bottom: 5px;
|
2127 |
}
|
|
|
|
|
|
|
|
|
|
|
2128 |
|
2129 |
// Did You Know
|
2130 |
.ajax-load-more .cnkt-sidebar .cta.dyk {
|
2175 |
overflow: hidden;
|
2176 |
}
|
2177 |
.ajax-load-more .cnkt-sidebar li {
|
|
|
2178 |
margin: 0 0 10px;
|
2179 |
line-height: 1.5;
|
2180 |
}
|
2203 |
text-decoration: none;
|
2204 |
font-size: 14px;
|
2205 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2206 |
|
2207 |
.ajax-load-more .cnkt-sidebar a.visit {
|
2208 |
background: #ed7070;
|
2248 |
strong {
|
2249 |
display: block;
|
2250 |
font-weight: 700;
|
2251 |
+
font-size: 14px;
|
2252 |
+
margin: 0 0 3px;
|
2253 |
}
|
2254 |
span {
|
2255 |
color: $grey;
|
|
|
2256 |
opacity: 0.75;
|
2257 |
strong {
|
2258 |
display: inline;
|
2354 |
width: 100%;
|
2355 |
}
|
2356 |
|
2357 |
+
// Add Repeater Template
|
2358 |
.alm-add-template {
|
2359 |
text-align: center;
|
2360 |
margin: 20px 0 5px !important;
|
2363 |
font-weight: 700;
|
2364 |
text-transform: none !important;
|
2365 |
text-align: center;
|
2366 |
+
a {
|
2367 |
+
background: $light_grey;
|
2368 |
+
border: 1px solid $border;
|
2369 |
+
color: $grey;
|
2370 |
+
display: inline-block;
|
2371 |
+
padding: 15px 18px;
|
2372 |
+
line-height: 1;
|
2373 |
+
border-radius: $radius;
|
2374 |
+
text-decoration: none;
|
2375 |
+
i {
|
2376 |
+
color: $red;
|
2377 |
+
margin: 0 5px 0 0;
|
2378 |
+
position: relative;
|
2379 |
+
left: -1px;
|
2380 |
+
}
|
2381 |
+
&:hover,
|
2382 |
+
&:focus {
|
2383 |
+
background: $red;
|
2384 |
+
border-color: $red;
|
2385 |
+
color: #fff;
|
2386 |
+
text-shadow: none;
|
2387 |
+
color: #fff;
|
2388 |
+
i {
|
2389 |
+
color: #fff;
|
2390 |
+
opacity: 0.65;
|
2391 |
+
}
|
2392 |
+
}
|
2393 |
+
&.active {
|
2394 |
+
opacity: 0.5;
|
2395 |
+
cursor: default;
|
2396 |
+
color: #333 !important;
|
2397 |
+
background: #efefef !important;
|
2398 |
+
border-color: #efefef !important;
|
2399 |
+
i {
|
2400 |
+
color: $grey;
|
2401 |
+
}
|
2402 |
+
}
|
2403 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2404 |
}
|
2405 |
|
2406 |
.spacer {
|
2421 |
font-size: 12px !important;
|
2422 |
i {
|
2423 |
margin: 0 2px 0 0;
|
2424 |
+
color: $grey_text;
|
2425 |
}
|
2426 |
a {
|
2427 |
text-decoration: none;
|
2432 |
* Cache
|
2433 |
* @since 2.6.0
|
2434 |
*/
|
|
|
2435 |
.alm-cache {
|
2436 |
.group .row {
|
2437 |
overflow: visible;
|
2457 |
input {
|
2458 |
width: 100% !important;
|
2459 |
margin: 0 !important;
|
2460 |
+
padding: 13px 20px;
|
2461 |
display: block;
|
2462 |
+
font-size: 15px;
|
2463 |
+
border-radius: $radius;
|
2464 |
+
background-color: $light_grey;
|
2465 |
}
|
2466 |
i {
|
2467 |
position: absolute;
|
2469 |
top: 50%;
|
2470 |
transform: translateY(-50%);
|
2471 |
color: #ccc;
|
2472 |
+
font-size: 16px;
|
2473 |
z-index: 1;
|
2474 |
}
|
2475 |
}
|
2603 |
background: none;
|
2604 |
padding: 0 10px 0 28px;
|
2605 |
margin: 0 0 10px;
|
|
|
|
|
2606 |
i {
|
2607 |
+
color: $grey_text;
|
2608 |
font-size: 16px;
|
2609 |
position: absolute;
|
2610 |
top: 1px;
|
2643 |
font-weight: 600;
|
2644 |
}
|
2645 |
}
|
|
|
|
|
|
|
|
|
2646 |
p.cache-stats {
|
2647 |
min-height: 38px;
|
2648 |
line-height: 37px;
|
2675 |
ul {
|
2676 |
padding: 20px 0 0;
|
2677 |
margin: 10px 0 0;
|
2678 |
+
border-top: 1px solid $border;
|
2679 |
+
display: flex;
|
2680 |
+
width: 100%;
|
2681 |
+
flex-wrap: wrap;
|
2682 |
}
|
2683 |
ul li {
|
2684 |
+
margin: 0;
|
2685 |
+
padding: 10px 5px 5px 40px;
|
2686 |
+
display: block;
|
|
|
2687 |
overflow: hidden;
|
2688 |
+
width: 50%;
|
|
|
2689 |
background: transparent url('../../img/directory-list.gif') no-repeat left 46%;
|
2690 |
&.full {
|
2691 |
width: 100%;
|
2699 |
text-decoration: none;
|
2700 |
}
|
2701 |
i {
|
2702 |
+
color: $grey_text;
|
2703 |
padding: 0 5px 0 0;
|
2704 |
}
|
2705 |
}
|
2790 |
cursor: pointer !important;
|
2791 |
span {
|
2792 |
display: inline-block;
|
2793 |
+
color: $paragraph;
|
2794 |
+
line-height: 1.65;
|
|
|
2795 |
}
|
2796 |
}
|
2797 |
.shortcode-builder input[type='radio'] + label,
|
2819 |
.ajax-load-more .form-table input[type='checkbox']:checked + label {
|
2820 |
/* selected */
|
2821 |
background-image: url('../../img/bkg-chkbox_selected.png');
|
|
|
2822 |
}
|
2823 |
|
2824 |
.shortcode-builder input[type='radio']:checked + label,
|
2825 |
.ajax-load-more .form-table input[type='radio']:checked + label {
|
2826 |
/* selected */
|
2827 |
background-image: url('../../img/bkg-radio_selected.png');
|
|
|
2828 |
}
|
2829 |
|
2830 |
.shortcode-builder input[type='checkbox'] + label:hover,
|
2877 |
right: 7px;
|
2878 |
z-index: 8;
|
2879 |
a.target {
|
2880 |
+
padding: 5px 9px;
|
2881 |
box-shadow: none;
|
2882 |
border: none;
|
2883 |
> i {
|
2884 |
+
font-size: 24px;
|
2885 |
position: static;
|
2886 |
+
transform: none;
|
2887 |
}
|
2888 |
}
|
2889 |
}
|
2892 |
position: relative;
|
2893 |
color: #444;
|
2894 |
text-decoration: none !important;
|
2895 |
+
padding: 10px 15px 10px 30px;
|
2896 |
+
border: 1px solid $border;
|
2897 |
border-radius: $radius;
|
2898 |
+
line-height: 1;
|
|
|
|
|
2899 |
display: block;
|
2900 |
box-shadow: 0 0 0 1px #fff;
|
2901 |
+
& > i {
|
2902 |
+
color: $grey_text;
|
2903 |
+
font-size: 15px;
|
2904 |
+
position: absolute;
|
2905 |
+
top: 50%;
|
2906 |
+
transform: translateY(-50%);
|
2907 |
+
left: 10px;
|
2908 |
+
}
|
2909 |
}
|
2910 |
.alm-repeater-options a.target:hover i.fa-cog {
|
2911 |
+
color: $grey;
|
2912 |
}
|
2913 |
|
2914 |
/* Active / Hover state */
|
2917 |
.alm-repeater-options a.target:hover,
|
2918 |
.alm-repeater-options a.target:focus {
|
2919 |
background-color: transparent;
|
2920 |
+
color: $grey;
|
2921 |
border-color: transparent;
|
2922 |
box-shadow: none;
|
2923 |
opacity: 1;
|
2924 |
}
|
2925 |
.alm-repeater-options.active a.target,
|
2926 |
.alm-repeater-options.active a.target i.fa-cog {
|
2927 |
+
color: $grey;
|
2928 |
}
|
2929 |
|
2930 |
/* Layout Dropdown */
|
2931 |
.alm-drop-btn.alm-layout-selection {
|
|
|
2932 |
float: right;
|
2933 |
margin: 6px 0 0;
|
2934 |
@media screen and (max-width: 480px) {
|
2943 |
> a > i {
|
2944 |
left: 12px;
|
2945 |
}
|
2946 |
+
}
|
2947 |
+
.alm-drop-btn.alm-layout-selection {
|
2948 |
+
li:not(.type) {
|
2949 |
+
// margin-top: 10px;
|
2950 |
+
}
|
2951 |
li.type {
|
2952 |
+
border: 1px solid $light_border;
|
2953 |
+
border-bottom: none;
|
2954 |
+
height: 40px;
|
2955 |
+
line-height: 40px;
|
2956 |
+
padding: 0 4px 0 10px;
|
2957 |
position: relative;
|
|
|
2958 |
&:first-of-type {
|
2959 |
+
border-top: 1px solid $light_border;
|
2960 |
+
border-radius: $radius $radius 0 0;
|
2961 |
+
}
|
2962 |
+
&:last-of-type {
|
2963 |
+
border-radius: 0 0 $radius $radius 0 0;
|
2964 |
+
border-bottom: 1px solid $light_border;
|
2965 |
+
}
|
2966 |
+
&:nth-child(even) {
|
2967 |
+
//background-color: $light_grey;
|
2968 |
+
}
|
2969 |
+
.col-select {
|
2970 |
+
float: right;
|
2971 |
+
text-align: right;
|
2972 |
+
width: auto;
|
2973 |
+
height: 39px;
|
2974 |
+
line-height: 39px;
|
2975 |
+
position: relative;
|
2976 |
+
top: 1px;
|
2977 |
+
display: flex;
|
2978 |
+
align-items: center;
|
2979 |
+
|
2980 |
+
a {
|
2981 |
+
width: 32px;
|
2982 |
+
height: 32px;
|
2983 |
+
margin: 0;
|
2984 |
+
padding: 0;
|
2985 |
+
float: left;
|
2986 |
+
text-align: center;
|
2987 |
+
background-position: center center;
|
2988 |
+
background-repeat: no-repeat;
|
2989 |
+
vertical-align: top;
|
2990 |
+
text-indent: -99999px;
|
2991 |
+
overflow: hidden;
|
2992 |
+
opacity: 1;
|
2993 |
+
border-radius: $radius;
|
2994 |
+
border: 1px solid transparent;
|
2995 |
+
}
|
2996 |
+
a.column-1 {
|
2997 |
+
background-image: url('../../img/column-1.png');
|
2998 |
+
}
|
2999 |
+
a.column-2 {
|
3000 |
+
background-image: url('../../img/column-2.png');
|
3001 |
+
}
|
3002 |
+
a.column-3 {
|
3003 |
+
background-image: url('../../img/column-3.png');
|
3004 |
+
width: 36px;
|
3005 |
+
}
|
3006 |
+
a.column-4 {
|
3007 |
+
background-image: url('../../img/column-4.png');
|
3008 |
+
width: 36px;
|
3009 |
+
}
|
3010 |
+
a.column-1.updating,
|
3011 |
+
a.column-2.updating,
|
3012 |
+
a.column-3.updating {
|
3013 |
+
background-image: url('../../img/loader.gif');
|
3014 |
+
padding: 0 !important;
|
3015 |
+
}
|
3016 |
+
a:hover,
|
3017 |
+
a.updating {
|
3018 |
+
opacity: 1;
|
3019 |
+
background-color: $yellow;
|
3020 |
+
border-color: $border;
|
3021 |
+
}
|
3022 |
}
|
3023 |
}
|
3024 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3025 |
|
3026 |
/* External Link + Add-on */
|
3027 |
.alm-drop-btn.alm-layout-selection a.external,
|
3028 |
.alm-drop-btn.alm-layout-selection a.add-on {
|
3029 |
background-color: $light_grey;
|
3030 |
+
padding: 12px 12px 12px 34px;
|
3031 |
display: block;
|
3032 |
}
|
3033 |
.alm-drop-btn.alm-layout-selection a.external {
|
3034 |
+
padding: 0 12px 0 34px;
|
3035 |
font-weight: 600;
|
3036 |
+
border: 1px solid $light_border;
|
3037 |
+
border-radius: 0 0 $radius $radius;
|
3038 |
+
i {
|
3039 |
+
color: $grey_text;
|
3040 |
+
border-color: #ccc;
|
3041 |
+
top: 53%;
|
3042 |
+
transform: translateY(-50%);
|
3043 |
+
width: 32px;
|
3044 |
+
}
|
|
|
|
|
|
|
3045 |
}
|
3046 |
.alm-drop-btn.alm-layout-selection a.add-on {
|
3047 |
line-height: 1.5;
|
3079 |
.alm-drop-btn.alm-layout-selection a.target:hover,
|
3080 |
.alm-drop-btn.alm-layout-selection a.target:active,
|
3081 |
.alm-drop-btn.alm-layout-selection.active a.target {
|
3082 |
+
color: $grey;
|
3083 |
+
border-color: $border_hover;
|
3084 |
+
background-color: $light_grey;
|
3085 |
opacity: 1;
|
3086 |
}
|
3087 |
.alm-drop-btn.alm-layout-selection.active a.target,
|
3088 |
.alm-drop-btn.alm-layout-selection a.target:active {
|
3089 |
+
box-shadow: inset 0 2px 2px rgba(0, 0, 0, 0.065) !important;
|
3090 |
}
|
3091 |
|
3092 |
.alm-drop-btn.alm-layout-selection .alm-dropdown {
|
3120 |
}
|
3121 |
|
3122 |
.add-layout-cta {
|
3123 |
+
border-radius: $radius;
|
3124 |
border: 1px solid $border;
|
3125 |
background-color: #fefeed;
|
3126 |
padding: 10px 100px 10px 10px;
|
3128 |
margin: 5px 0 15px;
|
3129 |
font-weight: 600;
|
3130 |
position: relative;
|
3131 |
+
p {
|
3132 |
+
margin: 0;
|
3133 |
+
}
|
|
|
3134 |
}
|
3135 |
span.dismiss {
|
3136 |
position: absolute;
|
3162 |
border-radius: $radius;
|
3163 |
border: 1px solid #ccc;
|
3164 |
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
|
3165 |
+
padding: 10px;
|
3166 |
+
width: 240px;
|
3167 |
}
|
3168 |
.alm-drop-inner:after,
|
3169 |
.alm-drop-inner:before {
|
3196 |
}
|
3197 |
|
3198 |
.alm-layout-selection .alm-dropdown .alm-drop-inner {
|
3199 |
+
width: 300px;
|
3200 |
+
padding: 10px;
|
3201 |
}
|
3202 |
|
3203 |
.alm-dropdown {
|
3208 |
}
|
3209 |
li {
|
3210 |
margin: 0;
|
3211 |
+
padding: 0;
|
3212 |
list-style: none;
|
3213 |
clear: both;
|
|
|
3214 |
line-height: 1.2;
|
3215 |
font-weight: 400;
|
3216 |
&.option {
|
3217 |
+
border: 1px solid $light_border;
|
3218 |
+
border-top: none;
|
3219 |
+
overflow: hidden;
|
3220 |
+
&:first-of-type {
|
3221 |
+
border-top: 1px solid $light_border;
|
3222 |
+
border-radius: $radius $radius 0 0;
|
3223 |
+
}
|
3224 |
+
&:last-of-type {
|
3225 |
+
border-radius: 0 0 $radius $radius 0 0;
|
3226 |
+
}
|
3227 |
&:nth-child(even) {
|
3228 |
background-color: $light_grey;
|
3229 |
}
|
3230 |
}
|
3231 |
a:not(.button) {
|
3232 |
+
padding: 0 10px 0 35px;
|
3233 |
line-height: 40px;
|
3234 |
height: 40px;
|
3235 |
display: block;
|
3242 |
white-space: nowrap;
|
3243 |
overflow: hidden;
|
3244 |
text-overflow: ellipsis;
|
|
|
3245 |
&:hover,
|
3246 |
&:focus {
|
3247 |
+
color: $blue;
|
3248 |
i {
|
3249 |
+
opacity: 0.65;
|
3250 |
}
|
3251 |
}
|
3252 |
i {
|
3253 |
margin: 0;
|
3254 |
position: absolute;
|
3255 |
+
left: 2px;
|
3256 |
top: 50%;
|
3257 |
transform: translateY(-50%);
|
3258 |
width: 32px;
|
3261 |
display: inline-block;
|
3262 |
text-align: center;
|
3263 |
opacity: 0.5;
|
3264 |
+
color: $grey !important;
|
3265 |
}
|
3266 |
}
|
3267 |
+
a.layout {
|
3268 |
+
border: 1px solid $light_border;
|
3269 |
+
}
|
3270 |
&.layout-cta {
|
3271 |
+
border: 1px solid $light_border;
|
3272 |
+
padding: 15px;
|
3273 |
border-radius: $radius;
|
3274 |
+
margin-top: 5px;
|
3275 |
+
background-color: $yellow;
|
3276 |
text-align: center;
|
3277 |
span {
|
3278 |
display: block;
|
3279 |
+
padding: 0 0 15px;
|
3280 |
+
line-height: 1.75;
|
3281 |
+
font-size: 13px;
|
3282 |
}
|
3283 |
}
|
3284 |
}
|
3361 |
}
|
3362 |
#alm-mailing-list .form-wrap i.fa-envelope {
|
3363 |
color: #fff;
|
3364 |
+
background: $red;
|
3365 |
position: absolute;
|
3366 |
top: 0;
|
3367 |
left: 0;
|
3388 |
border-radius: 0;
|
3389 |
width: 40px;
|
3390 |
height: 40px;
|
3391 |
+
color: $red;
|
3392 |
background: none !important;
|
3393 |
cursor: pointer;
|
3394 |
}
|
3404 |
font-size: 19px;
|
3405 |
}
|
3406 |
#alm-mailing-list .form-wrap button:hover i {
|
3407 |
+
color: $grey_text;
|
3408 |
}
|
3409 |
|
3410 |
#alm-mailing-list .form-wrap button span {
|
3614 |
opacity: 0.3;
|
3615 |
&:hover,
|
3616 |
&:focus {
|
3617 |
+
color: $grey_text;
|
3618 |
opacity: 1;
|
3619 |
}
|
3620 |
}
|
3684 |
z-index: 9;
|
3685 |
li {
|
3686 |
float: left;
|
3687 |
+
margin: 0 4px 0 0;
|
3688 |
padding: 0;
|
3689 |
background: none;
|
3690 |
list-style: none;
|
3691 |
+
font-size: 14px;
|
3692 |
}
|
3693 |
li a {
|
3694 |
display: block;
|
3706 |
}
|
3707 |
li a.active {
|
3708 |
background: #fff;
|
3709 |
+
font-weight: 600;
|
3710 |
border-bottom-color: #fff;
|
3711 |
color: #111;
|
3712 |
}
|
3805 |
width: 100%;
|
3806 |
}
|
3807 |
.ajax-load-more .section-title p {
|
3808 |
+
color: $grey_text;
|
3809 |
padding: 0 !important;
|
3810 |
}
|
3811 |
#alm-add-ons .row .wrap {
|
admin/src/scss/libs/select2.scss
CHANGED
@@ -1,4 +1,3 @@
|
|
1 |
-
|
2 |
/*
|
3 |
* Select2 - form replacement - http://ivaynberg.github.io/select2/
|
4 |
*
|
@@ -6,344 +5,341 @@
|
|
6 |
*/
|
7 |
|
8 |
.select2-container {
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
}
|
16 |
-
.inner.half .select2-container{
|
17 |
-
|
18 |
-
|
19 |
}
|
20 |
-
#alm-builder .select2-container li{
|
21 |
-
|
22 |
}
|
23 |
.select2-container a.select2-choice {
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
font-size: 14px;
|
47 |
}
|
48 |
|
49 |
.select2-dropdown-open.select2-container-active .select2-choice {
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
}
|
54 |
|
55 |
.select2-container.select2-drop-above .select2-choice {
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
}
|
61 |
|
62 |
.select2-container .select2-choice span {
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
text-overflow: ellipsis;
|
72 |
}
|
73 |
|
74 |
.select2-container .select2-choice abbr:hover {
|
75 |
-
|
76 |
-
|
77 |
}
|
78 |
|
79 |
.select2-drop-mask {
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
|
87 |
-
/* works in IE 8 */
|
88 |
-
filter: "alpha(opacity=0)";
|
89 |
-
/* expected to work in IE 8 */
|
90 |
-
filter: alpha(opacity = 0);
|
91 |
-
/* IE 4-7 */
|
92 |
}
|
93 |
|
94 |
.select2-drop {
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
border-top: 1px solid #efefef;
|
113 |
-
border-bottom: 0;
|
114 |
-
border-radius: 2px 2px 0 0;
|
115 |
-
box-shadow: 0 -2px -1px rgba(0, 0, 0, 0.1);
|
116 |
}
|
117 |
|
118 |
.select2-container .select2-choice div {
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
}
|
126 |
|
127 |
.select2-container .select2-choice div b {
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
}
|
133 |
|
134 |
.select2-dropdown-open.select2-container-active div b {
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
}
|
140 |
|
141 |
/* Search */
|
142 |
.select2-search {
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
|
158 |
/* Multi select box */
|
159 |
-
#alm-builder .select2-
|
160 |
-
|
161 |
-
}
|
162 |
-
#alm-builder .select2-
|
163 |
-
|
164 |
-
}
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
|
|
|
|
|
|
|
|
|
|
212 |
|
213 |
/* results UL */
|
214 |
.select2-results {
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
}
|
223 |
-
.select2-result-sub{
|
224 |
-
|
225 |
-
|
226 |
}
|
227 |
|
228 |
.select2-results li {
|
229 |
-
|
230 |
-
|
231 |
-
|
232 |
-
|
233 |
-
|
234 |
-
|
235 |
-
|
236 |
-
|
237 |
-
|
|
|
|
|
|
|
238 |
}
|
239 |
|
240 |
.select2-results li.select2-result-with-children > .select2-result-label {
|
241 |
-
|
242 |
-
|
243 |
-
|
244 |
-
|
245 |
}
|
246 |
|
247 |
.select2-results .select2-result-label {
|
248 |
-
|
249 |
-
|
250 |
-
|
251 |
-
|
252 |
-
|
253 |
-
|
254 |
-
|
255 |
-
|
256 |
-
|
257 |
-
|
258 |
-
}
|
259 |
-
|
260 |
-
|
261 |
-
|
262 |
-
|
263 |
-
|
|
|
264 |
|
265 |
.select2-results .select2-highlighted:active {
|
266 |
-
|
267 |
}
|
268 |
|
269 |
.select2-results li em {
|
270 |
-
|
271 |
-
|
272 |
}
|
273 |
|
274 |
.select2-results .select2-highlighted em {
|
275 |
-
|
276 |
}
|
277 |
|
278 |
.select2-results .select2-highlighted ul {
|
279 |
-
|
280 |
-
|
281 |
}
|
282 |
|
283 |
.select2-results .select2-no-results,
|
284 |
.select2-results .select2-searching,
|
285 |
.select2-results .select2-selection-limit {
|
286 |
-
|
287 |
-
|
288 |
}
|
289 |
|
290 |
-
.select2-results .select2-no-results{
|
291 |
-
|
292 |
-
|
293 |
-
|
294 |
}
|
295 |
|
296 |
/*
|
297 |
disabled look for disabled choices in the results dropdown
|
298 |
*/
|
299 |
.select2-results .select2-disabled.select2-highlighted {
|
300 |
-
|
301 |
-
|
302 |
-
|
303 |
-
|
304 |
}
|
305 |
|
306 |
.select2-results .select2-disabled {
|
307 |
-
|
308 |
-
|
309 |
-
|
310 |
}
|
311 |
|
312 |
.select2-results .select2-selected {
|
313 |
-
|
314 |
}
|
315 |
|
316 |
.select2-more-results {
|
317 |
-
|
318 |
-
|
319 |
}
|
320 |
|
321 |
/* disabled styles */
|
322 |
.select2-container.select2-container-disabled .select2-choice {
|
323 |
-
|
324 |
-
|
325 |
-
|
326 |
-
|
327 |
}
|
328 |
|
329 |
.select2-container.select2-container-disabled .select2-choice div {
|
330 |
-
|
331 |
-
|
332 |
-
|
333 |
}
|
334 |
|
335 |
.select2-container.select2-container-disabled .select2-choice abbr {
|
336 |
-
|
337 |
}
|
338 |
|
339 |
.select2-offscreen {
|
340 |
-
|
341 |
-
|
342 |
-
|
343 |
-
|
344 |
-
|
345 |
-
|
346 |
-
|
347 |
-
|
348 |
-
|
349 |
-
}
|
|
|
1 |
/*
|
2 |
* Select2 - form replacement - http://ivaynberg.github.io/select2/
|
3 |
*
|
5 |
*/
|
6 |
|
7 |
.select2-container {
|
8 |
+
position: relative;
|
9 |
+
display: inline-block;
|
10 |
+
zoom: 1;
|
11 |
+
*display: inline;
|
12 |
+
vertical-align: middle;
|
13 |
+
min-width: 60%;
|
14 |
}
|
15 |
+
.inner.half .select2-container {
|
16 |
+
min-width: 90%;
|
17 |
+
width: 90%;
|
18 |
}
|
19 |
+
#alm-builder .select2-container li {
|
20 |
+
padding-right: 0;
|
21 |
}
|
22 |
.select2-container a.select2-choice {
|
23 |
+
display: block;
|
24 |
+
height: 38px;
|
25 |
+
line-height: 37px;
|
26 |
+
padding: 0 0 0 10px;
|
27 |
+
overflow: hidden;
|
28 |
+
position: relative;
|
29 |
+
border: 1px solid $border;
|
30 |
+
white-space: nowrap;
|
31 |
+
color: $grey;
|
32 |
+
text-decoration: none;
|
33 |
+
background: #fff;
|
34 |
+
border-radius: $radius;
|
35 |
+
-webkit-background-clip: padding-box;
|
36 |
+
-moz-background-clip: padding;
|
37 |
+
background-clip: padding-box;
|
38 |
+
-webkit-touch-callout: none;
|
39 |
+
-webkit-user-select: none;
|
40 |
+
-khtml-user-select: none;
|
41 |
+
-moz-user-select: none;
|
42 |
+
-ms-user-select: none;
|
43 |
+
user-select: none;
|
44 |
+
font-size: 13px;
|
|
|
45 |
}
|
46 |
|
47 |
.select2-dropdown-open.select2-container-active .select2-choice {
|
48 |
+
-webkit-border-radius: 4px 4px 0 0;
|
49 |
+
-moz-border-radius: 4px 4px 0 0;
|
50 |
+
border-radius: 4px 4px 0 0;
|
51 |
}
|
52 |
|
53 |
.select2-container.select2-drop-above .select2-choice {
|
54 |
+
background: #fff;
|
55 |
+
-webkit-border-radius: 0 0 4px 4px;
|
56 |
+
-moz-border-radius: 0px 0px 4px 4px;
|
57 |
+
border-radius: 0 0 4px 4px;
|
58 |
}
|
59 |
|
60 |
.select2-container .select2-choice span {
|
61 |
+
padding-right: 40px;
|
62 |
+
margin: 0;
|
63 |
+
width: 100%;
|
64 |
+
display: block;
|
65 |
+
overflow: hidden;
|
66 |
+
white-space: nowrap;
|
67 |
+
color: #666;
|
68 |
+
text-overflow: ellipsis;
|
|
|
69 |
}
|
70 |
|
71 |
.select2-container .select2-choice abbr:hover {
|
72 |
+
background-position: right -11px;
|
73 |
+
cursor: pointer;
|
74 |
}
|
75 |
|
76 |
.select2-drop-mask {
|
77 |
+
position: absolute;
|
78 |
+
left: 0;
|
79 |
+
top: 0;
|
80 |
+
z-index: 8;
|
81 |
+
background-color: #fff;
|
82 |
+
opacity: 0;
|
|
|
|
|
|
|
|
|
|
|
|
|
83 |
}
|
84 |
|
85 |
.select2-drop {
|
86 |
+
overflow: hidden;
|
87 |
+
width: 100%;
|
88 |
+
position: absolute;
|
89 |
+
z-index: 9;
|
90 |
+
top: 100%;
|
91 |
+
background: #fff;
|
92 |
+
color: $grey;
|
93 |
+
border: 1px solid $border;
|
94 |
+
border-radius: $radius;
|
95 |
+
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
|
96 |
+
font-size: 13px;
|
97 |
+
overflow: hidden;
|
98 |
+
margin-top: 2px;
|
99 |
+
margin-left: -1px;
|
100 |
+
&.select2-drop-above {
|
101 |
+
margin-top: -2px;
|
102 |
+
}
|
|
|
|
|
|
|
|
|
103 |
}
|
104 |
|
105 |
.select2-container .select2-choice div {
|
106 |
+
display: block;
|
107 |
+
width: 30px;
|
108 |
+
height: 100%;
|
109 |
+
position: absolute;
|
110 |
+
right: 0;
|
111 |
+
top: 0;
|
112 |
}
|
113 |
|
114 |
.select2-container .select2-choice div b {
|
115 |
+
display: block;
|
116 |
+
width: 100%;
|
117 |
+
height: 100%;
|
118 |
+
background: #fff url('../../img/bkg-select.png') no-repeat center center;
|
119 |
}
|
120 |
|
121 |
.select2-dropdown-open.select2-container-active div b {
|
122 |
+
display: block;
|
123 |
+
width: 100%;
|
124 |
+
height: 100%;
|
125 |
+
background-color: #fff;
|
126 |
}
|
127 |
|
128 |
/* Search */
|
129 |
.select2-search {
|
130 |
+
//display: none !important;
|
131 |
+
padding: 5px;
|
132 |
+
display: block;
|
133 |
+
background-color: #fff;
|
134 |
+
border-bottom: 1px solid $light_grey;
|
135 |
+
.select2-input {
|
136 |
+
width: 99%;
|
137 |
+
height: 35px !important;
|
138 |
+
line-height: 35px !important;
|
139 |
+
box-shadow: none !important;
|
140 |
+
background: #fff url('../../img/icon-search.png') no-repeat right 7px center;
|
141 |
+
background-size: 16px 16px;
|
142 |
+
}
|
143 |
+
}
|
144 |
|
145 |
/* Multi select box */
|
146 |
+
#alm-builder .select2-choices li {
|
147 |
+
margin: 0 0 2px;
|
148 |
+
}
|
149 |
+
#alm-builder .select2-container-multi {
|
150 |
+
width: 60%;
|
151 |
+
}
|
152 |
+
#alm-builder .select2-results li {
|
153 |
+
width: 100%;
|
154 |
+
}
|
155 |
+
|
156 |
+
#alm-builder .select2-container-multi .select2-input {
|
157 |
+
cursor: pointer;
|
158 |
+
margin: 0 !important;
|
159 |
+
}
|
160 |
+
|
161 |
+
#alm-builder ul.select2-choices {
|
162 |
+
width: 100%;
|
163 |
+
overflow: hidden;
|
164 |
+
}
|
165 |
+
#alm-builder ul.select2-choices li.select2-search-field,
|
166 |
+
#alm-builder ul.select2-choices li.select2-search-field input {
|
167 |
+
width: 100% !important;
|
168 |
+
display: block;
|
169 |
+
}
|
170 |
+
/* Selected Choice */
|
171 |
+
#alm-builder ul.select2-choices li.select2-search-choice {
|
172 |
+
display: inline-block;
|
173 |
+
font-size: 12px;
|
174 |
+
line-height: 13px;
|
175 |
+
margin: 0 5px 5px 0;
|
176 |
+
padding: 5px 10px 5px 27px;
|
177 |
+
border-radius: 3px;
|
178 |
+
background: #fff;
|
179 |
+
border: 1px solid $border;
|
180 |
+
width: auto;
|
181 |
+
position: relative;
|
182 |
+
}
|
183 |
+
#alm-builder ul.select2-choices .select2-input {
|
184 |
+
background: #fff url('../../img/bkg-select.png') no-repeat right center;
|
185 |
+
&.select2-focused {
|
186 |
+
background: #fff url('../../img/icon-search.png') no-repeat right 7px center;
|
187 |
+
background-size: 16px 16px;
|
188 |
+
}
|
189 |
+
}
|
190 |
+
#alm-builder ul.select2-choices li.select2-search-choice a {
|
191 |
+
position: absolute;
|
192 |
+
left: 3px;
|
193 |
+
top: 3px;
|
194 |
+
width: 17px;
|
195 |
+
height: 17px;
|
196 |
+
background: $grey url('../../img/ico-close.png') no-repeat center center;
|
197 |
+
display: block;
|
198 |
+
border-radius: $radius;
|
199 |
+
&:hover,
|
200 |
+
&:focus {
|
201 |
+
background-color: $red_alert;
|
202 |
+
}
|
203 |
+
}
|
204 |
|
205 |
/* results UL */
|
206 |
.select2-results {
|
207 |
+
max-height: 311px;
|
208 |
+
padding: 0 0 0 0;
|
209 |
+
margin: 0 0 0 0;
|
210 |
+
position: relative;
|
211 |
+
overflow-x: hidden;
|
212 |
+
overflow-y: auto;
|
213 |
+
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
214 |
}
|
215 |
+
.select2-result-sub {
|
216 |
+
margin: 0;
|
217 |
+
padding: 0;
|
218 |
}
|
219 |
|
220 |
.select2-results li {
|
221 |
+
list-style: none;
|
222 |
+
display: block;
|
223 |
+
background-image: none;
|
224 |
+
padding: 0;
|
225 |
+
margin: 0 !important;
|
226 |
+
border-top: 1px solid $light_grey;
|
227 |
+
color: $grey;
|
228 |
+
width: auto;
|
229 |
+
font-size: 13px;
|
230 |
+
&:first-of-type {
|
231 |
+
border: none;
|
232 |
+
}
|
233 |
}
|
234 |
|
235 |
.select2-results li.select2-result-with-children > .select2-result-label {
|
236 |
+
font-weight: 700;
|
237 |
+
font-size: 13px;
|
238 |
+
cursor: default;
|
239 |
+
border-bottom: 1px solid $light_grey;
|
240 |
}
|
241 |
|
242 |
.select2-results .select2-result-label {
|
243 |
+
margin: 0;
|
244 |
+
cursor: pointer;
|
245 |
+
min-height: 1em;
|
246 |
+
padding: 10px;
|
247 |
+
-webkit-touch-callout: none;
|
248 |
+
-webkit-user-select: none;
|
249 |
+
-khtml-user-select: none;
|
250 |
+
-moz-user-select: none;
|
251 |
+
-ms-user-select: none;
|
252 |
+
user-select: none;
|
253 |
+
}
|
254 |
+
|
255 |
+
.select2-results .select2-highlighted .select2-result-label {
|
256 |
+
/* Hover */
|
257 |
+
background: #f7f7f7;
|
258 |
+
color: $blue;
|
259 |
+
}
|
260 |
|
261 |
.select2-results .select2-highlighted:active {
|
262 |
+
background: #fff;
|
263 |
}
|
264 |
|
265 |
.select2-results li em {
|
266 |
+
background: #feffde;
|
267 |
+
font-style: normal;
|
268 |
}
|
269 |
|
270 |
.select2-results .select2-highlighted em {
|
271 |
+
background: transparent;
|
272 |
}
|
273 |
|
274 |
.select2-results .select2-highlighted ul {
|
275 |
+
background: white;
|
276 |
+
color: #000;
|
277 |
}
|
278 |
|
279 |
.select2-results .select2-no-results,
|
280 |
.select2-results .select2-searching,
|
281 |
.select2-results .select2-selection-limit {
|
282 |
+
background: #f4f4f4;
|
283 |
+
display: list-item;
|
284 |
}
|
285 |
|
286 |
+
.select2-results .select2-no-results {
|
287 |
+
min-height: 1em;
|
288 |
+
padding: 10px 7px;
|
289 |
+
font-size: 13px;
|
290 |
}
|
291 |
|
292 |
/*
|
293 |
disabled look for disabled choices in the results dropdown
|
294 |
*/
|
295 |
.select2-results .select2-disabled.select2-highlighted {
|
296 |
+
color: #666;
|
297 |
+
background: #f4f4f4;
|
298 |
+
display: list-item;
|
299 |
+
cursor: default;
|
300 |
}
|
301 |
|
302 |
.select2-results .select2-disabled {
|
303 |
+
background: #f4f4f4;
|
304 |
+
display: list-item;
|
305 |
+
cursor: default;
|
306 |
}
|
307 |
|
308 |
.select2-results .select2-selected {
|
309 |
+
display: none;
|
310 |
}
|
311 |
|
312 |
.select2-more-results {
|
313 |
+
background: #f4f4f4;
|
314 |
+
display: list-item;
|
315 |
}
|
316 |
|
317 |
/* disabled styles */
|
318 |
.select2-container.select2-container-disabled .select2-choice {
|
319 |
+
background-color: #f4f4f4;
|
320 |
+
background-image: none;
|
321 |
+
border: 1px solid #ddd;
|
322 |
+
cursor: default;
|
323 |
}
|
324 |
|
325 |
.select2-container.select2-container-disabled .select2-choice div {
|
326 |
+
background-color: #f4f4f4;
|
327 |
+
background-image: none;
|
328 |
+
border-left: 0;
|
329 |
}
|
330 |
|
331 |
.select2-container.select2-container-disabled .select2-choice abbr {
|
332 |
+
display: none;
|
333 |
}
|
334 |
|
335 |
.select2-offscreen {
|
336 |
+
border: 0;
|
337 |
+
clip: rect(0 0 0 0);
|
338 |
+
height: 1px;
|
339 |
+
margin: -1px;
|
340 |
+
overflow: hidden;
|
341 |
+
padding: 0;
|
342 |
+
position: absolute;
|
343 |
+
width: 1px;
|
344 |
+
left: 0;
|
345 |
+
}
|
admin/src/scss/partials/_alm-tabbed-wrapper.scss
CHANGED
@@ -15,7 +15,7 @@
|
|
15 |
font-weight: 700;
|
16 |
+ p {
|
17 |
position: relative;
|
18 |
-
top: -
|
19 |
}
|
20 |
}
|
21 |
|
@@ -83,7 +83,6 @@
|
|
83 |
width: 100%;
|
84 |
border: none;
|
85 |
background: none;
|
86 |
-
font-size: 13px;
|
87 |
line-height: 1.4;
|
88 |
padding: 12px 10px;
|
89 |
text-align: left;
|
@@ -92,6 +91,7 @@
|
|
92 |
background: $light_grey;
|
93 |
border-bottom: 1px solid $border;
|
94 |
cursor: pointer;
|
|
|
95 |
&:hover,
|
96 |
&:focus {
|
97 |
background-color: #efefef;
|
@@ -109,6 +109,9 @@
|
|
109 |
background-color: #fff;
|
110 |
color: $red;
|
111 |
cursor: default;
|
|
|
|
|
|
|
112 |
@media screen and (min-width: $desktop) {
|
113 |
width: calc(100% + 1px);
|
114 |
}
|
15 |
font-weight: 700;
|
16 |
+ p {
|
17 |
position: relative;
|
18 |
+
top: -3px;
|
19 |
}
|
20 |
}
|
21 |
|
83 |
width: 100%;
|
84 |
border: none;
|
85 |
background: none;
|
|
|
86 |
line-height: 1.4;
|
87 |
padding: 12px 10px;
|
88 |
text-align: left;
|
91 |
background: $light_grey;
|
92 |
border-bottom: 1px solid $border;
|
93 |
cursor: pointer;
|
94 |
+
color: $grey;
|
95 |
&:hover,
|
96 |
&:focus {
|
97 |
background-color: #efefef;
|
109 |
background-color: #fff;
|
110 |
color: $red;
|
111 |
cursor: default;
|
112 |
+
i {
|
113 |
+
color: $grey;
|
114 |
+
}
|
115 |
@media screen and (min-width: $desktop) {
|
116 |
width: calc(100% + 1px);
|
117 |
}
|
admin/src/scss/partials/_builder-option-toggle.scss
CHANGED
@@ -1,19 +1,21 @@
|
|
1 |
-
.ajax-load-more .builder-option-toggle{
|
2 |
display: flex;
|
3 |
flex-wrap: nowrap;
|
4 |
-
input{
|
5 |
border-radius: $radius 0 0 $radius;
|
6 |
margin: 0;
|
7 |
width: auto;
|
8 |
flex: 1;
|
9 |
}
|
10 |
-
&--buttons{
|
11 |
border-radius: 0 $radius $radius 0;
|
12 |
padding: 3px;
|
13 |
width: auto;
|
14 |
-
border: 1px solid
|
|
|
15 |
border-left: none;
|
16 |
-
|
|
|
17 |
height: 100%;
|
18 |
border: 1px solid $border;
|
19 |
border-left-width: 0;
|
@@ -21,7 +23,6 @@
|
|
21 |
font-weight: 600;
|
22 |
font-size: 11px;
|
23 |
text-transform: uppercase;
|
24 |
-
float: left;
|
25 |
cursor: pointer;
|
26 |
padding: 0;
|
27 |
margin: 0;
|
@@ -32,18 +33,18 @@
|
|
32 |
color: $grey;
|
33 |
background-color: transparent;
|
34 |
&:hover,
|
35 |
-
&:focus{
|
36 |
color: #222;
|
37 |
border-color: #ccc;
|
38 |
}
|
39 |
-
&:first-child{
|
40 |
border-radius: $radius 0 0 $radius;
|
41 |
border-left-width: 1px;
|
42 |
}
|
43 |
-
&:last-child{
|
44 |
border-radius: 0 $radius $radius 0;
|
45 |
}
|
46 |
-
&.active{
|
47 |
border-color: $grey;
|
48 |
background-color: $grey;
|
49 |
color: #fff;
|
@@ -51,4 +52,4 @@
|
|
51 |
}
|
52 |
}
|
53 |
}
|
54 |
-
}
|
1 |
+
.ajax-load-more .builder-option-toggle {
|
2 |
display: flex;
|
3 |
flex-wrap: nowrap;
|
4 |
+
input {
|
5 |
border-radius: $radius 0 0 $radius;
|
6 |
margin: 0;
|
7 |
width: auto;
|
8 |
flex: 1;
|
9 |
}
|
10 |
+
&--buttons {
|
11 |
border-radius: 0 $radius $radius 0;
|
12 |
padding: 3px;
|
13 |
width: auto;
|
14 |
+
border: 1px solid #ccc;
|
15 |
+
background-color: $lighter_grey;
|
16 |
border-left: none;
|
17 |
+
display: flex;
|
18 |
+
button {
|
19 |
height: 100%;
|
20 |
border: 1px solid $border;
|
21 |
border-left-width: 0;
|
23 |
font-weight: 600;
|
24 |
font-size: 11px;
|
25 |
text-transform: uppercase;
|
|
|
26 |
cursor: pointer;
|
27 |
padding: 0;
|
28 |
margin: 0;
|
33 |
color: $grey;
|
34 |
background-color: transparent;
|
35 |
&:hover,
|
36 |
+
&:focus {
|
37 |
color: #222;
|
38 |
border-color: #ccc;
|
39 |
}
|
40 |
+
&:first-child {
|
41 |
border-radius: $radius 0 0 $radius;
|
42 |
border-left-width: 1px;
|
43 |
}
|
44 |
+
&:last-child {
|
45 |
border-radius: 0 $radius $radius 0;
|
46 |
}
|
47 |
+
&.active {
|
48 |
border-color: $grey;
|
49 |
background-color: $grey;
|
50 |
color: #fff;
|
52 |
}
|
53 |
}
|
54 |
}
|
55 |
+
}
|
admin/src/scss/partials/_codemirror.scss
CHANGED
@@ -1,83 +1,92 @@
|
|
1 |
.ajax-load-more .CodeMirror {
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
border-color:
|
12 |
-
box-shadow:
|
13 |
-
|
14 |
-
}
|
15 |
-
.ajax-load-more .cm-readonly .CodeMirror{
|
16 |
-
|
17 |
-
}
|
18 |
-
.ajax-load-more .cm-readonly .CodeMirror pre{
|
19 |
-
|
20 |
-
}
|
21 |
-
.ajax-load-more .CodeMirror pre{
|
22 |
padding: 0 10px;
|
23 |
-
}
|
24 |
-
.CodeMirror-lines{
|
25 |
padding: 10px !important;
|
26 |
}
|
27 |
-
.CodeMirror-linenumber{
|
28 |
padding: 0 10px !important;
|
29 |
line-height: 1.25 !important;
|
30 |
color: #ccc !important;
|
31 |
}
|
32 |
.CodeMirror-linenumber.CodeMirror-gutter-elt {
|
33 |
-
|
34 |
-
}
|
35 |
-
.ajax-load-more .cm-readonly.sm-margin .CodeMirror{
|
36 |
-
|
37 |
-
}
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
|
|
|
|
57 |
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
.ajax-load-more .CodeMirror {
|
2 |
+
height: auto;
|
3 |
+
border-radius: $radius;
|
4 |
+
padding: 0;
|
5 |
+
background: $light_grey;
|
6 |
+
border: 1px solid $border;
|
7 |
+
color: $grey_text;
|
8 |
+
line-height: 1.5;
|
9 |
+
font-size: 13px;
|
10 |
+
&.CodeMirror-focused {
|
11 |
+
border-color: $blue;
|
12 |
+
box-shadow: $shadow;
|
13 |
+
}
|
14 |
+
}
|
15 |
+
.ajax-load-more .cm-readonly .CodeMirror {
|
16 |
+
opacity: 0.8;
|
17 |
+
}
|
18 |
+
.ajax-load-more .cm-readonly .CodeMirror pre {
|
19 |
+
cursor: default !important;
|
20 |
+
}
|
21 |
+
.ajax-load-more .CodeMirror pre {
|
22 |
padding: 0 10px;
|
23 |
+
}
|
24 |
+
.CodeMirror-lines {
|
25 |
padding: 10px !important;
|
26 |
}
|
27 |
+
.CodeMirror-linenumber {
|
28 |
padding: 0 10px !important;
|
29 |
line-height: 1.25 !important;
|
30 |
color: #ccc !important;
|
31 |
}
|
32 |
.CodeMirror-linenumber.CodeMirror-gutter-elt {
|
33 |
+
padding: 0 20px 0 0 !important;
|
34 |
+
}
|
35 |
+
.ajax-load-more .cm-readonly.sm-margin .CodeMirror {
|
36 |
+
margin: 0 0 10px;
|
37 |
+
}
|
38 |
+
.ajax-load-more .cm-readonly p.warning-callout {
|
39 |
+
margin: 0 0 10px;
|
40 |
+
}
|
41 |
+
.ajax-load-more .CodeMirror.loading {
|
42 |
+
background: $light_grey url('../../img/loader-unlimited.gif') no-repeat center center;
|
43 |
+
opacity: 0.6;
|
44 |
+
}
|
45 |
+
.ajax-load-more .cm-s-pastel-on-dark.CodeMirror {
|
46 |
+
/* Bkg color */
|
47 |
+
background: #333;
|
48 |
+
}
|
49 |
+
.ajax-load-more .CodeMirror-gutters {
|
50 |
+
/* Line Number color */
|
51 |
+
background: #fff;
|
52 |
+
border-right: 1px solid $border;
|
53 |
+
border-radius: 2px;
|
54 |
+
}
|
55 |
+
.ajax-load-more .CodeMirror-scroll {
|
56 |
+
overflow-y: hidden;
|
57 |
+
overflow-x: auto;
|
58 |
+
}
|
59 |
|
60 |
+
.ajax-load-more .cm-tag {
|
61 |
+
/* <li> <h2> html elements */
|
62 |
+
color: #0a4b83 !important;
|
63 |
+
}
|
64 |
+
.ajax-load-more .cm-string {
|
65 |
+
/* Elements in " " */
|
66 |
+
color: #c75050 !important;
|
67 |
+
}
|
68 |
+
.ajax-load-more .cm-attribute {
|
69 |
+
/* class names */
|
70 |
+
color: #008080 !important;
|
71 |
+
}
|
72 |
+
.ajax-load-more .cm-keyword {
|
73 |
+
/* if, array, echo */
|
74 |
+
color: #ae5fb3 !important;
|
75 |
+
}
|
76 |
+
.ajax-load-more span.CodeMirror-matchingbracket {
|
77 |
+
color: #ff0000 !important;
|
78 |
+
}
|
79 |
+
.ajax-load-more .CodeMirror span.cm-meta {
|
80 |
+
/* <?php */
|
81 |
+
color: $grey_text;
|
82 |
+
}
|
83 |
+
.ajax-load-more .CodeMirror span.cm-variable {
|
84 |
+
/* Function names */
|
85 |
+
color: #111;
|
86 |
+
font-weight: 500;
|
87 |
+
padding: 0 1px;
|
88 |
+
}
|
89 |
+
.ajax-load-more .CodeMirror span.cm-number {
|
90 |
+
/* Numbers */
|
91 |
+
color: #009999 !important;
|
92 |
+
}
|
admin/src/scss/partials/_header.scss
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
position: relative;
|
3 |
z-index: 1;
|
4 |
h1 {
|
5 |
-
padding: $padding $padding $padding
|
6 |
margin: 0;
|
7 |
min-height: 48px;
|
8 |
background: #fff url('../../img/alm-logo-48x48.png') no-repeat $padding $padding;
|
@@ -20,7 +20,7 @@
|
|
20 |
@media screen and (min-width: 768px) {
|
21 |
font-size: 14px;
|
22 |
}
|
23 |
-
color:
|
24 |
font-style: normal;
|
25 |
font-weight: 400;
|
26 |
line-height: 1.3;
|
@@ -31,17 +31,14 @@
|
|
31 |
font-weight: 600;
|
32 |
}
|
33 |
span {
|
34 |
-
color: #
|
35 |
-
font-weight:
|
36 |
margin: 0 0 0 5px;
|
37 |
vertical-align: top;
|
38 |
font-size: 12px;
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
background-color: $light_grey;
|
43 |
-
border-radius: 2px;
|
44 |
-
padding: 2px 4px;
|
45 |
display: inline-block;
|
46 |
line-height: 1.45;
|
47 |
position: relative;
|
2 |
position: relative;
|
3 |
z-index: 1;
|
4 |
h1 {
|
5 |
+
padding: $padding $padding $padding 80px;
|
6 |
margin: 0;
|
7 |
min-height: 48px;
|
8 |
background: #fff url('../../img/alm-logo-48x48.png') no-repeat $padding $padding;
|
20 |
@media screen and (min-width: 768px) {
|
21 |
font-size: 14px;
|
22 |
}
|
23 |
+
color: $paragraph;
|
24 |
font-style: normal;
|
25 |
font-weight: 400;
|
26 |
line-height: 1.3;
|
31 |
font-weight: 600;
|
32 |
}
|
33 |
span {
|
34 |
+
color: #fff;
|
35 |
+
font-weight: 400;
|
36 |
margin: 0 0 0 5px;
|
37 |
vertical-align: top;
|
38 |
font-size: 12px;
|
39 |
+
background-color: $blue;
|
40 |
+
border-radius: $radius;
|
41 |
+
padding: 2px 5px;
|
|
|
|
|
|
|
42 |
display: inline-block;
|
43 |
line-height: 1.45;
|
44 |
position: relative;
|
admin/src/scss/partials/_select2.scss
CHANGED
@@ -1,74 +1,74 @@
|
|
1 |
/* Custom buttom/loading styles */
|
2 |
-
.select2-results .select2-result.alm-color .select2-result-label{
|
3 |
-
|
4 |
-
}
|
5 |
-
.select2-results .select2-result.alm-color .select2-result-label:after{
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
}
|
17 |
-
.select2-results .select2-result.alm-color.default .select2-result-label:after{
|
18 |
-
|
19 |
-
}
|
20 |
-
.select2-results .select2-result.alm-color.white .select2-result-label:after{
|
21 |
-
|
22 |
-
|
23 |
-
}
|
24 |
-
.select2-results .select2-result.alm-color.light-grey .select2-result-label:after{
|
25 |
-
|
26 |
-
|
27 |
-
}
|
28 |
-
.select2-results .select2-result.alm-color.blue .select2-result-label:after{
|
29 |
-
|
30 |
-
}
|
31 |
-
.select2-results .select2-result.alm-color.green .select2-result-label:after{
|
32 |
-
|
33 |
-
}
|
34 |
-
.select2-results .select2-result.alm-color.purple .select2-result-label:after{
|
35 |
-
|
36 |
-
}
|
37 |
-
.select2-results .select2-result.alm-color.grey .select2-result-label:after{
|
38 |
-
|
39 |
-
}
|
40 |
-
.select2-results .select2-result.infinite .select2-result-label:after{
|
41 |
-
|
42 |
-
}
|
43 |
-
.select2-results .select2-result.infinite .select2-result-label{
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
}
|
50 |
-
.select2-results .select2-result.classic .select2-result-label{
|
51 |
-
|
52 |
-
}
|
53 |
-
.select2-results .select2-result.skype .select2-result-label{
|
54 |
-
|
55 |
-
}
|
56 |
-
.select2-results .select2-result.ring .select2-result-label{
|
57 |
-
|
58 |
-
}
|
59 |
-
.select2-results .select2-result.chasing-arrows .select2-result-label{
|
60 |
-
|
61 |
-
}
|
62 |
-
.select2-results .select2-result.fading-blocks .select2-result-label{
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
}
|
68 |
-
.select2-results .select2-result.fading-circles .select2-result-label{
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
}
|
1 |
/* Custom buttom/loading styles */
|
2 |
+
.select2-results .select2-result.alm-color .select2-result-label {
|
3 |
+
position: relative;
|
4 |
+
}
|
5 |
+
.select2-results .select2-result.alm-color .select2-result-label:after {
|
6 |
+
width: 10px;
|
7 |
+
height: 10px;
|
8 |
+
border-radius: 100%;
|
9 |
+
content: '';
|
10 |
+
display: block;
|
11 |
+
position: absolute;
|
12 |
+
right: 20px;
|
13 |
+
top: 50%;
|
14 |
+
margin-top: -5px;
|
15 |
+
z-index: 1;
|
16 |
+
}
|
17 |
+
.select2-results .select2-result.alm-color.default .select2-result-label:after {
|
18 |
+
background-color: #ed7070;
|
19 |
+
}
|
20 |
+
.select2-results .select2-result.alm-color.white .select2-result-label:after {
|
21 |
+
background-color: #fff;
|
22 |
+
box-shadow: 0 0 0 1px #ccc;
|
23 |
+
}
|
24 |
+
.select2-results .select2-result.alm-color.light-grey .select2-result-label:after {
|
25 |
+
background-color: #efefef;
|
26 |
+
box-shadow: 0 0 0 1px #ccc;
|
27 |
+
}
|
28 |
+
.select2-results .select2-result.alm-color.blue .select2-result-label:after {
|
29 |
+
background-color: #1b91ca;
|
30 |
+
}
|
31 |
+
.select2-results .select2-result.alm-color.green .select2-result-label:after {
|
32 |
+
background-color: #80ca7a;
|
33 |
+
}
|
34 |
+
.select2-results .select2-result.alm-color.purple .select2-result-label:after {
|
35 |
+
background-color: #b97eca;
|
36 |
+
}
|
37 |
+
.select2-results .select2-result.alm-color.grey .select2-result-label:after {
|
38 |
+
background-color: #a09e9e;
|
39 |
+
}
|
40 |
+
.select2-results .select2-result.infinite .select2-result-label:after {
|
41 |
+
display: none;
|
42 |
+
}
|
43 |
+
.select2-results .select2-result.infinite .select2-result-label {
|
44 |
+
-webkit-background-size: 20px 20px;
|
45 |
+
-moz-background-size: 20px 20px;
|
46 |
+
background-size: 20px 20px;
|
47 |
+
background-repeat: no-repeat;
|
48 |
+
background-position: 93% center;
|
49 |
+
}
|
50 |
+
.select2-results .select2-result.classic .select2-result-label {
|
51 |
+
background-image: url('../../../core/img/spinner.gif');
|
52 |
+
}
|
53 |
+
.select2-results .select2-result.skype .select2-result-label {
|
54 |
+
background-image: url('../../../core/img/spinner-skype.gif');
|
55 |
+
}
|
56 |
+
.select2-results .select2-result.ring .select2-result-label {
|
57 |
+
background-image: url('../../../core/img/spinner-ring.gif');
|
58 |
+
}
|
59 |
+
.select2-results .select2-result.chasing-arrows .select2-result-label {
|
60 |
+
background-image: url('../../../core/img/spinner-chasing-arrows.gif');
|
61 |
+
}
|
62 |
+
.select2-results .select2-result.fading-blocks .select2-result-label {
|
63 |
+
background-image: url('../../../core/img/loader-fading-blocks.gif');
|
64 |
+
-webkit-background-size: 20px 16px;
|
65 |
+
-moz-background-size: 20px 16px;
|
66 |
+
background-size: 20px 16px;
|
67 |
+
}
|
68 |
+
.select2-results .select2-result.fading-circles .select2-result-label {
|
69 |
+
background-image: url('../../../core/img/loader-fading-circles.gif');
|
70 |
+
-webkit-background-size: 30px 10px;
|
71 |
+
-moz-background-size: 30px 10px;
|
72 |
+
background-size: 30px 10px;
|
73 |
+
background-position: 95% center;
|
74 |
+
}
|
admin/src/scss/partials/_shortcode-builder.scss
CHANGED
@@ -65,7 +65,8 @@
|
|
65 |
width: 100%;
|
66 |
}
|
67 |
h4 {
|
68 |
-
|
|
|
69 |
}
|
70 |
p {
|
71 |
font-size: 13px !important;
|
65 |
width: 100%;
|
66 |
}
|
67 |
h4 {
|
68 |
+
font-size: 14px;
|
69 |
+
margin: 0 0 15px;
|
70 |
}
|
71 |
p {
|
72 |
font-size: 13px !important;
|
admin/views/help.php
CHANGED
File without changes
|
admin/views/repeater-templates.php
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
<?php
|
|
|
2 |
$theme_repeaters = false;
|
3 |
if ( isset( $_GET['theme-repeaters'] ) ) {
|
4 |
$theme_repeaters = ( 'true' === $_GET['theme-repeaters'] ) ? true : false;
|
@@ -10,8 +11,8 @@
|
|
10 |
|
11 |
<header class="header-wrap">
|
12 |
<h1>
|
13 |
-
<?php echo ALM_TITLE; ?>: <strong><?php _e('Repeater Templates', 'ajax-load-more'); ?></strong>
|
14 |
-
<em><?php _e('The library of editable templates for use within your theme', 'ajax-load-more'); ?></em>
|
15 |
</h1>
|
16 |
<?php alm_render_transient_notification(); ?>
|
17 |
</header>
|
@@ -58,10 +59,9 @@
|
|
58 |
$file = realpath( $file );
|
59 |
$link = substr( $file, strlen( $dir ) + 1 );
|
60 |
|
61 |
-
$file_extension = strtolower(substr(basename($file), strrpos(basename($file), '.') + 1));
|
62 |
-
$file_directory = get_option('stylesheet') .'/'. strtolower(substr(basename($dir), strrpos(basename($dir), '/')));
|
63 |
-
|
64 |
-
$id = preg_replace( '/\\.[^.\\s]{3,4}$/', '', $link );
|
65 |
|
66 |
// Only display .php files files.
|
67 |
if ( 'php' === $file_extension ) {
|
@@ -165,8 +165,9 @@
|
|
165 |
<?php } else { ?>
|
166 |
|
167 |
<!-- Repeaters -->
|
|
|
168 |
<?php
|
169 |
-
if (has_action('alm_custom_repeaters') || has_action('alm_unlimited_repeaters')){ ?>
|
170 |
<span class="toggle-all" role="button" tabindex="0">
|
171 |
<span class="inner-wrap">
|
172 |
<em class="collapse"><?php _e('Collapse All', 'ajax-load-more'); ?></em>
|
@@ -476,7 +477,6 @@
|
|
476 |
</div>
|
477 |
|
478 |
<aside class="cnkt-sidebar">
|
479 |
-
|
480 |
<div id="cnkt-sticky-wrapper">
|
481 |
<div id="cnkt-sticky">
|
482 |
|
@@ -502,16 +502,13 @@
|
|
502 |
<a class="button button-primary" href="https://connekthq.com/plugins/ajax-load-more/docs/repeater-templates/" target="_blank"><?php _e('Learn More', 'ajax-load-more'); ?></a>
|
503 |
</div>
|
504 |
</div>
|
505 |
-
|
506 |
<?php
|
507 |
if(!$theme_repeaters){
|
508 |
-
include_once
|
509 |
}
|
510 |
?>
|
511 |
-
|
512 |
</div>
|
513 |
</div>
|
514 |
-
|
515 |
</aside>
|
516 |
|
517 |
<div class="clear"></div>
|
1 |
<?php
|
2 |
+
// @codingStandardsIgnoreStart
|
3 |
$theme_repeaters = false;
|
4 |
if ( isset( $_GET['theme-repeaters'] ) ) {
|
5 |
$theme_repeaters = ( 'true' === $_GET['theme-repeaters'] ) ? true : false;
|
11 |
|
12 |
<header class="header-wrap">
|
13 |
<h1>
|
14 |
+
<?php echo ALM_TITLE; ?>: <strong><?php _e( 'Repeater Templates', 'ajax-load-more' ); ?></strong>
|
15 |
+
<em><?php _e( 'The library of editable templates for use within your theme', 'ajax-load-more' ); ?></em>
|
16 |
</h1>
|
17 |
<?php alm_render_transient_notification(); ?>
|
18 |
</header>
|
59 |
$file = realpath( $file );
|
60 |
$link = substr( $file, strlen( $dir ) + 1 );
|
61 |
|
62 |
+
$file_extension = strtolower( substr( basename( $file ), strrpos( basename( $file ), '.' ) + 1 ) );
|
63 |
+
$file_directory = get_option( 'stylesheet' ) . '/' . strtolower( substr( basename( $dir ), strrpos( basename( $dir ), '/' ) ) );
|
64 |
+
$id = preg_replace( '/\\.[^.\\s]{3,4}$/', '', $link );
|
|
|
65 |
|
66 |
// Only display .php files files.
|
67 |
if ( 'php' === $file_extension ) {
|
165 |
<?php } else { ?>
|
166 |
|
167 |
<!-- Repeaters -->
|
168 |
+
|
169 |
<?php
|
170 |
+
if ( has_action( 'alm_custom_repeaters') || has_action( 'alm_unlimited_repeaters' ) ) { ?>
|
171 |
<span class="toggle-all" role="button" tabindex="0">
|
172 |
<span class="inner-wrap">
|
173 |
<em class="collapse"><?php _e('Collapse All', 'ajax-load-more'); ?></em>
|
477 |
</div>
|
478 |
|
479 |
<aside class="cnkt-sidebar">
|
|
|
480 |
<div id="cnkt-sticky-wrapper">
|
481 |
<div id="cnkt-sticky">
|
482 |
|
502 |
<a class="button button-primary" href="https://connekthq.com/plugins/ajax-load-more/docs/repeater-templates/" target="_blank"><?php _e('Learn More', 'ajax-load-more'); ?></a>
|
503 |
</div>
|
504 |
</div>
|
|
|
505 |
<?php
|
506 |
if(!$theme_repeaters){
|
507 |
+
include_once ALM_PATH . 'admin/includes/cta/writeable.php';
|
508 |
}
|
509 |
?>
|
|
|
510 |
</div>
|
511 |
</div>
|
|
|
512 |
</aside>
|
513 |
|
514 |
<div class="clear"></div>
|
admin/views/settings.php
CHANGED
File without changes
|
admin/views/shortcode-builder.php
CHANGED
File without changes
|
ajax-load-more.php
CHANGED
@@ -7,15 +7,16 @@ Text Domain: ajax-load-more
|
|
7 |
Author: Darren Cooney
|
8 |
Twitter: @KaptonKaos
|
9 |
Author URI: https://connekthq.com
|
10 |
-
Version: 5.4.
|
11 |
License: GPL
|
12 |
Copyright: Darren Cooney & Connekt Media
|
|
|
13 |
*/
|
14 |
|
15 |
// @codingStandardsIgnoreStart
|
16 |
|
17 |
-
define( 'ALM_VERSION', '5.4.
|
18 |
-
define( 'ALM_RELEASE', '
|
19 |
define( 'ALM_STORE_URL', 'https://connekthq.com' );
|
20 |
|
21 |
/**
|
@@ -177,7 +178,7 @@ if ( !class_exists('AjaxLoadMore') ) :
|
|
177 |
*/
|
178 |
public function alm_noscript( $args, $container_element, $css_classes = '', $transition_container_classes = '' ) {
|
179 |
if ( is_admin() || apply_filters( 'alm_disable_noscript', false ) ) {
|
180 |
-
return
|
181 |
}
|
182 |
include_once ALM_PATH . 'core/classes/class-alm-noscript.php'; // Load Noscript Class.
|
183 |
$noscript = ALM_NOSCRIPT::alm_get_noscript( $args, $container_element, $css_classes, $transition_container_classes );
|
@@ -185,7 +186,7 @@ if ( !class_exists('AjaxLoadMore') ) :
|
|
185 |
}
|
186 |
|
187 |
/**
|
188 |
-
* This function will build
|
189 |
*
|
190 |
* @param array $query
|
191 |
* @return $return string
|
@@ -193,7 +194,7 @@ if ( !class_exists('AjaxLoadMore') ) :
|
|
193 |
*/
|
194 |
public function alm_noscript_pagination( $query ) {
|
195 |
if ( is_admin() || apply_filters( 'alm_disable_noscript', false ) ) {
|
196 |
-
return
|
197 |
}
|
198 |
include_once ALM_PATH . 'core/classes/class-alm-noscript.php'; // Load Noscript Class.
|
199 |
$noscript = ALM_NOSCRIPT::build_noscript_paging( $query );
|
7 |
Author: Darren Cooney
|
8 |
Twitter: @KaptonKaos
|
9 |
Author URI: https://connekthq.com
|
10 |
+
Version: 5.4.5
|
11 |
License: GPL
|
12 |
Copyright: Darren Cooney & Connekt Media
|
13 |
+
|
14 |
*/
|
15 |
|
16 |
// @codingStandardsIgnoreStart
|
17 |
|
18 |
+
define( 'ALM_VERSION', '5.4.5' );
|
19 |
+
define( 'ALM_RELEASE', 'April 20, 2021' );
|
20 |
define( 'ALM_STORE_URL', 'https://connekthq.com' );
|
21 |
|
22 |
/**
|
178 |
*/
|
179 |
public function alm_noscript( $args, $container_element, $css_classes = '', $transition_container_classes = '' ) {
|
180 |
if ( is_admin() || apply_filters( 'alm_disable_noscript', false ) ) {
|
181 |
+
return;
|
182 |
}
|
183 |
include_once ALM_PATH . 'core/classes/class-alm-noscript.php'; // Load Noscript Class.
|
184 |
$noscript = ALM_NOSCRIPT::alm_get_noscript( $args, $container_element, $css_classes, $transition_container_classes );
|
186 |
}
|
187 |
|
188 |
/**
|
189 |
+
* This function will build pagination for users without JS enabled.
|
190 |
*
|
191 |
* @param array $query
|
192 |
* @return $return string
|
194 |
*/
|
195 |
public function alm_noscript_pagination( $query ) {
|
196 |
if ( is_admin() || apply_filters( 'alm_disable_noscript', false ) ) {
|
197 |
+
return;
|
198 |
}
|
199 |
include_once ALM_PATH . 'core/classes/class-alm-noscript.php'; // Load Noscript Class.
|
200 |
$noscript = ALM_NOSCRIPT::build_noscript_paging( $query );
|
core/classes/class-alm-enqueue.php
CHANGED
@@ -56,9 +56,7 @@ if( !class_exists('ALM_ENQUEUE') ):
|
|
56 |
|
57 |
|
58 |
/**
|
59 |
-
*
|
60 |
-
*
|
61 |
-
* Load ALM CSS Inline
|
62 |
*
|
63 |
*
|
64 |
* @param $name Enqueue filename
|
@@ -67,57 +65,54 @@ if( !class_exists('ALM_ENQUEUE') ):
|
|
67 |
* @since 2.3.1
|
68 |
* @return $contents
|
69 |
*/
|
70 |
-
public static function alm_inline_css($name, $file, $url_path){
|
71 |
|
72 |
-
$css
|
73 |
-
$css_path
|
74 |
-
$dir
|
75 |
-
$file_css
|
76 |
-
$contents
|
77 |
$core_alm_css = true;
|
78 |
|
79 |
// - Check theme for local ajax-load-more.css, if found, load that file
|
80 |
-
if(is_child_theme()){
|
81 |
-
$css
|
82 |
-
$css_path = get_stylesheet_directory().'/'. $dir .'/'
|
83 |
// if child theme does not have CSS, check the parent theme
|
84 |
-
if(!file_exists($css_path)){
|
85 |
-
$css
|
86 |
-
$css_path = get_template_directory().'/'. $dir .'/'
|
87 |
}
|
88 |
-
}
|
89 |
-
|
90 |
-
$
|
91 |
-
$css_path = get_template_directory().'/'. $dir .'/' .$file_css;
|
92 |
}
|
93 |
|
94 |
-
if($css_path !== ''){
|
95 |
-
|
96 |
-
|
|
|
97 |
$core_alm_css = false;
|
98 |
}
|
99 |
}
|
100 |
|
101 |
-
if(file_exists($file)){
|
102 |
$css_file = file_get_contents( $file );
|
103 |
|
104 |
// If using core CSS, replace the `../..` path in the CSS file.
|
105 |
-
if($core_alm_css){
|
106 |
-
|
107 |
$new_img_path = $url_path .'/core';
|
108 |
|
109 |
-
// Find and replace strings in CSS
|
110 |
-
$css_file = str_replace('../..', $new_img_path, $css_file);
|
111 |
|
112 |
}
|
113 |
|
114 |
$contents = '<style type="text/css">' . $css_file . '</style>';
|
115 |
-
}
|
116 |
|
|
|
117 |
return $contents;
|
118 |
|
119 |
}
|
120 |
-
|
121 |
}
|
122 |
-
|
123 |
endif;
|
56 |
|
57 |
|
58 |
/**
|
59 |
+
* Load ALM CSS Inline.
|
|
|
|
|
60 |
*
|
61 |
*
|
62 |
* @param $name Enqueue filename
|
65 |
* @since 2.3.1
|
66 |
* @return $contents
|
67 |
*/
|
68 |
+
public static function alm_inline_css( $name, $file, $url_path ) {
|
69 |
|
70 |
+
$css = '';
|
71 |
+
$css_path = '';
|
72 |
+
$dir = 'alm';
|
73 |
+
$file_css = $name.'.css';
|
74 |
+
$contents = '';
|
75 |
$core_alm_css = true;
|
76 |
|
77 |
// - Check theme for local ajax-load-more.css, if found, load that file
|
78 |
+
if ( is_child_theme() ) {
|
79 |
+
$css = get_stylesheet_directory_uri() . '/' . $dir . '/' . $file_css;
|
80 |
+
$css_path = get_stylesheet_directory() . '/' . $dir . '/' . $file_css;
|
81 |
// if child theme does not have CSS, check the parent theme
|
82 |
+
if ( ! file_exists( $css_path ) ) {
|
83 |
+
$css = get_template_directory_uri() . '/' . $dir . '/' . $file_css;
|
84 |
+
$css_path = get_template_directory() . '/' . $dir . '/' . $file_css;
|
85 |
}
|
86 |
+
} else {
|
87 |
+
$css = get_template_directory_uri() . '/'. $dir . '/' . $file_css;
|
88 |
+
$css_path = get_template_directory() . '/'. $dir . '/' . $file_css;
|
|
|
89 |
}
|
90 |
|
91 |
+
if ( $css_path !== '' ) {
|
92 |
+
// If $css_path has been.
|
93 |
+
if ( file_exists( $css_path ) ) {
|
94 |
+
$file = $css_path;
|
95 |
$core_alm_css = false;
|
96 |
}
|
97 |
}
|
98 |
|
99 |
+
if ( file_exists( $file ) ) {
|
100 |
$css_file = file_get_contents( $file );
|
101 |
|
102 |
// If using core CSS, replace the `../..` path in the CSS file.
|
103 |
+
if ( $core_alm_css ) {
|
|
|
104 |
$new_img_path = $url_path .'/core';
|
105 |
|
106 |
+
// Find and replace strings in CSS.
|
107 |
+
$css_file = str_replace( '../..', $new_img_path, $css_file );
|
108 |
|
109 |
}
|
110 |
|
111 |
$contents = '<style type="text/css">' . $css_file . '</style>';
|
|
|
112 |
|
113 |
+
}
|
114 |
return $contents;
|
115 |
|
116 |
}
|
|
|
117 |
}
|
|
|
118 |
endif;
|
core/classes/class-alm-noscript.php
CHANGED
@@ -16,6 +16,9 @@ if(!class_exists('ALM_NOSCRIPT')):
|
|
16 |
|
17 |
class ALM_NOSCRIPT {
|
18 |
|
|
|
|
|
|
|
19 |
static $element = 'noscript';
|
20 |
|
21 |
|
16 |
|
17 |
class ALM_NOSCRIPT {
|
18 |
|
19 |
+
/**
|
20 |
+
* Element tag.
|
21 |
+
*/
|
22 |
static $element = 'noscript';
|
23 |
|
24 |
|
core/classes/class-alm-shortcode.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Ajax Load More Shortcode.
|
4 |
-
* Returns [ajax_load_more {params}] shortcode.
|
5 |
*
|
6 |
* @package ajaxloadmore
|
7 |
* @since 2.10.1
|
@@ -25,7 +25,6 @@ if ( ! class_exists( 'ALM_SHORTCODE' ) ) :
|
|
25 |
*/
|
26 |
public static $counter = 0;
|
27 |
|
28 |
-
|
29 |
/**
|
30 |
* Parse & render ALM shortcode.
|
31 |
*
|
@@ -43,20 +42,18 @@ if ( ! class_exists( 'ALM_SHORTCODE' ) ) :
|
|
43 |
*
|
44 |
* @return $options;
|
45 |
*/
|
46 |
-
|
47 |
-
|
48 |
-
self::$counter++; // count.
|
49 |
|
|
|
50 |
$slug = apply_filters( 'alm_page_slug', alm_get_page_slug( $post ) ); // Define page slug.
|
51 |
$post_id = apply_filters( 'alm_page_id', alm_get_page_id( $post ) ); // Define post ID.
|
|
|
52 |
|
53 |
// Custom CSS for Layouts - Only run this once.
|
54 |
if ( has_action( 'alm_layouts_custom_css' ) ) {
|
55 |
do_action( 'alm_layouts_custom_css', self::$counter );
|
56 |
}
|
57 |
|
58 |
-
|
59 |
-
|
60 |
/**
|
61 |
* Set default shortcode values that can be over written via shortcode atts
|
62 |
* ALM Core Filter Hook
|
@@ -66,7 +63,7 @@ if ( ! class_exists( 'ALM_SHORTCODE' ) ) :
|
|
66 |
$default_atts = apply_filters( 'alm_shortcode_defaults', '' );
|
67 |
|
68 |
// Merge arrays. Allows for defaults to be overwritten by the actual shortcode.
|
69 |
-
$atts =
|
70 |
|
71 |
// Extact shortcode arrtibutes.
|
72 |
extract( shortcode_atts( array(
|
@@ -216,6 +213,7 @@ if ( ! class_exists( 'ALM_SHORTCODE' ) ) :
|
|
216 |
'primary' => false,
|
217 |
'no_results_text' => '',
|
218 |
'placeholder' => '',
|
|
|
219 |
'archive' => false,
|
220 |
'woocommerce' => false,
|
221 |
'elementor' => false,
|
@@ -339,12 +337,12 @@ if ( ! class_exists( 'ALM_SHORTCODE' ) ) :
|
|
339 |
|
340 |
// Tabs.
|
341 |
$inline_tabs_css = '';
|
342 |
-
if(has_action('alm_tabs_installed') && $tabs === 'true'){
|
343 |
wp_enqueue_script( 'ajax-load-more-tabs' );
|
344 |
|
345 |
// Inline tabs CSS
|
346 |
-
if( !is_admin() && alm_do_inline_css('_alm_inline_css') && !alm_css_disabled('_alm_tabs_disable_css') ){
|
347 |
-
if(defined('ALM_TABS_PATH') && defined('ALM_TABS_URL')){
|
348 |
$file = ALM_TABS_PATH.'/core/css/ajax-load-more-tabs.min.css';
|
349 |
$inline_tabs_css = ALM_ENQUEUE::alm_inline_css('ajax-load-more-tabs', $file, ALM_TABS_URL);
|
350 |
}
|
@@ -352,132 +350,136 @@ if ( ! class_exists( 'ALM_SHORTCODE' ) ) :
|
|
352 |
}
|
353 |
|
354 |
// WooCommerce
|
355 |
-
if(has_action('alm_woocommerce_installed') && $woo){
|
356 |
wp_enqueue_script( 'ajax-load-more-woocommerce' );
|
357 |
}
|
358 |
|
359 |
// Elementor
|
360 |
-
if(has_action('alm_elementor_installed') && $elementor === 'posts' && $elementor_url === 'true'){
|
361 |
// Only load external script if URLs are set to true
|
362 |
wp_enqueue_script( 'ajax-load-more-elementor' );
|
363 |
}
|
364 |
|
365 |
-
|
366 |
-
*
|
367 |
-
*
|
368 |
-
|
369 |
-
* Load JavaScript located in external add-ons and extensions
|
370 |
-
*
|
371 |
*/
|
372 |
-
do_action('alm_enqueue_external_scripts', $atts);
|
373 |
|
374 |
// End Enqueue Scripts
|
375 |
|
376 |
// Filters - Set initial shortcode state
|
377 |
-
$filters = ($filters === 'true' && class_exists('ALMFilters')) ? true : false;
|
378 |
-
if($filters){
|
379 |
$single_post = $seo = $nextpage = false;
|
380 |
$transition_container = "true"; // required
|
381 |
-
if(defined('ALM_FILTERS_PATH')){
|
382 |
include ALM_FILTERS_PATH . 'includes/initial-state-params.php';
|
383 |
}
|
384 |
}
|
385 |
|
386 |
-
$single_post = ($single_post === 'true') ? true : false;
|
387 |
|
388 |
-
|
|
|
389 |
|
390 |
// Transition Container Classes
|
391 |
-
$transition_container_classes =
|
392 |
|
393 |
// REST API
|
394 |
-
if($restapi === 'true'){
|
395 |
$restapi = true;
|
396 |
$preloaded = false;
|
397 |
}
|
398 |
|
399 |
// Get container elements (ul | div)
|
400 |
$container_element = 'ul';
|
401 |
-
if($options['_alm_container_type'] == '2' || $single_post){
|
402 |
$container_element = 'div';
|
403 |
}
|
404 |
|
405 |
// CSS Classes
|
406 |
-
$css_classes =
|
407 |
|
408 |
// override shortcode param
|
409 |
-
$container_element =
|
410 |
|
411 |
// Previous Post
|
412 |
-
if($single_post){
|
413 |
$posts_per_page = 1;
|
414 |
$container_element = 'div';
|
415 |
$seo = false;
|
416 |
}
|
417 |
|
418 |
// Users
|
419 |
-
$users =
|
420 |
|
421 |
// Terms Query
|
422 |
-
$term_query =
|
423 |
|
424 |
// Comments
|
425 |
-
$container_element =
|
426 |
|
427 |
// Get extra classnames
|
428 |
$classname = '';
|
429 |
-
if(isset($options['_alm_classname'])){
|
430 |
$classname = $options['_alm_classname'];
|
431 |
-
$classname =
|
432 |
}
|
433 |
|
434 |
// Get loading style (color/style)
|
435 |
-
$alm_loading_style =
|
436 |
-
$alm_loading_style =
|
437 |
|
438 |
// Get paging color
|
439 |
-
$paging_color =
|
440 |
|
441 |
// Layouts Class
|
442 |
-
$alm_layouts =
|
443 |
|
444 |
// Tabs Class
|
445 |
-
$alm_tabs =
|
446 |
|
447 |
// Get btn classnames
|
448 |
-
$button_classname =
|
449 |
|
450 |
// Language support
|
451 |
-
|
452 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
453 |
$lang = pll_current_language();
|
454 |
}
|
455 |
-
|
|
|
|
|
|
|
456 |
$lang = qtrans_getLanguage();
|
457 |
}
|
458 |
|
459 |
-
|
460 |
-
$
|
461 |
-
|
462 |
-
/* If $wp_posts_per_page > than shortcode value then $posts_per_page to $wp_posts_per_page */
|
463 |
-
if(has_action('alm_seo_installed') && $wp_posts_per_page > $posts_per_page && $seo === 'true'){
|
464 |
$posts_per_page = $wp_posts_per_page;
|
465 |
}
|
466 |
|
467 |
// Paging
|
468 |
$paging_container_class = '';
|
469 |
$paging_transition = '';
|
470 |
-
if($paging === 'true'){
|
471 |
$paging_container_class = ' alm-paging-wrap';
|
472 |
-
$paging_transition
|
473 |
// If Preloaded & Paging, pause loading by default.
|
474 |
-
if($preloaded === 'true'){
|
475 |
-
$pause
|
476 |
$pause_override = 'false';
|
477 |
}
|
478 |
}
|
479 |
|
480 |
-
|
481 |
// Start ALM object
|
482 |
$ajaxloadmore = '';
|
483 |
|
@@ -485,49 +487,48 @@ if ( ! class_exists( 'ALM_SHORTCODE' ) ) :
|
|
485 |
$ajaxloadmore .= ALM_WOOCOMMERCE::hide_orderby($woocommerce);
|
486 |
|
487 |
// Elementor Posts Widget Hook (Before)
|
488 |
-
$ajaxloadmore .=
|
489 |
|
490 |
/*
|
491 |
-
*
|
492 |
-
*
|
493 |
* ALM Core Filter Hook
|
494 |
*
|
495 |
-
* @return html
|
496 |
*/
|
497 |
-
$ajaxloadmore .= apply_filters('alm_before_container', '');
|
498 |
|
499 |
// Generate ALM ID
|
500 |
$div_id = (self::$counter > 1) ? 'ajax-load-more-'.self::$counter : 'ajax-load-more';
|
501 |
|
502 |
// Localized ID - ID used for storin glocalized variables
|
503 |
-
$localize_id =
|
504 |
|
505 |
// Master ID - Manual or generated ALM ID
|
506 |
-
$master_id =
|
507 |
|
508 |
// Custom unique ALM ID (shortcode).
|
509 |
-
$unique_id =
|
510 |
|
511 |
// Search atts - Used with SEO.
|
512 |
-
$is_search =
|
513 |
|
514 |
// Nested Instance.
|
515 |
-
$is_nested =
|
516 |
|
517 |
// Build Canonical URL.
|
518 |
-
$canonicalURL = apply_filters('alm_canonical_url_'
|
519 |
|
520 |
// ALM Wrapper Class.
|
521 |
-
$alm_wrapper_class =
|
522 |
|
523 |
// ALM Direction.
|
524 |
-
$alm_direction =
|
525 |
|
526 |
// Add Inline CSS.
|
527 |
$ajaxloadmore .= $inline_css . $inline_layouts_css . $inline_paging_css . $inline_tabs_css . $inline_single_posts_css;
|
528 |
|
529 |
// Horizontal Scroll CSS.
|
530 |
-
if ( $scroll_direction === 'horizontal' && ! empty( $scroll_container ) ){
|
531 |
// Add style for overflow style of the container
|
532 |
$ajaxloadmore .= '<style>' . $scroll_container . '{ height: auto; width: 100%; overflow: hidden; overflow-x: auto; -webkit-overflow-scrolling: touch;</style>';
|
533 |
}
|
@@ -542,20 +543,18 @@ if ( ! class_exists( 'ALM_SHORTCODE' ) ) :
|
|
542 |
* WooCommerce Config
|
543 |
* Set required WooCommerce config options
|
544 |
*/
|
545 |
-
if($woocommerce){
|
546 |
-
$container_element = apply_filters('alm_woo_container_element', 'ul');
|
547 |
$post_type = 'product';
|
548 |
|
549 |
$woo_config = array(
|
550 |
-
'classes' => apply_filters('alm_woo_classes', 'products stylefree'),
|
551 |
-
'columns' => ALM_WOOCOMMERCE::get_loop_prop('columns', '4'),
|
552 |
'per_page' => ALM_WOOCOMMERCE::get_loop_prop('per_page', $posts_per_page),
|
553 |
);
|
554 |
|
555 |
/**
|
556 |
-
*
|
557 |
-
*
|
558 |
-
* WooCommerce hook to filter columns, per_page, classes etc
|
559 |
*
|
560 |
* @return $config;
|
561 |
*/
|
@@ -564,21 +563,21 @@ if ( ! class_exists( 'ALM_SHORTCODE' ) ) :
|
|
564 |
$css_classes = $css_classes . ' ' . $woo_config['classes'] . ' columns-'. $woo_config['columns'];
|
565 |
$posts_per_page = $preloaded_amount = $woo_config['per_page'];
|
566 |
|
567 |
-
if(is_archive()){
|
568 |
$obj = get_queried_object();
|
569 |
-
if(isset($obj->taxonomy) && isset($obj->slug)){
|
570 |
$taxonomy = $obj->taxonomy;
|
571 |
$taxonomy_terms = $obj->slug;
|
572 |
$taxonomy_operator = 'IN';
|
573 |
}
|
574 |
}
|
575 |
|
576 |
-
if(
|
577 |
// Do not run if ALM filters are active
|
578 |
|
579 |
-
$woo_orderby_value = (function_exists('wc_clean') && isset($_GET['orderby'])) ? wc_clean($_GET['orderby']) : apply_filters( 'woocommerce_default_catalog_orderby', get_option( 'woocommerce_default_catalog_orderby' ) );
|
580 |
|
581 |
-
switch( $woo_orderby_value ){
|
582 |
|
583 |
case 'popularity' :
|
584 |
$meta_key = 'total_sales';
|
@@ -606,10 +605,10 @@ if ( ! class_exists( 'ALM_SHORTCODE' ) ) :
|
|
606 |
|
607 |
default :
|
608 |
|
609 |
-
$custom_options = apply_filters('alm_woo_orderby_options', '');
|
610 |
-
if(!empty($custom_options)){
|
611 |
-
foreach($custom_options as $option){
|
612 |
-
if(isset($option['name']) && $option['name'] === $woo_orderby_value){
|
613 |
$meta_key = (isset($option['meta_key'])) ? wc_clean($option['meta_key']) : $meta_key;
|
614 |
$orderby = (isset($option['orderby'])) ? wc_clean($option['orderby']) : $orderby;
|
615 |
$order = (isset($option['order'])) ? wc_clean($option['order']) : $order;
|
@@ -622,49 +621,47 @@ if ( ! class_exists( 'ALM_SHORTCODE' ) ) :
|
|
622 |
}
|
623 |
}
|
624 |
|
625 |
-
|
626 |
/**
|
627 |
-
* Archive
|
628 |
-
* Set required archive config options
|
629 |
*/
|
630 |
-
if($archive && is_archive()){
|
631 |
-
if(is_date()){
|
632 |
-
$archive_year = get_the_date('Y');
|
633 |
-
$archive_month = get_the_date('m');
|
634 |
-
$archive_day = get_the_date('d');
|
635 |
-
if(is_year()){
|
636 |
$year = $archive_year;
|
637 |
}
|
638 |
-
if(is_month()){
|
639 |
$month = $archive_month;
|
640 |
$year = $archive_year;
|
641 |
}
|
642 |
-
if(is_day()){
|
643 |
$year = $archive_year;
|
644 |
$month = $archive_month;
|
645 |
$day = $archive_day;
|
646 |
}
|
647 |
}
|
648 |
-
if(is_author()){
|
649 |
-
$author = get_the_author_meta('ID');
|
650 |
}
|
651 |
-
if(is_tax() || is_category() || is_tag()){
|
652 |
$obj = get_queried_object();
|
653 |
$taxonomy = $obj->taxonomy;
|
654 |
$taxonomy_terms = $obj->slug;
|
655 |
$taxonomy_operator = 'IN';
|
656 |
}
|
657 |
-
if(is_post_type_archive()){
|
658 |
$obj = get_queried_object();
|
659 |
-
if(isset($obj->name)){
|
660 |
$post_type = $obj->name;
|
661 |
}
|
662 |
}
|
663 |
}
|
664 |
|
665 |
-
|
666 |
-
|
667 |
-
if($woo || $elementor === 'posts'){
|
668 |
$filters = false;
|
669 |
$single_post = false;
|
670 |
$seo = false;
|
@@ -675,14 +672,10 @@ if ( ! class_exists( 'ALM_SHORTCODE' ) ) :
|
|
675 |
$users = false;
|
676 |
$preloaded = false;
|
677 |
}
|
|
|
678 |
|
679 |
-
|
680 |
-
|
681 |
-
}
|
682 |
-
|
683 |
-
|
684 |
-
// Single Post Add-on
|
685 |
-
if($single_post){
|
686 |
$preloaded = false;
|
687 |
$seo = false;
|
688 |
$paging = false;
|
@@ -690,33 +683,30 @@ if ( ! class_exists( 'ALM_SHORTCODE' ) ) :
|
|
690 |
$acf = false;
|
691 |
}
|
692 |
|
693 |
-
|
694 |
-
|
695 |
-
if($comments){
|
696 |
$single_post = false;
|
697 |
$seo = false;
|
698 |
$filters = false;
|
699 |
$acf = false;
|
700 |
$posts_per_page = $comments_per_page;
|
701 |
-
if($preloaded === 'true'){
|
702 |
$preloaded_amount = $comments_per_page;
|
703 |
}
|
704 |
}
|
705 |
|
706 |
-
|
707 |
-
|
708 |
-
if($users){
|
709 |
$posts_per_page = $users_per_page;
|
710 |
}
|
711 |
|
712 |
// Term Query
|
713 |
-
if($term_query){
|
714 |
$posts_per_page = $term_query_number;
|
715 |
}
|
716 |
|
717 |
-
|
718 |
// Nextpage Add-on
|
719 |
-
if($nextpage){
|
720 |
$single_post = false;
|
721 |
$seo = false;
|
722 |
$preloaded = false;
|
@@ -726,12 +716,12 @@ if ( ! class_exists( 'ALM_SHORTCODE' ) ) :
|
|
726 |
}
|
727 |
|
728 |
// If SEO, set preloaded_amount to posts_per_page
|
729 |
-
if($seo === 'true' || $filters){
|
730 |
$preloaded_amount = $posts_per_page;
|
731 |
}
|
732 |
|
733 |
// If Filters & Filters Paging, set preloaded_amount to posts_per_page
|
734 |
-
if($filters && $filters_paging === 'true'){
|
735 |
$preloaded_amount = $posts_per_page;
|
736 |
}
|
737 |
|
@@ -803,21 +793,20 @@ if ( ! class_exists( 'ALM_SHORTCODE' ) ) :
|
|
803 |
'vars' => $vars,
|
804 |
'repeater' => $repeater,
|
805 |
'theme_repeater' => $theme_repeater,
|
806 |
-
'paged' => (get_query_var('paged')) ? get_query_var('paged') : 1
|
807 |
);
|
808 |
|
809 |
// Set `alm-listing` classname.
|
810 |
-
$listing_class = ($comments === 'true') ? 'commentlist alm-comments' : 'alm-listing'; // If Comments
|
811 |
-
|
812 |
-
// Open #ajax-load-more
|
813 |
|
|
|
814 |
$ajaxloadmore .= '<'.$container_element.' aria-live="polite" aria-atomic="true"';
|
815 |
$ajaxloadmore .= ' class="'.$listing_class.' alm-ajax'. $paging_container_class . $classname . $css_classes .'"'.$paging_transition.'';
|
816 |
|
817 |
// Build container data atts
|
818 |
|
819 |
-
// Advanced Custom Fields Extension
|
820 |
-
if(has_action('alm_acf_installed') && $acf === 'true'){
|
821 |
$acf_return = apply_filters(
|
822 |
'alm_acf_shortcode',
|
823 |
$acf,
|
@@ -830,9 +819,8 @@ if ( ! class_exists( 'ALM_SHORTCODE' ) ) :
|
|
830 |
$ajaxloadmore .= $acf_return;
|
831 |
}
|
832 |
|
833 |
-
|
834 |
-
|
835 |
-
if(has_action('alm_cache_installed') && $cache === 'true'){
|
836 |
$cache_return = apply_filters(
|
837 |
'alm_cache_shortcode',
|
838 |
$cache,
|
@@ -842,9 +830,8 @@ if ( ! class_exists( 'ALM_SHORTCODE' ) ) :
|
|
842 |
$ajaxloadmore .= $cache_return;
|
843 |
}
|
844 |
|
845 |
-
|
846 |
-
|
847 |
-
if(has_action('alm_cta_installed') && $cta === 'true'){
|
848 |
$cta_return = apply_filters(
|
849 |
'alm_cta_shortcode',
|
850 |
$cta,
|
@@ -856,8 +843,8 @@ if ( ! class_exists( 'ALM_SHORTCODE' ) ) :
|
|
856 |
}
|
857 |
|
858 |
|
859 |
-
// Comments Add-on
|
860 |
-
if(has_action('alm_comments_installed') && $comments === 'true'){
|
861 |
$comments_return = apply_filters(
|
862 |
'alm_comments_shortcode',
|
863 |
$comments,
|
@@ -871,9 +858,8 @@ if ( ! class_exists( 'ALM_SHORTCODE' ) ) :
|
|
871 |
$ajaxloadmore .= $comments_return;
|
872 |
}
|
873 |
|
874 |
-
|
875 |
-
|
876 |
-
if(has_action('alm_filters_installed') && $filters){
|
877 |
$filters_return = apply_filters(
|
878 |
'alm_filters_shortcode_params',
|
879 |
$filters,
|
@@ -889,12 +875,11 @@ if ( ! class_exists( 'ALM_SHORTCODE' ) ) :
|
|
889 |
$ajaxloadmore .= $filters_return;
|
890 |
}
|
891 |
|
892 |
-
|
893 |
-
|
894 |
-
if(has_action('alm_nextpage_installed') && $nextpage){
|
895 |
|
896 |
// Get post ID if null
|
897 |
-
if(!$nextpage_post_id){
|
898 |
global $post;
|
899 |
$nextpage_post_id = $post->ID;
|
900 |
}
|
@@ -910,9 +895,8 @@ if ( ! class_exists( 'ALM_SHORTCODE' ) ) :
|
|
910 |
$ajaxloadmore .= $nextpage_return;
|
911 |
}
|
912 |
|
913 |
-
|
914 |
-
|
915 |
-
if(has_action('alm_paging_installed') && $paging === 'true'){
|
916 |
$paging_return = apply_filters(
|
917 |
'alm_paging_shortcode',
|
918 |
$paging,
|
@@ -930,7 +914,7 @@ if ( ! class_exists( 'ALM_SHORTCODE' ) ) :
|
|
930 |
|
931 |
|
932 |
// Tabs Add-on
|
933 |
-
if(has_action('alm_tabs_installed') && $tabs === 'true'){
|
934 |
$tabs_return = apply_filters(
|
935 |
'alm_tabs_shortcode',
|
936 |
$tabs,
|
@@ -942,24 +926,24 @@ if ( ! class_exists( 'ALM_SHORTCODE' ) ) :
|
|
942 |
$transition_container = "true"; // required
|
943 |
|
944 |
// Set `pause` true for tabs and preloaded
|
945 |
-
if($preloaded === 'true'){
|
946 |
$pause = "true";
|
947 |
}
|
948 |
}
|
949 |
|
950 |
|
951 |
// Preloaded Add-on
|
952 |
-
if(has_action('alm_preload_installed') && $preloaded === 'true'){
|
953 |
|
954 |
-
$preloaded = ($seo === 'true' && (int)$query_args['paged'] < 1 && $paging !== 'true') ? 'true' : $preloaded; // SEO page 1
|
955 |
|
956 |
// SEO > page 1
|
957 |
-
$preloaded = ($seo === 'true' && $query_args['paged'] > 1 && $paging !== 'true') ? false : $preloaded; // SEO page > 1
|
958 |
|
959 |
// Filters
|
960 |
-
if($filters && $_SERVER['QUERY_STRING']){
|
961 |
$querystring = $_SERVER['QUERY_STRING'];
|
962 |
-
if(isset($_GET['pg'])){
|
963 |
$pg = $_GET['pg'];
|
964 |
$preloaded = ($pg > 1) ? false : $preloaded;
|
965 |
$ajaxloadmore .= ' data-is-preloaded="true"';
|
@@ -976,7 +960,7 @@ if ( ! class_exists( 'ALM_SHORTCODE' ) ) :
|
|
976 |
|
977 |
|
978 |
// REST API Extension
|
979 |
-
if(has_action('alm_rest_api_installed') && $restapi === true){
|
980 |
$restapi_return = apply_filters(
|
981 |
'alm_rest_api_shortcode',
|
982 |
'true',
|
@@ -991,7 +975,7 @@ if ( ! class_exists( 'ALM_SHORTCODE' ) ) :
|
|
991 |
|
992 |
|
993 |
// SEO Add-on
|
994 |
-
if(has_action('alm_seo_installed') && $seo === 'true'){
|
995 |
$seo_return = apply_filters(
|
996 |
'alm_seo_shortcode',
|
997 |
$seo,
|
@@ -1003,14 +987,14 @@ if ( ! class_exists( 'ALM_SHORTCODE' ) ) :
|
|
1003 |
|
1004 |
|
1005 |
// Single Posts Add-on
|
1006 |
-
if(has_action('alm_single_post_installed') && $single_post){
|
1007 |
// Get post ID if null.
|
1008 |
-
if(!$single_post_id){
|
1009 |
global $post;
|
1010 |
$single_post_id = $post->ID;
|
1011 |
}
|
1012 |
// Check for target element.
|
1013 |
-
if($single_post_target){
|
1014 |
$offset = 1;
|
1015 |
$pause = "true";
|
1016 |
}
|
@@ -1033,7 +1017,7 @@ if ( ! class_exists( 'ALM_SHORTCODE' ) ) :
|
|
1033 |
|
1034 |
|
1035 |
// Term Query
|
1036 |
-
if(has_action('alm_terms_installed') && $term_query){
|
1037 |
$term_query_return = apply_filters(
|
1038 |
'alm_terms_shortcode',
|
1039 |
$term_query,
|
@@ -1046,7 +1030,7 @@ if ( ! class_exists( 'ALM_SHORTCODE' ) ) :
|
|
1046 |
|
1047 |
|
1048 |
// Users Add-on
|
1049 |
-
if(has_action('alm_users_installed') && $users){
|
1050 |
$posts_per_page = $users_per_page; // Update $posts_per_page var to be $users_per_page
|
1051 |
$users_return = apply_filters(
|
1052 |
'alm_users_shortcode',
|
@@ -1062,14 +1046,14 @@ if ( ! class_exists( 'ALM_SHORTCODE' ) ) :
|
|
1062 |
}
|
1063 |
|
1064 |
// Woocommerce Add-on
|
1065 |
-
if( $woo && has_action('alm_woocommerce_shortcode') && in_array( 'woocommerce/woocommerce.php', apply_filters( 'active_plugins', get_option('active_plugins'))) ){
|
1066 |
$woo_return = apply_filters( 'alm_woocommerce_shortcode', $localize_id, $query_args );
|
1067 |
$ajaxloadmore .= $woo_return;
|
1068 |
}
|
1069 |
|
1070 |
// Elementor Add-on
|
1071 |
$elementor_page_link = '';
|
1072 |
-
if( $elementor === 'posts' && $elementor_target && has_action('alm_elementor_params') && in_array( 'elementor-pro/elementor-pro.php', apply_filters( 'active_plugins', get_option('active_plugins'))) ){
|
1073 |
$elementor_params = array(
|
1074 |
'target' => $elementor_target,
|
1075 |
'url' => $elementor_url,
|
@@ -1093,16 +1077,16 @@ if ( ! class_exists( 'ALM_SHORTCODE' ) ) :
|
|
1093 |
$ajaxloadmore .= ($woocommerce) ? ' data-woocommerce="true"' : '';
|
1094 |
|
1095 |
// Repeaters
|
1096 |
-
if(!$woo && $elementor !== 'posts'){
|
1097 |
-
$ajaxloadmore .= ($theme_repeater === 'null') ? ' data-repeater="' . $repeater . '"' : '';
|
1098 |
-
$ajaxloadmore .= ($theme_repeater !== 'null') ? ' data-theme-repeater="' . $theme_repeater . '"' : '';
|
1099 |
}
|
1100 |
|
1101 |
// Post Type
|
1102 |
$ajaxloadmore .= ' data-post-type="'.$post_type.'"';
|
1103 |
|
1104 |
// Sticky posts
|
1105 |
-
$ajaxloadmore .= ($sticky_posts === 'true') ? ' data-sticky-posts="'.$sticky_posts.'"' : '';
|
1106 |
|
1107 |
// Post Format
|
1108 |
$ajaxloadmore .= (!empty($post_format)) ? ' data-post-format="'.$post_format.'"' : '';
|
@@ -1125,7 +1109,7 @@ if ( ! class_exists( 'ALM_SHORTCODE' ) ) :
|
|
1125 |
|
1126 |
// Meta Query
|
1127 |
$ajaxloadmore .= (!empty($meta_key)) ? ' data-meta-key="'.$meta_key.'"' : '';
|
1128 |
-
$ajaxloadmore .= (!empty($meta_value) || $meta_value === '0') ? ' data-meta-value="'.$meta_value.'"' : '';
|
1129 |
$ajaxloadmore .= (!empty($meta_compare)) ? ' data-meta-compare="'.$meta_compare.'"' : '';
|
1130 |
$ajaxloadmore .= (!empty($meta_relation)) ? ' data-meta-relation="'.$meta_relation.'"' : '';
|
1131 |
$ajaxloadmore .= (!empty($meta_type)) ? ' data-meta-type="'.$meta_type.'"' : '';
|
@@ -1147,13 +1131,13 @@ if ( ! class_exists( 'ALM_SHORTCODE' ) ) :
|
|
1147 |
$ajaxloadmore .= (!empty($search)) ? ' data-search="'.$search.'"' : '';
|
1148 |
|
1149 |
// Custom Args
|
1150 |
-
$ajaxloadmore .=
|
1151 |
|
1152 |
// Vars
|
1153 |
-
$ajaxloadmore .=
|
1154 |
|
1155 |
// Status
|
1156 |
-
$ajaxloadmore .=
|
1157 |
|
1158 |
// Order
|
1159 |
$ajaxloadmore .= ' data-order="'.$order.'"';
|
@@ -1166,17 +1150,17 @@ if ( ! class_exists( 'ALM_SHORTCODE' ) ) :
|
|
1166 |
$ajaxloadmore .= ' data-posts-per-page="'.$posts_per_page.'"';
|
1167 |
|
1168 |
// Lang
|
1169 |
-
$ajaxloadmore .=
|
1170 |
|
1171 |
// Scroll
|
1172 |
-
if($paging !== 'true') {
|
1173 |
$ajaxloadmore .= ' data-scroll="'.$scroll.'"';
|
1174 |
-
if($scroll === 'true'){
|
1175 |
$ajaxloadmore .= ' data-scroll-distance="'.$scroll_distance.'"';
|
1176 |
-
$ajaxloadmore .=
|
1177 |
-
$ajaxloadmore .=
|
1178 |
-
$ajaxloadmore .= ' data-max-pages="'
|
1179 |
-
$ajaxloadmore .=
|
1180 |
}
|
1181 |
}
|
1182 |
|
@@ -1185,28 +1169,36 @@ if ( ! class_exists( 'ALM_SHORTCODE' ) ) :
|
|
1185 |
|
1186 |
// Button
|
1187 |
$ajaxloadmore .= ' data-button-label="'.$button_label.'"';
|
1188 |
-
$ajaxloadmore .=
|
1189 |
-
$ajaxloadmore .=
|
1190 |
|
1191 |
// Destroy After
|
1192 |
-
$ajaxloadmore .=
|
1193 |
|
1194 |
// Transition
|
1195 |
-
$ajaxloadmore .=
|
1196 |
-
$ajaxloadmore .=
|
1197 |
-
$ajaxloadmore .=
|
1198 |
|
1199 |
// Masonry
|
1200 |
-
|
1201 |
-
|
1202 |
-
|
1203 |
-
|
|
|
|
|
|
|
|
|
|
|
1204 |
|
1205 |
// Images Loaded
|
1206 |
-
$ajaxloadmore .=
|
|
|
|
|
|
|
1207 |
|
1208 |
// Primary
|
1209 |
-
$ajaxloadmore .=
|
1210 |
|
1211 |
$ajaxloadmore .= '>';
|
1212 |
// End .alm-listing data
|
@@ -1218,7 +1210,6 @@ if ( ! class_exists( 'ALM_SHORTCODE' ) ) :
|
|
1218 |
include ALM_PATH .'core/classes/includes/preloaded.php';
|
1219 |
}
|
1220 |
|
1221 |
-
|
1222 |
// Single Post
|
1223 |
// Get first post and append to alm object
|
1224 |
if ( has_action( 'alm_single_post_installed' ) && $single_post ) {
|
@@ -1226,7 +1217,7 @@ if ( ! class_exists( 'ALM_SHORTCODE' ) ) :
|
|
1226 |
$repeater_type = preg_split('/(?=\d)/', $repeater, 2); // split $repeater at number to retrieve type
|
1227 |
$repeater_type = $repeater_type[0]; // (default | repeater | template_)
|
1228 |
|
1229 |
-
if($theme_repeater
|
1230 |
$repeater_type = null;
|
1231 |
}
|
1232 |
// Get current permalink - (including querystring)
|
@@ -1240,7 +1231,7 @@ if ( ! class_exists( 'ALM_SHORTCODE' ) ) :
|
|
1240 |
*
|
1241 |
* @return $args;
|
1242 |
*/
|
1243 |
-
if($offset < 1){
|
1244 |
// Only render include if offset is zero
|
1245 |
$single_post_output .= apply_filters('alm_single_post_inc', $repeater, $repeater_type, $theme_repeater, $single_post_id, $post_type);
|
1246 |
}
|
@@ -1249,10 +1240,10 @@ if ( ! class_exists( 'ALM_SHORTCODE' ) ) :
|
|
1249 |
$ajaxloadmore .= $single_post_output; // Add $single_post_output data to $ajaxloadmore
|
1250 |
|
1251 |
}
|
1252 |
-
// End
|
1253 |
|
1254 |
// Next Page Add-on
|
1255 |
-
if(has_action('alm_nextpage_installed') && $nextpage){
|
1256 |
|
1257 |
$nextpage_start = alm_get_startpage(); // core/functions.php
|
1258 |
|
@@ -1287,12 +1278,14 @@ if ( ! class_exists( 'ALM_SHORTCODE' ) ) :
|
|
1287 |
*
|
1288 |
* @return html;
|
1289 |
*/
|
1290 |
-
if(($seo === 'true' || $filters) && $preloaded !== 'true' &&
|
1291 |
-
|
|
|
|
|
1292 |
}
|
1293 |
|
1294 |
// Render <noscript> pagination for SEO and Preloaded (./preloaded.php)
|
1295 |
-
$ajaxloadmore .=
|
1296 |
|
1297 |
/**
|
1298 |
* Before Button
|
@@ -1300,7 +1293,7 @@ if ( ! class_exists( 'ALM_SHORTCODE' ) ) :
|
|
1300 |
*
|
1301 |
* @return html;
|
1302 |
*/
|
1303 |
-
$ajaxloadmore .= apply_filters('alm_before_button', '');
|
1304 |
|
1305 |
// Create Load More button
|
1306 |
$ajaxloadmore .= self::alm_render_button($seo, $paging, $button_classname, $button_label, $canonicalURL, $elementor_page_link);
|
@@ -1311,15 +1304,15 @@ if ( ! class_exists( 'ALM_SHORTCODE' ) ) :
|
|
1311 |
*
|
1312 |
* @return html;
|
1313 |
*/
|
1314 |
-
$ajaxloadmore .= apply_filters('alm_after_button', '');
|
1315 |
|
1316 |
// No results text
|
1317 |
-
if($no_results_text !== '' && !empty($no_results_text)){
|
1318 |
$ajaxloadmore .= '<div class="alm-no-results" style="display: none;">'. html_entity_decode($no_results_text) .'</div>';
|
1319 |
}
|
1320 |
|
1321 |
// Render <noscript> pagination for Nextpage addon
|
1322 |
-
if(has_action('alm_nextpage_installed') && $nextpage && $nextpage_urls === 'true'){
|
1323 |
$ajaxloadmore .= apply_filters( 'alm_nextpage_noscript_paging', $query_args['post_id'], $query_args['id'] ); // located in Nextpage add-on
|
1324 |
}
|
1325 |
|
@@ -1332,15 +1325,15 @@ if ( ! class_exists( 'ALM_SHORTCODE' ) ) :
|
|
1332 |
*
|
1333 |
* @return html;
|
1334 |
*/
|
1335 |
-
$ajaxloadmore .= apply_filters('alm_after_container', '');
|
1336 |
|
1337 |
// Progress Bar CSS
|
1338 |
$ajaxloadmore .= apply_filters('alm_progress_css', self::$counter, $progress_bar, $progress_bar_color); // ALM Core Filter Hook
|
1339 |
|
1340 |
// REST API Add-on
|
1341 |
// add <script/> template to page
|
1342 |
-
if(has_action('alm_rest_api_installed') && $restapi){
|
1343 |
-
if($theme_repeater != 'null' && has_action('alm_get_rest_theme_repeater')){
|
1344 |
do_action('alm_get_rest_theme_repeater', $theme_repeater);
|
1345 |
} else {
|
1346 |
$rest_type = alm_get_repeater_type($repeater);
|
@@ -1369,10 +1362,10 @@ if ( ! class_exists( 'ALM_SHORTCODE' ) ) :
|
|
1369 |
* @since 3.3.2
|
1370 |
* @return $html
|
1371 |
*/
|
1372 |
-
public static function alm_render_button($seo, $paging, $button_classname, $button_label, $canonicalURL, $elementor_page_link){
|
1373 |
|
1374 |
$html = '<div class="alm-btn-wrap" style="visibility: hidden;">';
|
1375 |
-
if($paging !== 'true'){
|
1376 |
|
1377 |
// Elementor Page Link
|
1378 |
$html .= ! empty( $elementor_page_link ) ? $elementor_page_link : '';
|
@@ -1393,10 +1386,10 @@ if ( ! class_exists( 'ALM_SHORTCODE' ) ) :
|
|
1393 |
* @since 5.1.7
|
1394 |
* @return $html
|
1395 |
*/
|
1396 |
-
public static function alm_render_placeholder($placeholder, $paging){
|
1397 |
-
if(isset($placeholder) && !empty($placeholder) && $paging !== 'true'){
|
1398 |
-
$placeholder_url = ($placeholder === 'true') ? ALM_URL .'/core/img/placeholder.png' : $placeholder;
|
1399 |
-
if($placeholder_url){
|
1400 |
$html = '<div class="alm-placeholder"><img src="'. $placeholder_url .'" alt=""></div>';
|
1401 |
return $html;
|
1402 |
}
|
1 |
<?php
|
2 |
/**
|
3 |
* Ajax Load More Shortcode.
|
4 |
+
* Returns a parsed [ajax_load_more {params}] shortcode.
|
5 |
*
|
6 |
* @package ajaxloadmore
|
7 |
* @since 2.10.1
|
25 |
*/
|
26 |
public static $counter = 0;
|
27 |
|
|
|
28 |
/**
|
29 |
* Parse & render ALM shortcode.
|
30 |
*
|
42 |
*
|
43 |
* @return $options;
|
44 |
*/
|
45 |
+
$options = ( has_filter( 'alm_settings' ) ) ? apply_filters( 'alm_settings', $options ) : $options;
|
|
|
|
|
46 |
|
47 |
+
self::$counter++; // Counter.
|
48 |
$slug = apply_filters( 'alm_page_slug', alm_get_page_slug( $post ) ); // Define page slug.
|
49 |
$post_id = apply_filters( 'alm_page_id', alm_get_page_id( $post ) ); // Define post ID.
|
50 |
+
$wp_posts_per_page = get_option( 'posts_per_page' ); // Global Posts Per Page.
|
51 |
|
52 |
// Custom CSS for Layouts - Only run this once.
|
53 |
if ( has_action( 'alm_layouts_custom_css' ) ) {
|
54 |
do_action( 'alm_layouts_custom_css', self::$counter );
|
55 |
}
|
56 |
|
|
|
|
|
57 |
/**
|
58 |
* Set default shortcode values that can be over written via shortcode atts
|
59 |
* ALM Core Filter Hook
|
63 |
$default_atts = apply_filters( 'alm_shortcode_defaults', '' );
|
64 |
|
65 |
// Merge arrays. Allows for defaults to be overwritten by the actual shortcode.
|
66 |
+
$atts = $default_atts ? array_merge( $default_atts, $atts ) : $atts;
|
67 |
|
68 |
// Extact shortcode arrtibutes.
|
69 |
extract( shortcode_atts( array(
|
213 |
'primary' => false,
|
214 |
'no_results_text' => '',
|
215 |
'placeholder' => '',
|
216 |
+
'lazy_images' => false,
|
217 |
'archive' => false,
|
218 |
'woocommerce' => false,
|
219 |
'elementor' => false,
|
337 |
|
338 |
// Tabs.
|
339 |
$inline_tabs_css = '';
|
340 |
+
if (has_action('alm_tabs_installed' ) && $tabs === 'true' ) {
|
341 |
wp_enqueue_script( 'ajax-load-more-tabs' );
|
342 |
|
343 |
// Inline tabs CSS
|
344 |
+
if ( !is_admin() && alm_do_inline_css('_alm_inline_css' ) && !alm_css_disabled('_alm_tabs_disable_css' ) ) {
|
345 |
+
if (defined('ALM_TABS_PATH' ) && defined('ALM_TABS_URL' )) {
|
346 |
$file = ALM_TABS_PATH.'/core/css/ajax-load-more-tabs.min.css';
|
347 |
$inline_tabs_css = ALM_ENQUEUE::alm_inline_css('ajax-load-more-tabs', $file, ALM_TABS_URL);
|
348 |
}
|
350 |
}
|
351 |
|
352 |
// WooCommerce
|
353 |
+
if (has_action('alm_woocommerce_installed' ) && $woo) {
|
354 |
wp_enqueue_script( 'ajax-load-more-woocommerce' );
|
355 |
}
|
356 |
|
357 |
// Elementor
|
358 |
+
if (has_action('alm_elementor_installed' ) && $elementor === 'posts' && $elementor_url === 'true' ) {
|
359 |
// Only load external script if URLs are set to true
|
360 |
wp_enqueue_script( 'ajax-load-more-elementor' );
|
361 |
}
|
362 |
|
363 |
+
/**
|
364 |
+
* ALM Core Action
|
365 |
+
* Load JavaScript located in external add-ons and extensions.
|
366 |
+
*
|
|
|
|
|
367 |
*/
|
368 |
+
do_action( 'alm_enqueue_external_scripts', $atts );
|
369 |
|
370 |
// End Enqueue Scripts
|
371 |
|
372 |
// Filters - Set initial shortcode state
|
373 |
+
$filters = ( $filters === 'true' && class_exists( 'ALMFilters' ) ) ? true : false;
|
374 |
+
if ( $filters ) {
|
375 |
$single_post = $seo = $nextpage = false;
|
376 |
$transition_container = "true"; // required
|
377 |
+
if ( defined( 'ALM_FILTERS_PATH' ) ) {
|
378 |
include ALM_FILTERS_PATH . 'includes/initial-state-params.php';
|
379 |
}
|
380 |
}
|
381 |
|
382 |
+
$single_post = ($single_post === 'true' ) ? true : false;
|
383 |
|
384 |
+
// Transition Container
|
385 |
+
$transition_container = ( $seo === "true" || $single_post || $filters ) ? 'true' : $transition_container;
|
386 |
|
387 |
// Transition Container Classes
|
388 |
+
$transition_container_classes = ! empty( $transition_container_classes ) ? ' '. $transition_container_classes : '';
|
389 |
|
390 |
// REST API
|
391 |
+
if ($restapi === 'true' ) {
|
392 |
$restapi = true;
|
393 |
$preloaded = false;
|
394 |
}
|
395 |
|
396 |
// Get container elements (ul | div)
|
397 |
$container_element = 'ul';
|
398 |
+
if ( $options['_alm_container_type'] == '2' || $single_post ) {
|
399 |
$container_element = 'div';
|
400 |
}
|
401 |
|
402 |
// CSS Classes
|
403 |
+
$css_classes = ! empty( $css_classes ) ? ' ' . $css_classes : '';
|
404 |
|
405 |
// override shortcode param
|
406 |
+
$container_element = $container_type ? $container_type : $container_element;
|
407 |
|
408 |
// Previous Post
|
409 |
+
if ( $single_post ) {
|
410 |
$posts_per_page = 1;
|
411 |
$container_element = 'div';
|
412 |
$seo = false;
|
413 |
}
|
414 |
|
415 |
// Users
|
416 |
+
$users = $users === 'true' ? true : false;
|
417 |
|
418 |
// Terms Query
|
419 |
+
$term_query = $term_query === 'true' ? true : false;
|
420 |
|
421 |
// Comments
|
422 |
+
$container_element = $comments === 'true' ? $comments_style : $container_element;
|
423 |
|
424 |
// Get extra classnames
|
425 |
$classname = '';
|
426 |
+
if ( isset( $options['_alm_classname'] ) ) {
|
427 |
$classname = $options['_alm_classname'];
|
428 |
+
$classname = empty( $classname ) ? '' : ' ' . $classname;
|
429 |
}
|
430 |
|
431 |
// Get loading style (color/style)
|
432 |
+
$alm_loading_style = isset( $options['_alm_btn_color'] ) ? ' ' . $options['_alm_btn_color'] : ' default';
|
433 |
+
$alm_loading_style = $loading_style !== '' ? ' ' . $loading_style : $alm_loading_style;
|
434 |
|
435 |
// Get paging color
|
436 |
+
$paging_color = isset( $options['_alm_paging_color'] ) && has_action( 'alm_paging_installed' ) && $paging === 'true' ? ' alm-paging paging-'.$options['_alm_paging_color'] : '';
|
437 |
|
438 |
// Layouts Class
|
439 |
+
$alm_layouts = has_action( 'alm_layouts_installed' ) ? ' alm-layouts' : '';
|
440 |
|
441 |
// Tabs Class
|
442 |
+
$alm_tabs = has_action('alm_tabs_installed' ) && $tabs === 'true' ? ' alm-tabs' : '';
|
443 |
|
444 |
// Get btn classnames
|
445 |
+
$button_classname = isset($options['_alm_btn_classname'] ) ? ' ' . $options['_alm_btn_classname'] : '';
|
446 |
|
447 |
// Language support
|
448 |
+
|
449 |
+
// WPML.
|
450 |
+
// @see http://wpml.org
|
451 |
+
$lang = defined( 'ICL_LANGUAGE_CODE' ) ? ICL_LANGUAGE_CODE : '';
|
452 |
+
|
453 |
+
// Polylang.
|
454 |
+
// @see https://wordpress.org/plugins/polylang/
|
455 |
+
if ( function_exists('pll_current_language' ) ) {
|
456 |
$lang = pll_current_language();
|
457 |
}
|
458 |
+
|
459 |
+
// qTranslate.
|
460 |
+
// @see https://wordpress.org/plugins/qtranslate/
|
461 |
+
if (function_exists('qtrans_getLanguage' )) {
|
462 |
$lang = qtrans_getLanguage();
|
463 |
}
|
464 |
|
465 |
+
// SEO Posts Per Page.
|
466 |
+
if ( $seo === 'true' && has_action( 'alm_seo_installed' ) && $wp_posts_per_page > $posts_per_page ) {
|
|
|
|
|
|
|
467 |
$posts_per_page = $wp_posts_per_page;
|
468 |
}
|
469 |
|
470 |
// Paging
|
471 |
$paging_container_class = '';
|
472 |
$paging_transition = '';
|
473 |
+
if ( $paging === 'true' ) {
|
474 |
$paging_container_class = ' alm-paging-wrap';
|
475 |
+
$paging_transition = ' style="-webkit-transition: height 0.25s ease; transition: height 0.25s ease;"';
|
476 |
// If Preloaded & Paging, pause loading by default.
|
477 |
+
if ( $preloaded === 'true' ) {
|
478 |
+
$pause = 'true';
|
479 |
$pause_override = 'false';
|
480 |
}
|
481 |
}
|
482 |
|
|
|
483 |
// Start ALM object
|
484 |
$ajaxloadmore = '';
|
485 |
|
487 |
$ajaxloadmore .= ALM_WOOCOMMERCE::hide_orderby($woocommerce);
|
488 |
|
489 |
// Elementor Posts Widget Hook (Before)
|
490 |
+
$ajaxloadmore .= has_action( 'alm_elementor_installed' ) && $elementor === 'posts' ? apply_filters('alm_elementor_hide_pagination', '' ) : '';
|
491 |
|
492 |
/*
|
493 |
+
* ALM Before Container
|
|
|
494 |
* ALM Core Filter Hook
|
495 |
*
|
496 |
+
* @return html
|
497 |
*/
|
498 |
+
$ajaxloadmore .= apply_filters('alm_before_container', '' );
|
499 |
|
500 |
// Generate ALM ID
|
501 |
$div_id = (self::$counter > 1) ? 'ajax-load-more-'.self::$counter : 'ajax-load-more';
|
502 |
|
503 |
// Localized ID - ID used for storin glocalized variables
|
504 |
+
$localize_id = empty( $id ) ? $div_id : 'ajax-load-more-'.$id;
|
505 |
|
506 |
// Master ID - Manual or generated ALM ID
|
507 |
+
$master_id = empty( $id ) ? $div_id : $id;
|
508 |
|
509 |
// Custom unique ALM ID (shortcode).
|
510 |
+
$unique_id = ! empty( $id ) ? 'data-id="'.$id.'"' : '';
|
511 |
|
512 |
// Search atts - Used with SEO.
|
513 |
+
$is_search = is_search() ? 'data-search="true"' : '';
|
514 |
|
515 |
// Nested Instance.
|
516 |
+
$is_nested = $nested === 'true' ? ' data-nested="true"' : '';
|
517 |
|
518 |
// Build Canonical URL.
|
519 |
+
$canonicalURL = apply_filters( 'alm_canonical_url_' . $id, alm_get_canonical_url() );
|
520 |
|
521 |
// ALM Wrapper Class.
|
522 |
+
$alm_wrapper_class = $woocommerce ? 'ajax-load-more-wrap '. ALM_WOOCOMMERCE::get_wrapper_class() : 'ajax-load-more-wrap';
|
523 |
|
524 |
// ALM Direction.
|
525 |
+
$alm_direction = ! empty( $scroll_direction ) ? ' alm-'.$scroll_direction : '';
|
526 |
|
527 |
// Add Inline CSS.
|
528 |
$ajaxloadmore .= $inline_css . $inline_layouts_css . $inline_paging_css . $inline_tabs_css . $inline_single_posts_css;
|
529 |
|
530 |
// Horizontal Scroll CSS.
|
531 |
+
if ( $scroll_direction === 'horizontal' && ! empty( $scroll_container ) ) {
|
532 |
// Add style for overflow style of the container
|
533 |
$ajaxloadmore .= '<style>' . $scroll_container . '{ height: auto; width: 100%; overflow: hidden; overflow-x: auto; -webkit-overflow-scrolling: touch;</style>';
|
534 |
}
|
543 |
* WooCommerce Config
|
544 |
* Set required WooCommerce config options
|
545 |
*/
|
546 |
+
if ($woocommerce) {
|
547 |
+
$container_element = apply_filters('alm_woo_container_element', 'ul' );
|
548 |
$post_type = 'product';
|
549 |
|
550 |
$woo_config = array(
|
551 |
+
'classes' => apply_filters('alm_woo_classes', 'products stylefree' ),
|
552 |
+
'columns' => ALM_WOOCOMMERCE::get_loop_prop('columns', '4' ),
|
553 |
'per_page' => ALM_WOOCOMMERCE::get_loop_prop('per_page', $posts_per_page),
|
554 |
);
|
555 |
|
556 |
/**
|
557 |
+
* WooCommerce hook to filter columns, per_page, classes etc
|
|
|
|
|
558 |
*
|
559 |
* @return $config;
|
560 |
*/
|
563 |
$css_classes = $css_classes . ' ' . $woo_config['classes'] . ' columns-'. $woo_config['columns'];
|
564 |
$posts_per_page = $preloaded_amount = $woo_config['per_page'];
|
565 |
|
566 |
+
if ( is_archive() ) {
|
567 |
$obj = get_queried_object();
|
568 |
+
if ( isset($obj->taxonomy ) && isset( $obj->slug ) ) {
|
569 |
$taxonomy = $obj->taxonomy;
|
570 |
$taxonomy_terms = $obj->slug;
|
571 |
$taxonomy_operator = 'IN';
|
572 |
}
|
573 |
}
|
574 |
|
575 |
+
if ( ! $filters ) {
|
576 |
// Do not run if ALM filters are active
|
577 |
|
578 |
+
$woo_orderby_value = (function_exists('wc_clean' ) && isset($_GET['orderby'])) ? wc_clean($_GET['orderby']) : apply_filters( 'woocommerce_default_catalog_orderby', get_option( 'woocommerce_default_catalog_orderby' ) );
|
579 |
|
580 |
+
switch( $woo_orderby_value ) {
|
581 |
|
582 |
case 'popularity' :
|
583 |
$meta_key = 'total_sales';
|
605 |
|
606 |
default :
|
607 |
|
608 |
+
$custom_options = apply_filters('alm_woo_orderby_options', '' );
|
609 |
+
if (!empty($custom_options)) {
|
610 |
+
foreach($custom_options as $option) {
|
611 |
+
if (isset($option['name']) && $option['name'] === $woo_orderby_value) {
|
612 |
$meta_key = (isset($option['meta_key'])) ? wc_clean($option['meta_key']) : $meta_key;
|
613 |
$orderby = (isset($option['orderby'])) ? wc_clean($option['orderby']) : $orderby;
|
614 |
$order = (isset($option['order'])) ? wc_clean($option['order']) : $order;
|
621 |
}
|
622 |
}
|
623 |
|
|
|
624 |
/**
|
625 |
+
* Archive Integration.
|
626 |
+
* Set required archive config options.
|
627 |
*/
|
628 |
+
if ( $archive && is_archive() ) {
|
629 |
+
if ( is_date() ) {
|
630 |
+
$archive_year = get_the_date('Y' );
|
631 |
+
$archive_month = get_the_date('m' );
|
632 |
+
$archive_day = get_the_date('d' );
|
633 |
+
if ( is_year() ) {
|
634 |
$year = $archive_year;
|
635 |
}
|
636 |
+
if ( is_month() ) {
|
637 |
$month = $archive_month;
|
638 |
$year = $archive_year;
|
639 |
}
|
640 |
+
if ( is_day() ) {
|
641 |
$year = $archive_year;
|
642 |
$month = $archive_month;
|
643 |
$day = $archive_day;
|
644 |
}
|
645 |
}
|
646 |
+
if ( is_author() ) {
|
647 |
+
$author = get_the_author_meta('ID' );
|
648 |
}
|
649 |
+
if ( is_tax() || is_category() || is_tag() ) {
|
650 |
$obj = get_queried_object();
|
651 |
$taxonomy = $obj->taxonomy;
|
652 |
$taxonomy_terms = $obj->slug;
|
653 |
$taxonomy_operator = 'IN';
|
654 |
}
|
655 |
+
if ( is_post_type_archive() ) {
|
656 |
$obj = get_queried_object();
|
657 |
+
if (isset($obj->name)) {
|
658 |
$post_type = $obj->name;
|
659 |
}
|
660 |
}
|
661 |
}
|
662 |
|
663 |
+
// WooCommerce Add-on || Elementor Add-on
|
664 |
+
if ( $woo || $elementor === 'posts' ) {
|
|
|
665 |
$filters = false;
|
666 |
$single_post = false;
|
667 |
$seo = false;
|
672 |
$users = false;
|
673 |
$preloaded = false;
|
674 |
}
|
675 |
+
$woo = $elementor === 'posts' ? false : $woo;
|
676 |
|
677 |
+
// Single Post Add-on.
|
678 |
+
if ( $single_post ) {
|
|
|
|
|
|
|
|
|
|
|
679 |
$preloaded = false;
|
680 |
$seo = false;
|
681 |
$paging = false;
|
683 |
$acf = false;
|
684 |
}
|
685 |
|
686 |
+
// Comments Add-on.
|
687 |
+
if ( $comments ) {
|
|
|
688 |
$single_post = false;
|
689 |
$seo = false;
|
690 |
$filters = false;
|
691 |
$acf = false;
|
692 |
$posts_per_page = $comments_per_page;
|
693 |
+
if ($preloaded === 'true' ) {
|
694 |
$preloaded_amount = $comments_per_page;
|
695 |
}
|
696 |
}
|
697 |
|
698 |
+
// Users Add-on.
|
699 |
+
if ( $users ) {
|
|
|
700 |
$posts_per_page = $users_per_page;
|
701 |
}
|
702 |
|
703 |
// Term Query
|
704 |
+
if ( $term_query ) {
|
705 |
$posts_per_page = $term_query_number;
|
706 |
}
|
707 |
|
|
|
708 |
// Nextpage Add-on
|
709 |
+
if ( $nextpage ) {
|
710 |
$single_post = false;
|
711 |
$seo = false;
|
712 |
$preloaded = false;
|
716 |
}
|
717 |
|
718 |
// If SEO, set preloaded_amount to posts_per_page
|
719 |
+
if ( $seo === 'true' || $filters ) {
|
720 |
$preloaded_amount = $posts_per_page;
|
721 |
}
|
722 |
|
723 |
// If Filters & Filters Paging, set preloaded_amount to posts_per_page
|
724 |
+
if ( $filters && $filters_paging === 'true' ) {
|
725 |
$preloaded_amount = $posts_per_page;
|
726 |
}
|
727 |
|
793 |
'vars' => $vars,
|
794 |
'repeater' => $repeater,
|
795 |
'theme_repeater' => $theme_repeater,
|
796 |
+
'paged' => (get_query_var('paged' )) ? get_query_var('paged' ) : 1
|
797 |
);
|
798 |
|
799 |
// Set `alm-listing` classname.
|
800 |
+
$listing_class = ($comments === 'true' ) ? 'commentlist alm-comments' : 'alm-listing'; // If Comments
|
|
|
|
|
801 |
|
802 |
+
// Open #ajax-load-more.
|
803 |
$ajaxloadmore .= '<'.$container_element.' aria-live="polite" aria-atomic="true"';
|
804 |
$ajaxloadmore .= ' class="'.$listing_class.' alm-ajax'. $paging_container_class . $classname . $css_classes .'"'.$paging_transition.'';
|
805 |
|
806 |
// Build container data atts
|
807 |
|
808 |
+
// Advanced Custom Fields Extension.
|
809 |
+
if ( has_action('alm_acf_installed' ) && $acf === 'true' ) {
|
810 |
$acf_return = apply_filters(
|
811 |
'alm_acf_shortcode',
|
812 |
$acf,
|
819 |
$ajaxloadmore .= $acf_return;
|
820 |
}
|
821 |
|
822 |
+
// Cache Add-on.
|
823 |
+
if ( has_action('alm_cache_installed' ) && $cache === 'true' ) {
|
|
|
824 |
$cache_return = apply_filters(
|
825 |
'alm_cache_shortcode',
|
826 |
$cache,
|
830 |
$ajaxloadmore .= $cache_return;
|
831 |
}
|
832 |
|
833 |
+
// CTA Add-on.
|
834 |
+
if (has_action('alm_cta_installed' ) && $cta === 'true' ) {
|
|
|
835 |
$cta_return = apply_filters(
|
836 |
'alm_cta_shortcode',
|
837 |
$cta,
|
843 |
}
|
844 |
|
845 |
|
846 |
+
// Comments Add-on.
|
847 |
+
if (has_action('alm_comments_installed' ) && $comments === 'true' ) {
|
848 |
$comments_return = apply_filters(
|
849 |
'alm_comments_shortcode',
|
850 |
$comments,
|
858 |
$ajaxloadmore .= $comments_return;
|
859 |
}
|
860 |
|
861 |
+
// Filters Add-on.
|
862 |
+
if (has_action('alm_filters_installed' ) && $filters) {
|
|
|
863 |
$filters_return = apply_filters(
|
864 |
'alm_filters_shortcode_params',
|
865 |
$filters,
|
875 |
$ajaxloadmore .= $filters_return;
|
876 |
}
|
877 |
|
878 |
+
// Nextpage Post Add-on.
|
879 |
+
if (has_action('alm_nextpage_installed' ) && $nextpage) {
|
|
|
880 |
|
881 |
// Get post ID if null
|
882 |
+
if (!$nextpage_post_id) {
|
883 |
global $post;
|
884 |
$nextpage_post_id = $post->ID;
|
885 |
}
|
895 |
$ajaxloadmore .= $nextpage_return;
|
896 |
}
|
897 |
|
898 |
+
// Paging Add-on.
|
899 |
+
if (has_action('alm_paging_installed' ) && $paging === 'true' ) {
|
|
|
900 |
$paging_return = apply_filters(
|
901 |
'alm_paging_shortcode',
|
902 |
$paging,
|
914 |
|
915 |
|
916 |
// Tabs Add-on
|
917 |
+
if (has_action('alm_tabs_installed' ) && $tabs === 'true' ) {
|
918 |
$tabs_return = apply_filters(
|
919 |
'alm_tabs_shortcode',
|
920 |
$tabs,
|
926 |
$transition_container = "true"; // required
|
927 |
|
928 |
// Set `pause` true for tabs and preloaded
|
929 |
+
if ($preloaded === 'true' ) {
|
930 |
$pause = "true";
|
931 |
}
|
932 |
}
|
933 |
|
934 |
|
935 |
// Preloaded Add-on
|
936 |
+
if (has_action('alm_preload_installed' ) && $preloaded === 'true' ) {
|
937 |
|
938 |
+
$preloaded = ($seo === 'true' && (int)$query_args['paged'] < 1 && $paging !== 'true' ) ? 'true' : $preloaded; // SEO page 1
|
939 |
|
940 |
// SEO > page 1
|
941 |
+
$preloaded = ($seo === 'true' && $query_args['paged'] > 1 && $paging !== 'true' ) ? false : $preloaded; // SEO page > 1
|
942 |
|
943 |
// Filters
|
944 |
+
if ($filters && $_SERVER['QUERY_STRING']) {
|
945 |
$querystring = $_SERVER['QUERY_STRING'];
|
946 |
+
if (isset($_GET['pg'])) {
|
947 |
$pg = $_GET['pg'];
|
948 |
$preloaded = ($pg > 1) ? false : $preloaded;
|
949 |
$ajaxloadmore .= ' data-is-preloaded="true"';
|
960 |
|
961 |
|
962 |
// REST API Extension
|
963 |
+
if (has_action('alm_rest_api_installed' ) && $restapi === true) {
|
964 |
$restapi_return = apply_filters(
|
965 |
'alm_rest_api_shortcode',
|
966 |
'true',
|
975 |
|
976 |
|
977 |
// SEO Add-on
|
978 |
+
if (has_action('alm_seo_installed' ) && $seo === 'true' ) {
|
979 |
$seo_return = apply_filters(
|
980 |
'alm_seo_shortcode',
|
981 |
$seo,
|
987 |
|
988 |
|
989 |
// Single Posts Add-on
|
990 |
+
if (has_action('alm_single_post_installed' ) && $single_post) {
|
991 |
// Get post ID if null.
|
992 |
+
if (!$single_post_id) {
|
993 |
global $post;
|
994 |
$single_post_id = $post->ID;
|
995 |
}
|
996 |
// Check for target element.
|
997 |
+
if ($single_post_target) {
|
998 |
$offset = 1;
|
999 |
$pause = "true";
|
1000 |
}
|
1017 |
|
1018 |
|
1019 |
// Term Query
|
1020 |
+
if (has_action('alm_terms_installed' ) && $term_query) {
|
1021 |
$term_query_return = apply_filters(
|
1022 |
'alm_terms_shortcode',
|
1023 |
$term_query,
|
1030 |
|
1031 |
|
1032 |
// Users Add-on
|
1033 |
+
if (has_action('alm_users_installed' ) && $users) {
|
1034 |
$posts_per_page = $users_per_page; // Update $posts_per_page var to be $users_per_page
|
1035 |
$users_return = apply_filters(
|
1036 |
'alm_users_shortcode',
|
1046 |
}
|
1047 |
|
1048 |
// Woocommerce Add-on
|
1049 |
+
if ( $woo && has_action('alm_woocommerce_shortcode' ) && in_array( 'woocommerce/woocommerce.php', apply_filters( 'active_plugins', get_option('active_plugins' ))) ) {
|
1050 |
$woo_return = apply_filters( 'alm_woocommerce_shortcode', $localize_id, $query_args );
|
1051 |
$ajaxloadmore .= $woo_return;
|
1052 |
}
|
1053 |
|
1054 |
// Elementor Add-on
|
1055 |
$elementor_page_link = '';
|
1056 |
+
if ( $elementor === 'posts' && $elementor_target && has_action('alm_elementor_params' ) && in_array( 'elementor-pro/elementor-pro.php', apply_filters( 'active_plugins', get_option('active_plugins' ))) ) {
|
1057 |
$elementor_params = array(
|
1058 |
'target' => $elementor_target,
|
1059 |
'url' => $elementor_url,
|
1077 |
$ajaxloadmore .= ($woocommerce) ? ' data-woocommerce="true"' : '';
|
1078 |
|
1079 |
// Repeaters
|
1080 |
+
if (!$woo && $elementor !== 'posts' ) {
|
1081 |
+
$ajaxloadmore .= ($theme_repeater === 'null' ) ? ' data-repeater="' . $repeater . '"' : '';
|
1082 |
+
$ajaxloadmore .= ($theme_repeater !== 'null' ) ? ' data-theme-repeater="' . $theme_repeater . '"' : '';
|
1083 |
}
|
1084 |
|
1085 |
// Post Type
|
1086 |
$ajaxloadmore .= ' data-post-type="'.$post_type.'"';
|
1087 |
|
1088 |
// Sticky posts
|
1089 |
+
$ajaxloadmore .= ($sticky_posts === 'true' ) ? ' data-sticky-posts="'.$sticky_posts.'"' : '';
|
1090 |
|
1091 |
// Post Format
|
1092 |
$ajaxloadmore .= (!empty($post_format)) ? ' data-post-format="'.$post_format.'"' : '';
|
1109 |
|
1110 |
// Meta Query
|
1111 |
$ajaxloadmore .= (!empty($meta_key)) ? ' data-meta-key="'.$meta_key.'"' : '';
|
1112 |
+
$ajaxloadmore .= (!empty($meta_value) || $meta_value === '0' ) ? ' data-meta-value="'.$meta_value.'"' : '';
|
1113 |
$ajaxloadmore .= (!empty($meta_compare)) ? ' data-meta-compare="'.$meta_compare.'"' : '';
|
1114 |
$ajaxloadmore .= (!empty($meta_relation)) ? ' data-meta-relation="'.$meta_relation.'"' : '';
|
1115 |
$ajaxloadmore .= (!empty($meta_type)) ? ' data-meta-type="'.$meta_type.'"' : '';
|
1131 |
$ajaxloadmore .= (!empty($search)) ? ' data-search="'.$search.'"' : '';
|
1132 |
|
1133 |
// Custom Args
|
1134 |
+
$ajaxloadmore .= ! empty( $custom_args ) ? ' data-custom-args="'.$custom_args.'"' : '';
|
1135 |
|
1136 |
// Vars
|
1137 |
+
$ajaxloadmore .= ! empty( $vars ) ? ' data-vars="' . $vars . '"' : '';
|
1138 |
|
1139 |
// Status
|
1140 |
+
$ajaxloadmore .= ! empty( $post_status ) ? ' data-post-status="'.$post_status.'"' : '';
|
1141 |
|
1142 |
// Order
|
1143 |
$ajaxloadmore .= ' data-order="'.$order.'"';
|
1150 |
$ajaxloadmore .= ' data-posts-per-page="'.$posts_per_page.'"';
|
1151 |
|
1152 |
// Lang
|
1153 |
+
$ajaxloadmore .= ! empty( $lang ) ? ' data-lang="'.$lang.'"' : '';
|
1154 |
|
1155 |
// Scroll
|
1156 |
+
if ($paging !== 'true' ) {
|
1157 |
$ajaxloadmore .= ' data-scroll="'.$scroll.'"';
|
1158 |
+
if ($scroll === 'true' ) {
|
1159 |
$ajaxloadmore .= ' data-scroll-distance="'.$scroll_distance.'"';
|
1160 |
+
$ajaxloadmore .= ! empty( $scroll_container) ? ' data-scroll-container="'.$scroll_container.'"' : '';
|
1161 |
+
$ajaxloadmore .= ! empty( $scroll_direction ) ? ' data-scroll-direction="'.$scroll_direction.'"' : '';
|
1162 |
+
$ajaxloadmore .= ' data-max-pages="' . $max_pages . '"';
|
1163 |
+
$ajaxloadmore .= ! empty($pause_override ) ? ' data-pause-override="'.$pause_override.'"' : '';
|
1164 |
}
|
1165 |
}
|
1166 |
|
1169 |
|
1170 |
// Button
|
1171 |
$ajaxloadmore .= ' data-button-label="'.$button_label.'"';
|
1172 |
+
$ajaxloadmore .= ! empty( $button_loading_label ) ? ' data-button-loading-label="'.$button_loading_label.'"' : '';
|
1173 |
+
$ajaxloadmore .= ! empty( $button_done_label ) ? ' data-button-done-label="'.$button_done_label.'"' : '';
|
1174 |
|
1175 |
// Destroy After
|
1176 |
+
$ajaxloadmore .= !empty( $destroy_after ) ? ' data-destroy-after="'.$destroy_after.'"' : '';
|
1177 |
|
1178 |
// Transition
|
1179 |
+
$ajaxloadmore .= $transition !== 'fade' ? ' data-transition="'.$transition.'"' : '';
|
1180 |
+
$ajaxloadmore .= $transition_container === 'false' ? ' data-transition-container="'.$transition_container.'"' : '';
|
1181 |
+
$ajaxloadmore .= ! empty( $transition_container_classes ) ? ' data-transition-container-classes="'.$transition_container_classes.'"' : '';
|
1182 |
|
1183 |
// Masonry
|
1184 |
+
if ( 'masonry' === $transition ) {
|
1185 |
+
$masonryConfig = array(
|
1186 |
+
'selector' => $masonry_selector,
|
1187 |
+
'columnwidth' => $masonry_columnwidth,
|
1188 |
+
'animation' => $masonry_animation,
|
1189 |
+
'horizontalorder' => $masonry_horizontalorder,
|
1190 |
+
);
|
1191 |
+
$ajaxloadmore .= ' data-masonry-config="' . htmlspecialchars( wp_json_encode( $masonryConfig ), ENT_QUOTES, 'UTF-8' ) . '"';
|
1192 |
+
}
|
1193 |
|
1194 |
// Images Loaded
|
1195 |
+
$ajaxloadmore .= $images_loaded !== 'false' ? ' data-images-loaded="'.$images_loaded.'"' : '';
|
1196 |
+
|
1197 |
+
// Lazy Load Images
|
1198 |
+
$ajaxloadmore .= $lazy_images !== false ? ' data-lazy-images="'.$lazy_images.'"' : '';
|
1199 |
|
1200 |
// Primary
|
1201 |
+
$ajaxloadmore .= $primary !== false ? ' data-primary="true"' : '';
|
1202 |
|
1203 |
$ajaxloadmore .= '>';
|
1204 |
// End .alm-listing data
|
1210 |
include ALM_PATH .'core/classes/includes/preloaded.php';
|
1211 |
}
|
1212 |
|
|
|
1213 |
// Single Post
|
1214 |
// Get first post and append to alm object
|
1215 |
if ( has_action( 'alm_single_post_installed' ) && $single_post ) {
|
1217 |
$repeater_type = preg_split('/(?=\d)/', $repeater, 2); // split $repeater at number to retrieve type
|
1218 |
$repeater_type = $repeater_type[0]; // (default | repeater | template_)
|
1219 |
|
1220 |
+
if ( $theme_repeater !== 'null' && has_filter( 'alm_get_theme_repeater' ) ) {
|
1221 |
$repeater_type = null;
|
1222 |
}
|
1223 |
// Get current permalink - (including querystring)
|
1231 |
*
|
1232 |
* @return $args;
|
1233 |
*/
|
1234 |
+
if ($offset < 1) {
|
1235 |
// Only render include if offset is zero
|
1236 |
$single_post_output .= apply_filters('alm_single_post_inc', $repeater, $repeater_type, $theme_repeater, $single_post_id, $post_type);
|
1237 |
}
|
1240 |
$ajaxloadmore .= $single_post_output; // Add $single_post_output data to $ajaxloadmore
|
1241 |
|
1242 |
}
|
1243 |
+
// End Single Post
|
1244 |
|
1245 |
// Next Page Add-on
|
1246 |
+
if (has_action('alm_nextpage_installed' ) && $nextpage) {
|
1247 |
|
1248 |
$nextpage_start = alm_get_startpage(); // core/functions.php
|
1249 |
|
1278 |
*
|
1279 |
* @return html;
|
1280 |
*/
|
1281 |
+
if ( ( $seo === 'true' || $filters ) && $preloaded !== 'true' && ! $restapi ) {
|
1282 |
+
if ( ! apply_filters( 'alm_disable_noscript_' . $id, false ) ) {
|
1283 |
+
$ajaxloadmore .= apply_filters( 'alm_noscript', $query_args, $container_element, $css_classes, $transition_container_classes );
|
1284 |
+
}
|
1285 |
}
|
1286 |
|
1287 |
// Render <noscript> pagination for SEO and Preloaded (./preloaded.php)
|
1288 |
+
$ajaxloadmore .= ! empty( $noscript_pagingnav ) ? $noscript_pagingnav : '';
|
1289 |
|
1290 |
/**
|
1291 |
* Before Button
|
1293 |
*
|
1294 |
* @return html;
|
1295 |
*/
|
1296 |
+
$ajaxloadmore .= apply_filters('alm_before_button', '' );
|
1297 |
|
1298 |
// Create Load More button
|
1299 |
$ajaxloadmore .= self::alm_render_button($seo, $paging, $button_classname, $button_label, $canonicalURL, $elementor_page_link);
|
1304 |
*
|
1305 |
* @return html;
|
1306 |
*/
|
1307 |
+
$ajaxloadmore .= apply_filters('alm_after_button', '' );
|
1308 |
|
1309 |
// No results text
|
1310 |
+
if ($no_results_text !== '' && !empty($no_results_text)) {
|
1311 |
$ajaxloadmore .= '<div class="alm-no-results" style="display: none;">'. html_entity_decode($no_results_text) .'</div>';
|
1312 |
}
|
1313 |
|
1314 |
// Render <noscript> pagination for Nextpage addon
|
1315 |
+
if (has_action('alm_nextpage_installed' ) && $nextpage && $nextpage_urls === 'true' ) {
|
1316 |
$ajaxloadmore .= apply_filters( 'alm_nextpage_noscript_paging', $query_args['post_id'], $query_args['id'] ); // located in Nextpage add-on
|
1317 |
}
|
1318 |
|
1325 |
*
|
1326 |
* @return html;
|
1327 |
*/
|
1328 |
+
$ajaxloadmore .= apply_filters('alm_after_container', '' );
|
1329 |
|
1330 |
// Progress Bar CSS
|
1331 |
$ajaxloadmore .= apply_filters('alm_progress_css', self::$counter, $progress_bar, $progress_bar_color); // ALM Core Filter Hook
|
1332 |
|
1333 |
// REST API Add-on
|
1334 |
// add <script/> template to page
|
1335 |
+
if (has_action('alm_rest_api_installed' ) && $restapi) {
|
1336 |
+
if ($theme_repeater != 'null' && has_action('alm_get_rest_theme_repeater' )) {
|
1337 |
do_action('alm_get_rest_theme_repeater', $theme_repeater);
|
1338 |
} else {
|
1339 |
$rest_type = alm_get_repeater_type($repeater);
|
1362 |
* @since 3.3.2
|
1363 |
* @return $html
|
1364 |
*/
|
1365 |
+
public static function alm_render_button($seo, $paging, $button_classname, $button_label, $canonicalURL, $elementor_page_link) {
|
1366 |
|
1367 |
$html = '<div class="alm-btn-wrap" style="visibility: hidden;">';
|
1368 |
+
if ($paging !== 'true' ) {
|
1369 |
|
1370 |
// Elementor Page Link
|
1371 |
$html .= ! empty( $elementor_page_link ) ? $elementor_page_link : '';
|
1386 |
* @since 5.1.7
|
1387 |
* @return $html
|
1388 |
*/
|
1389 |
+
public static function alm_render_placeholder($placeholder, $paging) {
|
1390 |
+
if (isset($placeholder) && !empty($placeholder) && $paging !== 'true' ) {
|
1391 |
+
$placeholder_url = ($placeholder === 'true' ) ? ALM_URL .'/core/img/placeholder.png' : $placeholder;
|
1392 |
+
if ($placeholder_url) {
|
1393 |
$html = '<div class="alm-placeholder"><img src="'. $placeholder_url .'" alt=""></div>';
|
1394 |
return $html;
|
1395 |
}
|
core/classes/includes/preloaded.php
CHANGED
@@ -319,9 +319,16 @@ else {
|
|
319 |
$output .= apply_filters( 'alm_filters_reveal_close', '</div>' );
|
320 |
}
|
321 |
|
322 |
-
|
|
|
|
|
|
|
|
|
|
|
323 |
if ( has_action( 'alm_seo_installed') && $seo === 'true' ) {
|
324 |
-
|
|
|
|
|
325 |
}
|
326 |
|
327 |
endif;
|
319 |
$output .= apply_filters( 'alm_filters_reveal_close', '</div>' );
|
320 |
}
|
321 |
|
322 |
+
/**
|
323 |
+
* SEO - create <noscript/> pagination of current query.
|
324 |
+
* ALM Core Filter Hook
|
325 |
+
*
|
326 |
+
* @return html;
|
327 |
+
*/
|
328 |
if ( has_action( 'alm_seo_installed') && $seo === 'true' ) {
|
329 |
+
if ( ! apply_filters( 'alm_disable_noscript_' . $id, false ) ) {
|
330 |
+
$noscript_pagingnav = apply_filters( 'alm_noscript_pagination', $alm_preload_query );
|
331 |
+
}
|
332 |
}
|
333 |
|
334 |
endif;
|
core/dist/css/ajax-load-more.css
CHANGED
@@ -265,7 +265,6 @@
|
|
265 |
display: table;
|
266 |
clear: both;
|
267 |
height: 0;
|
268 |
-
width: 100%;
|
269 |
content: ''; }
|
270 |
|
271 |
.alm-listing {
|
265 |
display: table;
|
266 |
clear: both;
|
267 |
height: 0;
|
|
|
268 |
content: ''; }
|
269 |
|
270 |
.alm-listing {
|
core/dist/css/ajax-load-more.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.alm-btn-wrap{display:block;text-align:center;padding:10px 0;margin:0 0 15px;position:relative}.alm-btn-wrap:after{display:table;clear:both;height:0;width:100%;content:''}.alm-btn-wrap .alm-load-more-btn{font-size:15px;font-weight:500;width:auto;height:43px;line-height:1;background:#ed7070;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);box-shadow:0 1px 1px rgba(0,0,0,.04);color:#fff;border:none;border-radius:4px;margin:0;padding:0 20px;display:inline-block;position:relative;-webkit-transition:all .3s ease;transition:all .3s ease;text-align:center;text-decoration:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer}.alm-btn-wrap .alm-load-more-btn.loading,.alm-btn-wrap .alm-load-more-btn:hover{background-color:#e06161;-webkit-box-shadow:0 1px 3px rgba(0,0,0,.09);box-shadow:0 1px 3px rgba(0,0,0,.09);color:#fff;text-decoration:none}.alm-btn-wrap .alm-load-more-btn:active{-webkit-box-shadow:none;box-shadow:none;text-decoration:none}.alm-btn-wrap .alm-load-more-btn.loading{cursor:default;outline:0;padding-left:44px}.alm-btn-wrap .alm-load-more-btn.done{cursor:default;opacity:.15;background-color:#ed7070;outline:0!important;-webkit-box-shadow:none!important;box-shadow:none!important}.alm-btn-wrap .alm-load-more-btn.done:before,.alm-btn-wrap .alm-load-more-btn:before{background:0 0;width:0}.alm-btn-wrap .alm-load-more-btn.loading:before{background:#fff url(../../img/ajax-loader.gif) no-repeat center center;width:30px;height:31px;margin:6px;border-radius:3px;display:inline-block;z-index:0;content:'';position:absolute;left:0;top:0;overflow:hidden;-webkit-transition:width .5s ease-in-out;transition:width .5s ease-in-out}.alm-btn-wrap .alm-elementor-link{display:block;font-size:13px;margin:0 0 15px}@media screen and (min-width:768px){.alm-btn-wrap .alm-elementor-link{position:absolute;left:0;top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%);margin:0}}.ajax-load-more-wrap.white .alm-load-more-btn{background-color:#fff;color:#787878;border:1px solid #e0e0e0;overflow:hidden;-webkit-transition:none;transition:none;outline:0}.ajax-load-more-wrap.white .alm-load-more-btn.loading,.ajax-load-more-wrap.white .alm-load-more-btn:focus,.ajax-load-more-wrap.white .alm-load-more-btn:hover{background-color:#fff;color:#333;border-color:#aaa}.ajax-load-more-wrap.white .alm-load-more-btn.done{background-color:#fff;color:#444;border-color:#ccc}.ajax-load-more-wrap.white .alm-load-more-btn.loading{color:rgba(255,255,255,0)!important;outline:0!important;background-color:transparent;border-color:transparent!important;-webkit-box-shadow:none!important;box-shadow:none!important;padding-left:20px}.ajax-load-more-wrap.white .alm-load-more-btn.loading:before{margin:0;left:0;top:0;width:100%;height:100%;background-color:transparent;background-image:url(../../img/ajax-loader-lg.gif);background-size:25px 25px;background-position:center center}.ajax-load-more-wrap.light-grey .alm-load-more-btn{background-color:#efefef;color:#787878;border:1px solid #e0e0e0;overflow:hidden;-webkit-transition:all 75ms ease;transition:all 75ms ease;outline:0}.ajax-load-more-wrap.light-grey .alm-load-more-btn.done,.ajax-load-more-wrap.light-grey .alm-load-more-btn.loading,.ajax-load-more-wrap.light-grey .alm-load-more-btn:focus,.ajax-load-more-wrap.light-grey .alm-load-more-btn:hover{background-color:#f1f1f1;color:#222;border-color:#aaa}.ajax-load-more-wrap.light-grey .alm-load-more-btn.loading{color:rgba(255,255,255,0)!important;outline:0!important;background-color:transparent;border-color:transparent!important;-webkit-box-shadow:none!important;box-shadow:none!important;padding-left:20px}.ajax-load-more-wrap.light-grey .alm-load-more-btn.loading:before{margin:0;left:0;top:0;width:100%;height:100%;background-color:transparent;background-image:url(../../img/ajax-loader-lg.gif);background-size:25px 25px;background-position:center center}.ajax-load-more-wrap.blue .alm-load-more-btn{background-color:#1b91ca}.ajax-load-more-wrap.blue .alm-load-more-btn.done,.ajax-load-more-wrap.blue .alm-load-more-btn.loading,.ajax-load-more-wrap.blue .alm-load-more-btn:hover{background-color:#1b84b7}.ajax-load-more-wrap.green .alm-load-more-btn{background-color:#80ca7a}.ajax-load-more-wrap.green .alm-load-more-btn.done,.ajax-load-more-wrap.green .alm-load-more-btn.loading,.ajax-load-more-wrap.green .alm-load-more-btn:hover{background-color:#81c17b}.ajax-load-more-wrap.purple .alm-load-more-btn{background-color:#b97eca}.ajax-load-more-wrap.purple .alm-load-more-btn.done,.ajax-load-more-wrap.purple .alm-load-more-btn.loading,.ajax-load-more-wrap.purple .alm-load-more-btn:hover{background-color:#a477b1}.ajax-load-more-wrap.grey .alm-load-more-btn{background-color:#a09e9e}.ajax-load-more-wrap.grey .alm-load-more-btn.done,.ajax-load-more-wrap.grey .alm-load-more-btn.loading,.ajax-load-more-wrap.grey .alm-load-more-btn:hover{background-color:#888}.ajax-load-more-wrap.infinite>.alm-btn-wrap .alm-load-more-btn{width:100%;background-color:transparent!important;background-position:center center;background-repeat:no-repeat;background-image:url(../../img/spinner.gif);border:none!important;opacity:0;-webkit-transition:opacity .2s ease;transition:opacity .2s ease;-webkit-box-shadow:none!important;box-shadow:none!important;overflow:hidden;text-indent:-9999px;cursor:default!important;outline:0!important}.ajax-load-more-wrap.infinite>.alm-btn-wrap .alm-load-more-btn:before{display:none!important}.ajax-load-more-wrap.infinite>.alm-btn-wrap .alm-load-more-btn:active,.ajax-load-more-wrap.infinite>.alm-btn-wrap .alm-load-more-btn:focus{outline:0}.ajax-load-more-wrap.infinite>.alm-btn-wrap .alm-load-more-btn.done{opacity:0}.ajax-load-more-wrap.infinite>.alm-btn-wrap .alm-load-more-btn.loading{opacity:1}.ajax-load-more-wrap.infinite.skype>.alm-btn-wrap .alm-load-more-btn{background-image:url(../../img/spinner-skype.gif)}.ajax-load-more-wrap.infinite.ring>.alm-btn-wrap .alm-load-more-btn{background-image:url(../../img/spinner-ring.gif)}.ajax-load-more-wrap.infinite.fading-blocks>.alm-btn-wrap .alm-load-more-btn{background-image:url(../../img/loader-fading-blocks.gif)}.ajax-load-more-wrap.infinite.fading-circles>.alm-btn-wrap .alm-load-more-btn{background-image:url(../../img/loader-fading-circles.gif)}.ajax-load-more-wrap.infinite.chasing-arrows>.alm-btn-wrap .alm-load-more-btn{background-image:url(../../img/spinner-chasing-arrows.gif)}.ajax-load-more-wrap.alm-horizontal .alm-btn-wrap{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:0;margin:0}.ajax-load-more-wrap.alm-horizontal .alm-btn-wrap button{margin:0}.ajax-load-more-wrap.alm-horizontal .alm-btn-wrap button.done{display:none}.alm-listing .alm-reveal{outline:0}.alm-listing .alm-reveal:after{display:table;clear:both;height:0;width:100%;content:''}.alm-listing{margin:0;padding:0}.alm-listing .alm-paging-content>li,.alm-listing .alm-reveal>li,.alm-listing>li{position:relative}.alm-listing .alm-paging-content>li.alm-item,.alm-listing .alm-reveal>li.alm-item,.alm-listing>li.alm-item{background:0 0;margin:0 0 30px;padding:0 0 0 80px;position:relative;list-style:none}@media screen and (min-width:480px){.alm-listing .alm-paging-content>li.alm-item,.alm-listing .alm-reveal>li.alm-item,.alm-listing>li.alm-item{padding:0 0 0 100px}}@media screen and (min-width:768px){.alm-listing .alm-paging-content>li.alm-item,.alm-listing .alm-reveal>li.alm-item,.alm-listing>li.alm-item{padding:0 0 0 135px}}@media screen and (min-width:1024px){.alm-listing .alm-paging-content>li.alm-item,.alm-listing .alm-reveal>li.alm-item,.alm-listing>li.alm-item{padding:0 0 0 160px}}.alm-listing .alm-paging-content>li.alm-item h3,.alm-listing .alm-reveal>li.alm-item h3,.alm-listing>li.alm-item h3{margin:0}.alm-listing .alm-paging-content>li.alm-item p,.alm-listing .alm-reveal>li.alm-item p,.alm-listing>li.alm-item p{margin:10px 0 0}.alm-listing .alm-paging-content>li.alm-item p.entry-meta,.alm-listing .alm-reveal>li.alm-item p.entry-meta,.alm-listing>li.alm-item p.entry-meta{opacity:.75}.alm-listing .alm-paging-content>li.alm-item img,.alm-listing .alm-reveal>li.alm-item img,.alm-listing>li.alm-item img{position:absolute;left:0;top:0;border-radius:2px;max-width:65px}@media screen and (min-width:480px){.alm-listing .alm-paging-content>li.alm-item img,.alm-listing .alm-reveal>li.alm-item img,.alm-listing>li.alm-item img{max-width:85px}}@media screen and (min-width:768px){.alm-listing .alm-paging-content>li.alm-item img,.alm-listing .alm-reveal>li.alm-item img,.alm-listing>li.alm-item img{max-width:115px}}@media screen and (min-width:1024px){.alm-listing .alm-paging-content>li.alm-item img,.alm-listing .alm-reveal>li.alm-item img,.alm-listing>li.alm-item img{max-width:140px}}.alm-listing .alm-paging-content>li.no-img,.alm-listing .alm-reveal>li.no-img,.alm-listing>li.no-img{padding:0}.alm-listing.products li.product{padding-left:inherit}.alm-listing.products li.product img{position:static;border-radius:inherit}.alm-listing.stylefree .alm-paging-content>li,.alm-listing.stylefree .alm-reveal>li,.alm-listing.stylefree>li{padding:inherit;margin:inherit}.alm-listing.stylefree .alm-paging-content>li img,.alm-listing.stylefree .alm-reveal>li img,.alm-listing.stylefree>li img{padding:inherit;margin:inherit;position:static;border-radius:inherit}.alm-listing.rtl .alm-paging-content>li,.alm-listing.rtl .alm-reveal>li{padding:0 170px 0 0;text-align:right}.alm-listing.rtl .alm-paging-content>li img,.alm-listing.rtl .alm-reveal>li img{left:auto;right:0}.alm-listing.rtl.products li.product{padding-right:inherit}.alm-masonry{display:block;overflow:hidden;clear:both}.alm-placeholder{opacity:0;-webkit-transition:opacity .2s ease;transition:opacity .2s ease;display:none}.ajax-load-more-wrap.alm-horizontal{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;width:100%}.ajax-load-more-wrap.alm-horizontal .alm-listing,.ajax-load-more-wrap.alm-horizontal .alm-listing .alm-reveal{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.ajax-load-more-wrap.alm-horizontal .alm-listing .alm-reveal>li.alm-item,.ajax-load-more-wrap.alm-horizontal .alm-listing>li.alm-item{padding:0;text-align:center;margin:0 2px;padding:20px 20px 30px;height:auto;background-color:#fff;border:1px solid #efefef;border-radius:4px;width:300px}.ajax-load-more-wrap.alm-horizontal .alm-listing .alm-reveal>li.alm-item img,.ajax-load-more-wrap.alm-horizontal .alm-listing>li.alm-item img{position:static;border-radius:100%;max-width:125px;margin:0 auto 15px;border-radius:4px;-webkit-box-shadow:0 2px 10px rgba(0,0,0,.075);box-shadow:0 2px 10px rgba(0,0,0,.075)}.ajax-load-more-wrap.alm-horizontal .alm-listing .alm-reveal:after{display:none}.alm-toc{display:-webkit-box;display:-ms-flexbox;display:flex;width:auto;padding:10px 0}.alm-toc button{background:#f7f7f7;border-radius:4px;-webkit-transition:all .15s ease;transition:all .15s ease;outline:0;border:1px solid #efefef;-webkit-box-shadow:none;box-shadow:none;color:#454545;cursor:pointer;font-size:14px;font-weight:500;padding:7px 10px;line-height:1;margin:0 5px 0 0;height:auto}.alm-toc button:focus,.alm-toc button:hover{border-color:#ccc;color:#222}.alm-toc button:hover{text-decoration:underline}.alm-toc button:focus{-webkit-box-shadow:0 0 0 3px rgba(0,0,0,.05);box-shadow:0 0 0 3px rgba(0,0,0,.05)}
|
1 |
+
.alm-btn-wrap{display:block;text-align:center;padding:10px 0;margin:0 0 15px;position:relative}.alm-btn-wrap:after{display:table;clear:both;height:0;width:100%;content:''}.alm-btn-wrap .alm-load-more-btn{font-size:15px;font-weight:500;width:auto;height:43px;line-height:1;background:#ed7070;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);box-shadow:0 1px 1px rgba(0,0,0,.04);color:#fff;border:none;border-radius:4px;margin:0;padding:0 20px;display:inline-block;position:relative;-webkit-transition:all .3s ease;transition:all .3s ease;text-align:center;text-decoration:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer}.alm-btn-wrap .alm-load-more-btn.loading,.alm-btn-wrap .alm-load-more-btn:hover{background-color:#e06161;-webkit-box-shadow:0 1px 3px rgba(0,0,0,.09);box-shadow:0 1px 3px rgba(0,0,0,.09);color:#fff;text-decoration:none}.alm-btn-wrap .alm-load-more-btn:active{-webkit-box-shadow:none;box-shadow:none;text-decoration:none}.alm-btn-wrap .alm-load-more-btn.loading{cursor:default;outline:0;padding-left:44px}.alm-btn-wrap .alm-load-more-btn.done{cursor:default;opacity:.15;background-color:#ed7070;outline:0!important;-webkit-box-shadow:none!important;box-shadow:none!important}.alm-btn-wrap .alm-load-more-btn.done:before,.alm-btn-wrap .alm-load-more-btn:before{background:0 0;width:0}.alm-btn-wrap .alm-load-more-btn.loading:before{background:#fff url(../../img/ajax-loader.gif) no-repeat center center;width:30px;height:31px;margin:6px;border-radius:3px;display:inline-block;z-index:0;content:'';position:absolute;left:0;top:0;overflow:hidden;-webkit-transition:width .5s ease-in-out;transition:width .5s ease-in-out}.alm-btn-wrap .alm-elementor-link{display:block;font-size:13px;margin:0 0 15px}@media screen and (min-width:768px){.alm-btn-wrap .alm-elementor-link{position:absolute;left:0;top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%);margin:0}}.ajax-load-more-wrap.white .alm-load-more-btn{background-color:#fff;color:#787878;border:1px solid #e0e0e0;overflow:hidden;-webkit-transition:none;transition:none;outline:0}.ajax-load-more-wrap.white .alm-load-more-btn.loading,.ajax-load-more-wrap.white .alm-load-more-btn:focus,.ajax-load-more-wrap.white .alm-load-more-btn:hover{background-color:#fff;color:#333;border-color:#aaa}.ajax-load-more-wrap.white .alm-load-more-btn.done{background-color:#fff;color:#444;border-color:#ccc}.ajax-load-more-wrap.white .alm-load-more-btn.loading{color:rgba(255,255,255,0)!important;outline:0!important;background-color:transparent;border-color:transparent!important;-webkit-box-shadow:none!important;box-shadow:none!important;padding-left:20px}.ajax-load-more-wrap.white .alm-load-more-btn.loading:before{margin:0;left:0;top:0;width:100%;height:100%;background-color:transparent;background-image:url(../../img/ajax-loader-lg.gif);background-size:25px 25px;background-position:center center}.ajax-load-more-wrap.light-grey .alm-load-more-btn{background-color:#efefef;color:#787878;border:1px solid #e0e0e0;overflow:hidden;-webkit-transition:all 75ms ease;transition:all 75ms ease;outline:0}.ajax-load-more-wrap.light-grey .alm-load-more-btn.done,.ajax-load-more-wrap.light-grey .alm-load-more-btn.loading,.ajax-load-more-wrap.light-grey .alm-load-more-btn:focus,.ajax-load-more-wrap.light-grey .alm-load-more-btn:hover{background-color:#f1f1f1;color:#222;border-color:#aaa}.ajax-load-more-wrap.light-grey .alm-load-more-btn.loading{color:rgba(255,255,255,0)!important;outline:0!important;background-color:transparent;border-color:transparent!important;-webkit-box-shadow:none!important;box-shadow:none!important;padding-left:20px}.ajax-load-more-wrap.light-grey .alm-load-more-btn.loading:before{margin:0;left:0;top:0;width:100%;height:100%;background-color:transparent;background-image:url(../../img/ajax-loader-lg.gif);background-size:25px 25px;background-position:center center}.ajax-load-more-wrap.blue .alm-load-more-btn{background-color:#1b91ca}.ajax-load-more-wrap.blue .alm-load-more-btn.done,.ajax-load-more-wrap.blue .alm-load-more-btn.loading,.ajax-load-more-wrap.blue .alm-load-more-btn:hover{background-color:#1b84b7}.ajax-load-more-wrap.green .alm-load-more-btn{background-color:#80ca7a}.ajax-load-more-wrap.green .alm-load-more-btn.done,.ajax-load-more-wrap.green .alm-load-more-btn.loading,.ajax-load-more-wrap.green .alm-load-more-btn:hover{background-color:#81c17b}.ajax-load-more-wrap.purple .alm-load-more-btn{background-color:#b97eca}.ajax-load-more-wrap.purple .alm-load-more-btn.done,.ajax-load-more-wrap.purple .alm-load-more-btn.loading,.ajax-load-more-wrap.purple .alm-load-more-btn:hover{background-color:#a477b1}.ajax-load-more-wrap.grey .alm-load-more-btn{background-color:#a09e9e}.ajax-load-more-wrap.grey .alm-load-more-btn.done,.ajax-load-more-wrap.grey .alm-load-more-btn.loading,.ajax-load-more-wrap.grey .alm-load-more-btn:hover{background-color:#888}.ajax-load-more-wrap.infinite>.alm-btn-wrap .alm-load-more-btn{width:100%;background-color:transparent!important;background-position:center center;background-repeat:no-repeat;background-image:url(../../img/spinner.gif);border:none!important;opacity:0;-webkit-transition:opacity .2s ease;transition:opacity .2s ease;-webkit-box-shadow:none!important;box-shadow:none!important;overflow:hidden;text-indent:-9999px;cursor:default!important;outline:0!important}.ajax-load-more-wrap.infinite>.alm-btn-wrap .alm-load-more-btn:before{display:none!important}.ajax-load-more-wrap.infinite>.alm-btn-wrap .alm-load-more-btn:active,.ajax-load-more-wrap.infinite>.alm-btn-wrap .alm-load-more-btn:focus{outline:0}.ajax-load-more-wrap.infinite>.alm-btn-wrap .alm-load-more-btn.done{opacity:0}.ajax-load-more-wrap.infinite>.alm-btn-wrap .alm-load-more-btn.loading{opacity:1}.ajax-load-more-wrap.infinite.skype>.alm-btn-wrap .alm-load-more-btn{background-image:url(../../img/spinner-skype.gif)}.ajax-load-more-wrap.infinite.ring>.alm-btn-wrap .alm-load-more-btn{background-image:url(../../img/spinner-ring.gif)}.ajax-load-more-wrap.infinite.fading-blocks>.alm-btn-wrap .alm-load-more-btn{background-image:url(../../img/loader-fading-blocks.gif)}.ajax-load-more-wrap.infinite.fading-circles>.alm-btn-wrap .alm-load-more-btn{background-image:url(../../img/loader-fading-circles.gif)}.ajax-load-more-wrap.infinite.chasing-arrows>.alm-btn-wrap .alm-load-more-btn{background-image:url(../../img/spinner-chasing-arrows.gif)}.ajax-load-more-wrap.alm-horizontal .alm-btn-wrap{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:0;margin:0}.ajax-load-more-wrap.alm-horizontal .alm-btn-wrap button{margin:0}.ajax-load-more-wrap.alm-horizontal .alm-btn-wrap button.done{display:none}.alm-listing .alm-reveal{outline:0}.alm-listing .alm-reveal:after{display:table;clear:both;height:0;content:''}.alm-listing{margin:0;padding:0}.alm-listing .alm-paging-content>li,.alm-listing .alm-reveal>li,.alm-listing>li{position:relative}.alm-listing .alm-paging-content>li.alm-item,.alm-listing .alm-reveal>li.alm-item,.alm-listing>li.alm-item{background:0 0;margin:0 0 30px;padding:0 0 0 80px;position:relative;list-style:none}@media screen and (min-width:480px){.alm-listing .alm-paging-content>li.alm-item,.alm-listing .alm-reveal>li.alm-item,.alm-listing>li.alm-item{padding:0 0 0 100px}}@media screen and (min-width:768px){.alm-listing .alm-paging-content>li.alm-item,.alm-listing .alm-reveal>li.alm-item,.alm-listing>li.alm-item{padding:0 0 0 135px}}@media screen and (min-width:1024px){.alm-listing .alm-paging-content>li.alm-item,.alm-listing .alm-reveal>li.alm-item,.alm-listing>li.alm-item{padding:0 0 0 160px}}.alm-listing .alm-paging-content>li.alm-item h3,.alm-listing .alm-reveal>li.alm-item h3,.alm-listing>li.alm-item h3{margin:0}.alm-listing .alm-paging-content>li.alm-item p,.alm-listing .alm-reveal>li.alm-item p,.alm-listing>li.alm-item p{margin:10px 0 0}.alm-listing .alm-paging-content>li.alm-item p.entry-meta,.alm-listing .alm-reveal>li.alm-item p.entry-meta,.alm-listing>li.alm-item p.entry-meta{opacity:.75}.alm-listing .alm-paging-content>li.alm-item img,.alm-listing .alm-reveal>li.alm-item img,.alm-listing>li.alm-item img{position:absolute;left:0;top:0;border-radius:2px;max-width:65px}@media screen and (min-width:480px){.alm-listing .alm-paging-content>li.alm-item img,.alm-listing .alm-reveal>li.alm-item img,.alm-listing>li.alm-item img{max-width:85px}}@media screen and (min-width:768px){.alm-listing .alm-paging-content>li.alm-item img,.alm-listing .alm-reveal>li.alm-item img,.alm-listing>li.alm-item img{max-width:115px}}@media screen and (min-width:1024px){.alm-listing .alm-paging-content>li.alm-item img,.alm-listing .alm-reveal>li.alm-item img,.alm-listing>li.alm-item img{max-width:140px}}.alm-listing .alm-paging-content>li.no-img,.alm-listing .alm-reveal>li.no-img,.alm-listing>li.no-img{padding:0}.alm-listing.products li.product{padding-left:inherit}.alm-listing.products li.product img{position:static;border-radius:inherit}.alm-listing.stylefree .alm-paging-content>li,.alm-listing.stylefree .alm-reveal>li,.alm-listing.stylefree>li{padding:inherit;margin:inherit}.alm-listing.stylefree .alm-paging-content>li img,.alm-listing.stylefree .alm-reveal>li img,.alm-listing.stylefree>li img{padding:inherit;margin:inherit;position:static;border-radius:inherit}.alm-listing.rtl .alm-paging-content>li,.alm-listing.rtl .alm-reveal>li{padding:0 170px 0 0;text-align:right}.alm-listing.rtl .alm-paging-content>li img,.alm-listing.rtl .alm-reveal>li img{left:auto;right:0}.alm-listing.rtl.products li.product{padding-right:inherit}.alm-masonry{display:block;overflow:hidden;clear:both}.alm-placeholder{opacity:0;-webkit-transition:opacity .2s ease;transition:opacity .2s ease;display:none}.ajax-load-more-wrap.alm-horizontal{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;width:100%}.ajax-load-more-wrap.alm-horizontal .alm-listing,.ajax-load-more-wrap.alm-horizontal .alm-listing .alm-reveal{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.ajax-load-more-wrap.alm-horizontal .alm-listing .alm-reveal>li.alm-item,.ajax-load-more-wrap.alm-horizontal .alm-listing>li.alm-item{padding:0;text-align:center;margin:0 2px;padding:20px 20px 30px;height:auto;background-color:#fff;border:1px solid #efefef;border-radius:4px;width:300px}.ajax-load-more-wrap.alm-horizontal .alm-listing .alm-reveal>li.alm-item img,.ajax-load-more-wrap.alm-horizontal .alm-listing>li.alm-item img{position:static;border-radius:100%;max-width:125px;margin:0 auto 15px;border-radius:4px;-webkit-box-shadow:0 2px 10px rgba(0,0,0,.075);box-shadow:0 2px 10px rgba(0,0,0,.075)}.ajax-load-more-wrap.alm-horizontal .alm-listing .alm-reveal:after{display:none}.alm-toc{display:-webkit-box;display:-ms-flexbox;display:flex;width:auto;padding:10px 0}.alm-toc button{background:#f7f7f7;border-radius:4px;-webkit-transition:all .15s ease;transition:all .15s ease;outline:0;border:1px solid #efefef;-webkit-box-shadow:none;box-shadow:none;color:#454545;cursor:pointer;font-size:14px;font-weight:500;padding:7px 10px;line-height:1;margin:0 5px 0 0;height:auto}.alm-toc button:focus,.alm-toc button:hover{border-color:#ccc;color:#222}.alm-toc button:hover{text-decoration:underline}.alm-toc button:focus{-webkit-box-shadow:0 0 0 3px rgba(0,0,0,.05);box-shadow:0 0 0 3px rgba(0,0,0,.05)}
|
core/dist/js/ajax-load-more.js
CHANGED
@@ -786,8 +786,8 @@ exports.createSEOAttributes = createSEOAttributes;
|
|
786 |
* createMasonrySEOPage
|
787 |
* Create data attributes for SEO paged results
|
788 |
*
|
789 |
-
* @param {
|
790 |
-
* @param {
|
791 |
* @since 5.3.1
|
792 |
*/
|
793 |
function createMasonrySEOPage(alm, element) {
|
@@ -808,8 +808,8 @@ function createMasonrySEOPage(alm, element) {
|
|
808 |
* createMasonrySEOPages
|
809 |
* Create data attributes for SEO - used when /page/2/, /page/3/ etc are hit on page load
|
810 |
*
|
811 |
-
* @param {
|
812 |
-
* @param {
|
813 |
* @since 5.3.1
|
814 |
*/
|
815 |
function createMasonrySEOPages(alm, elements) {
|
@@ -848,7 +848,16 @@ function createMasonrySEOPages(alm, elements) {
|
|
848 |
return elements;
|
849 |
}
|
850 |
|
851 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
852 |
function masonrySEOAtts(alm, element, querystring, seo_class, pagenum) {
|
853 |
element.classList.add(seo_class);
|
854 |
element.dataset.page = pagenum;
|
@@ -873,12 +882,11 @@ function masonrySEOAtts(alm, element, querystring, seo_class, pagenum) {
|
|
873 |
}
|
874 |
|
875 |
/**
|
876 |
-
*
|
877 |
-
*
|
|
|
|
|
878 |
*
|
879 |
-
* @param {Object} alm
|
880 |
-
* @param {Array} elements
|
881 |
-
* ...
|
882 |
* @since 5.3.1
|
883 |
*/
|
884 |
function createSEOAttributes(alm, element, querystring, seo_class, pagenum) {
|
@@ -1375,8 +1383,6 @@ var _getButtonURL2 = _interopRequireDefault(_getButtonURL);
|
|
1375 |
|
1376 |
var _masonry = __webpack_require__(/*! ./modules/masonry */ "./core/src/js/modules/masonry.js");
|
1377 |
|
1378 |
-
var _masonry2 = _interopRequireDefault(_masonry);
|
1379 |
-
|
1380 |
var _fadeIn = __webpack_require__(/*! ./modules/fadeIn */ "./core/src/js/modules/fadeIn.js");
|
1381 |
|
1382 |
var _fadeIn2 = _interopRequireDefault(_fadeIn);
|
@@ -1407,6 +1413,10 @@ var _srcsetPolyfill2 = _interopRequireDefault(_srcsetPolyfill);
|
|
1407 |
|
1408 |
var _placeholder = __webpack_require__(/*! ./modules/placeholder */ "./core/src/js/modules/placeholder.js");
|
1409 |
|
|
|
|
|
|
|
|
|
1410 |
var _singleposts = __webpack_require__(/*! ./addons/singleposts */ "./core/src/js/addons/singleposts.js");
|
1411 |
|
1412 |
var _cache = __webpack_require__(/*! ./addons/cache */ "./core/src/js/addons/cache.js");
|
@@ -1598,6 +1608,7 @@ var alm_is_filtering = false;
|
|
1598 |
alm.orginal_posts_per_page = parseInt(alm.listing.dataset.postsPerPage); // Used for paging add-on
|
1599 |
alm.posts_per_page = alm.listing.dataset.postsPerPage;
|
1600 |
alm.offset = alm.listing.dataset.offset ? parseInt(alm.listing.dataset.offset) : 0;
|
|
|
1601 |
alm.integration.woocommerce = alm.listing.dataset.woocommerce ? alm.listing.dataset.woocommerce : false;
|
1602 |
alm.integration.woocommerce = alm.integration.woocommerce === 'true' ? true : false;
|
1603 |
alm.is_search = alm.is_search === undefined ? false : alm.is_search;
|
@@ -1684,9 +1695,7 @@ var alm_is_filtering = false;
|
|
1684 |
}
|
1685 |
|
1686 |
alm.addons.tabs = alm.listing.dataset.tabs;
|
1687 |
-
|
1688 |
alm.addons.filters = alm.listing.dataset.filters;
|
1689 |
-
|
1690 |
alm.addons.seo = alm.listing.dataset.seo;
|
1691 |
|
1692 |
// Preloaded
|
@@ -1703,6 +1712,8 @@ var alm_is_filtering = false;
|
|
1703 |
}
|
1704 |
|
1705 |
// Extension Shortcode Params
|
|
|
|
|
1706 |
alm.extensions.restapi = alm.listing.dataset.restapi; // REST API
|
1707 |
alm.extensions.restapi_base_url = alm.listing.dataset.restapiBaseUrl;
|
1708 |
alm.extensions.restapi_namespace = alm.listing.dataset.restapiNamespace;
|
@@ -1710,7 +1721,8 @@ var alm_is_filtering = false;
|
|
1710 |
alm.extensions.restapi_template_id = alm.listing.dataset.restapiTemplateId;
|
1711 |
alm.extensions.restapi_debug = alm.listing.dataset.restapiDebug;
|
1712 |
|
1713 |
-
|
|
|
1714 |
alm.extensions.acf_field_type = alm.listing.dataset.acfFieldType;
|
1715 |
alm.extensions.acf_field_name = alm.listing.dataset.acfFieldName;
|
1716 |
alm.extensions.acf_parent_field_name = alm.listing.dataset.acfParentFieldName;
|
@@ -1721,14 +1733,14 @@ var alm_is_filtering = false;
|
|
1721 |
alm.extensions.acf = false;
|
1722 |
}
|
1723 |
|
1724 |
-
// Term Query
|
1725 |
alm.extensions.term_query = alm.listing.dataset.termQuery; // TERM QUERY
|
1726 |
alm.extensions.term_query_taxonomy = alm.listing.dataset.termQueryTaxonomy;
|
1727 |
alm.extensions.term_query_hide_empty = alm.listing.dataset.termQueryHideEmpty;
|
1728 |
alm.extensions.term_query_number = alm.listing.dataset.termQueryNumber;
|
1729 |
alm.extensions.term_query = alm.extensions.term_query === 'true' ? true : false;
|
1730 |
|
1731 |
-
// Paging
|
1732 |
alm.addons.paging = alm.listing.dataset.paging; // Paging add-on
|
1733 |
if (alm.addons.paging === 'true') {
|
1734 |
alm.addons.paging = true;
|
@@ -1751,13 +1763,12 @@ var alm_is_filtering = false;
|
|
1751 |
} else {
|
1752 |
alm.addons.paging = false;
|
1753 |
}
|
1754 |
-
/* End Paging */
|
1755 |
|
1756 |
-
|
1757 |
if (alm.addons.filters === 'true') {
|
1758 |
alm.addons.filters = true;
|
1759 |
-
|
1760 |
alm.addons.filters_url = alm.listing.dataset.filtersUrl === 'true' ? true : false;
|
|
|
1761 |
alm.addons.filters_paging = alm.listing.dataset.filtersPaging === 'true' ? true : false;
|
1762 |
alm.addons.filters_scroll = alm.listing.dataset.filtersScroll === 'true' ? true : false;
|
1763 |
alm.addons.filters_scrolltop = alm.listing.dataset.filtersScrolltop ? alm.listing.dataset.filtersScrolltop : '30';
|
@@ -1765,6 +1776,11 @@ var alm_is_filtering = false;
|
|
1765 |
alm.addons.filters_debug = alm.listing.dataset.filtersDebug;
|
1766 |
alm.addons.filters_startpage = 0;
|
1767 |
|
|
|
|
|
|
|
|
|
|
|
1768 |
// Get Paged Querystring Val
|
1769 |
var page = (0, _getParameterByName2.default)('pg');
|
1770 |
alm.addons.filters_startpage = page !== null ? parseInt(page) : 0;
|
@@ -1777,9 +1793,8 @@ var alm_is_filtering = false;
|
|
1777 |
} else {
|
1778 |
alm.addons.filters = false;
|
1779 |
}
|
1780 |
-
/* End Filters */
|
1781 |
|
1782 |
-
|
1783 |
if (alm.addons.tabs === 'true') {
|
1784 |
alm.addons.tabs = true;
|
1785 |
alm.addons.tab_template = alm.listing.dataset.tabTemplate ? alm.listing.dataset.tabTemplate : '';
|
@@ -1802,7 +1817,7 @@ var alm_is_filtering = false;
|
|
1802 |
} else {
|
1803 |
alm.addons.tabs = false;
|
1804 |
}
|
1805 |
-
/* End
|
1806 |
|
1807 |
/* REST API */
|
1808 |
if (alm.extensions.restapi === 'true') {
|
@@ -1935,7 +1950,7 @@ var alm_is_filtering = false;
|
|
1935 |
alm.theme_repeater = alm.theme_repeater === undefined ? false : alm.theme_repeater;
|
1936 |
|
1937 |
/* Max Pages (while scrolling) */
|
1938 |
-
alm.max_pages = alm.max_pages === undefined || alm.max_pages === 0 ?
|
1939 |
|
1940 |
/* Scroll Distance */
|
1941 |
alm.scroll_distance = alm.scroll_distance === undefined ? 100 : alm.scroll_distance;
|
@@ -1963,23 +1978,8 @@ var alm_is_filtering = false;
|
|
1963 |
alm.tcc = alm.tcc === undefined ? '' : alm.tcc;
|
1964 |
|
1965 |
/* Masonry */
|
1966 |
-
alm.is_masonry_preloaded = false;
|
1967 |
if (alm.transition === 'masonry') {
|
1968 |
-
alm
|
1969 |
-
if (alm.msnry) {
|
1970 |
-
alm.msnry.destroy(); // destroy masonry if it currently exists
|
1971 |
-
} else {
|
1972 |
-
alm.msnry = '';
|
1973 |
-
}
|
1974 |
-
alm.masonry_selector = alm.listing.dataset.masonrySelector;
|
1975 |
-
alm.masonry_columnwidth = alm.listing.dataset.masonryColumnwidth;
|
1976 |
-
alm.masonry_animation = alm.listing.dataset.masonryAnimation;
|
1977 |
-
alm.masonry_animation = alm.masonry_animation === undefined ? 'standard' : alm.masonry_animation;
|
1978 |
-
alm.masonry_horizontalorder = alm.listing.dataset.masonryHorizontalorder;
|
1979 |
-
alm.masonry_horizontalorder = alm.masonry_horizontalorder === undefined ? 'true' : alm.masonry_horizontalorder;
|
1980 |
-
alm.transition_container = false;
|
1981 |
-
alm.images_loaded = false;
|
1982 |
-
alm.is_masonry_preloaded = alm.addons.preloaded === 'true' ? true : alm.is_masonry_preloaded;
|
1983 |
}
|
1984 |
|
1985 |
/* Scroll */
|
@@ -2475,7 +2475,7 @@ var alm_is_filtering = false;
|
|
2475 |
meta = data.meta;
|
2476 |
total = meta ? parseInt(meta.postcount) : parseInt(alm.posts_per_page);
|
2477 |
|
2478 |
-
var totalposts = meta
|
2479 |
alm.totalposts = alm.addons.preloaded === 'true' ? totalposts - alm.addons.preloaded_amount : totalposts;
|
2480 |
alm.posts = alm.addons.paging ? total : alm.posts + total;
|
2481 |
alm.debug = meta.debug ? meta.debug : '';
|
@@ -2594,12 +2594,10 @@ var alm_is_filtering = false;
|
|
2594 |
} else {
|
2595 |
if (!alm.transition_container) {
|
2596 |
// No transition container
|
2597 |
-
|
2598 |
alm.el = alm.html;
|
2599 |
reveal = alm.container_type === 'table' ? (0, _tableWrap2.default)(alm.html) : (0, _stripEmptyNodes2.default)((0, _almDomParser2.default)(alm.html, 'text/html'));
|
2600 |
} else {
|
2601 |
// Standard container
|
2602 |
-
|
2603 |
var pagenum = void 0;
|
2604 |
var querystring = window.location.search;
|
2605 |
var seo_class = alm.addons.seo ? ' alm-seo' : '';
|
@@ -2753,12 +2751,14 @@ var alm_is_filtering = false;
|
|
2753 |
window.almComplete(alm);
|
2754 |
}
|
2755 |
|
|
|
|
|
2756 |
// ALM Done
|
2757 |
if (nextPageNum > parseInt(alm.addons.woocommerce_settings.pages)) {
|
2758 |
alm.AjaxLoadMore.triggerDone();
|
2759 |
}
|
2760 |
|
2761 |
-
case
|
2762 |
case 'end':
|
2763 |
return _context2.stop();
|
2764 |
}
|
@@ -2802,12 +2802,14 @@ var alm_is_filtering = false;
|
|
2802 |
window.almComplete(alm);
|
2803 |
}
|
2804 |
|
|
|
|
|
2805 |
// ALM Done
|
2806 |
if (!nextPage) {
|
2807 |
alm.AjaxLoadMore.triggerDone();
|
2808 |
}
|
2809 |
|
2810 |
-
case
|
2811 |
case 'end':
|
2812 |
return _context3.stop();
|
2813 |
}
|
@@ -2825,7 +2827,7 @@ var alm_is_filtering = false;
|
|
2825 |
|
2826 |
// Append `reveal` div to ALM Listing container
|
2827 |
// Do not append when transtion == masonry OR init and !preloaded
|
2828 |
-
if (alm.transition !== 'masonry' || alm.init &&
|
2829 |
if (!isPaged) {
|
2830 |
if (!alm.transition_container) {
|
2831 |
// No transition container.
|
@@ -2864,18 +2866,21 @@ var alm_is_filtering = false;
|
|
2864 |
switch (_context4.prev = _context4.next) {
|
2865 |
case 0:
|
2866 |
_context4.next = 2;
|
2867 |
-
return (0,
|
2868 |
|
2869 |
case 2:
|
2870 |
-
alm.
|
2871 |
|
2872 |
alm.AjaxLoadMore.triggerWindowResize();
|
2873 |
alm.AjaxLoadMore.transitionEnd();
|
|
|
2874 |
if (typeof almComplete === 'function') {
|
2875 |
window.almComplete(alm);
|
2876 |
}
|
2877 |
|
2878 |
-
|
|
|
|
|
2879 |
case 'end':
|
2880 |
return _context4.stop();
|
2881 |
}
|
@@ -2979,6 +2984,8 @@ var alm_is_filtering = false;
|
|
2979 |
window.almComplete(alm);
|
2980 |
}
|
2981 |
|
|
|
|
|
2982 |
// Filters Add-on Complete
|
2983 |
if (alm_is_filtering && alm.addons.filters) {
|
2984 |
if (typeof almFiltersAddonComplete === 'function') {
|
@@ -3772,7 +3779,7 @@ var alm_is_filtering = false;
|
|
3772 |
|
3773 |
// Window Load (Masonry + Preloaded).
|
3774 |
alm.window.addEventListener('load', function () {
|
3775 |
-
if (alm.
|
3776 |
// Wrap almMasonry in anonymous async/await function
|
3777 |
_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee5() {
|
3778 |
return regeneratorRuntime.wrap(function _callee5$(_context5) {
|
@@ -3780,10 +3787,10 @@ var alm_is_filtering = false;
|
|
3780 |
switch (_context5.prev = _context5.next) {
|
3781 |
case 0:
|
3782 |
_context5.next = 2;
|
3783 |
-
return (0,
|
3784 |
|
3785 |
case 2:
|
3786 |
-
alm.
|
3787 |
|
3788 |
case 3:
|
3789 |
case 'end':
|
@@ -5723,6 +5730,50 @@ exports.default = insertScript;
|
|
5723 |
|
5724 |
/***/ }),
|
5725 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5726 |
/***/ "./core/src/js/modules/loadImage.js":
|
5727 |
/*!******************************************!*\
|
5728 |
!*** ./core/src/js/modules/loadImage.js ***!
|
@@ -5821,7 +5872,7 @@ function _asyncToGenerator(fn) {
|
|
5821 |
}
|
5822 |
|
5823 |
/**
|
5824 |
-
* Load all items
|
5825 |
*
|
5826 |
* @param {HTMLElement} container
|
5827 |
* @param {HTMLElement} items
|
@@ -5917,6 +5968,8 @@ exports.default = loadItems;
|
|
5917 |
Object.defineProperty(exports, "__esModule", {
|
5918 |
value: true
|
5919 |
});
|
|
|
|
|
5920 |
|
5921 |
var _fadeIn = __webpack_require__(/*! ./fadeIn */ "./core/src/js/modules/fadeIn.js");
|
5922 |
|
@@ -5953,8 +6006,7 @@ function _interopRequireDefault(obj) {
|
|
5953 |
var imagesLoaded = __webpack_require__(/*! imagesloaded */ "./node_modules/imagesloaded/imagesloaded.js");
|
5954 |
|
5955 |
/**
|
5956 |
-
*
|
5957 |
-
* Function to trigger built-in Ajax Load More Masonry
|
5958 |
*
|
5959 |
* @param {object} alm
|
5960 |
* @param {boolean} init
|
@@ -5962,17 +6014,21 @@ var imagesLoaded = __webpack_require__(/*! imagesloaded */ "./node_modules/image
|
|
5962 |
* @since 3.1
|
5963 |
* @updated 5.0.2
|
5964 |
*/
|
5965 |
-
|
|
|
|
|
|
|
|
|
5966 |
return new Promise(function (resolve) {
|
5967 |
var container = alm.listing;
|
5968 |
var html = alm.html;
|
5969 |
|
5970 |
-
var selector = alm.
|
5971 |
-
var columnWidth = alm.
|
5972 |
-
var animation = alm.
|
5973 |
-
var horizontalOrder = alm.
|
5974 |
var speed = alm.speed;
|
5975 |
-
var masonry_init = alm.
|
5976 |
|
5977 |
var duration = (speed + 100) / 1000 + 's'; // Add 100 for some delay
|
5978 |
var hidden = 'scale(0.5)';
|
@@ -6013,9 +6069,10 @@ var almMasonry = function almMasonry(alm, init, filtering) {
|
|
6013 |
horizontalOrder = horizontalOrder === 'true' ? true : false;
|
6014 |
|
6015 |
if (!filtering) {
|
6016 |
-
// First Run
|
6017 |
if (masonry_init && init) {
|
6018 |
-
|
|
|
6019 |
|
6020 |
imagesLoaded(container, function () {
|
6021 |
var defaults = {
|
@@ -6033,7 +6090,7 @@ var almMasonry = function almMasonry(alm, init, filtering) {
|
|
6033 |
}
|
6034 |
};
|
6035 |
|
6036 |
-
// Get custom Masonry options (https://masonry.desandro.com/options.html)
|
6037 |
var alm_masonry_vars = window.alm_masonry_vars;
|
6038 |
if (alm_masonry_vars) {
|
6039 |
Object.keys(alm_masonry_vars).forEach(function (key) {
|
@@ -6044,17 +6101,17 @@ var almMasonry = function almMasonry(alm, init, filtering) {
|
|
6044 |
|
6045 |
var data = container.querySelectorAll(selector);
|
6046 |
|
6047 |
-
// Create Filters URL, if required
|
6048 |
if (alm.addons.filters) {
|
6049 |
data = (0, _filters.createMasonryFiltersPages)(alm, Array.prototype.slice.call(data));
|
6050 |
}
|
6051 |
|
6052 |
-
// Create SEO URL, if required
|
6053 |
if (alm.addons.seo) {
|
6054 |
data = (0, _seo.createMasonrySEOPages)(alm, Array.prototype.slice.call(data));
|
6055 |
}
|
6056 |
|
6057 |
-
// Init Masonry, delay to allow time for items to be added to the page
|
6058 |
setTimeout(function () {
|
6059 |
alm.msnry = new Masonry(container, defaults);
|
6060 |
|
@@ -6066,31 +6123,31 @@ var almMasonry = function almMasonry(alm, init, filtering) {
|
|
6066 |
});
|
6067 |
}
|
6068 |
|
6069 |
-
// Standard / Append content
|
6070 |
else {
|
6071 |
// Loop all items and create array of node elements
|
6072 |
var data = (0, _stripEmptyNodes2.default)((0, _almDomParser2.default)(html, 'text/html'));
|
6073 |
|
6074 |
if (data) {
|
6075 |
-
// Append elements listing
|
6076 |
(0, _almAppendChildren2.default)(alm.listing, data, 'masonry');
|
6077 |
|
6078 |
-
// Run srcSet polyfill
|
6079 |
(0, _srcsetPolyfill2.default)(container, alm.ua);
|
6080 |
|
6081 |
-
// imagesLoaded & append
|
6082 |
imagesLoaded(container, function () {
|
6083 |
alm.msnry.appended(data);
|
6084 |
|
6085 |
-
// Set Focus
|
6086 |
(0, _setFocus2.default)(alm, data, data.length, false);
|
6087 |
|
6088 |
-
// Create Filters URL, if required
|
6089 |
if (alm.addons.filters) {
|
6090 |
(0, _filters.createMasonryFiltersPage)(alm, data[0]);
|
6091 |
}
|
6092 |
|
6093 |
-
// Create SEO URL, if required
|
6094 |
if (alm.addons.seo) {
|
6095 |
(0, _seo.createMasonrySEOPage)(alm, data[0]);
|
6096 |
}
|
@@ -6106,9 +6163,37 @@ var almMasonry = function almMasonry(alm, init, filtering) {
|
|
6106 |
resolve(true);
|
6107 |
}
|
6108 |
});
|
6109 |
-
}
|
6110 |
|
6111 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6112 |
|
6113 |
/***/ }),
|
6114 |
|
@@ -6161,7 +6246,7 @@ exports.default = almNoResults;
|
|
6161 |
|
6162 |
|
6163 |
Object.defineProperty(exports, "__esModule", {
|
6164 |
-
|
6165 |
});
|
6166 |
exports.showPlaceholder = showPlaceholder;
|
6167 |
exports.hidePlaceholder = hidePlaceholder;
|
@@ -6175,29 +6260,29 @@ var _fadeOut = __webpack_require__(/*! ./fadeOut */ "./core/src/js/modules/fadeO
|
|
6175 |
var _fadeOut2 = _interopRequireDefault(_fadeOut);
|
6176 |
|
6177 |
function _interopRequireDefault(obj) {
|
6178 |
-
|
6179 |
}
|
6180 |
|
6181 |
function showPlaceholder(alm) {
|
6182 |
-
|
6183 |
-
|
6184 |
-
|
6185 |
-
|
6186 |
-
|
6187 |
-
|
6188 |
-
|
6189 |
}
|
6190 |
|
6191 |
function hidePlaceholder(alm) {
|
6192 |
-
|
6193 |
-
|
6194 |
-
|
6195 |
-
|
6196 |
-
|
6197 |
-
|
6198 |
-
|
6199 |
-
|
6200 |
-
|
6201 |
}
|
6202 |
|
6203 |
/***/ }),
|
786 |
* createMasonrySEOPage
|
787 |
* Create data attributes for SEO paged results
|
788 |
*
|
789 |
+
* @param {object} alm
|
790 |
+
* @param {array} elements
|
791 |
* @since 5.3.1
|
792 |
*/
|
793 |
function createMasonrySEOPage(alm, element) {
|
808 |
* createMasonrySEOPages
|
809 |
* Create data attributes for SEO - used when /page/2/, /page/3/ etc are hit on page load
|
810 |
*
|
811 |
+
* @param {object} alm
|
812 |
+
* @param {array} elements
|
813 |
* @since 5.3.1
|
814 |
*/
|
815 |
function createMasonrySEOPages(alm, elements) {
|
848 |
return elements;
|
849 |
}
|
850 |
|
851 |
+
/**
|
852 |
+
* Create the attributes (page, url, classes) for the masonry items.
|
853 |
+
*
|
854 |
+
* @param {object} alm
|
855 |
+
* @param {object} element
|
856 |
+
* @param {string} querystring
|
857 |
+
* @param {string} seo_class
|
858 |
+
* @param {int} pagenum
|
859 |
+
* @returns
|
860 |
+
*/
|
861 |
function masonrySEOAtts(alm, element, querystring, seo_class, pagenum) {
|
862 |
element.classList.add(seo_class);
|
863 |
element.dataset.page = pagenum;
|
882 |
}
|
883 |
|
884 |
/**
|
885 |
+
* Create data attributes for SEO - used when /page/2/, /page/3/ etc are hit on page load.
|
886 |
+
*
|
887 |
+
* @param {object} alm
|
888 |
+
* @param {array} elements
|
889 |
*
|
|
|
|
|
|
|
890 |
* @since 5.3.1
|
891 |
*/
|
892 |
function createSEOAttributes(alm, element, querystring, seo_class, pagenum) {
|
1383 |
|
1384 |
var _masonry = __webpack_require__(/*! ./modules/masonry */ "./core/src/js/modules/masonry.js");
|
1385 |
|
|
|
|
|
1386 |
var _fadeIn = __webpack_require__(/*! ./modules/fadeIn */ "./core/src/js/modules/fadeIn.js");
|
1387 |
|
1388 |
var _fadeIn2 = _interopRequireDefault(_fadeIn);
|
1413 |
|
1414 |
var _placeholder = __webpack_require__(/*! ./modules/placeholder */ "./core/src/js/modules/placeholder.js");
|
1415 |
|
1416 |
+
var _lazyImages = __webpack_require__(/*! ./modules/lazyImages */ "./core/src/js/modules/lazyImages.js");
|
1417 |
+
|
1418 |
+
var _lazyImages2 = _interopRequireDefault(_lazyImages);
|
1419 |
+
|
1420 |
var _singleposts = __webpack_require__(/*! ./addons/singleposts */ "./core/src/js/addons/singleposts.js");
|
1421 |
|
1422 |
var _cache = __webpack_require__(/*! ./addons/cache */ "./core/src/js/addons/cache.js");
|
1608 |
alm.orginal_posts_per_page = parseInt(alm.listing.dataset.postsPerPage); // Used for paging add-on
|
1609 |
alm.posts_per_page = alm.listing.dataset.postsPerPage;
|
1610 |
alm.offset = alm.listing.dataset.offset ? parseInt(alm.listing.dataset.offset) : 0;
|
1611 |
+
alm.lazy_images = alm.listing.dataset.lazyImages ? alm.listing.dataset.lazyImages : false;
|
1612 |
alm.integration.woocommerce = alm.listing.dataset.woocommerce ? alm.listing.dataset.woocommerce : false;
|
1613 |
alm.integration.woocommerce = alm.integration.woocommerce === 'true' ? true : false;
|
1614 |
alm.is_search = alm.is_search === undefined ? false : alm.is_search;
|
1695 |
}
|
1696 |
|
1697 |
alm.addons.tabs = alm.listing.dataset.tabs;
|
|
|
1698 |
alm.addons.filters = alm.listing.dataset.filters;
|
|
|
1699 |
alm.addons.seo = alm.listing.dataset.seo;
|
1700 |
|
1701 |
// Preloaded
|
1712 |
}
|
1713 |
|
1714 |
// Extension Shortcode Params
|
1715 |
+
|
1716 |
+
// REST API.
|
1717 |
alm.extensions.restapi = alm.listing.dataset.restapi; // REST API
|
1718 |
alm.extensions.restapi_base_url = alm.listing.dataset.restapiBaseUrl;
|
1719 |
alm.extensions.restapi_namespace = alm.listing.dataset.restapiNamespace;
|
1721 |
alm.extensions.restapi_template_id = alm.listing.dataset.restapiTemplateId;
|
1722 |
alm.extensions.restapi_debug = alm.listing.dataset.restapiDebug;
|
1723 |
|
1724 |
+
// ACF.
|
1725 |
+
alm.extensions.acf = alm.listing.dataset.acf;
|
1726 |
alm.extensions.acf_field_type = alm.listing.dataset.acfFieldType;
|
1727 |
alm.extensions.acf_field_name = alm.listing.dataset.acfFieldName;
|
1728 |
alm.extensions.acf_parent_field_name = alm.listing.dataset.acfParentFieldName;
|
1733 |
alm.extensions.acf = false;
|
1734 |
}
|
1735 |
|
1736 |
+
// Term Query.
|
1737 |
alm.extensions.term_query = alm.listing.dataset.termQuery; // TERM QUERY
|
1738 |
alm.extensions.term_query_taxonomy = alm.listing.dataset.termQueryTaxonomy;
|
1739 |
alm.extensions.term_query_hide_empty = alm.listing.dataset.termQueryHideEmpty;
|
1740 |
alm.extensions.term_query_number = alm.listing.dataset.termQueryNumber;
|
1741 |
alm.extensions.term_query = alm.extensions.term_query === 'true' ? true : false;
|
1742 |
|
1743 |
+
// Paging.
|
1744 |
alm.addons.paging = alm.listing.dataset.paging; // Paging add-on
|
1745 |
if (alm.addons.paging === 'true') {
|
1746 |
alm.addons.paging = true;
|
1763 |
} else {
|
1764 |
alm.addons.paging = false;
|
1765 |
}
|
|
|
1766 |
|
1767 |
+
// Filters
|
1768 |
if (alm.addons.filters === 'true') {
|
1769 |
alm.addons.filters = true;
|
|
|
1770 |
alm.addons.filters_url = alm.listing.dataset.filtersUrl === 'true' ? true : false;
|
1771 |
+
alm.addons.filters_target = alm.listing.dataset.filtersTarget ? alm.listing.dataset.filtersTarget : false;
|
1772 |
alm.addons.filters_paging = alm.listing.dataset.filtersPaging === 'true' ? true : false;
|
1773 |
alm.addons.filters_scroll = alm.listing.dataset.filtersScroll === 'true' ? true : false;
|
1774 |
alm.addons.filters_scrolltop = alm.listing.dataset.filtersScrolltop ? alm.listing.dataset.filtersScrolltop : '30';
|
1776 |
alm.addons.filters_debug = alm.listing.dataset.filtersDebug;
|
1777 |
alm.addons.filters_startpage = 0;
|
1778 |
|
1779 |
+
// Display warning if `filters_target` parameter is missing.
|
1780 |
+
if (!alm.addons.filters_target) {
|
1781 |
+
console.warn('Ajax Load More: Unable to locate target for Filters. Make sure you set a filters_target in core Ajax Load More.');
|
1782 |
+
}
|
1783 |
+
|
1784 |
// Get Paged Querystring Val
|
1785 |
var page = (0, _getParameterByName2.default)('pg');
|
1786 |
alm.addons.filters_startpage = page !== null ? parseInt(page) : 0;
|
1793 |
} else {
|
1794 |
alm.addons.filters = false;
|
1795 |
}
|
|
|
1796 |
|
1797 |
+
// Tabs.
|
1798 |
if (alm.addons.tabs === 'true') {
|
1799 |
alm.addons.tabs = true;
|
1800 |
alm.addons.tab_template = alm.listing.dataset.tabTemplate ? alm.listing.dataset.tabTemplate : '';
|
1817 |
} else {
|
1818 |
alm.addons.tabs = false;
|
1819 |
}
|
1820 |
+
/* End Tabs */
|
1821 |
|
1822 |
/* REST API */
|
1823 |
if (alm.extensions.restapi === 'true') {
|
1950 |
alm.theme_repeater = alm.theme_repeater === undefined ? false : alm.theme_repeater;
|
1951 |
|
1952 |
/* Max Pages (while scrolling) */
|
1953 |
+
alm.max_pages = alm.max_pages === undefined || alm.max_pages === 0 ? 9999 : alm.max_pages;
|
1954 |
|
1955 |
/* Scroll Distance */
|
1956 |
alm.scroll_distance = alm.scroll_distance === undefined ? 100 : alm.scroll_distance;
|
1978 |
alm.tcc = alm.tcc === undefined ? '' : alm.tcc;
|
1979 |
|
1980 |
/* Masonry */
|
|
|
1981 |
if (alm.transition === 'masonry') {
|
1982 |
+
alm = (0, _masonry.almMasonryConfig)(alm);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1983 |
}
|
1984 |
|
1985 |
/* Scroll */
|
2475 |
meta = data.meta;
|
2476 |
total = meta ? parseInt(meta.postcount) : parseInt(alm.posts_per_page);
|
2477 |
|
2478 |
+
var totalposts = typeof meta !== 'undefined' ? meta.totalposts : alm.posts_per_page * 5;
|
2479 |
alm.totalposts = alm.addons.preloaded === 'true' ? totalposts - alm.addons.preloaded_amount : totalposts;
|
2480 |
alm.posts = alm.addons.paging ? total : alm.posts + total;
|
2481 |
alm.debug = meta.debug ? meta.debug : '';
|
2594 |
} else {
|
2595 |
if (!alm.transition_container) {
|
2596 |
// No transition container
|
|
|
2597 |
alm.el = alm.html;
|
2598 |
reveal = alm.container_type === 'table' ? (0, _tableWrap2.default)(alm.html) : (0, _stripEmptyNodes2.default)((0, _almDomParser2.default)(alm.html, 'text/html'));
|
2599 |
} else {
|
2600 |
// Standard container
|
|
|
2601 |
var pagenum = void 0;
|
2602 |
var querystring = window.location.search;
|
2603 |
var seo_class = alm.addons.seo ? ' alm-seo' : '';
|
2751 |
window.almComplete(alm);
|
2752 |
}
|
2753 |
|
2754 |
+
(0, _lazyImages2.default)(alm);
|
2755 |
+
|
2756 |
// ALM Done
|
2757 |
if (nextPageNum > parseInt(alm.addons.woocommerce_settings.pages)) {
|
2758 |
alm.AjaxLoadMore.triggerDone();
|
2759 |
}
|
2760 |
|
2761 |
+
case 10:
|
2762 |
case 'end':
|
2763 |
return _context2.stop();
|
2764 |
}
|
2802 |
window.almComplete(alm);
|
2803 |
}
|
2804 |
|
2805 |
+
(0, _lazyImages2.default)(alm);
|
2806 |
+
|
2807 |
// ALM Done
|
2808 |
if (!nextPage) {
|
2809 |
alm.AjaxLoadMore.triggerDone();
|
2810 |
}
|
2811 |
|
2812 |
+
case 10:
|
2813 |
case 'end':
|
2814 |
return _context3.stop();
|
2815 |
}
|
2827 |
|
2828 |
// Append `reveal` div to ALM Listing container
|
2829 |
// Do not append when transtion == masonry OR init and !preloaded
|
2830 |
+
if (alm.transition !== 'masonry' || alm.init && alm.addons.preloaded !== 'true') {
|
2831 |
if (!isPaged) {
|
2832 |
if (!alm.transition_container) {
|
2833 |
// No transition container.
|
2866 |
switch (_context4.prev = _context4.next) {
|
2867 |
case 0:
|
2868 |
_context4.next = 2;
|
2869 |
+
return (0, _masonry.almMasonry)(alm, alm.init, alm_is_filtering);
|
2870 |
|
2871 |
case 2:
|
2872 |
+
alm.masonry.init = false;
|
2873 |
|
2874 |
alm.AjaxLoadMore.triggerWindowResize();
|
2875 |
alm.AjaxLoadMore.transitionEnd();
|
2876 |
+
|
2877 |
if (typeof almComplete === 'function') {
|
2878 |
window.almComplete(alm);
|
2879 |
}
|
2880 |
|
2881 |
+
(0, _lazyImages2.default)(alm);
|
2882 |
+
|
2883 |
+
case 7:
|
2884 |
case 'end':
|
2885 |
return _context4.stop();
|
2886 |
}
|
2984 |
window.almComplete(alm);
|
2985 |
}
|
2986 |
|
2987 |
+
(0, _lazyImages2.default)(alm);
|
2988 |
+
|
2989 |
// Filters Add-on Complete
|
2990 |
if (alm_is_filtering && alm.addons.filters) {
|
2991 |
if (typeof almFiltersAddonComplete === 'function') {
|
3779 |
|
3780 |
// Window Load (Masonry + Preloaded).
|
3781 |
alm.window.addEventListener('load', function () {
|
3782 |
+
if (alm.transition === 'masonry' && alm.addons.preloaded === 'true') {
|
3783 |
// Wrap almMasonry in anonymous async/await function
|
3784 |
_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee5() {
|
3785 |
return regeneratorRuntime.wrap(function _callee5$(_context5) {
|
3787 |
switch (_context5.prev = _context5.next) {
|
3788 |
case 0:
|
3789 |
_context5.next = 2;
|
3790 |
+
return (0, _masonry.almMasonry)(alm, true, false);
|
3791 |
|
3792 |
case 2:
|
3793 |
+
alm.masonry.init = false;
|
3794 |
|
3795 |
case 3:
|
3796 |
case 'end':
|
5730 |
|
5731 |
/***/ }),
|
5732 |
|
5733 |
+
/***/ "./core/src/js/modules/lazyImages.js":
|
5734 |
+
/*!*******************************************!*\
|
5735 |
+
!*** ./core/src/js/modules/lazyImages.js ***!
|
5736 |
+
\*******************************************/
|
5737 |
+
/*! no static exports found */
|
5738 |
+
/***/ (function(module, exports, __webpack_require__) {
|
5739 |
+
|
5740 |
+
"use strict";
|
5741 |
+
|
5742 |
+
|
5743 |
+
Object.defineProperty(exports, "__esModule", {
|
5744 |
+
value: true
|
5745 |
+
});
|
5746 |
+
/**
|
5747 |
+
* Lazy load images helper.
|
5748 |
+
* 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.
|
5749 |
+
* This helper provides a fix by grabbing the dataset value and making it the src.
|
5750 |
+
*
|
5751 |
+
* @param {Object} alm The Ajax Load More object.
|
5752 |
+
*/
|
5753 |
+
var lazyImages = function lazyImages(alm) {
|
5754 |
+
if (!alm || !alm.lazy_images) {
|
5755 |
+
return;
|
5756 |
+
}
|
5757 |
+
var images = alm.el.getElementsByTagName('img');
|
5758 |
+
if (images) {
|
5759 |
+
// Loop all images.
|
5760 |
+
Array.prototype.forEach.call(images, function (img) {
|
5761 |
+
if (img) {
|
5762 |
+
if (img.dataset.src) {
|
5763 |
+
img.src = img.dataset.src;
|
5764 |
+
}
|
5765 |
+
if (img.dataset.srcset) {
|
5766 |
+
img.srcset = img.dataset.srcset;
|
5767 |
+
}
|
5768 |
+
}
|
5769 |
+
});
|
5770 |
+
}
|
5771 |
+
};
|
5772 |
+
|
5773 |
+
exports.default = lazyImages;
|
5774 |
+
|
5775 |
+
/***/ }),
|
5776 |
+
|
5777 |
/***/ "./core/src/js/modules/loadImage.js":
|
5778 |
/*!******************************************!*\
|
5779 |
!*** ./core/src/js/modules/loadImage.js ***!
|
5872 |
}
|
5873 |
|
5874 |
/**
|
5875 |
+
* Load all items.
|
5876 |
*
|
5877 |
* @param {HTMLElement} container
|
5878 |
* @param {HTMLElement} items
|
5968 |
Object.defineProperty(exports, "__esModule", {
|
5969 |
value: true
|
5970 |
});
|
5971 |
+
exports.almMasonry = almMasonry;
|
5972 |
+
exports.almMasonryConfig = almMasonryConfig;
|
5973 |
|
5974 |
var _fadeIn = __webpack_require__(/*! ./fadeIn */ "./core/src/js/modules/fadeIn.js");
|
5975 |
|
6006 |
var imagesLoaded = __webpack_require__(/*! imagesloaded */ "./node_modules/imagesloaded/imagesloaded.js");
|
6007 |
|
6008 |
/**
|
6009 |
+
* Function to trigger built-in Ajax Load More Masonry.
|
|
|
6010 |
*
|
6011 |
* @param {object} alm
|
6012 |
* @param {boolean} init
|
6014 |
* @since 3.1
|
6015 |
* @updated 5.0.2
|
6016 |
*/
|
6017 |
+
function almMasonry(alm, init, filtering) {
|
6018 |
+
if (!alm.masonry) {
|
6019 |
+
console.warn('Ajax Load More: Unable to locate Masonry settings.');
|
6020 |
+
}
|
6021 |
+
|
6022 |
return new Promise(function (resolve) {
|
6023 |
var container = alm.listing;
|
6024 |
var html = alm.html;
|
6025 |
|
6026 |
+
var selector = alm.masonry.selector;
|
6027 |
+
var columnWidth = alm.masonry.columnwidth;
|
6028 |
+
var animation = alm.masonry.animation;
|
6029 |
+
var horizontalOrder = alm.masonry.horizontalorder;
|
6030 |
var speed = alm.speed;
|
6031 |
+
var masonry_init = alm.masonry.init;
|
6032 |
|
6033 |
var duration = (speed + 100) / 1000 + 's'; // Add 100 for some delay
|
6034 |
var hidden = 'scale(0.5)';
|
6069 |
horizontalOrder = horizontalOrder === 'true' ? true : false;
|
6070 |
|
6071 |
if (!filtering) {
|
6072 |
+
// First Run.
|
6073 |
if (masonry_init && init) {
|
6074 |
+
// Run srcSet polyfill.
|
6075 |
+
(0, _srcsetPolyfill2.default)(container, alm.ua);
|
6076 |
|
6077 |
imagesLoaded(container, function () {
|
6078 |
var defaults = {
|
6090 |
}
|
6091 |
};
|
6092 |
|
6093 |
+
// Get custom Masonry options (https://masonry.desandro.com/options.html).
|
6094 |
var alm_masonry_vars = window.alm_masonry_vars;
|
6095 |
if (alm_masonry_vars) {
|
6096 |
Object.keys(alm_masonry_vars).forEach(function (key) {
|
6101 |
|
6102 |
var data = container.querySelectorAll(selector);
|
6103 |
|
6104 |
+
// Create Filters URL, if required.
|
6105 |
if (alm.addons.filters) {
|
6106 |
data = (0, _filters.createMasonryFiltersPages)(alm, Array.prototype.slice.call(data));
|
6107 |
}
|
6108 |
|
6109 |
+
// Create SEO URL, if required.
|
6110 |
if (alm.addons.seo) {
|
6111 |
data = (0, _seo.createMasonrySEOPages)(alm, Array.prototype.slice.call(data));
|
6112 |
}
|
6113 |
|
6114 |
+
// Init Masonry, delay to allow time for items to be added to the page.
|
6115 |
setTimeout(function () {
|
6116 |
alm.msnry = new Masonry(container, defaults);
|
6117 |
|
6123 |
});
|
6124 |
}
|
6125 |
|
6126 |
+
// Standard / Append content.
|
6127 |
else {
|
6128 |
// Loop all items and create array of node elements
|
6129 |
var data = (0, _stripEmptyNodes2.default)((0, _almDomParser2.default)(html, 'text/html'));
|
6130 |
|
6131 |
if (data) {
|
6132 |
+
// Append elements listing.
|
6133 |
(0, _almAppendChildren2.default)(alm.listing, data, 'masonry');
|
6134 |
|
6135 |
+
// Run srcSet polyfill.
|
6136 |
(0, _srcsetPolyfill2.default)(container, alm.ua);
|
6137 |
|
6138 |
+
// imagesLoaded & append.
|
6139 |
imagesLoaded(container, function () {
|
6140 |
alm.msnry.appended(data);
|
6141 |
|
6142 |
+
// Set Focus.
|
6143 |
(0, _setFocus2.default)(alm, data, data.length, false);
|
6144 |
|
6145 |
+
// Create Filters URL, if required.
|
6146 |
if (alm.addons.filters) {
|
6147 |
(0, _filters.createMasonryFiltersPage)(alm, data[0]);
|
6148 |
}
|
6149 |
|
6150 |
+
// Create SEO URL, if required.
|
6151 |
if (alm.addons.seo) {
|
6152 |
(0, _seo.createMasonrySEOPage)(alm, data[0]);
|
6153 |
}
|
6163 |
resolve(true);
|
6164 |
}
|
6165 |
});
|
6166 |
+
}
|
6167 |
|
6168 |
+
/**
|
6169 |
+
* Set up initial Masonry Configuration.
|
6170 |
+
*
|
6171 |
+
* @param {*} alm
|
6172 |
+
* @return object
|
6173 |
+
*/
|
6174 |
+
function almMasonryConfig(alm) {
|
6175 |
+
alm.masonry = {};
|
6176 |
+
alm.masonry.init = true;
|
6177 |
+
if (alm.msnry) {
|
6178 |
+
// destroy masonry if it currently exists.
|
6179 |
+
alm.msnry.destroy();
|
6180 |
+
} else {
|
6181 |
+
alm.msnry = '';
|
6182 |
+
}
|
6183 |
+
var masonry_config = JSON.parse(alm.listing.dataset.masonryConfig);
|
6184 |
+
if (masonry_config) {
|
6185 |
+
alm.masonry.selector = masonry_config.selector;
|
6186 |
+
alm.masonry.columnwidth = masonry_config.columnwidth;
|
6187 |
+
alm.masonry.animation = masonry_config.animation === '' ? 'standard' : masonry_config.animation;
|
6188 |
+
alm.masonry.horizontalorder = masonry_config.horizontalorder === '' ? 'true' : masonry_config.horizontalorder;
|
6189 |
+
alm.transition_container = false;
|
6190 |
+
alm.images_loaded = false;
|
6191 |
+
} else {
|
6192 |
+
console.warn('Ajax Load More: Unable to locate Masonry configuration settings.');
|
6193 |
+
}
|
6194 |
+
|
6195 |
+
return alm;
|
6196 |
+
}
|
6197 |
|
6198 |
/***/ }),
|
6199 |
|
6246 |
|
6247 |
|
6248 |
Object.defineProperty(exports, "__esModule", {
|
6249 |
+
value: true
|
6250 |
});
|
6251 |
exports.showPlaceholder = showPlaceholder;
|
6252 |
exports.hidePlaceholder = hidePlaceholder;
|
6260 |
var _fadeOut2 = _interopRequireDefault(_fadeOut);
|
6261 |
|
6262 |
function _interopRequireDefault(obj) {
|
6263 |
+
return obj && obj.__esModule ? obj : { default: obj };
|
6264 |
}
|
6265 |
|
6266 |
function showPlaceholder(alm) {
|
6267 |
+
if (!alm || !alm.main || alm.addons.paging) {
|
6268 |
+
return false;
|
6269 |
+
}
|
6270 |
+
if (alm.placeholder) {
|
6271 |
+
alm.placeholder.style.display = 'block';
|
6272 |
+
(0, _fadeIn2.default)(alm.placeholder, 150);
|
6273 |
+
}
|
6274 |
}
|
6275 |
|
6276 |
function hidePlaceholder(alm) {
|
6277 |
+
if (!alm || !alm.main || alm.addons.paging) {
|
6278 |
+
return false;
|
6279 |
+
}
|
6280 |
+
if (alm.placeholder) {
|
6281 |
+
(0, _fadeOut2.default)(alm.placeholder, 150);
|
6282 |
+
setTimeout(function () {
|
6283 |
+
alm.placeholder.style.display = 'none';
|
6284 |
+
}, 75);
|
6285 |
+
}
|
6286 |
}
|
6287 |
|
6288 |
/***/ }),
|
core/dist/js/ajax-load-more.min.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
-
var ajaxloadmore=function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=95)}([function(t,e,n){var r=n(1),o=n(7),a=n(15),i=n(12),s=n(18),l=function(t,e,n){var c,u,d,f,p=t&l.F,g=t&l.G,m=t&l.S,h=t&l.P,v=t&l.B,_=g?r:m?r[e]||(r[e]={}):(r[e]||{}).prototype,y=g?o:o[e]||(o[e]={}),b=y.prototype||(y.prototype={});for(c in g&&(n=e),n)d=((u=!p&&_&&void 0!==_[c])?_:n)[c],f=v&&u?s(d,r):h&&"function"==typeof d?s(Function.call,d):d,_&&i(_,c,d,t&l.U),y[c]!=d&&a(y,c,f),h&&b[c]!=d&&(b[c]=d)};r.core=o,l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,t.exports=l},function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){var r=n(4);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,n){var r=n(51)("wks"),o=n(30),a=n(1).Symbol,i="function"==typeof a;(t.exports=function(t){return r[t]||(r[t]=i&&a[t]||(i?a:o)("Symbol."+t))}).store=r},function(t,e,n){var r=n(20),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,e){var n=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},function(t,e,n){t.exports=!n(2)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(t,e,n){var r=n(3),o=n(110),a=n(27),i=Object.defineProperty;e.f=n(8)?Object.defineProperty:function(t,e,n){if(r(t),e=a(e,!0),r(n),o)try{return i(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){var r=n(25);t.exports=function(t){return Object(r(t))}},function(t,e,n){"use strict";var r=n(96),o=Object.prototype.toString;function a(t){return"[object Array]"===o.call(t)}function i(t){return void 0===t}function s(t){return null!==t&&"object"==typeof t}function l(t){if("[object Object]"!==o.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function c(t){return"[object Function]"===o.call(t)}function u(t,e){if(null!=t)if("object"!=typeof t&&(t=[t]),a(t))for(var n=0,r=t.length;n<r;n++)e.call(null,t[n],n,t);else for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.call(null,t[o],o,t)}t.exports={isArray:a,isArrayBuffer:function(t){return"[object ArrayBuffer]"===o.call(t)},isBuffer:function(t){return null!==t&&!i(t)&&null!==t.constructor&&!i(t.constructor)&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)},isFormData:function(t){return"undefined"!=typeof FormData&&t instanceof FormData},isArrayBufferView:function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&t.buffer instanceof ArrayBuffer},isString:function(t){return"string"==typeof t},isNumber:function(t){return"number"==typeof t},isObject:s,isPlainObject:l,isUndefined:i,isDate:function(t){return"[object Date]"===o.call(t)},isFile:function(t){return"[object File]"===o.call(t)},isBlob:function(t){return"[object Blob]"===o.call(t)},isFunction:c,isStream:function(t){return s(t)&&c(t.pipe)},isURLSearchParams:function(t){return"undefined"!=typeof URLSearchParams&&t instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:u,merge:function t(){var e={};function n(n,r){l(e[r])&&l(n)?e[r]=t(e[r],n):l(n)?e[r]=t({},n):a(n)?e[r]=n.slice():e[r]=n}for(var r=0,o=arguments.length;r<o;r++)u(arguments[r],n);return e},extend:function(t,e,n){return u(e,(function(e,o){t[o]=n&&"function"==typeof e?r(e,n):e})),t},trim:function(t){return t.replace(/^\s*/,"").replace(/\s*$/,"")},stripBOM:function(t){return 65279===t.charCodeAt(0)&&(t=t.slice(1)),t}}},function(t,e,n){var r=n(1),o=n(15),a=n(14),i=n(30)("src"),s=n(187),l=(""+s).split("toString");n(7).inspectSource=function(t){return s.call(t)},(t.exports=function(t,e,n,s){var c="function"==typeof n;c&&(a(n,"name")||o(n,"name",e)),t[e]!==n&&(c&&(a(n,i)||o(n,i,t[e]?""+t[e]:l.join(String(e)))),t===r?t[e]=n:s?t[e]?t[e]=n:o(t,e,n):(delete t[e],o(t,e,n)))})(Function.prototype,"toString",(function(){return"function"==typeof this&&this[i]||s.call(this)}))},function(t,e,n){var r=n(0),o=n(2),a=n(25),i=/"/g,s=function(t,e,n,r){var o=String(a(t)),s="<"+e;return""!==n&&(s+=" "+n+'="'+String(r).replace(i,""")+'"'),s+">"+o+"</"+e+">"};t.exports=function(t,e){var n={};n[t]=e(s),r(r.P+r.F*o((function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3})),"String",n)}},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){var r=n(9),o=n(29);t.exports=n(8)?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var r=n(45),o=n(25);t.exports=function(t){return r(o(t))}},function(t,e,n){"use strict";var r=n(2);t.exports=function(t,e){return!!t&&r((function(){e?t.call(null,(function(){}),1):t.call(null)}))}},function(t,e,n){var r=n(19);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e,n){var r=n(46),o=n(29),a=n(16),i=n(27),s=n(14),l=n(110),c=Object.getOwnPropertyDescriptor;e.f=n(8)?c:function(t,e){if(t=a(t),e=i(e,!0),l)try{return c(t,e)}catch(t){}if(s(t,e))return o(!r.f.call(t,e),t[e])}},function(t,e,n){var r=n(0),o=n(7),a=n(2);t.exports=function(t,e){var n=(o.Object||{})[t]||Object[t],i={};i[t]=e(n),r(r.S+r.F*a((function(){n(1)})),"Object",i)}},function(t,e,n){var r=n(18),o=n(45),a=n(10),i=n(6),s=n(126);t.exports=function(t,e){var n=1==t,l=2==t,c=3==t,u=4==t,d=6==t,f=5==t||d,p=e||s;return function(e,s,g){for(var m,h,v=a(e),_=o(v),y=r(s,g,3),b=i(_.length),w=0,x=n?p(e,b):l?p(e,0):void 0;b>w;w++)if((f||w in _)&&(h=y(m=_[w],w,v),t))if(n)x[w]=h;else if(h)switch(t){case 3:return!0;case 5:return m;case 6:return w;case 2:x.push(m)}else if(u)return!1;return d?-1:c||u?u:x}}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){"use strict";if(n(8)){var r=n(31),o=n(1),a=n(2),i=n(0),s=n(62),l=n(93),c=n(18),u=n(43),d=n(29),f=n(15),p=n(44),g=n(20),m=n(6),h=n(137),v=n(33),_=n(27),y=n(14),b=n(47),w=n(4),x=n(10),S=n(85),A=n(34),j=n(36),P=n(35).f,E=n(87),L=n(30),O=n(5),M=n(23),T=n(52),I=n(48),C=n(89),N=n(41),F=n(55),k=n(42),R=n(88),q=n(128),D=n(9),z=n(21),B=D.f,U=z.f,W=o.RangeError,H=o.TypeError,V=o.Uint8Array,G=Array.prototype,Y=l.ArrayBuffer,X=l.DataView,Q=M(0),$=M(2),J=M(3),K=M(4),Z=M(5),tt=M(6),et=T(!0),nt=T(!1),rt=C.values,ot=C.keys,at=C.entries,it=G.lastIndexOf,st=G.reduce,lt=G.reduceRight,ct=G.join,ut=G.sort,dt=G.slice,ft=G.toString,pt=G.toLocaleString,gt=O("iterator"),mt=O("toStringTag"),ht=L("typed_constructor"),vt=L("def_constructor"),_t=s.CONSTR,yt=s.TYPED,bt=s.VIEW,wt=M(1,(function(t,e){return Pt(I(t,t[vt]),e)})),xt=a((function(){return 1===new V(new Uint16Array([1]).buffer)[0]})),St=!!V&&!!V.prototype.set&&a((function(){new V(1).set({})})),At=function(t,e){var n=g(t);if(n<0||n%e)throw W("Wrong offset!");return n},jt=function(t){if(w(t)&&yt in t)return t;throw H(t+" is not a typed array!")},Pt=function(t,e){if(!w(t)||!(ht in t))throw H("It is not a typed array constructor!");return new t(e)},Et=function(t,e){return Lt(I(t,t[vt]),e)},Lt=function(t,e){for(var n=0,r=e.length,o=Pt(t,r);r>n;)o[n]=e[n++];return o},Ot=function(t,e,n){B(t,e,{get:function(){return this._d[n]}})},Mt=function(t){var e,n,r,o,a,i,s=x(t),l=arguments.length,u=l>1?arguments[1]:void 0,d=void 0!==u,f=E(s);if(null!=f&&!S(f)){for(i=f.call(s),r=[],e=0;!(a=i.next()).done;e++)r.push(a.value);s=r}for(d&&l>2&&(u=c(u,arguments[2],2)),e=0,n=m(s.length),o=Pt(this,n);n>e;e++)o[e]=d?u(s[e],e):s[e];return o},Tt=function(){for(var t=0,e=arguments.length,n=Pt(this,e);e>t;)n[t]=arguments[t++];return n},It=!!V&&a((function(){pt.call(new V(1))})),Ct=function(){return pt.apply(It?dt.call(jt(this)):jt(this),arguments)},Nt={copyWithin:function(t,e){return q.call(jt(this),t,e,arguments.length>2?arguments[2]:void 0)},every:function(t){return K(jt(this),t,arguments.length>1?arguments[1]:void 0)},fill:function(t){return R.apply(jt(this),arguments)},filter:function(t){return Et(this,$(jt(this),t,arguments.length>1?arguments[1]:void 0))},find:function(t){return Z(jt(this),t,arguments.length>1?arguments[1]:void 0)},findIndex:function(t){return tt(jt(this),t,arguments.length>1?arguments[1]:void 0)},forEach:function(t){Q(jt(this),t,arguments.length>1?arguments[1]:void 0)},indexOf:function(t){return nt(jt(this),t,arguments.length>1?arguments[1]:void 0)},includes:function(t){return et(jt(this),t,arguments.length>1?arguments[1]:void 0)},join:function(t){return ct.apply(jt(this),arguments)},lastIndexOf:function(t){return it.apply(jt(this),arguments)},map:function(t){return wt(jt(this),t,arguments.length>1?arguments[1]:void 0)},reduce:function(t){return st.apply(jt(this),arguments)},reduceRight:function(t){return lt.apply(jt(this),arguments)},reverse:function(){for(var t,e=jt(this).length,n=Math.floor(e/2),r=0;r<n;)t=this[r],this[r++]=this[--e],this[e]=t;return this},some:function(t){return J(jt(this),t,arguments.length>1?arguments[1]:void 0)},sort:function(t){return ut.call(jt(this),t)},subarray:function(t,e){var n=jt(this),r=n.length,o=v(t,r);return new(I(n,n[vt]))(n.buffer,n.byteOffset+o*n.BYTES_PER_ELEMENT,m((void 0===e?r:v(e,r))-o))}},Ft=function(t,e){return Et(this,dt.call(jt(this),t,e))},kt=function(t){jt(this);var e=At(arguments[1],1),n=this.length,r=x(t),o=m(r.length),a=0;if(o+e>n)throw W("Wrong length!");for(;a<o;)this[e+a]=r[a++]},Rt={entries:function(){return at.call(jt(this))},keys:function(){return ot.call(jt(this))},values:function(){return rt.call(jt(this))}},qt=function(t,e){return w(t)&&t[yt]&&"symbol"!=typeof e&&e in t&&String(+e)==String(e)},Dt=function(t,e){return qt(t,e=_(e,!0))?d(2,t[e]):U(t,e)},zt=function(t,e,n){return!(qt(t,e=_(e,!0))&&w(n)&&y(n,"value"))||y(n,"get")||y(n,"set")||n.configurable||y(n,"writable")&&!n.writable||y(n,"enumerable")&&!n.enumerable?B(t,e,n):(t[e]=n.value,t)};_t||(z.f=Dt,D.f=zt),i(i.S+i.F*!_t,"Object",{getOwnPropertyDescriptor:Dt,defineProperty:zt}),a((function(){ft.call({})}))&&(ft=pt=function(){return ct.call(this)});var Bt=p({},Nt);p(Bt,Rt),f(Bt,gt,Rt.values),p(Bt,{slice:Ft,set:kt,constructor:function(){},toString:ft,toLocaleString:Ct}),Ot(Bt,"buffer","b"),Ot(Bt,"byteOffset","o"),Ot(Bt,"byteLength","l"),Ot(Bt,"length","e"),B(Bt,mt,{get:function(){return this[yt]}}),t.exports=function(t,e,n,l){var c=t+((l=!!l)?"Clamped":"")+"Array",d="get"+t,p="set"+t,g=o[c],v=g||{},_=g&&j(g),y=!g||!s.ABV,x={},S=g&&g.prototype,E=function(t,n){B(t,n,{get:function(){return function(t,n){var r=t._d;return r.v[d](n*e+r.o,xt)}(this,n)},set:function(t){return function(t,n,r){var o=t._d;l&&(r=(r=Math.round(r))<0?0:r>255?255:255&r),o.v[p](n*e+o.o,r,xt)}(this,n,t)},enumerable:!0})};y?(g=n((function(t,n,r,o){u(t,g,c,"_d");var a,i,s,l,d=0,p=0;if(w(n)){if(!(n instanceof Y||"ArrayBuffer"==(l=b(n))||"SharedArrayBuffer"==l))return yt in n?Lt(g,n):Mt.call(g,n);a=n,p=At(r,e);var v=n.byteLength;if(void 0===o){if(v%e)throw W("Wrong length!");if((i=v-p)<0)throw W("Wrong length!")}else if((i=m(o)*e)+p>v)throw W("Wrong length!");s=i/e}else s=h(n),a=new Y(i=s*e);for(f(t,"_d",{b:a,o:p,l:i,e:s,v:new X(a)});d<s;)E(t,d++)})),S=g.prototype=A(Bt),f(S,"constructor",g)):a((function(){g(1)}))&&a((function(){new g(-1)}))&&F((function(t){new g,new g(null),new g(1.5),new g(t)}),!0)||(g=n((function(t,n,r,o){var a;return u(t,g,c),w(n)?n instanceof Y||"ArrayBuffer"==(a=b(n))||"SharedArrayBuffer"==a?void 0!==o?new v(n,At(r,e),o):void 0!==r?new v(n,At(r,e)):new v(n):yt in n?Lt(g,n):Mt.call(g,n):new v(h(n))})),Q(_!==Function.prototype?P(v).concat(P(_)):P(v),(function(t){t in g||f(g,t,v[t])})),g.prototype=S,r||(S.constructor=g));var L=S[gt],O=!!L&&("values"==L.name||null==L.name),M=Rt.values;f(g,ht,!0),f(S,yt,c),f(S,bt,!0),f(S,vt,g),(l?new g(1)[mt]==c:mt in S)||B(S,mt,{get:function(){return c}}),x[c]=g,i(i.G+i.W+i.F*(g!=v),x),i(i.S,c,{BYTES_PER_ELEMENT:e}),i(i.S+i.F*a((function(){v.of.call(g,1)})),c,{from:Mt,of:Tt}),"BYTES_PER_ELEMENT"in S||f(S,"BYTES_PER_ELEMENT",e),i(i.P,c,Nt),k(c),i(i.P+i.F*St,c,{set:kt}),i(i.P+i.F*!O,c,Rt),r||S.toString==ft||(S.toString=ft),i(i.P+i.F*a((function(){new g(1).slice()})),c,{slice:Ft}),i(i.P+i.F*(a((function(){return[1,2].toLocaleString()!=new g([1,2]).toLocaleString()}))||!a((function(){S.toLocaleString.call([1,2])}))),c,{toLocaleString:Ct}),N[c]=O?L:M,r||O||f(S,gt,M)}}else t.exports=function(){}},function(t,e,n){var r=n(4);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e,n){var r=n(30)("meta"),o=n(4),a=n(14),i=n(9).f,s=0,l=Object.isExtensible||function(){return!0},c=!n(2)((function(){return l(Object.preventExtensions({}))})),u=function(t){i(t,r,{value:{i:"O"+ ++s,w:{}}})},d=t.exports={KEY:r,NEED:!1,fastKey:function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!a(t,r)){if(!l(t))return"F";if(!e)return"E";u(t)}return t[r].i},getWeak:function(t,e){if(!a(t,r)){if(!l(t))return!0;if(!e)return!1;u(t)}return t[r].w},onFreeze:function(t){return c&&d.NEED&&l(t)&&!a(t,r)&&u(t),t}}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e){t.exports=!1},function(t,e,n){var r=n(112),o=n(72);t.exports=Object.keys||function(t){return r(t,o)}},function(t,e,n){var r=n(20),o=Math.max,a=Math.min;t.exports=function(t,e){return(t=r(t))<0?o(t+e,0):a(t,e)}},function(t,e,n){var r=n(3),o=n(113),a=n(72),i=n(71)("IE_PROTO"),s=function(){},l=function(){var t,e=n(69)("iframe"),r=a.length;for(e.style.display="none",n(73).appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),l=t.F;r--;)delete l.prototype[a[r]];return l()};t.exports=Object.create||function(t,e){var n;return null!==t?(s.prototype=r(t),n=new s,s.prototype=null,n[i]=t):n=l(),void 0===e?n:o(n,e)}},function(t,e,n){var r=n(112),o=n(72).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},function(t,e,n){var r=n(14),o=n(10),a=n(71)("IE_PROTO"),i=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),r(t,a)?t[a]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?i:null}},function(t,e,n){var r=n(5)("unscopables"),o=Array.prototype;null==o[r]&&n(15)(o,r,{}),t.exports=function(t){o[r][t]=!0}},function(t,e,n){var r=n(4);t.exports=function(t,e){if(!r(t)||t._t!==e)throw TypeError("Incompatible receiver, "+e+" required!");return t}},function(t,e,n){var r=n(9).f,o=n(14),a=n(5)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,a)&&r(t,a,{configurable:!0,value:e})}},function(t,e,n){var r=n(0),o=n(25),a=n(2),i=n(75),s="["+i+"]",l=RegExp("^"+s+s+"*"),c=RegExp(s+s+"*$"),u=function(t,e,n){var o={},s=a((function(){return!!i[t]()||"
"!="
"[t]()})),l=o[t]=s?e(d):i[t];n&&(o[n]=l),r(r.P+r.F*s,"String",o)},d=u.trim=function(t,e){return t=String(o(t)),1&e&&(t=t.replace(l,"")),2&e&&(t=t.replace(c,"")),t};t.exports=u},function(t,e){t.exports={}},function(t,e,n){"use strict";var r=n(1),o=n(9),a=n(8),i=n(5)("species");t.exports=function(t){var e=r[t];a&&e&&!e[i]&&o.f(e,i,{configurable:!0,get:function(){return this}})}},function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},function(t,e,n){var r=n(12);t.exports=function(t,e,n){for(var o in e)r(t,o,e[o],n);return t}},function(t,e,n){var r=n(24);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,n){var r=n(24),o=n(5)("toStringTag"),a="Arguments"==r(function(){return arguments}());t.exports=function(t){var e,n,i;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),o))?n:a?r(e):"Object"==(i=r(e))&&"function"==typeof e.callee?"Arguments":i}},function(t,e,n){var r=n(3),o=n(19),a=n(5)("species");t.exports=function(t,e){var n,i=r(t).constructor;return void 0===i||null==(n=r(i)[a])?e:o(n)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!alm_localize.a11y_focus)return!1;t.addons.woocommerce||t.addons.elementor?r(!1,!1,e,!1,t.isSafari):t.transition_container&&n>0?t.addons.paging?r(t.init,t.addons.preloaded,t.listing,o,t.isSafari):t.addons.single_post||t.addons.nextpage?r(!1,t.addons.preloaded,e,o,t.isSafari):r(t.init,t.addons.preloaded,e,o,t.isSafari):t.transition_container||r(t.init,t.addons.preloaded,e[0],o,t.isSafari)};var r=function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"false",n=arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!r&&(t||!n)&&"true"!==e)return!1;n.setAttribute("tabIndex","-1"),n.style.outline="none";var o=n.classList.contains("alm-listing")?n:n.parentNode,a=o.dataset.scrollContainer;if(a){var i=document.querySelector(a);i&&setTimeout((function(){n.focus({preventScroll:!0})}),50)}else setTimeout((function(){n.focus({preventScroll:!0})}),50)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(t,e){if(0==e)t.style.opacity=1,t.style.height="auto";else{e/=10;var n=0,r=setInterval((function(){n>.9&&(t.style.opacity=1,clearInterval(r)),t.style.opacity=n,n+=.1}),e);t.style.height="auto"}}},function(t,e,n){var r=n(7),o=n(1),a=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,e){return a[t]||(a[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n(31)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(t,e,n){var r=n(16),o=n(6),a=n(33);t.exports=function(t){return function(e,n,i){var s,l=r(e),c=o(l.length),u=a(i,c);if(t&&n!=n){for(;c>u;)if((s=l[u++])!=s)return!0}else for(;c>u;u++)if((t||u in l)&&l[u]===n)return t||u||0;return!t&&-1}}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){var r=n(24);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){var r=n(5)("iterator"),o=!1;try{var a=[7][r]();a.return=function(){o=!0},Array.from(a,(function(){throw 2}))}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var a=[7],i=a[r]();i.next=function(){return{done:n=!0}},a[r]=function(){return i},t(a)}catch(t){}return n}},function(t,e,n){"use strict";var r=n(3);t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},function(t,e,n){"use strict";var r=n(47),o=RegExp.prototype.exec;t.exports=function(t,e){var n=t.exec;if("function"==typeof n){var a=n.call(t,e);if("object"!=typeof a)throw new TypeError("RegExp exec method returned something other than an Object or null");return a}if("RegExp"!==r(t))throw new TypeError("RegExp#exec called on incompatible receiver");return o.call(t,e)}},function(t,e,n){"use strict";n(130);var r=n(12),o=n(15),a=n(2),i=n(25),s=n(5),l=n(90),c=s("species"),u=!a((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),d=function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();t.exports=function(t,e,n){var f=s(t),p=!a((function(){var e={};return e[f]=function(){return 7},7!=""[t](e)})),g=p?!a((function(){var e=!1,n=/a/;return n.exec=function(){return e=!0,null},"split"===t&&(n.constructor={},n.constructor[c]=function(){return n}),n[f](""),!e})):void 0;if(!p||!g||"replace"===t&&!u||"split"===t&&!d){var m=/./[f],h=n(i,f,""[t],(function(t,e,n,r,o){return e.exec===l?p&&!o?{done:!0,value:m.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}})),v=h[0],_=h[1];r(String.prototype,t,v),o(RegExp.prototype,f,2==e?function(t,e){return _.call(t,this,e)}:function(t){return _.call(t,this)})}}},function(t,e,n){var r=n(18),o=n(125),a=n(85),i=n(3),s=n(6),l=n(87),c={},u={};(e=t.exports=function(t,e,n,d,f){var p,g,m,h,v=f?function(){return t}:l(t),_=r(n,d,e?2:1),y=0;if("function"!=typeof v)throw TypeError(t+" is not iterable!");if(a(v)){for(p=s(t.length);p>y;y++)if((h=e?_(i(g=t[y])[0],g[1]):_(t[y]))===c||h===u)return h}else for(m=v.call(t);!(g=m.next()).done;)if((h=o(m,_,g.value,e))===c||h===u)return h}).BREAK=c,e.RETURN=u},function(t,e,n){var r=n(1).navigator;t.exports=r&&r.userAgent||""},function(t,e,n){"use strict";var r=n(1),o=n(0),a=n(12),i=n(44),s=n(28),l=n(59),c=n(43),u=n(4),d=n(2),f=n(55),p=n(39),g=n(76);t.exports=function(t,e,n,m,h,v){var _=r[t],y=_,b=h?"set":"add",w=y&&y.prototype,x={},S=function(t){var e=w[t];a(w,t,"delete"==t||"has"==t?function(t){return!(v&&!u(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return v&&!u(t)?void 0:e.call(this,0===t?0:t)}:"add"==t?function(t){return e.call(this,0===t?0:t),this}:function(t,n){return e.call(this,0===t?0:t,n),this})};if("function"==typeof y&&(v||w.forEach&&!d((function(){(new y).entries().next()})))){var A=new y,j=A[b](v?{}:-0,1)!=A,P=d((function(){A.has(1)})),E=f((function(t){new y(t)})),L=!v&&d((function(){for(var t=new y,e=5;e--;)t[b](e,e);return!t.has(-0)}));E||((y=e((function(e,n){c(e,y,t);var r=g(new _,e,y);return null!=n&&l(n,h,r[b],r),r}))).prototype=w,w.constructor=y),(P||L)&&(S("delete"),S("has"),h&&S("get")),(L||j)&&S(b),v&&w.clear&&delete w.clear}else y=m.getConstructor(e,t,h,b),i(y.prototype,n),s.NEED=!0;return p(y,t),x[t]=y,o(o.G+o.W+o.F*(y!=_),x),v||m.setStrong(y,t,h),y}},function(t,e,n){for(var r,o=n(1),a=n(15),i=n(30),s=i("typed_array"),l=i("view"),c=!(!o.ArrayBuffer||!o.DataView),u=c,d=0,f="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");d<9;)(r=o[f[d++]])?(a(r.prototype,s,!0),a(r.prototype,l,!0)):u=!1;t.exports={ABV:c,CONSTR:u,TYPED:s,VIEW:l}},function(t,e,n){t.exports=n(142)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.parseQuerystring=function(t){var e=window.location.search.substring(1),n="",r="";e&&((n=JSON.parse('{"'+e.replace(/&/g,'","').replace(/=/g,'":"')+'"}',(function(t,e){return""===t?e:decodeURIComponent(e.replace(/\+/g,"-"))}))).pg&&delete n.pg,n.auto&&delete n.auto);n&&(r+="/",Object.keys(n).forEach((function(t,e){r+=e>0?"--":"",r+=t+"--"+n[t]})));return t+r},e.buildFilterURL=i,e.createMasonryFiltersPage=function(t,e){if(!t.addons.filters)return e;var n=window.location.search,r=t.page+1;return r="true"===t.addons.preloaded?r+1:r,e=s(t,e,n,r)},e.createMasonryFiltersPages=function(t,e){if(!t.addons.filters)return e;var n=1,r=t.page,o=window.location.search;if(t.addons.filters_startpage>1){for(var a=parseInt(t.posts_per_page),i=[],l=0;l<e.length;l+=a)i.push(e.slice(l,a+l));for(var c=0;c<i.length;c++){var u=c>0?c*a:0;n=c+1,e[u]&&(e[u]=s(t,e[u],o,n))}}else n=r,e&&e[0]&&(e[0]=s(t,e[0],o,n));return e};var r,o=n(166),a=(r=o)&&r.__esModule?r:{default:r};function i(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=e;return t.addons.filters_paging&&(r=n>1?r?(0,a.default)("pg")?e.replace(/(pg=)[^\&]+/,"$1"+n):e+"&pg="+n:"?pg="+n:"&"===(r="?"===(r=e.replace(/(pg=)[^\&]+/,""))?"":r)[r.length-1]?r.slice(0,-1):r),r}function s(t,e,n,r){if(e.classList.add("alm-filters"),e.dataset.page=r,r>1)e.dataset.url=t.canonical_url+i(t,n,r);else{var o=n.replace(/(pg=)[^\&]+/,"");o="?"===o?"":o,e.dataset.url=t.canonical_url+o}return e}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"text/html";if(!t)return!1;var n=new DOMParser,r=n.parseFromString(t,e);return r?Array.prototype.slice.call(r.body.childNodes):r}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(!t)return!1;if(e.indexOf("Safari")>-1&&-1!=e.indexOf("Chrome")||e.indexOf("Firefox")>-1||e.indexOf("Windows")>-1)return!1;for(var n=t.querySelectorAll("img[srcset]:not(.alm-loaded)"),r=0;r<n.length;r++){var o=n[r];o.classList.add("alm-loaded"),o.outerHTML=o.outerHTML}}},function(t,e,n){var r,o;
|
2 |
/*!
|
3 |
* imagesLoaded v4.1.4
|
4 |
* JavaScript is all like "You images are done yet or what?"
|
5 |
* MIT License
|
6 |
-
*/!function(a,i){"use strict";r=[n(172)],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(51)("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(74).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(124),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],E=P||w(m),L=m?S?w("entries"):E:void 0,O="Array"==e&&j.entries||P;if(O&&(b=u(O.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,E=function(){return P.call(this)}),r&&!v||!f&&!A&&j[d]||i(j,d,E),s[e]=E,s[x]=p,m)if(_={values:S?E:w("values"),keys:h?E:w("keys"),entries:L},v)for(y in _)y in j||a(j,y,_[y]);else o(o.P+o.F*(f||A),e,_);return _}},function(t,e,n){var r=n(83),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(129),a=n(41),i=n(16);t.exports=n(81)(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(56),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(80)(!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(118),l=n(73),c=n(69),u=n(1),d=u.process,f=u.setImmediate,p=u.clearImmediate,g=u.MessageChannel,m=u.Dispatch,h=0,v={},_=function(){var t=+this;if(v.hasOwnProperty(t)){var e=v[t];delete v[t],e()}},y=function(t){_.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(_,t,1))}:m&&m.now?r=function(t){m.now(i(_,t,1))}:g?(a=(o=new g).port2,o.port1.onmessage=y,r=i(a.postMessage,a,1)):u.addEventListener&&"function"==typeof postMessage&&!u.importScripts?(r=function(t){u.postMessage(t+"","*")},u.addEventListener("message",y,!1)):r="onreadystatechange"in c("script")?function(t){l.appendChild(c("script")).onreadystatechange=function(){l.removeChild(this),_.call(t)}}:function(t){setTimeout(i(_,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(62),s=n(15),l=n(44),c=n(2),u=n(43),d=n(20),f=n(6),p=n(137),g=n(35).f,m=n(9).f,h=n(88),v=n(39),_=r.ArrayBuffer,y=r.DataView,b=r.Math,w=r.RangeError,x=r.Infinity,S=_,A=b.abs,j=b.pow,P=b.floor,E=b.log,L=b.LN2,O=o?"_b":"buffer",M=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(E(t)/L),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[M])throw w("Wrong index!");var a=t[O]._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[M])throw w("Wrong index!");for(var s=t[O]._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(){_(1)}))||!c((function(){new _(-1)}))||c((function(){return new _,new _(1.5),new _(NaN),"ArrayBuffer"!=_.name}))){for(var W,H=(_=function(t){return u(this,_),new S(p(t))}).prototype=S.prototype,V=g(S),G=0;V.length>G;)(W=V[G++])in _||s(_,W,S[W]);a||(H.constructor=_)}var Y=new y(new _(2)),X=y.prototype.setInt8;Y.setInt8(0,2147483648),Y.setInt8(1,2147483649),!Y.getInt8(0)&&Y.getInt8(1)||l(y.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 _=function(t){u(this,_,"ArrayBuffer");var e=p(t);this._b=h.call(new Array(e),0),this[M]=e},y=function(t,e,n){u(this,y,"DataView"),u(t,_,"DataView");var r=t[M],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[O]=t,this[T]=o,this[M]=n},o&&(z(_,"byteLength","_l"),z(y,"buffer","_b"),z(y,"byteLength","_l"),z(y,"byteOffset","_o")),l(y.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(_,"ArrayBuffer"),v(y,"DataView"),s(y.prototype,i.VIEW,!0),e.ArrayBuffer=_,e.DataView=y},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=N(n(63)),o=N(n(160));n(161);var a=N(n(162)),i=N(n(104)),s=N(n(164)),l=N(n(165)),c=N(n(65)),u=N(n(105)),d=C(n(167)),f=C(n(106)),p=n(107),g=N(n(168)),m=N(n(169)),h=N(n(49)),v=N(n(170)),_=N(n(171)),y=N(n(50)),b=N(n(68)),w=N(n(173)),x=N(n(174)),S=N(n(175)),A=N(n(176)),j=N(n(66)),P=n(177),E=n(178),L=n(179),O=n(180),M=n(182),T=n(64),I=n(108);function C(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 N(t){return t&&t.__esModule?t:{default:t}}function F(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(183),n(356),n(357);var k=n(358),R=n(67);r.default.defaults.headers.common["X-Requested-With"]="XMLHttpRequest",o.default.polyfill();var q=!1;!function(){var t=function(t,e){alm_localize&&"true"===alm_localize.scrolltop&&window.scrollTo(0,0);var n=this;n.AjaxLoadMore={},n.addons={},n.extensions={},n.integration={},n.window=window,n.page=0,n.posts=0,n.totalposts=0,n.proceed=!1,n.disable_ajax=!1,n.init=!0,n.loading=!0,n.finished=!1,n.timer=null,n.ua=window.navigator.userAgent?window.navigator.userAgent:"",n.vendor=window.navigator.vendor?window.navigator.vendor:"",n.isSafari=/Safari/i.test(n.ua)&&/Apple Computer/.test(n.vendor)&&!/Mobi|Android/i.test(n.ua),n.master_id=t.dataset.id?"ajax-load-more-"+t.dataset.id:t.id,t.classList.add("alm-"+e),t.setAttribute("data-alm-id",e),n.master_id=n.master_id.replace(/-/g,"_"),n.localize=window[n.master_id+"_vars"],n.main=t,n.listing=t.querySelector(".alm-listing")||t.querySelector(".alm-comments"),n.content=n.listing,n.el=n.content,n.ajax=t.querySelector(".alm-ajax"),n.container_type=n.listing.dataset.containerType,n.canonical_url=t.dataset.canonicalUrl,n.nested=t.dataset.nested?t.dataset.nested:null,n.is_search=t.dataset.search,n.slug=t.dataset.slug,n.post_id=t.dataset.postId,n.id=t.dataset.id?t.dataset.id:"";var o=t.querySelector(".alm-no-results");if(n.no_results=o?o.innerHTML:"",n.repeater=n.listing.dataset.repeater,n.theme_repeater=n.listing.dataset.themeRepeater,n.post_type=n.listing.dataset.postType?n.listing.dataset.postType:"post",n.sticky_posts=n.listing.dataset.stickyPosts?n.listing.dataset.stickyPosts:null,n.btnWrap=t.querySelectorAll(".alm-btn-wrap"),n.btnWrap=Array.prototype.slice.call(n.btnWrap),n.btnWrap[n.btnWrap.length-1].style.visibility="visible",n.trigger=n.btnWrap[n.btnWrap.length-1],n.button=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.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,M.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_paging="true"===n.listing.dataset.filtersPaging,n.addons.filters_scroll="true"===n.listing.dataset.filtersScroll,n.addons.filters_scrolltop=n.listing.dataset.filtersScrolltop?n.listing.dataset.filtersScrolltop:"30",n.addons.filters_analtyics=n.listing.dataset.filtersAnalytics,n.addons.filters_debug=n.listing.dataset.filtersDebug,n.addons.filters_startpage=0;var C=(0,a.default)("pg");n.addons.filters_startpage=null!==C?parseInt(C):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 N=document.querySelector(".alm-tab-nav li [data-tab-url="+n.addons.tab_onload+"]");if(n.addons.tab_template=N?N.dataset.tabTemplate:n.addons.tab_template,n.listing.dataset.tabOnload="",N){var D=document.querySelector(".alm-tab-nav li .active");D&&D.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?1e4:n.max_pages,n.scroll_distance=void 0===n.scroll_distance?100:n.scroll_distance,n.scroll_distance_perc=!1,-1==n.scroll_distance.toString().indexOf("%")?n.scroll_distance=parseInt(n.scroll_distance):(n.scroll_distance_perc=!0,n.scroll_distance_orig=parseInt(n.scroll_distance),n.scroll_distance=(0,A.default)(n)),n.scroll_container=void 0===n.scroll_container?"":n.scroll_container,n.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,n.is_masonry_preloaded=!1,"masonry"===n.transition&&(n.masonry_init=!0,n.msnry?n.msnry.destroy():n.msnry="",n.masonry_selector=n.listing.dataset.masonrySelector,n.masonry_columnwidth=n.listing.dataset.masonryColumnwidth,n.masonry_animation=n.listing.dataset.masonryAnimation,n.masonry_animation=void 0===n.masonry_animation?"standard":n.masonry_animation,n.masonry_horizontalorder=n.listing.dataset.masonryHorizontalorder,n.masonry_horizontalorder=void 0===n.masonry_horizontalorder?"true":n.masonry_horizontalorder,n.transition_container=!1,n.images_loaded=!1,n.is_masonry_preloaded="true"===n.addons.preloaded||n.is_masonry_preloaded),void 0===n.listing.dataset.scroll?n.scroll=!0:"false"===n.listing.dataset.scroll?n.scroll=!1:n.scroll=!0,n.transition_container=void 0===n.transition_container||"true"===n.transition_container,n.button_label=void 0===n.button_label?"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 z=t.childNodes;if(z){var B=Array.prototype.slice.call(z).filter((function(t){return!!t.classList&&t.classList.contains("alm-btn-wrap")}));n.button=B?B[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),(0,P.showPlaceholder)(n),!n.disable_ajax)if(n.addons.paging||(n.button.classList.add("loading"),!1!==n.button_loading_label&&(n.button.innerHTML=n.button_loading_label)),n.main.classList.add("alm-loading"),n.loading=!0,"true"!==n.addons.cache||n.addons.cache_logged_in)n.AjaxLoadMore.ajax("standard");else{var t=(0,l.default)(n);t?r.default.get(t).then((function(t){n.AjaxLoadMore.success(t.data,!0)})).catch((function(t){n.AjaxLoadMore.ajax("standard")})):n.AjaxLoadMore.ajax("standard")}},n.AjaxLoadMore.ajax=function(t){var e="alm_get_posts";n.acf_array="",n.extensions.acf&&("relationship"!==n.extensions.acf_field_type&&(e="alm_acf"),n.acf_array={acf:"true",post_id:n.extensions.acf_post_id,field_type:n.extensions.acf_field_type,field_name:n.extensions.acf_field_name,parent_field_name:n.extensions.acf_parent_field_name}),n.term_query_array="",n.extensions.term_query&&(e="alm_get_terms",n.term_query_array={term_query:"true",taxonomy:n.extensions.term_query_taxonomy,hide_empty:n.extensions.term_query_hide_empty,number:n.extensions.term_query_number}),n.nextpage_array="",n.addons.nextpage&&(e="alm_nextpage",n.nextpage_array={nextpage:"true",urls:n.addons.nextpage_urls,scroll:n.addons.nextpage_scroll,pageviews:n.addons.nextpage_pageviews,post_id:n.addons.nextpage_post_id,startpage:n.addons.nextpage_startpage,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){1==t.page||t.addons.paging||t.button.classList.add("loading"),r.default.interceptors.request.use((function(t){return t.paramsSerializer=function(t){return k.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.default)(t),a=""),t.addons.elementor&&t.addons.elementor_type&&"posts"===t.addons.elementor_type&&(o=(0,v.default)(t),a=""),r.default.get(o,{params:a}).then((function(e){var r="";t.addons.single_post&&t.addons.single_post_target?(r=(0,E.singlePostHTML)(e,t.addons.single_post_target),(0,L.createCacheFile)(t,r.html,"single")):t.addons.woocommerce?(r=(0,O.wooGetContent)(e,t),(0,L.createCacheFile)(t,r.html,"woocommerce")):t.addons.elementor?(r=(0,M.elementorGetContent)(e,t),(0,L.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 k.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 k.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=v&&v.totalposts?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),F(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,R(d,(function(){n.AjaxLoadMore.triggerAddons(n),(0,y.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 E=void 0,L=window.location.search,C=n.addons.seo?" alm-seo":"",N=n.addons.filters?" alm-filters":"",k=n.is_preloaded?" alm-preloaded":"";if(n.init&&(n.start_page>1||n.addons.filters_startpage>0)){var D=[],z=[],B=parseInt(n.posts_per_page),U=Math.ceil(w/B);a=!0,"true"===n.addons.cta&&(B+=1,U=Math.ceil(w/B),w=U+w);for(var W=(0,u.default)((0,c.default)(n.html,"text/html")),H=0;H<w;H+=B)D.push(W.slice(H,B+H));for(var V=0;V<D.length;V++){var G="true"===n.addons.preloaded?1:0,Y=document.createElement("div");V>0||"true"===n.addons.preloaded?(E=V+1+G,n.addons.seo&&(Y=(0,I.createSEOAttributes)(n,Y,L,C,E)),n.addons.filters&&(Y.setAttribute("class","alm-reveal"+N+n.tcc),Y.dataset.url=n.canonical_url+(0,T.buildFilterURL)(n,L,E),Y.dataset.page=E)):(n.addons.seo&&(Y=(0,I.createSEOAttributes)(n,Y,L,C,1)),n.addons.filters&&(Y.setAttribute("class","alm-reveal"+N+k+n.tcc),Y.dataset.url=n.canonical_url+(0,T.buildFilterURL)(n,L,0),Y.dataset.page="1")),(0,i.default)(Y,D[V]),(0,j.default)(Y,n.ua),z.push(Y)}n.listing.style.opacity=0,n.listing.style.height=0,(0,i.default)(n.listing,z),l=n.listing,n.el=l}else{if(n.addons.seo&&n.page>0||"true"===n.addons.preloaded){var X="true"===n.addons.preloaded?1:0;E=n.page+1+X,n.addons.seo?l=(0,I.createSEOAttributes)(n,l,L,C,E):n.addons.filters?(l.setAttribute("class","alm-reveal"+N+n.tcc),l.dataset.url=n.canonical_url+(0,T.buildFilterURL)(n,L,E),l.dataset.page=E):l.setAttribute("class","alm-reveal"+n.tcc)}else n.addons.filters?(l.setAttribute("class","alm-reveal"+N+n.tcc),l.dataset.url=n.canonical_url+(0,T.buildFilterURL)(n,L,parseInt(n.page)+1),l.dataset.page=parseInt(n.page)+1):n.addons.seo?l=(0,I.createSEOAttributes)(n,l,L,C,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 F(regeneratorRuntime.mark((function t(){var r,o;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:r=n.page+2,n.button.dataset.page=r,o=n.addons.woocommerce_settings.paged_urls[r-1],n.button.dataset.url=o||"",n.AjaxLoadMore.transitionEnd(),"function"==typeof almComplete&&"masonry"!==n.transition&&window.almComplete(n),r>parseInt(n.addons.woocommerce_settings.pages)&&n.AjaxLoadMore.triggerDone();case 9:case"end":return t.stop()}}),t,this)})))().catch((function(t){console.log(t),console.log("There was an error loading woocommerce products")})),void(n.init=!1);if(n.addons.elementor)return F(regeneratorRuntime.mark((function t(){var r,o;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,M.elementor)(l,n,e.pageTitle);case 2:r=n.page+1,n.button.dataset.page=r,o=n.addons.elementor_next_page_url,n.button.dataset.url=o||"",n.AjaxLoadMore.transitionEnd(),"function"==typeof almComplete&&"masonry"!==n.transition&&window.almComplete(n),o||n.AjaxLoadMore.triggerDone();case 9:case"end":return t.stop()}}),t,this)})))().catch((function(t){console.log(t),console.log("There was an error loading Elementor Post Widget items")})),void(n.init=!1);("masonry"!==n.transition||n.init&&!n.is_masonry_preloaded)&&(a||(n.transition_container?n.listing.appendChild(l):"true"===n.images_loaded?R(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,F(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,_.default)(n,n.init,q);case 2:n.masonry_init=!1,n.AjaxLoadMore.triggerWindowResize(),n.AjaxLoadMore.transitionEnd(),"function"==typeof almComplete&&window.almComplete(n);case 6: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?R(l,(function(){(0,y.default)(l,0),n.AjaxLoadMore.transitionEnd()})):((0,y.default)(l,0),n.AjaxLoadMore.transitionEnd()):"true"===n.images_loaded?R(l,(function(){n.transition_container&&(0,y.default)(l,n.speed),n.AjaxLoadMore.transitionEnd()})):(n.transition_container&&(0,y.default)(l,n.speed),n.AjaxLoadMore.transitionEnd()),n.addons.tabs&&"function"==typeof almTabsSetHeight&&R(l,(function(){(0,y.default)(n.listing,n.speed),setTimeout((function(){window.almTabsSetHeight(n)}),n.speed)}))}R(l,(function(){n.AjaxLoadMore.nested(l),m.default.init(n.el),"function"==typeof almComplete&&"masonry"!==n.transition&&window.almComplete(n),q&&n.addons.filters&&"function"==typeof almFiltersAddonComplete&&window.almFiltersAddonComplete(t),q=!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 Q=n.page+1;(Q="true"===n.addons.preloaded?Q++:Q)==n.destroy_after&&n.AjaxLoadMore.destroyed()}(0,p.tableOfContents)(n,n.init),"masonry"!==n.transition&&(0,h.default)(n,l,w,q),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),q&&n.addons.filters&&("function"==typeof almFiltersAddonComplete&&almFiltersAddonComplete(t),q=!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.disabled=!0),"function"==typeof almDone&&setTimeout((function(){window.almDone(n)}),n.speed+10)},n.AjaxLoadMore.resetBtnText=function(){!1===n.button_loading_label||n.addons.paging||(n.button.innerHTML=n.button_label)},n.AjaxLoadMore.error=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;n.loading=!1,n.addons.paging||(n.button.classList.remove("loading"),n.AjaxLoadMore.resetBtnText()),console.log("Error: ",t),t.response?console.log("Error Msg: ",t.message):t.request?console.log(t.request):console.log("Error Msg: ",t.message),e&&console.log("ALM Error started in "+e),t.config&&console.log("ALM Error Debug: ",t.config)},n.AjaxLoadMore.click=function(t){var e=t.target||t.currentTarget;"true"===n.pause&&(n.pause=!1,n.pause_override=!1,n.AjaxLoadMore.loadPosts()),n.loading||n.finished||e.classList.contains("done")||(n.loading=!0,n.page++,n.AjaxLoadMore.loadPosts()),e.blur()},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 U=void 0;n.window.onresize=function(){clearTimeout(U),U=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"),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,M.elementorInit)(n),""===n.addons.elementor_next_page_url&&n.AjaxLoadMore.triggerDone()),n.window.addEventListener("load",(function(){n.is_masonry_preloaded&&F(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,_.default)(n,!0,!1);case 2:n.masonry_init=!1;case 3:case"end":return t.stop()}}),t,this)})))().catch((function(t){console.log("There was an error with ALM Masonry")})),"function"==typeof almOnLoad&&window.almOnLoad(n)}))},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;q=!0,(0,w.default)(t,e,n,"filter")};e.reset=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e={};q=!0,t&&t.target&&(e={target:target}),t&&"woocommerce"===t.type?F(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;q=!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(148),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(100)),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(147))},function(t,e,n){"use strict";var r=n(11),o=n(149),a=n(151),i=n(97),s=n(152),l=n(155),c=n(156),u=n(101);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(150);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(163),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(95),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(181)),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;!function p(){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,1==f&&(e[d].classList.add(l),e[d].dataset.url=s,e[d].dataset.page=n.page+1,e[d].dataset.pageTitle=a),o.next=4,(0,r.default)(t,e[d],n.ua);case 4:f++,d++,p();case 7:case"end":return o.stop()}}),o,this)})))().catch((function(t){console.log("There was an error loading the items")})):(setTimeout((function(){e.map((function(t){t.style.opacity=1})),e[0]&&(0,o.default)(n,e[0],null,!1)}),50),c(!0))}()}))}},function(t,e,n){t.exports=!n(8)&&!n(2)((function(){return 7!=Object.defineProperty(n(69)("div"),"a",{get:function(){return 7}}).a}))},function(t,e,n){var r=n(1),o=n(7),a=n(31),i=n(70),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(52)(!1),i=n(71)("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(53),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(118),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(75),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(75)+"-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(277);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(90);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(56)})},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(59),h=n(48),v=n(92).set,_=n(297)(),y=n(133),b=n(298),w=n(60),x=n(134),S=l.TypeError,A=l.process,j=A&&A.versions,P=j&&j.v8||"",E=l.Promise,L="process"==u(A),O=function(){},M=o=y.f,T=!!function(){try{var t=E.resolve(1),e=(t.constructor={})[n(5)("species")]=function(t){t(O,O)};return(L||"function"==typeof PromiseRejectionEvent)&&t.then(O)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;_((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(){L?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=L||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;L?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))?_((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||(E=function(t){g(this,E,"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)(E.prototype,{then:function(t,e){var n=M(h(this,E));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=L?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)},y.f=M=function(t){return t===E||t===i?new a(t):o(t)}),d(d.G+d.W+d.F*!T,{Promise:E}),n(39)(E,"Promise"),n(42)("Promise"),i=n(7).Promise,d(d.S+d.F*!T,"Promise",{reject:function(t){var e=M(this);return(0,e.reject)(t),e.promise}}),d(d.S+d.F*(s||!T),"Promise",{resolve:function(t){return x(s&&this===i?E:this,t)}}),d(d.S+d.F*!(T&&n(55)((function(t){E.all(t).catch(O)}))),"Promise",{all:function(t){var e=this,n=M(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=M(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(133);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(59),c=n(81),u=n(129),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(59),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(53),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(77),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(94),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(96),a=n(143),i=n(102);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(99));l.Axios=a,l.create=function(t){return s(i(l.defaults,t))},l.Cancel=n(103),l.CancelToken=n(157),l.isCancel=n(98),l.all=function(t){return Promise.all(t)},l.spread=n(158),l.isAxiosError=n(159),t.exports=l,t.exports.default=l},function(t,e,n){"use strict";var r=n(11),o=n(97),a=n(144),i=n(145),s=n(102);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(146),a=n(98),i=n(99);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(101);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(153),o=n(154);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(103);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(64);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(106));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(65);(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.default=function(t){if(!t||!t.trigger)return!1;var e=t.trigger.querySelector("button"),n=e?e.dataset.url:"";return n||""}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=d(n(50)),o=d(n(104)),a=d(n(65)),i=d(n(66)),s=d(n(105)),l=n(64),c=n(108),u=d(n(49));function d(t){return t&&t.__esModule?t:{default:t}}var f=n(67);e.default=function t(e,n,d){return new Promise((function(p){var g=e.listing,m=e.html,h=e.masonry_selector,v=e.masonry_columnwidth,_=e.masonry_animation,y=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"===_&&(S="translateY(-20px) scale(1.25)",A="translateY(0) scale(1)"),"slide-up"===_&&(S="translateY(50px)",A="translateY(0)"),"slide-down"===_&&(S="translateY(-50px)",A="translateY(0)"),"none"===_&&(S="translateY(0)",A="translateY(0)"),v?isNaN(v)||(v=parseInt(v)):v=h,y="true"===y,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:y,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)})))}}))}},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(68)),i=n(107);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)return!1;t.placeholder&&(t.placeholder.style.display="block",(0,r.default)(t.placeholder,75))},e.hidePlaceholder=function(t){if(!t||!t.main||t.addons.paging)return!1;t.placeholder&&((0,o.default)(t.placeholder,75),setTimeout((function(){t.placeholder.style.display="none"}),75))};var r=a(n(50)),o=a(n(68));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(63),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){(function(t){if(!t)return 0;var e=document.querySelectorAll(t);return e?e.length:0})(t.addons.woocommerce_settings.container)>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 r=n.querySelector(t.addons.woocommerce_settings.products);r?(r.classList.add("alm-woocommerce"),r.dataset.url=t.addons.woocommerce_settings.paged_urls[t.addons.woocommerce_settings.paged-1],r.dataset.page=t.page,r.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"),t.addons.woocommerce_settings.paged>1&&function(t){if(t&&t.addons.woocommerce_settings.results_text){var e=document.querySelectorAll(t.addons.woocommerce_settings.results);if(e.length<1)return!1;var n=t.addons.woocommerce_settings.settings.previous_page_link,r=t.addons.woocommerce_settings.settings.previous_page_label,o=t.addons.woocommerce_settings.settings.previous_page_sep;e.forEach((function(t){n&&r&&(t.innerHTML=s(t,n,r,o))}))}}(t)}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 a=document.querySelector(e.addons.woocommerce_settings.container),s=t.querySelectorAll(e.addons.woocommerce_settings.products),l=e.addons.woocommerce_settings.paged_urls[e.page];a&&s&&l&&(s=Array.prototype.slice.call(s),i(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,o.default)(a,s,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.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:"WooCommerce Query"}};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),r=e.addons.woocommerce_settings.settings.previous_page_link,o=e.addons.woocommerce_settings.settings.previous_page_label,a=e.addons.woocommerce_settings.settings.previous_page_sep;e.addons.woocommerce_settings.results_text&&e.addons.woocommerce_settings.results_text.forEach((function(t){t.innerHTML=r&&o?s(n,r,o,a):n.innerHTML}))}}(r,e)}return n};var r=a(n(63)),o=a(n(109));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")}))}}function s(t,e,n,r){var o=" "+r+' <a href="'+e+'">'+n+"</a>";return t.innerHTML+o}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,o=n(66),a=(r=o)&&r.__esModule?r:{default:r};var i=n(67);e.default=function(t,e,n){return new Promise((function(r){i(e,(function(){e.style.transition="all 0.4s ease",t.appendChild(e),(0,a.default)(e,n),r(!0)}))}))}},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(){s(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),l=t.querySelectorAll("."+e.addons.elementor_item_class),c=e.addons.elementor_current_url;o&&l&&c?(l=Array.prototype.slice.call(l),i(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,a.default)(o,l,e,n,c,"alm-elementor");case 2:e.addons.elementor_masonry&&setTimeout((function(){s(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.elementorGetContent=function(t,e){var n={html:"",meta:{postcount:1,totalposts:e.localize.total_posts,debug:"Elementor Query"}};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,(c=i.querySelector(s))?l(c):"")}var i,s,c;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=l(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(109),a=(r=o)&&r.__esModule?r:{default:r};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")}))}}function s(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 l(t){return t&&t.querySelector("a.next")?t.querySelector("a.next").href:""}},function(t,e,n){n(184)},function(t,e,n){"use strict";n(185),n(328),n(330),n(333),n(335),n(337),n(339),n(341),n(343),n(345),n(347),n(349),n(351),n(355)},function(t,e,n){n(186),n(189),n(190),n(191),n(192),n(193),n(194),n(195),n(196),n(197),n(198),n(199),n(200),n(201),n(202),n(203),n(204),n(205),n(206),n(207),n(208),n(209),n(210),n(211),n(212),n(213),n(214),n(215),n(216),n(217),n(218),n(219),n(220),n(221),n(222),n(223),n(224),n(225),n(226),n(227),n(228),n(229),n(230),n(232),n(233),n(234),n(235),n(236),n(237),n(238),n(239),n(240),n(241),n(242),n(243),n(244),n(245),n(246),n(247),n(248),n(249),n(250),n(251),n(252),n(253),n(254),n(255),n(256),n(257),n(258),n(259),n(260),n(261),n(262),n(263),n(264),n(265),n(267),n(268),n(270),n(271),n(272),n(273),n(274),n(275),n(276),n(278),n(279),n(280),n(281),n(282),n(283),n(284),n(285),n(286),n(287),n(288),n(289),n(290),n(89),n(291),n(130),n(292),n(131),n(293),n(294),n(295),n(296),n(132),n(299),n(300),n(301),n(302),n(303),n(304),n(305),n(306),n(307),n(308),n(309),n(310),n(311),n(312),n(313),n(314),n(315),n(316),n(317),n(318),n(319),n(320),n(321),n(322),n(323),n(324),n(325),n(326),n(327),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(51),d=n(39),f=n(30),p=n(5),g=n(70),m=n(111),h=n(188),v=n(54),_=n(3),y=n(4),b=n(10),w=n(16),x=n(27),S=n(29),A=n(34),j=n(114),P=n(21),E=n(53),L=n(9),O=n(32),M=P.f,T=L.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&&!!E.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=M(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),_(t),e=x(e,!0),_(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){_(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=M(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,L.f=Q,n(35).f=j.f=Z,n(46).f=J,E.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=O(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(){E.f(1)}));i(i.S+i.F*at,"Object",{getOwnPropertySymbols:function(t){return E.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],(y(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(51)("native-function-to-string",Function.toString)},function(t,e,n){var r=n(32),o=n(53),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(113)})},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(114).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(115)})},function(t,e,n){var r=n(0);r(r.S,"Object",{is:n(116)})},function(t,e,n){var r=n(0);r(r.S,"Object",{setPrototypeOf:n(74).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(117)})},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(119);r(r.G+r.F*(parseInt!=o),{parseInt:o})},function(t,e,n){var r=n(0),o=n(120);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(76),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,_=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(_(e)),n,p):_(e)};for(var y,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,y=b[w])&&!o(p,y)&&d(p,y,u(g,y));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(121),i=n(77),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(121),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(122)})},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(122),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(120);r(r.S+r.F*(Number.parseFloat!=o),"Number",{parseFloat:o})},function(t,e,n){var r=n(0),o=n(119);r(r.S+r.F*(Number.parseInt!=o),"Number",{parseInt:o})},function(t,e,n){var r=n(0),o=n(123),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(78);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(79);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(231)})},function(t,e,n){var r=n(78),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(123)})},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(78)})},function(t,e,n){var r=n(0),o=n(79),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(79),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(80)(!0);n(81)(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(80)(!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(82),i="".endsWith;r(r.P+r.F*n(84)("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(82);r(r.P+r.F*n(84)("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(77)})},function(t,e,n){"use strict";var r=n(0),o=n(6),a=n(82),i="".startsWith;r(r.P+r.F*n(84)("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(266);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(269))},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(54)})},function(t,e,n){"use strict";var r=n(18),o=n(0),a=n(10),i=n(125),s=n(85),l=n(6),c=n(86),u=n(87);o(o.S+o.F*!n(55)((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,_=u(f);if(h&&(m=r(m,g>2?arguments[2]:void 0,2)),null==_||p==Array&&s(_))for(n=new p(e=l(f.length));e>v;v++)c(n,v,h?m(f[v],v):f[v]);else for(d=_.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(86);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(73),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(54),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(127);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(127);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(52)(!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(128)}),n(37)("copyWithin")},function(t,e,n){var r=n(0);r(r.P,"Array",{fill:n(88)}),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(76),a=n(9).f,i=n(35).f,s=n(83),l=n(56),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(131);var r=n(3),o=n(56),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(91),i=n(57);n(58)("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(91),l=n(57),c=Math.max,u=Math.min,d=Math.floor,f=/\$([$&`']|\d\d?|<[^>]*>)/g,p=/\$([$&`']|\d\d?)/g;n(58)("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 _=[];;){var y=l(d,f);if(null===y)break;if(_.push(y),!h)break;""===String(y[0])&&(d.lastIndex=s(f,a(d.lastIndex),v))}for(var b,w="",x=0,S=0;S<_.length;S++){y=_[S];for(var A=String(y[0]),j=c(u(i(y.index),f.length),0),P=[],E=1;E<y.length;E++)P.push(void 0===(b=y[E])?b:String(b));var L=y.groups;if(p){var O=[A].concat(P,j,f);void 0!==L&&O.push(L);var M=String(e.apply(void 0,O))}else M=m(A,f,j,P,L,e);j>=x&&(w+=f.slice(x,j)+M,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(116),a=n(57);n(58)("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(83),o=n(3),a=n(48),i=n(91),s=n(6),l=n(57),c=n(90),u=n(2),d=Math.min,f=[].push,p="length",g=!u((function(){RegExp(4294967295,"y")}));n(58)("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"),_=new p(g?c:"^(?:"+c.source+")",v),y=void 0===e?4294967295:e>>>0;if(0===y)return[];if(0===f.length)return null===l(_,f)?[f]:[];for(var b=0,w=0,x=[];w<f.length;){_.lastIndex=g?w:0;var S,A=l(_,g?f:f.slice(w));if(null===A||(S=d(s(_.lastIndex+(g?0:w)),f.length))===b)w=i(f,w,h);else{if(x.push(f.slice(b,w)),x.length===y)return x;for(var j=1;j<=A.length-1;j++)if(x.push(A[j]),x.length===y)return x;w=b=S}}return x.push(f.slice(b)),x}]}))},function(t,e,n){var r=n(1),o=n(92).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(135),o=n(38);t.exports=n(61)("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(135),o=n(38);t.exports=n(61)("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(115),c=n(136),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)}},_={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)}},y=t.exports=n(61)("WeakMap",v,_,c,!0,!0);f&&p&&(l((r=c.getConstructor(v,"WeakMap")).prototype,_),s.NEED=!0,a(["delete","has","get","set"],(function(t){var e=y.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(136),o=n(38);n(61)("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(62),a=n(93),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(62).ABV,{DataView:n(93).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(117),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(124)(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(138)})},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(74);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(329),t.exports=n(7).Array.includes},function(t,e,n){"use strict";var r=n(0),o=n(52)(!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(331),t.exports=n(7).Array.flatMap},function(t,e,n){"use strict";var r=n(0),o=n(332),a=n(10),i=n(6),s=n(19),l=n(126);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(54),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,_=!!f&&i(f,p,3);v<c;){if(v in l){if(g=_?_(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(334),t.exports=n(7).String.padStart},function(t,e,n){"use strict";var r=n(0),o=n(139),a=n(60),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(336),t.exports=n(7).String.padEnd},function(t,e,n){"use strict";var r=n(0),o=n(139),a=n(60),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(338),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(340),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(342),t.exports=n(70).f("asyncIterator")},function(t,e,n){n(111)("asyncIterator")},function(t,e,n){n(344),t.exports=n(7).Object.getOwnPropertyDescriptors},function(t,e,n){var r=n(0),o=n(138),a=n(16),i=n(21),s=n(86);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(346),t.exports=n(7).Object.values},function(t,e,n){var r=n(0),o=n(140)(!1);r(r.S,"Object",{values:function(t){return o(t)}})},function(t,e,n){n(348),t.exports=n(7).Object.entries},function(t,e,n){var r=n(0),o=n(140)(!0);r(r.S,"Object",{entries:function(t){return o(t)}})},function(t,e,n){"use strict";n(132),n(350),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(134);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(352),n(353),n(354),t.exports=n(7)},function(t,e,n){var r=n(1),o=n(0),a=n(60),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(92);r(r.G+r.B,{setImmediate:o.set,clearImmediate:o.clear})},function(t,e,n){for(var r=n(89),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],_=p[v],y=i[v],b=y&&y.prototype;if(b&&(b[u]||s(b,u,f),b[d]||s(b,d,v),l[v]=f,_))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 _(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function y(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),y.prototype[a]=function(){return this},t.AsyncIterator=y,t.async=function(e,n,r,o,a){void 0===a&&(a=Promise);var i=new y(l(e,n,r,o),a);return t.isGeneratorFunction(n)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},_(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(359),o=n(360),a=n(94);t.exports={formats:a,parse:o,stringify:r}},function(t,e,n){"use strict";var r=n(141),o=n(94),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,_){var y,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,_,"key",m):n;b=""}if("string"==typeof(y=b)||"number"==typeof y||"boolean"==typeof y||"symbol"==typeof y||"bigint"==typeof y||r.isBuffer(b))return l?[h(v?n:l(n,f.encoder,_,"key",m))+"="+h(l(b,f.encoder,_,"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 E=s(b)?"function"==typeof o?o(n,j):n:n+(p?"."+j:"["+j+"]");c(x,t(P,E,o,a,i,l,u,d,p,g,m,h,v,_))}}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),_=!0===l.addQueryPrefix?"?":"";return l.charsetSentinel&&("iso-8859-1"===l.charset?_+="utf8=%26%2310003%3B&":_+="utf8=%E2%9C%93&"),v.length>0?_+v:""}},function(t,e,n){"use strict";var r=n(141),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],_=v.indexOf("]="),y=-1===_?v.indexOf("="):_+1;-1===y?(m=e.decoder(v,i.decoder,g,"key"),h=e.strictNullHandling?null:""):(m=e.decoder(v.slice(0,y),i.decoder,g,"key"),h=r.maybeMap(l(v.slice(y+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)}}]);
|
1 |
+
var ajaxloadmore=function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=95)}([function(t,e,n){var r=n(1),o=n(7),a=n(15),i=n(12),s=n(18),l=function(t,e,n){var c,u,d,f,p=t&l.F,g=t&l.G,m=t&l.S,h=t&l.P,v=t&l.B,y=g?r:m?r[e]||(r[e]={}):(r[e]||{}).prototype,_=g?o:o[e]||(o[e]={}),b=_.prototype||(_.prototype={});for(c in g&&(n=e),n)d=((u=!p&&y&&void 0!==y[c])?y:n)[c],f=v&&u?s(d,r):h&&"function"==typeof d?s(Function.call,d):d,y&&i(y,c,d,t&l.U),_[c]!=d&&a(_,c,f),h&&b[c]!=d&&(b[c]=d)};r.core=o,l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,t.exports=l},function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){var r=n(4);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,n){var r=n(51)("wks"),o=n(30),a=n(1).Symbol,i="function"==typeof a;(t.exports=function(t){return r[t]||(r[t]=i&&a[t]||(i?a:o)("Symbol."+t))}).store=r},function(t,e,n){var r=n(20),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,e){var n=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},function(t,e,n){t.exports=!n(2)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(t,e,n){var r=n(3),o=n(110),a=n(27),i=Object.defineProperty;e.f=n(8)?Object.defineProperty:function(t,e,n){if(r(t),e=a(e,!0),r(n),o)try{return i(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){var r=n(25);t.exports=function(t){return Object(r(t))}},function(t,e,n){"use strict";var r=n(96),o=Object.prototype.toString;function a(t){return"[object Array]"===o.call(t)}function i(t){return void 0===t}function s(t){return null!==t&&"object"==typeof t}function l(t){if("[object Object]"!==o.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function c(t){return"[object Function]"===o.call(t)}function u(t,e){if(null!=t)if("object"!=typeof t&&(t=[t]),a(t))for(var n=0,r=t.length;n<r;n++)e.call(null,t[n],n,t);else for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.call(null,t[o],o,t)}t.exports={isArray:a,isArrayBuffer:function(t){return"[object ArrayBuffer]"===o.call(t)},isBuffer:function(t){return null!==t&&!i(t)&&null!==t.constructor&&!i(t.constructor)&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)},isFormData:function(t){return"undefined"!=typeof FormData&&t instanceof FormData},isArrayBufferView:function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&t.buffer instanceof ArrayBuffer},isString:function(t){return"string"==typeof t},isNumber:function(t){return"number"==typeof t},isObject:s,isPlainObject:l,isUndefined:i,isDate:function(t){return"[object Date]"===o.call(t)},isFile:function(t){return"[object File]"===o.call(t)},isBlob:function(t){return"[object Blob]"===o.call(t)},isFunction:c,isStream:function(t){return s(t)&&c(t.pipe)},isURLSearchParams:function(t){return"undefined"!=typeof URLSearchParams&&t instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:u,merge:function t(){var e={};function n(n,r){l(e[r])&&l(n)?e[r]=t(e[r],n):l(n)?e[r]=t({},n):a(n)?e[r]=n.slice():e[r]=n}for(var r=0,o=arguments.length;r<o;r++)u(arguments[r],n);return e},extend:function(t,e,n){return u(e,(function(e,o){t[o]=n&&"function"==typeof e?r(e,n):e})),t},trim:function(t){return t.replace(/^\s*/,"").replace(/\s*$/,"")},stripBOM:function(t){return 65279===t.charCodeAt(0)&&(t=t.slice(1)),t}}},function(t,e,n){var r=n(1),o=n(15),a=n(14),i=n(30)("src"),s=n(188),l=(""+s).split("toString");n(7).inspectSource=function(t){return s.call(t)},(t.exports=function(t,e,n,s){var c="function"==typeof n;c&&(a(n,"name")||o(n,"name",e)),t[e]!==n&&(c&&(a(n,i)||o(n,i,t[e]?""+t[e]:l.join(String(e)))),t===r?t[e]=n:s?t[e]?t[e]=n:o(t,e,n):(delete t[e],o(t,e,n)))})(Function.prototype,"toString",(function(){return"function"==typeof this&&this[i]||s.call(this)}))},function(t,e,n){var r=n(0),o=n(2),a=n(25),i=/"/g,s=function(t,e,n,r){var o=String(a(t)),s="<"+e;return""!==n&&(s+=" "+n+'="'+String(r).replace(i,""")+'"'),s+">"+o+"</"+e+">"};t.exports=function(t,e){var n={};n[t]=e(s),r(r.P+r.F*o((function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3})),"String",n)}},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){var r=n(9),o=n(29);t.exports=n(8)?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var r=n(45),o=n(25);t.exports=function(t){return r(o(t))}},function(t,e,n){"use strict";var r=n(2);t.exports=function(t,e){return!!t&&r((function(){e?t.call(null,(function(){}),1):t.call(null)}))}},function(t,e,n){var r=n(19);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e,n){var r=n(46),o=n(29),a=n(16),i=n(27),s=n(14),l=n(110),c=Object.getOwnPropertyDescriptor;e.f=n(8)?c:function(t,e){if(t=a(t),e=i(e,!0),l)try{return c(t,e)}catch(t){}if(s(t,e))return o(!r.f.call(t,e),t[e])}},function(t,e,n){var r=n(0),o=n(7),a=n(2);t.exports=function(t,e){var n=(o.Object||{})[t]||Object[t],i={};i[t]=e(n),r(r.S+r.F*a((function(){n(1)})),"Object",i)}},function(t,e,n){var r=n(18),o=n(45),a=n(10),i=n(6),s=n(126);t.exports=function(t,e){var n=1==t,l=2==t,c=3==t,u=4==t,d=6==t,f=5==t||d,p=e||s;return function(e,s,g){for(var m,h,v=a(e),y=o(v),_=r(s,g,3),b=i(y.length),w=0,x=n?p(e,b):l?p(e,0):void 0;b>w;w++)if((f||w in y)&&(h=_(m=y[w],w,v),t))if(n)x[w]=h;else if(h)switch(t){case 3:return!0;case 5:return m;case 6:return w;case 2:x.push(m)}else if(u)return!1;return d?-1:c||u?u:x}}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){"use strict";if(n(8)){var r=n(31),o=n(1),a=n(2),i=n(0),s=n(62),l=n(93),c=n(18),u=n(43),d=n(29),f=n(15),p=n(44),g=n(20),m=n(6),h=n(137),v=n(33),y=n(27),_=n(14),b=n(47),w=n(4),x=n(10),S=n(85),A=n(34),j=n(36),P=n(35).f,E=n(87),M=n(30),L=n(5),O=n(23),T=n(52),I=n(48),C=n(89),N=n(41),F=n(55),k=n(42),R=n(88),q=n(128),D=n(9),z=n(21),B=D.f,U=z.f,W=o.RangeError,H=o.TypeError,V=o.Uint8Array,G=Array.prototype,Y=l.ArrayBuffer,X=l.DataView,Q=O(0),$=O(2),J=O(3),K=O(4),Z=O(5),tt=O(6),et=T(!0),nt=T(!1),rt=C.values,ot=C.keys,at=C.entries,it=G.lastIndexOf,st=G.reduce,lt=G.reduceRight,ct=G.join,ut=G.sort,dt=G.slice,ft=G.toString,pt=G.toLocaleString,gt=L("iterator"),mt=L("toStringTag"),ht=M("typed_constructor"),vt=M("def_constructor"),yt=s.CONSTR,_t=s.TYPED,bt=s.VIEW,wt=O(1,(function(t,e){return Pt(I(t,t[vt]),e)})),xt=a((function(){return 1===new V(new Uint16Array([1]).buffer)[0]})),St=!!V&&!!V.prototype.set&&a((function(){new V(1).set({})})),At=function(t,e){var n=g(t);if(n<0||n%e)throw W("Wrong offset!");return n},jt=function(t){if(w(t)&&_t in t)return t;throw H(t+" is not a typed array!")},Pt=function(t,e){if(!w(t)||!(ht in t))throw H("It is not a typed array constructor!");return new t(e)},Et=function(t,e){return Mt(I(t,t[vt]),e)},Mt=function(t,e){for(var n=0,r=e.length,o=Pt(t,r);r>n;)o[n]=e[n++];return o},Lt=function(t,e,n){B(t,e,{get:function(){return this._d[n]}})},Ot=function(t){var e,n,r,o,a,i,s=x(t),l=arguments.length,u=l>1?arguments[1]:void 0,d=void 0!==u,f=E(s);if(null!=f&&!S(f)){for(i=f.call(s),r=[],e=0;!(a=i.next()).done;e++)r.push(a.value);s=r}for(d&&l>2&&(u=c(u,arguments[2],2)),e=0,n=m(s.length),o=Pt(this,n);n>e;e++)o[e]=d?u(s[e],e):s[e];return o},Tt=function(){for(var t=0,e=arguments.length,n=Pt(this,e);e>t;)n[t]=arguments[t++];return n},It=!!V&&a((function(){pt.call(new V(1))})),Ct=function(){return pt.apply(It?dt.call(jt(this)):jt(this),arguments)},Nt={copyWithin:function(t,e){return q.call(jt(this),t,e,arguments.length>2?arguments[2]:void 0)},every:function(t){return K(jt(this),t,arguments.length>1?arguments[1]:void 0)},fill:function(t){return R.apply(jt(this),arguments)},filter:function(t){return Et(this,$(jt(this),t,arguments.length>1?arguments[1]:void 0))},find:function(t){return Z(jt(this),t,arguments.length>1?arguments[1]:void 0)},findIndex:function(t){return tt(jt(this),t,arguments.length>1?arguments[1]:void 0)},forEach:function(t){Q(jt(this),t,arguments.length>1?arguments[1]:void 0)},indexOf:function(t){return nt(jt(this),t,arguments.length>1?arguments[1]:void 0)},includes:function(t){return et(jt(this),t,arguments.length>1?arguments[1]:void 0)},join:function(t){return ct.apply(jt(this),arguments)},lastIndexOf:function(t){return it.apply(jt(this),arguments)},map:function(t){return wt(jt(this),t,arguments.length>1?arguments[1]:void 0)},reduce:function(t){return st.apply(jt(this),arguments)},reduceRight:function(t){return lt.apply(jt(this),arguments)},reverse:function(){for(var t,e=jt(this).length,n=Math.floor(e/2),r=0;r<n;)t=this[r],this[r++]=this[--e],this[e]=t;return this},some:function(t){return J(jt(this),t,arguments.length>1?arguments[1]:void 0)},sort:function(t){return ut.call(jt(this),t)},subarray:function(t,e){var n=jt(this),r=n.length,o=v(t,r);return new(I(n,n[vt]))(n.buffer,n.byteOffset+o*n.BYTES_PER_ELEMENT,m((void 0===e?r:v(e,r))-o))}},Ft=function(t,e){return Et(this,dt.call(jt(this),t,e))},kt=function(t){jt(this);var e=At(arguments[1],1),n=this.length,r=x(t),o=m(r.length),a=0;if(o+e>n)throw W("Wrong length!");for(;a<o;)this[e+a]=r[a++]},Rt={entries:function(){return at.call(jt(this))},keys:function(){return ot.call(jt(this))},values:function(){return rt.call(jt(this))}},qt=function(t,e){return w(t)&&t[_t]&&"symbol"!=typeof e&&e in t&&String(+e)==String(e)},Dt=function(t,e){return qt(t,e=y(e,!0))?d(2,t[e]):U(t,e)},zt=function(t,e,n){return!(qt(t,e=y(e,!0))&&w(n)&&_(n,"value"))||_(n,"get")||_(n,"set")||n.configurable||_(n,"writable")&&!n.writable||_(n,"enumerable")&&!n.enumerable?B(t,e,n):(t[e]=n.value,t)};yt||(z.f=Dt,D.f=zt),i(i.S+i.F*!yt,"Object",{getOwnPropertyDescriptor:Dt,defineProperty:zt}),a((function(){ft.call({})}))&&(ft=pt=function(){return ct.call(this)});var Bt=p({},Nt);p(Bt,Rt),f(Bt,gt,Rt.values),p(Bt,{slice:Ft,set:kt,constructor:function(){},toString:ft,toLocaleString:Ct}),Lt(Bt,"buffer","b"),Lt(Bt,"byteOffset","o"),Lt(Bt,"byteLength","l"),Lt(Bt,"length","e"),B(Bt,mt,{get:function(){return this[_t]}}),t.exports=function(t,e,n,l){var c=t+((l=!!l)?"Clamped":"")+"Array",d="get"+t,p="set"+t,g=o[c],v=g||{},y=g&&j(g),_=!g||!s.ABV,x={},S=g&&g.prototype,E=function(t,n){B(t,n,{get:function(){return function(t,n){var r=t._d;return r.v[d](n*e+r.o,xt)}(this,n)},set:function(t){return function(t,n,r){var o=t._d;l&&(r=(r=Math.round(r))<0?0:r>255?255:255&r),o.v[p](n*e+o.o,r,xt)}(this,n,t)},enumerable:!0})};_?(g=n((function(t,n,r,o){u(t,g,c,"_d");var a,i,s,l,d=0,p=0;if(w(n)){if(!(n instanceof Y||"ArrayBuffer"==(l=b(n))||"SharedArrayBuffer"==l))return _t in n?Mt(g,n):Ot.call(g,n);a=n,p=At(r,e);var v=n.byteLength;if(void 0===o){if(v%e)throw W("Wrong length!");if((i=v-p)<0)throw W("Wrong length!")}else if((i=m(o)*e)+p>v)throw W("Wrong length!");s=i/e}else s=h(n),a=new Y(i=s*e);for(f(t,"_d",{b:a,o:p,l:i,e:s,v:new X(a)});d<s;)E(t,d++)})),S=g.prototype=A(Bt),f(S,"constructor",g)):a((function(){g(1)}))&&a((function(){new g(-1)}))&&F((function(t){new g,new g(null),new g(1.5),new g(t)}),!0)||(g=n((function(t,n,r,o){var a;return u(t,g,c),w(n)?n instanceof Y||"ArrayBuffer"==(a=b(n))||"SharedArrayBuffer"==a?void 0!==o?new v(n,At(r,e),o):void 0!==r?new v(n,At(r,e)):new v(n):_t in n?Mt(g,n):Ot.call(g,n):new v(h(n))})),Q(y!==Function.prototype?P(v).concat(P(y)):P(v),(function(t){t in g||f(g,t,v[t])})),g.prototype=S,r||(S.constructor=g));var M=S[gt],L=!!M&&("values"==M.name||null==M.name),O=Rt.values;f(g,ht,!0),f(S,_t,c),f(S,bt,!0),f(S,vt,g),(l?new g(1)[mt]==c:mt in S)||B(S,mt,{get:function(){return c}}),x[c]=g,i(i.G+i.W+i.F*(g!=v),x),i(i.S,c,{BYTES_PER_ELEMENT:e}),i(i.S+i.F*a((function(){v.of.call(g,1)})),c,{from:Ot,of:Tt}),"BYTES_PER_ELEMENT"in S||f(S,"BYTES_PER_ELEMENT",e),i(i.P,c,Nt),k(c),i(i.P+i.F*St,c,{set:kt}),i(i.P+i.F*!L,c,Rt),r||S.toString==ft||(S.toString=ft),i(i.P+i.F*a((function(){new g(1).slice()})),c,{slice:Ft}),i(i.P+i.F*(a((function(){return[1,2].toLocaleString()!=new g([1,2]).toLocaleString()}))||!a((function(){S.toLocaleString.call([1,2])}))),c,{toLocaleString:Ct}),N[c]=L?M:O,r||L||f(S,gt,O)}}else t.exports=function(){}},function(t,e,n){var r=n(4);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e,n){var r=n(30)("meta"),o=n(4),a=n(14),i=n(9).f,s=0,l=Object.isExtensible||function(){return!0},c=!n(2)((function(){return l(Object.preventExtensions({}))})),u=function(t){i(t,r,{value:{i:"O"+ ++s,w:{}}})},d=t.exports={KEY:r,NEED:!1,fastKey:function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!a(t,r)){if(!l(t))return"F";if(!e)return"E";u(t)}return t[r].i},getWeak:function(t,e){if(!a(t,r)){if(!l(t))return!0;if(!e)return!1;u(t)}return t[r].w},onFreeze:function(t){return c&&d.NEED&&l(t)&&!a(t,r)&&u(t),t}}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e){t.exports=!1},function(t,e,n){var r=n(112),o=n(72);t.exports=Object.keys||function(t){return r(t,o)}},function(t,e,n){var r=n(20),o=Math.max,a=Math.min;t.exports=function(t,e){return(t=r(t))<0?o(t+e,0):a(t,e)}},function(t,e,n){var r=n(3),o=n(113),a=n(72),i=n(71)("IE_PROTO"),s=function(){},l=function(){var t,e=n(69)("iframe"),r=a.length;for(e.style.display="none",n(73).appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),l=t.F;r--;)delete l.prototype[a[r]];return l()};t.exports=Object.create||function(t,e){var n;return null!==t?(s.prototype=r(t),n=new s,s.prototype=null,n[i]=t):n=l(),void 0===e?n:o(n,e)}},function(t,e,n){var r=n(112),o=n(72).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},function(t,e,n){var r=n(14),o=n(10),a=n(71)("IE_PROTO"),i=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),r(t,a)?t[a]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?i:null}},function(t,e,n){var r=n(5)("unscopables"),o=Array.prototype;null==o[r]&&n(15)(o,r,{}),t.exports=function(t){o[r][t]=!0}},function(t,e,n){var r=n(4);t.exports=function(t,e){if(!r(t)||t._t!==e)throw TypeError("Incompatible receiver, "+e+" required!");return t}},function(t,e,n){var r=n(9).f,o=n(14),a=n(5)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,a)&&r(t,a,{configurable:!0,value:e})}},function(t,e,n){var r=n(0),o=n(25),a=n(2),i=n(75),s="["+i+"]",l=RegExp("^"+s+s+"*"),c=RegExp(s+s+"*$"),u=function(t,e,n){var o={},s=a((function(){return!!i[t]()||"
"!="
"[t]()})),l=o[t]=s?e(d):i[t];n&&(o[n]=l),r(r.P+r.F*s,"String",o)},d=u.trim=function(t,e){return t=String(o(t)),1&e&&(t=t.replace(l,"")),2&e&&(t=t.replace(c,"")),t};t.exports=u},function(t,e){t.exports={}},function(t,e,n){"use strict";var r=n(1),o=n(9),a=n(8),i=n(5)("species");t.exports=function(t){var e=r[t];a&&e&&!e[i]&&o.f(e,i,{configurable:!0,get:function(){return this}})}},function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},function(t,e,n){var r=n(12);t.exports=function(t,e,n){for(var o in e)r(t,o,e[o],n);return t}},function(t,e,n){var r=n(24);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,n){var r=n(24),o=n(5)("toStringTag"),a="Arguments"==r(function(){return arguments}());t.exports=function(t){var e,n,i;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),o))?n:a?r(e):"Object"==(i=r(e))&&"function"==typeof e.callee?"Arguments":i}},function(t,e,n){var r=n(3),o=n(19),a=n(5)("species");t.exports=function(t,e){var n,i=r(t).constructor;return void 0===i||null==(n=r(i)[a])?e:o(n)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!alm_localize.a11y_focus)return!1;t.addons.woocommerce||t.addons.elementor?r(!1,!1,e,!1,t.isSafari):t.transition_container&&n>0?t.addons.paging?r(t.init,t.addons.preloaded,t.listing,o,t.isSafari):t.addons.single_post||t.addons.nextpage?r(!1,t.addons.preloaded,e,o,t.isSafari):r(t.init,t.addons.preloaded,e,o,t.isSafari):t.transition_container||r(t.init,t.addons.preloaded,e[0],o,t.isSafari)};var r=function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"false",n=arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!r&&(t||!n)&&"true"!==e)return!1;n.setAttribute("tabIndex","-1"),n.style.outline="none";var o=n.classList.contains("alm-listing")?n:n.parentNode,a=o.dataset.scrollContainer;if(a){var i=document.querySelector(a);i&&setTimeout((function(){n.focus({preventScroll:!0})}),50)}else setTimeout((function(){n.focus({preventScroll:!0})}),50)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(t,e){if(0==e)t.style.opacity=1,t.style.height="auto";else{e/=10;var n=0,r=setInterval((function(){n>.9&&(t.style.opacity=1,clearInterval(r)),t.style.opacity=n,n+=.1}),e);t.style.height="auto"}}},function(t,e,n){var r=n(7),o=n(1),a=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,e){return a[t]||(a[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n(31)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(t,e,n){var r=n(16),o=n(6),a=n(33);t.exports=function(t){return function(e,n,i){var s,l=r(e),c=o(l.length),u=a(i,c);if(t&&n!=n){for(;c>u;)if((s=l[u++])!=s)return!0}else for(;c>u;u++)if((t||u in l)&&l[u]===n)return t||u||0;return!t&&-1}}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){var r=n(24);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){var r=n(5)("iterator"),o=!1;try{var a=[7][r]();a.return=function(){o=!0},Array.from(a,(function(){throw 2}))}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var a=[7],i=a[r]();i.next=function(){return{done:n=!0}},a[r]=function(){return i},t(a)}catch(t){}return n}},function(t,e,n){"use strict";var r=n(3);t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},function(t,e,n){"use strict";var r=n(47),o=RegExp.prototype.exec;t.exports=function(t,e){var n=t.exec;if("function"==typeof n){var a=n.call(t,e);if("object"!=typeof a)throw new TypeError("RegExp exec method returned something other than an Object or null");return a}if("RegExp"!==r(t))throw new TypeError("RegExp#exec called on incompatible receiver");return o.call(t,e)}},function(t,e,n){"use strict";n(130);var r=n(12),o=n(15),a=n(2),i=n(25),s=n(5),l=n(90),c=s("species"),u=!a((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),d=function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();t.exports=function(t,e,n){var f=s(t),p=!a((function(){var e={};return e[f]=function(){return 7},7!=""[t](e)})),g=p?!a((function(){var e=!1,n=/a/;return n.exec=function(){return e=!0,null},"split"===t&&(n.constructor={},n.constructor[c]=function(){return n}),n[f](""),!e})):void 0;if(!p||!g||"replace"===t&&!u||"split"===t&&!d){var m=/./[f],h=n(i,f,""[t],(function(t,e,n,r,o){return e.exec===l?p&&!o?{done:!0,value:m.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}})),v=h[0],y=h[1];r(String.prototype,t,v),o(RegExp.prototype,f,2==e?function(t,e){return y.call(t,this,e)}:function(t){return y.call(t,this)})}}},function(t,e,n){var r=n(18),o=n(125),a=n(85),i=n(3),s=n(6),l=n(87),c={},u={};(e=t.exports=function(t,e,n,d,f){var p,g,m,h,v=f?function(){return t}:l(t),y=r(n,d,e?2:1),_=0;if("function"!=typeof v)throw TypeError(t+" is not iterable!");if(a(v)){for(p=s(t.length);p>_;_++)if((h=e?y(i(g=t[_])[0],g[1]):y(t[_]))===c||h===u)return h}else for(m=v.call(t);!(g=m.next()).done;)if((h=o(m,y,g.value,e))===c||h===u)return h}).BREAK=c,e.RETURN=u},function(t,e,n){var r=n(1).navigator;t.exports=r&&r.userAgent||""},function(t,e,n){"use strict";var r=n(1),o=n(0),a=n(12),i=n(44),s=n(28),l=n(59),c=n(43),u=n(4),d=n(2),f=n(55),p=n(39),g=n(76);t.exports=function(t,e,n,m,h,v){var y=r[t],_=y,b=h?"set":"add",w=_&&_.prototype,x={},S=function(t){var e=w[t];a(w,t,"delete"==t||"has"==t?function(t){return!(v&&!u(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return v&&!u(t)?void 0:e.call(this,0===t?0:t)}:"add"==t?function(t){return e.call(this,0===t?0:t),this}:function(t,n){return e.call(this,0===t?0:t,n),this})};if("function"==typeof _&&(v||w.forEach&&!d((function(){(new _).entries().next()})))){var A=new _,j=A[b](v?{}:-0,1)!=A,P=d((function(){A.has(1)})),E=f((function(t){new _(t)})),M=!v&&d((function(){for(var t=new _,e=5;e--;)t[b](e,e);return!t.has(-0)}));E||((_=e((function(e,n){c(e,_,t);var r=g(new y,e,_);return null!=n&&l(n,h,r[b],r),r}))).prototype=w,w.constructor=_),(P||M)&&(S("delete"),S("has"),h&&S("get")),(M||j)&&S(b),v&&w.clear&&delete w.clear}else _=m.getConstructor(e,t,h,b),i(_.prototype,n),s.NEED=!0;return p(_,t),x[t]=_,o(o.G+o.W+o.F*(_!=y),x),v||m.setStrong(_,t,h),_}},function(t,e,n){for(var r,o=n(1),a=n(15),i=n(30),s=i("typed_array"),l=i("view"),c=!(!o.ArrayBuffer||!o.DataView),u=c,d=0,f="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");d<9;)(r=o[f[d++]])?(a(r.prototype,s,!0),a(r.prototype,l,!0)):u=!1;t.exports={ABV:c,CONSTR:u,TYPED:s,VIEW:l}},function(t,e,n){t.exports=n(142)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.parseQuerystring=function(t){var e=window.location.search.substring(1),n="",r="";e&&((n=JSON.parse('{"'+e.replace(/&/g,'","').replace(/=/g,'":"')+'"}',(function(t,e){return""===t?e:decodeURIComponent(e.replace(/\+/g,"-"))}))).pg&&delete n.pg,n.auto&&delete n.auto);n&&(r+="/",Object.keys(n).forEach((function(t,e){r+=e>0?"--":"",r+=t+"--"+n[t]})));return t+r},e.buildFilterURL=i,e.createMasonryFiltersPage=function(t,e){if(!t.addons.filters)return e;var n=window.location.search,r=t.page+1;return r="true"===t.addons.preloaded?r+1:r,e=s(t,e,n,r)},e.createMasonryFiltersPages=function(t,e){if(!t.addons.filters)return e;var n=1,r=t.page,o=window.location.search;if(t.addons.filters_startpage>1){for(var a=parseInt(t.posts_per_page),i=[],l=0;l<e.length;l+=a)i.push(e.slice(l,a+l));for(var c=0;c<i.length;c++){var u=c>0?c*a:0;n=c+1,e[u]&&(e[u]=s(t,e[u],o,n))}}else n=r,e&&e[0]&&(e[0]=s(t,e[0],o,n));return e};var r,o=n(166),a=(r=o)&&r.__esModule?r:{default:r};function i(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=e;return t.addons.filters_paging&&(r=n>1?r?(0,a.default)("pg")?e.replace(/(pg=)[^\&]+/,"$1"+n):e+"&pg="+n:"?pg="+n:"&"===(r="?"===(r=e.replace(/(pg=)[^\&]+/,""))?"":r)[r.length-1]?r.slice(0,-1):r),r}function s(t,e,n,r){if(e.classList.add("alm-filters"),e.dataset.page=r,r>1)e.dataset.url=t.canonical_url+i(t,n,r);else{var o=n.replace(/(pg=)[^\&]+/,"");o="?"===o?"":o,e.dataset.url=t.canonical_url+o}return e}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"text/html";if(!t)return!1;var n=new DOMParser,r=n.parseFromString(t,e);return r?Array.prototype.slice.call(r.body.childNodes):r}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(!t)return!1;if(e.indexOf("Safari")>-1&&-1!=e.indexOf("Chrome")||e.indexOf("Firefox")>-1||e.indexOf("Windows")>-1)return!1;for(var n=t.querySelectorAll("img[srcset]:not(.alm-loaded)"),r=0;r<n.length;r++){var o=n[r];o.classList.add("alm-loaded"),o.outerHTML=o.outerHTML}}},function(t,e,n){var r,o;
|
2 |
/*!
|
3 |
* imagesLoaded v4.1.4
|
4 |
* JavaScript is all like "You images are done yet or what?"
|
5 |
* MIT License
|
6 |
+
*/!function(a,i){"use strict";r=[n(172)],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(51)("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(74).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(124),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],E=P||w(m),M=m?S?w("entries"):E:void 0,L="Array"==e&&j.entries||P;if(L&&(b=u(L.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,E=function(){return P.call(this)}),r&&!v||!f&&!A&&j[d]||i(j,d,E),s[e]=E,s[x]=p,m)if(y={values:S?E:w("values"),keys:h?E: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(83),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(129),a=n(41),i=n(16);t.exports=n(81)(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(56),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(80)(!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(118),l=n(73),c=n(69),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(62),s=n(15),l=n(44),c=n(2),u=n(43),d=n(20),f=n(6),p=n(137),g=n(35).f,m=n(9).f,h=n(88),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,E=b.log,M=b.LN2,L=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(E(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[L]._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[L]._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[L]=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(63)),o=F(n(160));n(161);var a=F(n(162)),i=F(n(104)),s=F(n(164)),l=F(n(165)),c=F(n(65)),u=F(n(105)),d=N(n(167)),f=N(n(106)),p=n(107),g=F(n(168)),m=F(n(169)),h=F(n(49)),v=F(n(170)),y=n(171),_=F(n(50)),b=F(n(68)),w=F(n(173)),x=F(n(174)),S=F(n(175)),A=F(n(176)),j=F(n(66)),P=n(177),E=F(n(178)),M=n(179),L=n(180),O=n(181),T=n(183),I=n(64),C=n(108);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(184),n(357),n(358);var R=n(359),q=n(67);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.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.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),(0,P.showPlaceholder)(n),!n.disable_ajax)if(n.addons.paging||(n.button.classList.add("loading"),!1!==n.button_loading_label&&(n.button.innerHTML=n.button_loading_label)),n.main.classList.add("alm-loading"),n.loading=!0,"true"!==n.addons.cache||n.addons.cache_logged_in)n.AjaxLoadMore.ajax("standard");else{var t=(0,l.default)(n);t?r.default.get(t).then((function(t){n.AjaxLoadMore.success(t.data,!0)})).catch((function(t){n.AjaxLoadMore.ajax("standard")})):n.AjaxLoadMore.ajax("standard")}},n.AjaxLoadMore.ajax=function(t){var e="alm_get_posts";n.acf_array="",n.extensions.acf&&("relationship"!==n.extensions.acf_field_type&&(e="alm_acf"),n.acf_array={acf:"true",post_id:n.extensions.acf_post_id,field_type:n.extensions.acf_field_type,field_name:n.extensions.acf_field_name,parent_field_name:n.extensions.acf_parent_field_name}),n.term_query_array="",n.extensions.term_query&&(e="alm_get_terms",n.term_query_array={term_query:"true",taxonomy:n.extensions.term_query_taxonomy,hide_empty:n.extensions.term_query_hide_empty,number:n.extensions.term_query_number}),n.nextpage_array="",n.addons.nextpage&&(e="alm_nextpage",n.nextpage_array={nextpage:"true",urls:n.addons.nextpage_urls,scroll:n.addons.nextpage_scroll,pageviews:n.addons.nextpage_pageviews,post_id:n.addons.nextpage_post_id,startpage:n.addons.nextpage_startpage,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){1==t.page||t.addons.paging||t.button.classList.add("loading"),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.default)(t),a=""),t.addons.elementor&&t.addons.elementor_type&&"posts"===t.addons.elementor_type&&(o=(0,v.default)(t),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,L.createCacheFile)(t,r.html,"single")):t.addons.woocommerce?(r=(0,O.wooGetContent)(e,t),(0,L.createCacheFile)(t,r.html,"woocommerce")):t.addons.elementor?(r=(0,T.elementorGetContent)(e,t),(0,L.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,L=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,L,N,M)),n.addons.filters&&(X.setAttribute("class","alm-reveal"+F+n.tcc),X.dataset.url=n.canonical_url+(0,I.buildFilterURL)(n,L,M),X.dataset.page=M)):(n.addons.seo&&(X=(0,C.createSEOAttributes)(n,X,L,N,1)),n.addons.filters&&(X.setAttribute("class","alm-reveal"+F+R+n.tcc),X.dataset.url=n.canonical_url+(0,I.buildFilterURL)(n,L,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,L,N,M):n.addons.filters?(l.setAttribute("class","alm-reveal"+F+n.tcc),l.dataset.url=n.canonical_url+(0,I.buildFilterURL)(n,L,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,L,parseInt(n.page)+1),l.dataset.page=parseInt(n.page)+1):n.addons.seo?l=(0,C.createSEOAttributes)(n,l,L,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(){var r,o;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:r=n.page+2,n.button.dataset.page=r,o=n.addons.woocommerce_settings.paged_urls[r-1],n.button.dataset.url=o||"",n.AjaxLoadMore.transitionEnd(),"function"==typeof almComplete&&"masonry"!==n.transition&&window.almComplete(n),(0,E.default)(n),r>parseInt(n.addons.woocommerce_settings.pages)&&n.AjaxLoadMore.triggerDone();case 10:case"end":return t.stop()}}),t,this)})))().catch((function(t){console.log(t),console.log("There was an error loading woocommerce products")})),void(n.init=!1);if(n.addons.elementor)return k(regeneratorRuntime.mark((function t(){var r,o;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:r=n.page+1,n.button.dataset.page=r,o=n.addons.elementor_next_page_url,n.button.dataset.url=o||"",n.AjaxLoadMore.transitionEnd(),"function"==typeof almComplete&&"masonry"!==n.transition&&window.almComplete(n),(0,E.default)(n),o||n.AjaxLoadMore.triggerDone();case 10:case"end":return t.stop()}}),t,this)})))().catch((function(t){console.log(t),console.log("There was an error loading Elementor Post Widget items")})),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,E.default)(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,E.default)(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.disabled=!0),"function"==typeof almDone&&setTimeout((function(){window.almDone(n)}),n.speed+10)},n.AjaxLoadMore.resetBtnText=function(){!1===n.button_loading_label||n.addons.paging||(n.button.innerHTML=n.button_label)},n.AjaxLoadMore.error=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;n.loading=!1,n.addons.paging||(n.button.classList.remove("loading"),n.AjaxLoadMore.resetBtnText()),console.log("Error: ",t),t.response?console.log("Error Msg: ",t.message):t.request?console.log(t.request):console.log("Error Msg: ",t.message),e&&console.log("ALM Error started in "+e),t.config&&console.log("ALM Error Debug: ",t.config)},n.AjaxLoadMore.click=function(t){var e=t.target||t.currentTarget;"true"===n.pause&&(n.pause=!1,n.pause_override=!1,n.AjaxLoadMore.loadPosts()),n.loading||n.finished||e.classList.contains("done")||(n.loading=!0,n.page++,n.AjaxLoadMore.loadPosts()),e.blur()},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"),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(148),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(100)),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(147))},function(t,e,n){"use strict";var r=n(11),o=n(149),a=n(151),i=n(97),s=n(152),l=n(155),c=n(156),u=n(101);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(150);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(163),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(95),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(182)),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;!function p(){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,1==f&&(e[d].classList.add(l),e[d].dataset.url=s,e[d].dataset.page=n.page+1,e[d].dataset.pageTitle=a),o.next=4,(0,r.default)(t,e[d],n.ua);case 4:f++,d++,p();case 7:case"end":return o.stop()}}),o,this)})))().catch((function(t){console.log("There was an error loading the items")})):(setTimeout((function(){e.map((function(t){t.style.opacity=1})),e[0]&&(0,o.default)(n,e[0],null,!1)}),50),c(!0))}()}))}},function(t,e,n){t.exports=!n(8)&&!n(2)((function(){return 7!=Object.defineProperty(n(69)("div"),"a",{get:function(){return 7}}).a}))},function(t,e,n){var r=n(1),o=n(7),a=n(31),i=n(70),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(52)(!1),i=n(71)("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(53),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(118),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(75),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(75)+"-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(278);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(90);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(56)})},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(59),h=n(48),v=n(92).set,y=n(298)(),_=n(133),b=n(299),w=n(60),x=n(134),S=l.TypeError,A=l.process,j=A&&A.versions,P=j&&j.v8||"",E=l.Promise,M="process"==u(A),L=function(){},O=o=_.f,T=!!function(){try{var t=E.resolve(1),e=(t.constructor={})[n(5)("species")]=function(t){t(L,L)};return(M||"function"==typeof PromiseRejectionEvent)&&t.then(L)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||(E=function(t){g(this,E,"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)(E.prototype,{then:function(t,e){var n=O(h(this,E));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===E||t===i?new a(t):o(t)}),d(d.G+d.W+d.F*!T,{Promise:E}),n(39)(E,"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?E:this,t)}}),d(d.S+d.F*!(T&&n(55)((function(t){E.all(t).catch(L)}))),"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(133);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(59),c=n(81),u=n(129),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(59),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(53),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(77),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(94),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(96),a=n(143),i=n(102);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(99));l.Axios=a,l.create=function(t){return s(i(l.defaults,t))},l.Cancel=n(103),l.CancelToken=n(157),l.isCancel=n(98),l.all=function(t){return Promise.all(t)},l.spread=n(158),l.isAxiosError=n(159),t.exports=l,t.exports.default=l},function(t,e,n){"use strict";var r=n(11),o=n(97),a=n(144),i=n(145),s=n(102);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(146),a=n(98),i=n(99);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(101);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(153),o=n(154);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(103);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(64);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(106));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(65);(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.default=function(t){if(!t||!t.trigger)return!1;var e=t.trigger.querySelector("button"),n=e?e.dataset.url:"";return n||""}},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(104)),a=d(n(65)),i=d(n(66)),s=d(n(105)),l=n(64),c=n(108),u=d(n(49));function d(t){return t&&t.__esModule?t:{default:t}}var f=n(67)},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(68)),i=n(107);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)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(68));function a(t){return t&&t.__esModule?t:{default:t}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(t){if(t&&t.lazy_images){var e=t.el.getElementsByTagName("img");e&&Array.prototype.forEach.call(e,(function(t){t&&(t.dataset.src&&(t.src=t.dataset.src),t.dataset.srcset&&(t.srcset=t.dataset.srcset))}))}}},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(63),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){(function(t){if(!t)return 0;var e=document.querySelectorAll(t);return e?e.length:0})(t.addons.woocommerce_settings.container)>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 r=n.querySelector(t.addons.woocommerce_settings.products);r?(r.classList.add("alm-woocommerce"),r.dataset.url=t.addons.woocommerce_settings.paged_urls[t.addons.woocommerce_settings.paged-1],r.dataset.page=t.page,r.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"),t.addons.woocommerce_settings.paged>1&&function(t){if(t&&t.addons.woocommerce_settings.results_text){var e=document.querySelectorAll(t.addons.woocommerce_settings.results);if(e.length<1)return!1;var n=t.addons.woocommerce_settings.settings.previous_page_link,r=t.addons.woocommerce_settings.settings.previous_page_label,o=t.addons.woocommerce_settings.settings.previous_page_sep;e.forEach((function(t){n&&r&&(t.innerHTML=s(t,n,r,o))}))}}(t)}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 a=document.querySelector(e.addons.woocommerce_settings.container),s=t.querySelectorAll(e.addons.woocommerce_settings.products),l=e.addons.woocommerce_settings.paged_urls[e.page];a&&s&&l&&(s=Array.prototype.slice.call(s),i(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,o.default)(a,s,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.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:"WooCommerce Query"}};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),r=e.addons.woocommerce_settings.settings.previous_page_link,o=e.addons.woocommerce_settings.settings.previous_page_label,a=e.addons.woocommerce_settings.settings.previous_page_sep;e.addons.woocommerce_settings.results_text&&e.addons.woocommerce_settings.results_text.forEach((function(t){t.innerHTML=r&&o?s(n,r,o,a):n.innerHTML}))}}(r,e)}return n};var r=a(n(63)),o=a(n(109));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")}))}}function s(t,e,n,r){var o=" "+r+' <a href="'+e+'">'+n+"</a>";return t.innerHTML+o}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,o=n(66),a=(r=o)&&r.__esModule?r:{default:r};var i=n(67);e.default=function(t,e,n){return new Promise((function(r){i(e,(function(){e.style.transition="all 0.4s ease",t.appendChild(e),(0,a.default)(e,n),r(!0)}))}))}},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(){s(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),l=t.querySelectorAll("."+e.addons.elementor_item_class),c=e.addons.elementor_current_url;o&&l&&c?(l=Array.prototype.slice.call(l),i(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,a.default)(o,l,e,n,c,"alm-elementor");case 2:e.addons.elementor_masonry&&setTimeout((function(){s(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.elementorGetContent=function(t,e){var n={html:"",meta:{postcount:1,totalposts:e.localize.total_posts,debug:"Elementor Query"}};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,(c=i.querySelector(s))?l(c):"")}var i,s,c;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=l(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(109),a=(r=o)&&r.__esModule?r:{default:r};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")}))}}function s(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 l(t){return t&&t.querySelector("a.next")?t.querySelector("a.next").href:""}},function(t,e,n){n(185)},function(t,e,n){"use strict";n(186),n(329),n(331),n(334),n(336),n(338),n(340),n(342),n(344),n(346),n(348),n(350),n(352),n(356)},function(t,e,n){n(187),n(190),n(191),n(192),n(193),n(194),n(195),n(196),n(197),n(198),n(199),n(200),n(201),n(202),n(203),n(204),n(205),n(206),n(207),n(208),n(209),n(210),n(211),n(212),n(213),n(214),n(215),n(216),n(217),n(218),n(219),n(220),n(221),n(222),n(223),n(224),n(225),n(226),n(227),n(228),n(229),n(230),n(231),n(233),n(234),n(235),n(236),n(237),n(238),n(239),n(240),n(241),n(242),n(243),n(244),n(245),n(246),n(247),n(248),n(249),n(250),n(251),n(252),n(253),n(254),n(255),n(256),n(257),n(258),n(259),n(260),n(261),n(262),n(263),n(264),n(265),n(266),n(268),n(269),n(271),n(272),n(273),n(274),n(275),n(276),n(277),n(279),n(280),n(281),n(282),n(283),n(284),n(285),n(286),n(287),n(288),n(289),n(290),n(291),n(89),n(292),n(130),n(293),n(131),n(294),n(295),n(296),n(297),n(132),n(300),n(301),n(302),n(303),n(304),n(305),n(306),n(307),n(308),n(309),n(310),n(311),n(312),n(313),n(314),n(315),n(316),n(317),n(318),n(319),n(320),n(321),n(322),n(323),n(324),n(325),n(326),n(327),n(328),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(51),d=n(39),f=n(30),p=n(5),g=n(70),m=n(111),h=n(189),v=n(54),y=n(3),_=n(4),b=n(10),w=n(16),x=n(27),S=n(29),A=n(34),j=n(114),P=n(21),E=n(53),M=n(9),L=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&&!!E.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,E.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=L(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(){E.f(1)}));i(i.S+i.F*at,"Object",{getOwnPropertySymbols:function(t){return E.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(51)("native-function-to-string",Function.toString)},function(t,e,n){var r=n(32),o=n(53),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(113)})},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(114).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(115)})},function(t,e,n){var r=n(0);r(r.S,"Object",{is:n(116)})},function(t,e,n){var r=n(0);r(r.S,"Object",{setPrototypeOf:n(74).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(117)})},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(119);r(r.G+r.F*(parseInt!=o),{parseInt:o})},function(t,e,n){var r=n(0),o=n(120);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(76),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(121),i=n(77),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(121),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(122)})},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(122),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(120);r(r.S+r.F*(Number.parseFloat!=o),"Number",{parseFloat:o})},function(t,e,n){var r=n(0),o=n(119);r(r.S+r.F*(Number.parseInt!=o),"Number",{parseInt:o})},function(t,e,n){var r=n(0),o=n(123),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(78);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(79);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(232)})},function(t,e,n){var r=n(78),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(123)})},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(78)})},function(t,e,n){var r=n(0),o=n(79),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(79),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(80)(!0);n(81)(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(80)(!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(82),i="".endsWith;r(r.P+r.F*n(84)("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(82);r(r.P+r.F*n(84)("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(77)})},function(t,e,n){"use strict";var r=n(0),o=n(6),a=n(82),i="".startsWith;r(r.P+r.F*n(84)("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(267);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(270))},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(54)})},function(t,e,n){"use strict";var r=n(18),o=n(0),a=n(10),i=n(125),s=n(85),l=n(6),c=n(86),u=n(87);o(o.S+o.F*!n(55)((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(86);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(73),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(54),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(127);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(127);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(52)(!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(128)}),n(37)("copyWithin")},function(t,e,n){var r=n(0);r(r.P,"Array",{fill:n(88)}),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(76),a=n(9).f,i=n(35).f,s=n(83),l=n(56),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(131);var r=n(3),o=n(56),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(91),i=n(57);n(58)("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(91),l=n(57),c=Math.max,u=Math.min,d=Math.floor,f=/\$([$&`']|\d\d?|<[^>]*>)/g,p=/\$([$&`']|\d\d?)/g;n(58)("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=[],E=1;E<_.length;E++)P.push(void 0===(b=_[E])?b:String(b));var M=_.groups;if(p){var L=[A].concat(P,j,f);void 0!==M&&L.push(M);var O=String(e.apply(void 0,L))}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(116),a=n(57);n(58)("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(83),o=n(3),a=n(48),i=n(91),s=n(6),l=n(57),c=n(90),u=n(2),d=Math.min,f=[].push,p="length",g=!u((function(){RegExp(4294967295,"y")}));n(58)("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(92).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(135),o=n(38);t.exports=n(61)("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(135),o=n(38);t.exports=n(61)("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(115),c=n(136),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(61)("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(136),o=n(38);n(61)("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(62),a=n(93),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(62).ABV,{DataView:n(93).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(117),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(124)(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(138)})},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(74);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(330),t.exports=n(7).Array.includes},function(t,e,n){"use strict";var r=n(0),o=n(52)(!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(332),t.exports=n(7).Array.flatMap},function(t,e,n){"use strict";var r=n(0),o=n(333),a=n(10),i=n(6),s=n(19),l=n(126);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(54),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(335),t.exports=n(7).String.padStart},function(t,e,n){"use strict";var r=n(0),o=n(139),a=n(60),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(337),t.exports=n(7).String.padEnd},function(t,e,n){"use strict";var r=n(0),o=n(139),a=n(60),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(339),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(341),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(343),t.exports=n(70).f("asyncIterator")},function(t,e,n){n(111)("asyncIterator")},function(t,e,n){n(345),t.exports=n(7).Object.getOwnPropertyDescriptors},function(t,e,n){var r=n(0),o=n(138),a=n(16),i=n(21),s=n(86);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(347),t.exports=n(7).Object.values},function(t,e,n){var r=n(0),o=n(140)(!1);r(r.S,"Object",{values:function(t){return o(t)}})},function(t,e,n){n(349),t.exports=n(7).Object.entries},function(t,e,n){var r=n(0),o=n(140)(!0);r(r.S,"Object",{entries:function(t){return o(t)}})},function(t,e,n){"use strict";n(132),n(351),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(134);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(353),n(354),n(355),t.exports=n(7)},function(t,e,n){var r=n(1),o=n(0),a=n(60),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(92);r(r.G+r.B,{setImmediate:o.set,clearImmediate:o.clear})},function(t,e,n){for(var r=n(89),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(360),o=n(361),a=n(94);t.exports={formats:a,parse:o,stringify:r}},function(t,e,n){"use strict";var r=n(141),o=n(94),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 E=s(b)?"function"==typeof o?o(n,j):n:n+(p?"."+j:"["+j+"]");c(x,t(P,E,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(141),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)}}]);
|
core/functions.php
CHANGED
@@ -278,37 +278,37 @@ function alm_parse_tax_terms($terms){
|
|
278 |
* @since 2.5.0
|
279 |
* @return array
|
280 |
*/
|
281 |
-
function alm_get_meta_query($meta_key, $meta_value, $meta_compare, $meta_type){
|
282 |
|
283 |
if ( ! empty( $meta_key ) ) {
|
284 |
// do_shortcode fixes (shortcode was rendering as HTML when using < OR <==).
|
285 |
-
$meta_compare =
|
286 |
-
$meta_compare =
|
287 |
-
$meta_compare =
|
288 |
-
$meta_compare =
|
289 |
|
290 |
// Get optimized `meta_value` parameter.
|
291 |
-
$meta_values = alm_parse_meta_value($meta_value, $meta_compare);
|
292 |
|
293 |
// Unset `$meta_values` if empty.
|
294 |
if ( $meta_values === '' ) {
|
295 |
unset( $meta_values );
|
296 |
}
|
297 |
|
298 |
-
if(isset($meta_values)){
|
299 |
$return = array(
|
300 |
-
'key'
|
301 |
-
'value'
|
302 |
'compare' => $meta_compare,
|
303 |
-
'type'
|
304 |
);
|
305 |
|
306 |
-
}else{
|
307 |
// If $meta_values is empty, don't query for 'value'.
|
308 |
$return = array(
|
309 |
-
'key'
|
310 |
'compare' => $meta_compare,
|
311 |
-
'type'
|
312 |
);
|
313 |
|
314 |
}
|
@@ -365,9 +365,9 @@ function alm_get_canonical_url(){
|
|
365 |
// Date
|
366 |
if(is_date()){
|
367 |
// Is archive page
|
368 |
-
$archive_year
|
369 |
$archive_month = get_the_date('m');
|
370 |
-
$archive_day
|
371 |
if(is_year()){
|
372 |
$canonicalURL = get_year_link( $archive_year );
|
373 |
}
|
@@ -392,31 +392,31 @@ function alm_get_canonical_url(){
|
|
392 |
}
|
393 |
// Category
|
394 |
elseif(is_category()){
|
395 |
-
$cat_id
|
396 |
$canonicalURL = get_category_link($cat_id);
|
397 |
}
|
398 |
// Tag
|
399 |
elseif(is_tag()){
|
400 |
-
$tag_id
|
401 |
$canonicalURL = get_tag_link($tag_id);
|
402 |
}
|
403 |
// Author
|
404 |
elseif(is_author()){
|
405 |
-
$author_id
|
406 |
$canonicalURL = get_author_posts_url($author_id);
|
407 |
}
|
408 |
// Taxonomy
|
409 |
elseif(is_tax()){
|
410 |
$tax_term = get_term_by('slug', get_query_var('term'), get_query_var('taxonomy' ));
|
411 |
if($tax_term){
|
412 |
-
$tax_id
|
413 |
$canonicalURL = get_term_link($tax_id);
|
414 |
}
|
415 |
}
|
416 |
// Post Type
|
417 |
elseif(is_post_type_archive()){
|
418 |
$post_type_archive = get_post_type();
|
419 |
-
$canonicalURL
|
420 |
}
|
421 |
// Search
|
422 |
elseif(is_search()){
|
278 |
* @since 2.5.0
|
279 |
* @return array
|
280 |
*/
|
281 |
+
function alm_get_meta_query( $meta_key, $meta_value, $meta_compare, $meta_type ){
|
282 |
|
283 |
if ( ! empty( $meta_key ) ) {
|
284 |
// do_shortcode fixes (shortcode was rendering as HTML when using < OR <==).
|
285 |
+
$meta_compare = $meta_compare === 'lessthan' ? '<' : $meta_compare;
|
286 |
+
$meta_compare = $meta_compare === 'lessthanequalto' ? '<=' : $meta_compare;
|
287 |
+
$meta_compare = $meta_compare === 'greaterthan' ? '>' : $meta_compare;
|
288 |
+
$meta_compare = $meta_compare === 'greatthanequalto' ? '>=' : $meta_compare;
|
289 |
|
290 |
// Get optimized `meta_value` parameter.
|
291 |
+
$meta_values = alm_parse_meta_value( $meta_value, $meta_compare );
|
292 |
|
293 |
// Unset `$meta_values` if empty.
|
294 |
if ( $meta_values === '' ) {
|
295 |
unset( $meta_values );
|
296 |
}
|
297 |
|
298 |
+
if ( isset( $meta_values ) ) {
|
299 |
$return = array(
|
300 |
+
'key' => $meta_key,
|
301 |
+
'value' => $meta_values,
|
302 |
'compare' => $meta_compare,
|
303 |
+
'type' => $meta_type
|
304 |
);
|
305 |
|
306 |
+
} else {
|
307 |
// If $meta_values is empty, don't query for 'value'.
|
308 |
$return = array(
|
309 |
+
'key' => $meta_key,
|
310 |
'compare' => $meta_compare,
|
311 |
+
'type' => $meta_type
|
312 |
);
|
313 |
|
314 |
}
|
365 |
// Date
|
366 |
if(is_date()){
|
367 |
// Is archive page
|
368 |
+
$archive_year = get_the_date('Y');
|
369 |
$archive_month = get_the_date('m');
|
370 |
+
$archive_day = get_the_date('d');
|
371 |
if(is_year()){
|
372 |
$canonicalURL = get_year_link( $archive_year );
|
373 |
}
|
392 |
}
|
393 |
// Category
|
394 |
elseif(is_category()){
|
395 |
+
$cat_id = get_query_var( 'cat' );
|
396 |
$canonicalURL = get_category_link($cat_id);
|
397 |
}
|
398 |
// Tag
|
399 |
elseif(is_tag()){
|
400 |
+
$tag_id = get_query_var('tag_id');
|
401 |
$canonicalURL = get_tag_link($tag_id);
|
402 |
}
|
403 |
// Author
|
404 |
elseif(is_author()){
|
405 |
+
$author_id = get_the_author_meta('ID');
|
406 |
$canonicalURL = get_author_posts_url($author_id);
|
407 |
}
|
408 |
// Taxonomy
|
409 |
elseif(is_tax()){
|
410 |
$tax_term = get_term_by('slug', get_query_var('term'), get_query_var('taxonomy' ));
|
411 |
if($tax_term){
|
412 |
+
$tax_id = $tax_term->term_id;
|
413 |
$canonicalURL = get_term_link($tax_id);
|
414 |
}
|
415 |
}
|
416 |
// Post Type
|
417 |
elseif(is_post_type_archive()){
|
418 |
$post_type_archive = get_post_type();
|
419 |
+
$canonicalURL = get_post_type_archive_link($post_type_archive);
|
420 |
}
|
421 |
// Search
|
422 |
elseif(is_search()){
|
core/functions/addons.php
CHANGED
@@ -230,7 +230,7 @@ function alm_get_addons(){
|
|
230 |
),
|
231 |
array(
|
232 |
'name' => __(' Theme Repeaters', 'ajax-load-more' ),
|
233 |
-
'intro' => __(' Manage
|
234 |
'desc' => __(' The Theme Repeater add-on will allow you load, edit and maintain templates from your current theme directory.', 'ajax-load-more' ),
|
235 |
'action' => 'alm_theme_repeaters_installed',
|
236 |
'key' => 'alm_theme_repeaters_license_key',
|
230 |
),
|
231 |
array(
|
232 |
'name' => __(' Theme Repeaters', 'ajax-load-more' ),
|
233 |
+
'intro' => __(' Manage Repeater Templates within your current theme directory.', 'ajax-load-more' ),
|
234 |
'desc' => __(' The Theme Repeater add-on will allow you load, edit and maintain templates from your current theme directory.', 'ajax-load-more' ),
|
235 |
'action' => 'alm_theme_repeaters_installed',
|
236 |
'key' => 'alm_theme_repeaters_license_key',
|
core/src/js/addons/seo.js
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
* createMasonrySEOPage
|
3 |
* Create data attributes for SEO paged results
|
4 |
*
|
5 |
-
* @param {
|
6 |
-
* @param {
|
7 |
* @since 5.3.1
|
8 |
*/
|
9 |
export function createMasonrySEOPage(alm, element) {
|
@@ -24,8 +24,8 @@ export function createMasonrySEOPage(alm, element) {
|
|
24 |
* createMasonrySEOPages
|
25 |
* Create data attributes for SEO - used when /page/2/, /page/3/ etc are hit on page load
|
26 |
*
|
27 |
-
* @param {
|
28 |
-
* @param {
|
29 |
* @since 5.3.1
|
30 |
*/
|
31 |
export function createMasonrySEOPages(alm, elements) {
|
@@ -53,30 +53,27 @@ export function createMasonrySEOPages(alm, elements) {
|
|
53 |
let target = k > 0 ? k * posts_per_page : 0;
|
54 |
pagenum = k + 1;
|
55 |
if (elements[target]) {
|
56 |
-
elements[target] = masonrySEOAtts(
|
57 |
-
alm,
|
58 |
-
elements[target],
|
59 |
-
querystring,
|
60 |
-
seo_class,
|
61 |
-
pagenum
|
62 |
-
);
|
63 |
}
|
64 |
}
|
65 |
} else {
|
66 |
pagenum = page;
|
67 |
-
elements[0] = masonrySEOAtts(
|
68 |
-
alm,
|
69 |
-
elements[0],
|
70 |
-
querystring,
|
71 |
-
seo_class,
|
72 |
-
pagenum
|
73 |
-
);
|
74 |
}
|
75 |
|
76 |
return elements;
|
77 |
}
|
78 |
|
79 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
80 |
function masonrySEOAtts(alm, element, querystring, seo_class, pagenum) {
|
81 |
element.classList.add(seo_class);
|
82 |
element.dataset.page = pagenum;
|
@@ -84,21 +81,14 @@ function masonrySEOAtts(alm, element, querystring, seo_class, pagenum) {
|
|
84 |
if (alm.addons.seo_permalink === 'default') {
|
85 |
// Default Permalinks
|
86 |
if (pagenum > 1) {
|
87 |
-
element.dataset.url =
|
88 |
-
alm.canonical_url + querystring + '&paged=' + pagenum;
|
89 |
} else {
|
90 |
element.dataset.url = alm.canonical_url + querystring;
|
91 |
}
|
92 |
} else {
|
93 |
// Pretty Permalinks
|
94 |
if (pagenum > 1) {
|
95 |
-
element.dataset.url =
|
96 |
-
alm.canonical_url +
|
97 |
-
alm.addons.seo_leading_slash +
|
98 |
-
'page/' +
|
99 |
-
pagenum +
|
100 |
-
alm.addons.seo_trailing_slash +
|
101 |
-
querystring;
|
102 |
} else {
|
103 |
element.dataset.url = alm.canonical_url + querystring;
|
104 |
}
|
@@ -108,40 +98,25 @@ function masonrySEOAtts(alm, element, querystring, seo_class, pagenum) {
|
|
108 |
}
|
109 |
|
110 |
/**
|
111 |
-
*
|
112 |
-
*
|
|
|
|
|
113 |
*
|
114 |
-
* @param {Object} alm
|
115 |
-
* @param {Array} elements
|
116 |
-
* ...
|
117 |
* @since 5.3.1
|
118 |
*/
|
119 |
-
export function createSEOAttributes(
|
120 |
-
alm,
|
121 |
-
element,
|
122 |
-
querystring,
|
123 |
-
seo_class,
|
124 |
-
pagenum
|
125 |
-
) {
|
126 |
element.setAttribute('class', 'alm-reveal' + seo_class + alm.tcc);
|
127 |
element.dataset.page = pagenum;
|
128 |
|
129 |
if (alm.addons.seo_permalink === 'default') {
|
130 |
// Default Permalinks
|
131 |
-
element.dataset.url =
|
132 |
-
pagenum > 1
|
133 |
-
? alm.canonical_url + querystring + '&paged=' + pagenum
|
134 |
-
: alm.canonical_url + querystring;
|
135 |
} else {
|
136 |
// Pretty Permalinks
|
137 |
element.dataset.url =
|
138 |
pagenum > 1
|
139 |
-
? alm.canonical_url +
|
140 |
-
alm.addons.seo_leading_slash +
|
141 |
-
'page/' +
|
142 |
-
pagenum +
|
143 |
-
alm.addons.seo_trailing_slash +
|
144 |
-
querystring
|
145 |
: alm.canonical_url + querystring;
|
146 |
}
|
147 |
|
2 |
* createMasonrySEOPage
|
3 |
* Create data attributes for SEO paged results
|
4 |
*
|
5 |
+
* @param {object} alm
|
6 |
+
* @param {array} elements
|
7 |
* @since 5.3.1
|
8 |
*/
|
9 |
export function createMasonrySEOPage(alm, element) {
|
24 |
* createMasonrySEOPages
|
25 |
* Create data attributes for SEO - used when /page/2/, /page/3/ etc are hit on page load
|
26 |
*
|
27 |
+
* @param {object} alm
|
28 |
+
* @param {array} elements
|
29 |
* @since 5.3.1
|
30 |
*/
|
31 |
export function createMasonrySEOPages(alm, elements) {
|
53 |
let target = k > 0 ? k * posts_per_page : 0;
|
54 |
pagenum = k + 1;
|
55 |
if (elements[target]) {
|
56 |
+
elements[target] = masonrySEOAtts(alm, elements[target], querystring, seo_class, pagenum);
|
|
|
|
|
|
|
|
|
|
|
|
|
57 |
}
|
58 |
}
|
59 |
} else {
|
60 |
pagenum = page;
|
61 |
+
elements[0] = masonrySEOAtts(alm, elements[0], querystring, seo_class, pagenum);
|
|
|
|
|
|
|
|
|
|
|
|
|
62 |
}
|
63 |
|
64 |
return elements;
|
65 |
}
|
66 |
|
67 |
+
/**
|
68 |
+
* Create the attributes (page, url, classes) for the masonry items.
|
69 |
+
*
|
70 |
+
* @param {object} alm
|
71 |
+
* @param {object} element
|
72 |
+
* @param {string} querystring
|
73 |
+
* @param {string} seo_class
|
74 |
+
* @param {int} pagenum
|
75 |
+
* @returns
|
76 |
+
*/
|
77 |
function masonrySEOAtts(alm, element, querystring, seo_class, pagenum) {
|
78 |
element.classList.add(seo_class);
|
79 |
element.dataset.page = pagenum;
|
81 |
if (alm.addons.seo_permalink === 'default') {
|
82 |
// Default Permalinks
|
83 |
if (pagenum > 1) {
|
84 |
+
element.dataset.url = alm.canonical_url + querystring + '&paged=' + pagenum;
|
|
|
85 |
} else {
|
86 |
element.dataset.url = alm.canonical_url + querystring;
|
87 |
}
|
88 |
} else {
|
89 |
// Pretty Permalinks
|
90 |
if (pagenum > 1) {
|
91 |
+
element.dataset.url = alm.canonical_url + alm.addons.seo_leading_slash + 'page/' + pagenum + alm.addons.seo_trailing_slash + querystring;
|
|
|
|
|
|
|
|
|
|
|
|
|
92 |
} else {
|
93 |
element.dataset.url = alm.canonical_url + querystring;
|
94 |
}
|
98 |
}
|
99 |
|
100 |
/**
|
101 |
+
* Create data attributes for SEO - used when /page/2/, /page/3/ etc are hit on page load.
|
102 |
+
*
|
103 |
+
* @param {object} alm
|
104 |
+
* @param {array} elements
|
105 |
*
|
|
|
|
|
|
|
106 |
* @since 5.3.1
|
107 |
*/
|
108 |
+
export function createSEOAttributes(alm, element, querystring, seo_class, pagenum) {
|
|
|
|
|
|
|
|
|
|
|
|
|
109 |
element.setAttribute('class', 'alm-reveal' + seo_class + alm.tcc);
|
110 |
element.dataset.page = pagenum;
|
111 |
|
112 |
if (alm.addons.seo_permalink === 'default') {
|
113 |
// Default Permalinks
|
114 |
+
element.dataset.url = pagenum > 1 ? alm.canonical_url + querystring + '&paged=' + pagenum : alm.canonical_url + querystring;
|
|
|
|
|
|
|
115 |
} else {
|
116 |
// Pretty Permalinks
|
117 |
element.dataset.url =
|
118 |
pagenum > 1
|
119 |
+
? alm.canonical_url + alm.addons.seo_leading_slash + 'page/' + pagenum + alm.addons.seo_trailing_slash + querystring
|
|
|
|
|
|
|
|
|
|
|
120 |
: alm.canonical_url + querystring;
|
121 |
}
|
122 |
|
core/src/js/ajax-load-more.js
CHANGED
@@ -35,7 +35,7 @@ import setLocalizedVars from './modules/setLocalizedVars';
|
|
35 |
import insertScript from './modules/insertScript';
|
36 |
import setFocus from './modules/setFocus';
|
37 |
import getButtonURL from './modules/getButtonURL';
|
38 |
-
import almMasonry from './modules/masonry';
|
39 |
import almFadeIn from './modules/fadeIn';
|
40 |
import almFadeOut from './modules/fadeOut';
|
41 |
import almFilter from './modules/filtering';
|
@@ -44,6 +44,7 @@ import almDebug from './modules/almDebug';
|
|
44 |
import getScrollPercentage from './modules/getScrollPercentage';
|
45 |
import srcsetPolyfill from './helpers/srcsetPolyfill';
|
46 |
import { showPlaceholder, hidePlaceholder } from './modules/placeholder';
|
|
|
47 |
import { singlePostHTML } from './addons/singleposts';
|
48 |
import { createCacheFile } from './addons/cache';
|
49 |
import { wooInit, woocommerce, wooGetContent, wooReset } from './addons/woocommerce';
|
@@ -155,6 +156,7 @@ let alm_is_filtering = false;
|
|
155 |
alm.orginal_posts_per_page = parseInt(alm.listing.dataset.postsPerPage); // Used for paging add-on
|
156 |
alm.posts_per_page = alm.listing.dataset.postsPerPage;
|
157 |
alm.offset = alm.listing.dataset.offset ? parseInt(alm.listing.dataset.offset) : 0;
|
|
|
158 |
alm.integration.woocommerce = alm.listing.dataset.woocommerce ? alm.listing.dataset.woocommerce : false;
|
159 |
alm.integration.woocommerce = alm.integration.woocommerce === 'true' ? true : false;
|
160 |
alm.is_search = alm.is_search === undefined ? false : alm.is_search;
|
@@ -241,9 +243,7 @@ let alm_is_filtering = false;
|
|
241 |
}
|
242 |
|
243 |
alm.addons.tabs = alm.listing.dataset.tabs;
|
244 |
-
|
245 |
alm.addons.filters = alm.listing.dataset.filters;
|
246 |
-
|
247 |
alm.addons.seo = alm.listing.dataset.seo;
|
248 |
|
249 |
// Preloaded
|
@@ -260,6 +260,8 @@ let alm_is_filtering = false;
|
|
260 |
}
|
261 |
|
262 |
// Extension Shortcode Params
|
|
|
|
|
263 |
alm.extensions.restapi = alm.listing.dataset.restapi; // REST API
|
264 |
alm.extensions.restapi_base_url = alm.listing.dataset.restapiBaseUrl;
|
265 |
alm.extensions.restapi_namespace = alm.listing.dataset.restapiNamespace;
|
@@ -267,7 +269,8 @@ let alm_is_filtering = false;
|
|
267 |
alm.extensions.restapi_template_id = alm.listing.dataset.restapiTemplateId;
|
268 |
alm.extensions.restapi_debug = alm.listing.dataset.restapiDebug;
|
269 |
|
270 |
-
|
|
|
271 |
alm.extensions.acf_field_type = alm.listing.dataset.acfFieldType;
|
272 |
alm.extensions.acf_field_name = alm.listing.dataset.acfFieldName;
|
273 |
alm.extensions.acf_parent_field_name = alm.listing.dataset.acfParentFieldName;
|
@@ -278,14 +281,14 @@ let alm_is_filtering = false;
|
|
278 |
alm.extensions.acf = false;
|
279 |
}
|
280 |
|
281 |
-
// Term Query
|
282 |
alm.extensions.term_query = alm.listing.dataset.termQuery; // TERM QUERY
|
283 |
alm.extensions.term_query_taxonomy = alm.listing.dataset.termQueryTaxonomy;
|
284 |
alm.extensions.term_query_hide_empty = alm.listing.dataset.termQueryHideEmpty;
|
285 |
alm.extensions.term_query_number = alm.listing.dataset.termQueryNumber;
|
286 |
alm.extensions.term_query = alm.extensions.term_query === 'true' ? true : false;
|
287 |
|
288 |
-
// Paging
|
289 |
alm.addons.paging = alm.listing.dataset.paging; // Paging add-on
|
290 |
if (alm.addons.paging === 'true') {
|
291 |
alm.addons.paging = true;
|
@@ -308,13 +311,12 @@ let alm_is_filtering = false;
|
|
308 |
} else {
|
309 |
alm.addons.paging = false;
|
310 |
}
|
311 |
-
/* End Paging */
|
312 |
|
313 |
-
|
314 |
if (alm.addons.filters === 'true') {
|
315 |
alm.addons.filters = true;
|
316 |
-
|
317 |
alm.addons.filters_url = alm.listing.dataset.filtersUrl === 'true' ? true : false;
|
|
|
318 |
alm.addons.filters_paging = alm.listing.dataset.filtersPaging === 'true' ? true : false;
|
319 |
alm.addons.filters_scroll = alm.listing.dataset.filtersScroll === 'true' ? true : false;
|
320 |
alm.addons.filters_scrolltop = alm.listing.dataset.filtersScrolltop ? alm.listing.dataset.filtersScrolltop : '30';
|
@@ -322,6 +324,11 @@ let alm_is_filtering = false;
|
|
322 |
alm.addons.filters_debug = alm.listing.dataset.filtersDebug;
|
323 |
alm.addons.filters_startpage = 0;
|
324 |
|
|
|
|
|
|
|
|
|
|
|
325 |
// Get Paged Querystring Val
|
326 |
let page = getParameterByName('pg');
|
327 |
alm.addons.filters_startpage = page !== null ? parseInt(page) : 0;
|
@@ -334,9 +341,8 @@ let alm_is_filtering = false;
|
|
334 |
} else {
|
335 |
alm.addons.filters = false;
|
336 |
}
|
337 |
-
/* End Filters */
|
338 |
|
339 |
-
|
340 |
if (alm.addons.tabs === 'true') {
|
341 |
alm.addons.tabs = true;
|
342 |
alm.addons.tab_template = alm.listing.dataset.tabTemplate ? alm.listing.dataset.tabTemplate : '';
|
@@ -359,7 +365,7 @@ let alm_is_filtering = false;
|
|
359 |
} else {
|
360 |
alm.addons.tabs = false;
|
361 |
}
|
362 |
-
/* End
|
363 |
|
364 |
/* REST API */
|
365 |
if (alm.extensions.restapi === 'true') {
|
@@ -492,7 +498,7 @@ let alm_is_filtering = false;
|
|
492 |
alm.theme_repeater = alm.theme_repeater === undefined ? false : alm.theme_repeater;
|
493 |
|
494 |
/* Max Pages (while scrolling) */
|
495 |
-
alm.max_pages = alm.max_pages === undefined || alm.max_pages === 0 ?
|
496 |
|
497 |
/* Scroll Distance */
|
498 |
alm.scroll_distance = alm.scroll_distance === undefined ? 100 : alm.scroll_distance;
|
@@ -520,23 +526,8 @@ let alm_is_filtering = false;
|
|
520 |
alm.tcc = alm.tcc === undefined ? '' : alm.tcc;
|
521 |
|
522 |
/* Masonry */
|
523 |
-
alm.is_masonry_preloaded = false;
|
524 |
if (alm.transition === 'masonry') {
|
525 |
-
alm
|
526 |
-
if (alm.msnry) {
|
527 |
-
alm.msnry.destroy(); // destroy masonry if it currently exists
|
528 |
-
} else {
|
529 |
-
alm.msnry = '';
|
530 |
-
}
|
531 |
-
alm.masonry_selector = alm.listing.dataset.masonrySelector;
|
532 |
-
alm.masonry_columnwidth = alm.listing.dataset.masonryColumnwidth;
|
533 |
-
alm.masonry_animation = alm.listing.dataset.masonryAnimation;
|
534 |
-
alm.masonry_animation = alm.masonry_animation === undefined ? 'standard' : alm.masonry_animation;
|
535 |
-
alm.masonry_horizontalorder = alm.listing.dataset.masonryHorizontalorder;
|
536 |
-
alm.masonry_horizontalorder = alm.masonry_horizontalorder === undefined ? 'true' : alm.masonry_horizontalorder;
|
537 |
-
alm.transition_container = false;
|
538 |
-
alm.images_loaded = false;
|
539 |
-
alm.is_masonry_preloaded = alm.addons.preloaded === 'true' ? true : alm.is_masonry_preloaded;
|
540 |
}
|
541 |
|
542 |
/* Scroll */
|
@@ -1038,9 +1029,9 @@ let alm_is_filtering = false;
|
|
1038 |
// Standard ALM query results
|
1039 |
html = data.html;
|
1040 |
meta = data.meta;
|
1041 |
-
total = meta
|
1042 |
|
1043 |
-
let totalposts = meta
|
1044 |
alm.totalposts = alm.addons.preloaded === 'true' ? totalposts - alm.addons.preloaded_amount : totalposts;
|
1045 |
alm.posts = alm.addons.paging ? total : alm.posts + total;
|
1046 |
alm.debug = meta.debug ? meta.debug : '';
|
@@ -1149,12 +1140,10 @@ let alm_is_filtering = false;
|
|
1149 |
} else {
|
1150 |
if (!alm.transition_container) {
|
1151 |
// No transition container
|
1152 |
-
|
1153 |
alm.el = alm.html;
|
1154 |
reveal = alm.container_type === 'table' ? tableWrap(alm.html) : stripEmptyNodes(almDomParser(alm.html, 'text/html'));
|
1155 |
} else {
|
1156 |
// Standard container
|
1157 |
-
|
1158 |
let pagenum;
|
1159 |
let querystring = window.location.search;
|
1160 |
let seo_class = alm.addons.seo ? ' alm-seo' : '';
|
@@ -1299,6 +1288,8 @@ let alm_is_filtering = false;
|
|
1299 |
window.almComplete(alm);
|
1300 |
}
|
1301 |
|
|
|
|
|
1302 |
// ALM Done
|
1303 |
if (nextPageNum > parseInt(alm.addons.woocommerce_settings.pages)) {
|
1304 |
alm.AjaxLoadMore.triggerDone();
|
@@ -1332,6 +1323,8 @@ let alm_is_filtering = false;
|
|
1332 |
window.almComplete(alm);
|
1333 |
}
|
1334 |
|
|
|
|
|
1335 |
// ALM Done
|
1336 |
if (!nextPage) {
|
1337 |
alm.AjaxLoadMore.triggerDone();
|
@@ -1348,7 +1341,7 @@ let alm_is_filtering = false;
|
|
1348 |
|
1349 |
// Append `reveal` div to ALM Listing container
|
1350 |
// Do not append when transtion == masonry OR init and !preloaded
|
1351 |
-
if (alm.transition !== 'masonry' || (alm.init &&
|
1352 |
if (!isPaged) {
|
1353 |
if (!alm.transition_container) {
|
1354 |
// No transition container.
|
@@ -1383,13 +1376,16 @@ let alm_is_filtering = false;
|
|
1383 |
// Wrap almMasonry in anonymous async/await function
|
1384 |
(async function () {
|
1385 |
await almMasonry(alm, alm.init, alm_is_filtering);
|
1386 |
-
alm.
|
1387 |
|
1388 |
alm.AjaxLoadMore.triggerWindowResize();
|
1389 |
alm.AjaxLoadMore.transitionEnd();
|
|
|
1390 |
if (typeof almComplete === 'function') {
|
1391 |
window.almComplete(alm);
|
1392 |
}
|
|
|
|
|
1393 |
})().catch((e) => {
|
1394 |
console.log('There was an error with ALM Masonry');
|
1395 |
});
|
@@ -1488,6 +1484,8 @@ let alm_is_filtering = false;
|
|
1488 |
window.almComplete(alm);
|
1489 |
}
|
1490 |
|
|
|
|
|
1491 |
// Filters Add-on Complete
|
1492 |
if (alm_is_filtering && alm.addons.filters) {
|
1493 |
if (typeof almFiltersAddonComplete === 'function') {
|
@@ -2285,11 +2283,11 @@ let alm_is_filtering = false;
|
|
2285 |
|
2286 |
// Window Load (Masonry + Preloaded).
|
2287 |
alm.window.addEventListener('load', function () {
|
2288 |
-
if (alm.
|
2289 |
// Wrap almMasonry in anonymous async/await function
|
2290 |
(async function () {
|
2291 |
await almMasonry(alm, true, false);
|
2292 |
-
alm.
|
2293 |
})().catch((e) => {
|
2294 |
console.log('There was an error with ALM Masonry');
|
2295 |
});
|
35 |
import insertScript from './modules/insertScript';
|
36 |
import setFocus from './modules/setFocus';
|
37 |
import getButtonURL from './modules/getButtonURL';
|
38 |
+
import { almMasonryConfig, almMasonry } from './modules/masonry';
|
39 |
import almFadeIn from './modules/fadeIn';
|
40 |
import almFadeOut from './modules/fadeOut';
|
41 |
import almFilter from './modules/filtering';
|
44 |
import getScrollPercentage from './modules/getScrollPercentage';
|
45 |
import srcsetPolyfill from './helpers/srcsetPolyfill';
|
46 |
import { showPlaceholder, hidePlaceholder } from './modules/placeholder';
|
47 |
+
import lazyImages from './modules/lazyImages';
|
48 |
import { singlePostHTML } from './addons/singleposts';
|
49 |
import { createCacheFile } from './addons/cache';
|
50 |
import { wooInit, woocommerce, wooGetContent, wooReset } from './addons/woocommerce';
|
156 |
alm.orginal_posts_per_page = parseInt(alm.listing.dataset.postsPerPage); // Used for paging add-on
|
157 |
alm.posts_per_page = alm.listing.dataset.postsPerPage;
|
158 |
alm.offset = alm.listing.dataset.offset ? parseInt(alm.listing.dataset.offset) : 0;
|
159 |
+
alm.lazy_images = alm.listing.dataset.lazyImages ? alm.listing.dataset.lazyImages : false;
|
160 |
alm.integration.woocommerce = alm.listing.dataset.woocommerce ? alm.listing.dataset.woocommerce : false;
|
161 |
alm.integration.woocommerce = alm.integration.woocommerce === 'true' ? true : false;
|
162 |
alm.is_search = alm.is_search === undefined ? false : alm.is_search;
|
243 |
}
|
244 |
|
245 |
alm.addons.tabs = alm.listing.dataset.tabs;
|
|
|
246 |
alm.addons.filters = alm.listing.dataset.filters;
|
|
|
247 |
alm.addons.seo = alm.listing.dataset.seo;
|
248 |
|
249 |
// Preloaded
|
260 |
}
|
261 |
|
262 |
// Extension Shortcode Params
|
263 |
+
|
264 |
+
// REST API.
|
265 |
alm.extensions.restapi = alm.listing.dataset.restapi; // REST API
|
266 |
alm.extensions.restapi_base_url = alm.listing.dataset.restapiBaseUrl;
|
267 |
alm.extensions.restapi_namespace = alm.listing.dataset.restapiNamespace;
|
269 |
alm.extensions.restapi_template_id = alm.listing.dataset.restapiTemplateId;
|
270 |
alm.extensions.restapi_debug = alm.listing.dataset.restapiDebug;
|
271 |
|
272 |
+
// ACF.
|
273 |
+
alm.extensions.acf = alm.listing.dataset.acf;
|
274 |
alm.extensions.acf_field_type = alm.listing.dataset.acfFieldType;
|
275 |
alm.extensions.acf_field_name = alm.listing.dataset.acfFieldName;
|
276 |
alm.extensions.acf_parent_field_name = alm.listing.dataset.acfParentFieldName;
|
281 |
alm.extensions.acf = false;
|
282 |
}
|
283 |
|
284 |
+
// Term Query.
|
285 |
alm.extensions.term_query = alm.listing.dataset.termQuery; // TERM QUERY
|
286 |
alm.extensions.term_query_taxonomy = alm.listing.dataset.termQueryTaxonomy;
|
287 |
alm.extensions.term_query_hide_empty = alm.listing.dataset.termQueryHideEmpty;
|
288 |
alm.extensions.term_query_number = alm.listing.dataset.termQueryNumber;
|
289 |
alm.extensions.term_query = alm.extensions.term_query === 'true' ? true : false;
|
290 |
|
291 |
+
// Paging.
|
292 |
alm.addons.paging = alm.listing.dataset.paging; // Paging add-on
|
293 |
if (alm.addons.paging === 'true') {
|
294 |
alm.addons.paging = true;
|
311 |
} else {
|
312 |
alm.addons.paging = false;
|
313 |
}
|
|
|
314 |
|
315 |
+
// Filters
|
316 |
if (alm.addons.filters === 'true') {
|
317 |
alm.addons.filters = true;
|
|
|
318 |
alm.addons.filters_url = alm.listing.dataset.filtersUrl === 'true' ? true : false;
|
319 |
+
alm.addons.filters_target = alm.listing.dataset.filtersTarget ? alm.listing.dataset.filtersTarget : false;
|
320 |
alm.addons.filters_paging = alm.listing.dataset.filtersPaging === 'true' ? true : false;
|
321 |
alm.addons.filters_scroll = alm.listing.dataset.filtersScroll === 'true' ? true : false;
|
322 |
alm.addons.filters_scrolltop = alm.listing.dataset.filtersScrolltop ? alm.listing.dataset.filtersScrolltop : '30';
|
324 |
alm.addons.filters_debug = alm.listing.dataset.filtersDebug;
|
325 |
alm.addons.filters_startpage = 0;
|
326 |
|
327 |
+
// Display warning if `filters_target` parameter is missing.
|
328 |
+
if (!alm.addons.filters_target) {
|
329 |
+
console.warn('Ajax Load More: Unable to locate target for Filters. Make sure you set a filters_target in core Ajax Load More.');
|
330 |
+
}
|
331 |
+
|
332 |
// Get Paged Querystring Val
|
333 |
let page = getParameterByName('pg');
|
334 |
alm.addons.filters_startpage = page !== null ? parseInt(page) : 0;
|
341 |
} else {
|
342 |
alm.addons.filters = false;
|
343 |
}
|
|
|
344 |
|
345 |
+
// Tabs.
|
346 |
if (alm.addons.tabs === 'true') {
|
347 |
alm.addons.tabs = true;
|
348 |
alm.addons.tab_template = alm.listing.dataset.tabTemplate ? alm.listing.dataset.tabTemplate : '';
|
365 |
} else {
|
366 |
alm.addons.tabs = false;
|
367 |
}
|
368 |
+
/* End Tabs */
|
369 |
|
370 |
/* REST API */
|
371 |
if (alm.extensions.restapi === 'true') {
|
498 |
alm.theme_repeater = alm.theme_repeater === undefined ? false : alm.theme_repeater;
|
499 |
|
500 |
/* Max Pages (while scrolling) */
|
501 |
+
alm.max_pages = alm.max_pages === undefined || alm.max_pages === 0 ? 9999 : alm.max_pages;
|
502 |
|
503 |
/* Scroll Distance */
|
504 |
alm.scroll_distance = alm.scroll_distance === undefined ? 100 : alm.scroll_distance;
|
526 |
alm.tcc = alm.tcc === undefined ? '' : alm.tcc;
|
527 |
|
528 |
/* Masonry */
|
|
|
529 |
if (alm.transition === 'masonry') {
|
530 |
+
alm = almMasonryConfig(alm);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
531 |
}
|
532 |
|
533 |
/* Scroll */
|
1029 |
// Standard ALM query results
|
1030 |
html = data.html;
|
1031 |
meta = data.meta;
|
1032 |
+
total = meta ? parseInt(meta.postcount) : parseInt(alm.posts_per_page);
|
1033 |
|
1034 |
+
let totalposts = typeof meta !== 'undefined' ? meta.totalposts : alm.posts_per_page * 5;
|
1035 |
alm.totalposts = alm.addons.preloaded === 'true' ? totalposts - alm.addons.preloaded_amount : totalposts;
|
1036 |
alm.posts = alm.addons.paging ? total : alm.posts + total;
|
1037 |
alm.debug = meta.debug ? meta.debug : '';
|
1140 |
} else {
|
1141 |
if (!alm.transition_container) {
|
1142 |
// No transition container
|
|
|
1143 |
alm.el = alm.html;
|
1144 |
reveal = alm.container_type === 'table' ? tableWrap(alm.html) : stripEmptyNodes(almDomParser(alm.html, 'text/html'));
|
1145 |
} else {
|
1146 |
// Standard container
|
|
|
1147 |
let pagenum;
|
1148 |
let querystring = window.location.search;
|
1149 |
let seo_class = alm.addons.seo ? ' alm-seo' : '';
|
1288 |
window.almComplete(alm);
|
1289 |
}
|
1290 |
|
1291 |
+
lazyImages(alm);
|
1292 |
+
|
1293 |
// ALM Done
|
1294 |
if (nextPageNum > parseInt(alm.addons.woocommerce_settings.pages)) {
|
1295 |
alm.AjaxLoadMore.triggerDone();
|
1323 |
window.almComplete(alm);
|
1324 |
}
|
1325 |
|
1326 |
+
lazyImages(alm);
|
1327 |
+
|
1328 |
// ALM Done
|
1329 |
if (!nextPage) {
|
1330 |
alm.AjaxLoadMore.triggerDone();
|
1341 |
|
1342 |
// Append `reveal` div to ALM Listing container
|
1343 |
// Do not append when transtion == masonry OR init and !preloaded
|
1344 |
+
if (alm.transition !== 'masonry' || (alm.init && alm.addons.preloaded !== 'true')) {
|
1345 |
if (!isPaged) {
|
1346 |
if (!alm.transition_container) {
|
1347 |
// No transition container.
|
1376 |
// Wrap almMasonry in anonymous async/await function
|
1377 |
(async function () {
|
1378 |
await almMasonry(alm, alm.init, alm_is_filtering);
|
1379 |
+
alm.masonry.init = false;
|
1380 |
|
1381 |
alm.AjaxLoadMore.triggerWindowResize();
|
1382 |
alm.AjaxLoadMore.transitionEnd();
|
1383 |
+
|
1384 |
if (typeof almComplete === 'function') {
|
1385 |
window.almComplete(alm);
|
1386 |
}
|
1387 |
+
|
1388 |
+
lazyImages(alm);
|
1389 |
})().catch((e) => {
|
1390 |
console.log('There was an error with ALM Masonry');
|
1391 |
});
|
1484 |
window.almComplete(alm);
|
1485 |
}
|
1486 |
|
1487 |
+
lazyImages(alm);
|
1488 |
+
|
1489 |
// Filters Add-on Complete
|
1490 |
if (alm_is_filtering && alm.addons.filters) {
|
1491 |
if (typeof almFiltersAddonComplete === 'function') {
|
2283 |
|
2284 |
// Window Load (Masonry + Preloaded).
|
2285 |
alm.window.addEventListener('load', function () {
|
2286 |
+
if (alm.transition === 'masonry' && alm.addons.preloaded === 'true') {
|
2287 |
// Wrap almMasonry in anonymous async/await function
|
2288 |
(async function () {
|
2289 |
await almMasonry(alm, true, false);
|
2290 |
+
alm.masonry.init = false;
|
2291 |
})().catch((e) => {
|
2292 |
console.log('There was an error with ALM Masonry');
|
2293 |
});
|
core/src/js/modules/lazyImages.js
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* Lazy load images helper.
|
3 |
+
* 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.
|
4 |
+
* This helper provides a fix by grabbing the dataset value and making it the src.
|
5 |
+
*
|
6 |
+
* @param {Object} alm The Ajax Load More object.
|
7 |
+
*/
|
8 |
+
const lazyImages = (alm) => {
|
9 |
+
if (!alm || !alm.lazy_images) {
|
10 |
+
return;
|
11 |
+
}
|
12 |
+
const images = alm.el.getElementsByTagName('img');
|
13 |
+
if (images) {
|
14 |
+
// Loop all images.
|
15 |
+
Array.prototype.forEach.call(images, (img) => {
|
16 |
+
if (img) {
|
17 |
+
if (img.dataset.src) {
|
18 |
+
img.src = img.dataset.src;
|
19 |
+
}
|
20 |
+
if (img.dataset.srcset) {
|
21 |
+
img.srcset = img.dataset.srcset;
|
22 |
+
}
|
23 |
+
}
|
24 |
+
});
|
25 |
+
}
|
26 |
+
};
|
27 |
+
|
28 |
+
export default lazyImages;
|
core/src/js/modules/loadItems.js
CHANGED
@@ -2,7 +2,7 @@ import loadImage from './loadImage';
|
|
2 |
import setFocus from './setFocus';
|
3 |
|
4 |
/**
|
5 |
-
* Load all items
|
6 |
*
|
7 |
* @param {HTMLElement} container
|
8 |
* @param {HTMLElement} items
|
2 |
import setFocus from './setFocus';
|
3 |
|
4 |
/**
|
5 |
+
* Load all items.
|
6 |
*
|
7 |
* @param {HTMLElement} container
|
8 |
* @param {HTMLElement} items
|
core/src/js/modules/masonry.js
CHANGED
@@ -3,17 +3,13 @@ import almAppendChildren from '../helpers/almAppendChildren';
|
|
3 |
import almDomParser from '../helpers/almDomParser';
|
4 |
import srcsetPolyfill from '../helpers/srcsetPolyfill';
|
5 |
import stripEmptyNodes from '../helpers/stripEmptyNodes';
|
6 |
-
import {
|
7 |
-
createMasonryFiltersPages,
|
8 |
-
createMasonryFiltersPage,
|
9 |
-
} from '../addons/filters';
|
10 |
import { createMasonrySEOPages, createMasonrySEOPage } from '../addons/seo';
|
11 |
import setFocus from './setFocus';
|
12 |
let imagesLoaded = require('imagesloaded');
|
13 |
|
14 |
/**
|
15 |
-
*
|
16 |
-
* Function to trigger built-in Ajax Load More Masonry
|
17 |
*
|
18 |
* @param {object} alm
|
19 |
* @param {boolean} init
|
@@ -21,17 +17,21 @@ let imagesLoaded = require('imagesloaded');
|
|
21 |
* @since 3.1
|
22 |
* @updated 5.0.2
|
23 |
*/
|
24 |
-
|
|
|
|
|
|
|
|
|
25 |
return new Promise((resolve) => {
|
26 |
let container = alm.listing;
|
27 |
let html = alm.html;
|
28 |
|
29 |
-
let selector = alm.
|
30 |
-
let columnWidth = alm.
|
31 |
-
let animation = alm.
|
32 |
-
let horizontalOrder = alm.
|
33 |
let speed = alm.speed;
|
34 |
-
let masonry_init = alm.
|
35 |
|
36 |
let duration = (speed + 100) / 1000 + 's'; // Add 100 for some delay
|
37 |
let hidden = 'scale(0.5)';
|
@@ -72,9 +72,10 @@ let almMasonry = (alm, init, filtering) => {
|
|
72 |
horizontalOrder = horizontalOrder === 'true' ? true : false;
|
73 |
|
74 |
if (!filtering) {
|
75 |
-
// First Run
|
76 |
if (masonry_init && init) {
|
77 |
-
|
|
|
78 |
|
79 |
imagesLoaded(container, function () {
|
80 |
let defaults = {
|
@@ -92,7 +93,7 @@ let almMasonry = (alm, init, filtering) => {
|
|
92 |
},
|
93 |
};
|
94 |
|
95 |
-
// Get custom Masonry options (https://masonry.desandro.com/options.html)
|
96 |
let alm_masonry_vars = window.alm_masonry_vars;
|
97 |
if (alm_masonry_vars) {
|
98 |
Object.keys(alm_masonry_vars).forEach(function (key) {
|
@@ -103,23 +104,17 @@ let almMasonry = (alm, init, filtering) => {
|
|
103 |
|
104 |
let data = container.querySelectorAll(selector);
|
105 |
|
106 |
-
// Create Filters URL, if required
|
107 |
if (alm.addons.filters) {
|
108 |
-
data = createMasonryFiltersPages(
|
109 |
-
alm,
|
110 |
-
Array.prototype.slice.call(data)
|
111 |
-
);
|
112 |
}
|
113 |
|
114 |
-
// Create SEO URL, if required
|
115 |
if (alm.addons.seo) {
|
116 |
-
data = createMasonrySEOPages(
|
117 |
-
alm,
|
118 |
-
Array.prototype.slice.call(data)
|
119 |
-
);
|
120 |
}
|
121 |
|
122 |
-
// Init Masonry, delay to allow time for items to be added to the page
|
123 |
setTimeout(function () {
|
124 |
alm.msnry = new Masonry(container, defaults);
|
125 |
|
@@ -131,31 +126,31 @@ let almMasonry = (alm, init, filtering) => {
|
|
131 |
});
|
132 |
}
|
133 |
|
134 |
-
// Standard / Append content
|
135 |
else {
|
136 |
// Loop all items and create array of node elements
|
137 |
let data = stripEmptyNodes(almDomParser(html, 'text/html'));
|
138 |
|
139 |
if (data) {
|
140 |
-
// Append elements listing
|
141 |
almAppendChildren(alm.listing, data, 'masonry');
|
142 |
|
143 |
-
// Run srcSet polyfill
|
144 |
srcsetPolyfill(container, alm.ua);
|
145 |
|
146 |
-
// imagesLoaded & append
|
147 |
imagesLoaded(container, function () {
|
148 |
alm.msnry.appended(data);
|
149 |
|
150 |
-
// Set Focus
|
151 |
setFocus(alm, data, data.length, false);
|
152 |
|
153 |
-
// Create Filters URL, if required
|
154 |
if (alm.addons.filters) {
|
155 |
createMasonryFiltersPage(alm, data[0]);
|
156 |
}
|
157 |
|
158 |
-
// Create SEO URL, if required
|
159 |
if (alm.addons.seo) {
|
160 |
createMasonrySEOPage(alm, data[0]);
|
161 |
}
|
@@ -171,6 +166,34 @@ let almMasonry = (alm, init, filtering) => {
|
|
171 |
resolve(true);
|
172 |
}
|
173 |
});
|
174 |
-
}
|
175 |
|
176 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
import almDomParser from '../helpers/almDomParser';
|
4 |
import srcsetPolyfill from '../helpers/srcsetPolyfill';
|
5 |
import stripEmptyNodes from '../helpers/stripEmptyNodes';
|
6 |
+
import { createMasonryFiltersPages, createMasonryFiltersPage } from '../addons/filters';
|
|
|
|
|
|
|
7 |
import { createMasonrySEOPages, createMasonrySEOPage } from '../addons/seo';
|
8 |
import setFocus from './setFocus';
|
9 |
let imagesLoaded = require('imagesloaded');
|
10 |
|
11 |
/**
|
12 |
+
* Function to trigger built-in Ajax Load More Masonry.
|
|
|
13 |
*
|
14 |
* @param {object} alm
|
15 |
* @param {boolean} init
|
17 |
* @since 3.1
|
18 |
* @updated 5.0.2
|
19 |
*/
|
20 |
+
export function almMasonry(alm, init, filtering) {
|
21 |
+
if (!alm.masonry) {
|
22 |
+
console.warn('Ajax Load More: Unable to locate Masonry settings.');
|
23 |
+
}
|
24 |
+
|
25 |
return new Promise((resolve) => {
|
26 |
let container = alm.listing;
|
27 |
let html = alm.html;
|
28 |
|
29 |
+
let selector = alm.masonry.selector;
|
30 |
+
let columnWidth = alm.masonry.columnwidth;
|
31 |
+
let animation = alm.masonry.animation;
|
32 |
+
let horizontalOrder = alm.masonry.horizontalorder;
|
33 |
let speed = alm.speed;
|
34 |
+
let masonry_init = alm.masonry.init;
|
35 |
|
36 |
let duration = (speed + 100) / 1000 + 's'; // Add 100 for some delay
|
37 |
let hidden = 'scale(0.5)';
|
72 |
horizontalOrder = horizontalOrder === 'true' ? true : false;
|
73 |
|
74 |
if (!filtering) {
|
75 |
+
// First Run.
|
76 |
if (masonry_init && init) {
|
77 |
+
// Run srcSet polyfill.
|
78 |
+
srcsetPolyfill(container, alm.ua);
|
79 |
|
80 |
imagesLoaded(container, function () {
|
81 |
let defaults = {
|
93 |
},
|
94 |
};
|
95 |
|
96 |
+
// Get custom Masonry options (https://masonry.desandro.com/options.html).
|
97 |
let alm_masonry_vars = window.alm_masonry_vars;
|
98 |
if (alm_masonry_vars) {
|
99 |
Object.keys(alm_masonry_vars).forEach(function (key) {
|
104 |
|
105 |
let data = container.querySelectorAll(selector);
|
106 |
|
107 |
+
// Create Filters URL, if required.
|
108 |
if (alm.addons.filters) {
|
109 |
+
data = createMasonryFiltersPages(alm, Array.prototype.slice.call(data));
|
|
|
|
|
|
|
110 |
}
|
111 |
|
112 |
+
// Create SEO URL, if required.
|
113 |
if (alm.addons.seo) {
|
114 |
+
data = createMasonrySEOPages(alm, Array.prototype.slice.call(data));
|
|
|
|
|
|
|
115 |
}
|
116 |
|
117 |
+
// Init Masonry, delay to allow time for items to be added to the page.
|
118 |
setTimeout(function () {
|
119 |
alm.msnry = new Masonry(container, defaults);
|
120 |
|
126 |
});
|
127 |
}
|
128 |
|
129 |
+
// Standard / Append content.
|
130 |
else {
|
131 |
// Loop all items and create array of node elements
|
132 |
let data = stripEmptyNodes(almDomParser(html, 'text/html'));
|
133 |
|
134 |
if (data) {
|
135 |
+
// Append elements listing.
|
136 |
almAppendChildren(alm.listing, data, 'masonry');
|
137 |
|
138 |
+
// Run srcSet polyfill.
|
139 |
srcsetPolyfill(container, alm.ua);
|
140 |
|
141 |
+
// imagesLoaded & append.
|
142 |
imagesLoaded(container, function () {
|
143 |
alm.msnry.appended(data);
|
144 |
|
145 |
+
// Set Focus.
|
146 |
setFocus(alm, data, data.length, false);
|
147 |
|
148 |
+
// Create Filters URL, if required.
|
149 |
if (alm.addons.filters) {
|
150 |
createMasonryFiltersPage(alm, data[0]);
|
151 |
}
|
152 |
|
153 |
+
// Create SEO URL, if required.
|
154 |
if (alm.addons.seo) {
|
155 |
createMasonrySEOPage(alm, data[0]);
|
156 |
}
|
166 |
resolve(true);
|
167 |
}
|
168 |
});
|
169 |
+
}
|
170 |
|
171 |
+
/**
|
172 |
+
* Set up initial Masonry Configuration.
|
173 |
+
*
|
174 |
+
* @param {*} alm
|
175 |
+
* @return object
|
176 |
+
*/
|
177 |
+
export function almMasonryConfig(alm) {
|
178 |
+
alm.masonry = {};
|
179 |
+
alm.masonry.init = true;
|
180 |
+
if (alm.msnry) {
|
181 |
+
// destroy masonry if it currently exists.
|
182 |
+
alm.msnry.destroy();
|
183 |
+
} else {
|
184 |
+
alm.msnry = '';
|
185 |
+
}
|
186 |
+
const masonry_config = JSON.parse(alm.listing.dataset.masonryConfig);
|
187 |
+
if (masonry_config) {
|
188 |
+
alm.masonry.selector = masonry_config.selector;
|
189 |
+
alm.masonry.columnwidth = masonry_config.columnwidth;
|
190 |
+
alm.masonry.animation = masonry_config.animation === '' ? 'standard' : masonry_config.animation;
|
191 |
+
alm.masonry.horizontalorder = masonry_config.horizontalorder === '' ? 'true' : masonry_config.horizontalorder;
|
192 |
+
alm.transition_container = false;
|
193 |
+
alm.images_loaded = false;
|
194 |
+
} else {
|
195 |
+
console.warn('Ajax Load More: Unable to locate Masonry configuration settings.');
|
196 |
+
}
|
197 |
+
|
198 |
+
return alm;
|
199 |
+
}
|
core/src/js/modules/placeholder.js
CHANGED
@@ -1,25 +1,24 @@
|
|
1 |
import almFadeIn from './fadeIn';
|
2 |
import almFadeOut from './fadeOut';
|
3 |
|
4 |
-
export function showPlaceholder(alm){
|
5 |
-
if(!alm || !alm.main || alm.addons.paging){
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
}
|
13 |
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
}
|
1 |
import almFadeIn from './fadeIn';
|
2 |
import almFadeOut from './fadeOut';
|
3 |
|
4 |
+
export function showPlaceholder(alm) {
|
5 |
+
if (!alm || !alm.main || alm.addons.paging) {
|
6 |
+
return false;
|
7 |
+
}
|
8 |
+
if (alm.placeholder) {
|
9 |
+
alm.placeholder.style.display = 'block';
|
10 |
+
almFadeIn(alm.placeholder, 150);
|
11 |
+
}
|
12 |
}
|
13 |
|
14 |
+
export function hidePlaceholder(alm) {
|
15 |
+
if (!alm || !alm.main || alm.addons.paging) {
|
16 |
+
return false;
|
17 |
+
}
|
18 |
+
if (alm.placeholder) {
|
19 |
+
almFadeOut(alm.placeholder, 150);
|
20 |
+
setTimeout(function () {
|
21 |
+
alm.placeholder.style.display = 'none';
|
22 |
+
}, 75);
|
23 |
+
}
|
24 |
+
}
|
|
core/src/scss/_listing.scss
CHANGED
@@ -9,7 +9,6 @@
|
|
9 |
display: table;
|
10 |
clear: both;
|
11 |
height: 0;
|
12 |
-
width: 100%;
|
13 |
content: '';
|
14 |
}
|
15 |
}
|
9 |
display: table;
|
10 |
clear: both;
|
11 |
height: 0;
|
|
|
12 |
content: '';
|
13 |
}
|
14 |
}
|
core/src/scss/ajax-load-more.scss
CHANGED
File without changes
|
lang/ajax-load-more.pot
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
msgid ""
|
3 |
msgstr ""
|
4 |
"Project-Id-Version: Ajax Load More\n"
|
5 |
-
"POT-Creation-Date: 2021-
|
6 |
"PO-Revision-Date: 2018-06-20 13:05-0500\n"
|
7 |
"Last-Translator: Darren Cooney <darren@connekthq.com>\n"
|
8 |
"Language-Team: \n"
|
@@ -107,7 +107,7 @@ msgid "Applying layout"
|
|
107 |
msgstr ""
|
108 |
|
109 |
#: admin/admin.php:489 admin/editor/editor-build.php:72
|
110 |
-
#: admin/views/repeater-templates.php:
|
111 |
msgid "Template Updated"
|
112 |
msgstr ""
|
113 |
|
@@ -183,12 +183,12 @@ msgid ""
|
|
183 |
"to read and write files within the /ajax-load-more/core/repeater directory."
|
184 |
msgstr ""
|
185 |
|
186 |
-
#: admin/admin.php:640 admin/admin.php:641 ajax-load-more.php:
|
187 |
msgid "Settings"
|
188 |
msgstr ""
|
189 |
|
190 |
#: admin/admin.php:649 admin/admin.php:650
|
191 |
-
#: admin/views/repeater-templates.php:
|
192 |
msgid "Repeater Templates"
|
193 |
msgstr ""
|
194 |
|
@@ -260,7 +260,7 @@ msgstr ""
|
|
260 |
msgid "Error Writing File"
|
261 |
msgstr ""
|
262 |
|
263 |
-
#: admin/admin.php:1119 admin/views/repeater-templates.php:
|
264 |
msgid "Something went wrong and the data could not be saved."
|
265 |
msgstr ""
|
266 |
|
@@ -378,7 +378,7 @@ msgstr ""
|
|
378 |
|
379 |
#: admin/admin.php:1689 admin/shortcode-builder/shortcode-builder.php:155
|
380 |
#: admin/shortcode-builder/shortcode-builder.php:371
|
381 |
-
#: core/classes/class-alm-shortcode.php:
|
382 |
msgid "Load More"
|
383 |
msgstr ""
|
384 |
|
@@ -466,13 +466,13 @@ msgstr ""
|
|
466 |
|
467 |
#: admin/includes/components/example-list.php:2
|
468 |
#: admin/views/repeater-templates.php:134
|
469 |
-
#: admin/views/repeater-templates.php:
|
470 |
msgid "Collapse All"
|
471 |
msgstr ""
|
472 |
|
473 |
#: admin/includes/components/example-list.php:2
|
474 |
#: admin/views/repeater-templates.php:135
|
475 |
-
#: admin/views/repeater-templates.php:
|
476 |
msgid "Expand All"
|
477 |
msgstr ""
|
478 |
|
@@ -692,32 +692,10 @@ msgstr ""
|
|
692 |
msgid "Get Plugin Support"
|
693 |
msgstr ""
|
694 |
|
695 |
-
#: admin/includes/cta/writeable.php:
|
696 |
msgid "Read/Write Access"
|
697 |
msgstr ""
|
698 |
|
699 |
-
#: admin/includes/cta/writeable.php:12
|
700 |
-
msgid ""
|
701 |
-
"<p class=\"writeable-title\"><i class=\"fa fa-check\"></i><strong>Enabled</"
|
702 |
-
"strong></p><p class=\"desc\">Read/Write access is enabled within the "
|
703 |
-
"Repeater Template directory."
|
704 |
-
msgstr ""
|
705 |
-
|
706 |
-
#: admin/includes/cta/writeable.php:14
|
707 |
-
msgid ""
|
708 |
-
"<p class=\"writeable-title\"><i class=\"fa fa-exclamation\"></"
|
709 |
-
"i><strong>Access Denied</strong></p><p class=\"desc\">You must enable read "
|
710 |
-
"and write access to save repeater template data.<br/><br/>Please contact "
|
711 |
-
"your hosting provider or site administrator for more information.</p>"
|
712 |
-
msgstr ""
|
713 |
-
|
714 |
-
#: admin/includes/cta/writeable.php:17
|
715 |
-
msgid ""
|
716 |
-
"<p class=\"writeable-title\"><i class=\"fa fa-exclamation\"></"
|
717 |
-
"i><strong>Error</strong></p><p class=\"desc\">Unable to locate configuration "
|
718 |
-
"file. Directory access may not be granted."
|
719 |
-
msgstr ""
|
720 |
-
|
721 |
#: admin/shortcode-builder/components/acf.php:3
|
722 |
msgid "Advanced Custom Fields"
|
723 |
msgstr ""
|
@@ -1347,7 +1325,7 @@ msgid "Show first/last and next/previous buttons in the paging navigation."
|
|
1347 |
msgstr ""
|
1348 |
|
1349 |
#: admin/shortcode-builder/components/paging.php:105
|
1350 |
-
#: core/classes/class-alm-noscript.php:
|
1351 |
msgid "First Page"
|
1352 |
msgstr ""
|
1353 |
|
@@ -1361,7 +1339,7 @@ msgid "Label for the <span>First Page</span> button."
|
|
1361 |
msgstr ""
|
1362 |
|
1363 |
#: admin/shortcode-builder/components/paging.php:119
|
1364 |
-
#: core/classes/class-alm-noscript.php:
|
1365 |
msgid "Last Page"
|
1366 |
msgstr ""
|
1367 |
|
@@ -2846,12 +2824,12 @@ msgstr ""
|
|
2846 |
msgid "Your Account"
|
2847 |
msgstr ""
|
2848 |
|
2849 |
-
#: admin/views/repeater-templates.php:
|
2850 |
msgid "The library of editable templates for use within your theme"
|
2851 |
msgstr ""
|
2852 |
|
2853 |
#: admin/views/repeater-templates.php:105
|
2854 |
-
#: admin/views/repeater-templates.php:
|
2855 |
msgid "Location"
|
2856 |
msgstr ""
|
2857 |
|
@@ -2865,23 +2843,23 @@ msgstr ""
|
|
2865 |
msgid "Manage Settings"
|
2866 |
msgstr ""
|
2867 |
|
2868 |
-
#: admin/views/repeater-templates.php:
|
2869 |
msgid "Default Template"
|
2870 |
msgstr ""
|
2871 |
|
2872 |
-
#: admin/views/repeater-templates.php:
|
2873 |
msgid "Template Code:"
|
2874 |
msgstr ""
|
2875 |
|
2876 |
-
#: admin/views/repeater-templates.php:
|
2877 |
msgid "Enter the PHP and HTML markup for this template."
|
2878 |
msgstr ""
|
2879 |
|
2880 |
-
#: admin/views/repeater-templates.php:
|
2881 |
msgid "Save Template"
|
2882 |
msgstr ""
|
2883 |
|
2884 |
-
#: admin/views/repeater-templates.php:
|
2885 |
msgid ""
|
2886 |
"It appears you are loading the <a href=\"https://connekthq.com/plugins/ajax-"
|
2887 |
"load-more/docs/repeater-templates/#default-template\" target=\"_blank"
|
@@ -2890,7 +2868,7 @@ msgid ""
|
|
2890 |
"your server."
|
2891 |
msgstr ""
|
2892 |
|
2893 |
-
#: admin/views/repeater-templates.php:
|
2894 |
msgid ""
|
2895 |
"Repeater Templates editing has been disabled for this instance of Ajax Load "
|
2896 |
"More. To enable the template editing, please remove the "
|
@@ -2898,11 +2876,11 @@ msgid ""
|
|
2898 |
"config.php and then re-activate this plugin."
|
2899 |
msgstr ""
|
2900 |
|
2901 |
-
#: admin/views/repeater-templates.php:
|
2902 |
msgid "Saving template..."
|
2903 |
msgstr ""
|
2904 |
|
2905 |
-
#: admin/views/repeater-templates.php:
|
2906 |
msgid "Updating template..."
|
2907 |
msgstr ""
|
2908 |
|
@@ -2954,15 +2932,15 @@ msgstr ""
|
|
2954 |
msgid "Reset"
|
2955 |
msgstr ""
|
2956 |
|
2957 |
-
#: ajax-load-more.php:
|
2958 |
msgid "Viewing {post_count} of {total_posts} results."
|
2959 |
msgstr ""
|
2960 |
|
2961 |
-
#: ajax-load-more.php:
|
2962 |
msgid "No results found."
|
2963 |
msgstr ""
|
2964 |
|
2965 |
-
#: core/classes/class-alm-noscript.php:
|
2966 |
msgid "Pages: "
|
2967 |
msgstr ""
|
2968 |
|
@@ -3155,7 +3133,7 @@ msgid " Theme Repeaters"
|
|
3155 |
msgstr ""
|
3156 |
|
3157 |
#: core/functions/addons.php:233
|
3158 |
-
msgid " Manage
|
3159 |
msgstr ""
|
3160 |
|
3161 |
#: core/functions/addons.php:234
|
2 |
msgid ""
|
3 |
msgstr ""
|
4 |
"Project-Id-Version: Ajax Load More\n"
|
5 |
+
"POT-Creation-Date: 2021-04-20 19:43-0400\n"
|
6 |
"PO-Revision-Date: 2018-06-20 13:05-0500\n"
|
7 |
"Last-Translator: Darren Cooney <darren@connekthq.com>\n"
|
8 |
"Language-Team: \n"
|
107 |
msgstr ""
|
108 |
|
109 |
#: admin/admin.php:489 admin/editor/editor-build.php:72
|
110 |
+
#: admin/views/repeater-templates.php:448
|
111 |
msgid "Template Updated"
|
112 |
msgstr ""
|
113 |
|
183 |
"to read and write files within the /ajax-load-more/core/repeater directory."
|
184 |
msgstr ""
|
185 |
|
186 |
+
#: admin/admin.php:640 admin/admin.php:641 ajax-load-more.php:274
|
187 |
msgid "Settings"
|
188 |
msgstr ""
|
189 |
|
190 |
#: admin/admin.php:649 admin/admin.php:650
|
191 |
+
#: admin/views/repeater-templates.php:14
|
192 |
msgid "Repeater Templates"
|
193 |
msgstr ""
|
194 |
|
260 |
msgid "Error Writing File"
|
261 |
msgstr ""
|
262 |
|
263 |
+
#: admin/admin.php:1119 admin/views/repeater-templates.php:389
|
264 |
msgid "Something went wrong and the data could not be saved."
|
265 |
msgstr ""
|
266 |
|
378 |
|
379 |
#: admin/admin.php:1689 admin/shortcode-builder/shortcode-builder.php:155
|
380 |
#: admin/shortcode-builder/shortcode-builder.php:371
|
381 |
+
#: core/classes/class-alm-shortcode.php:205
|
382 |
msgid "Load More"
|
383 |
msgstr ""
|
384 |
|
466 |
|
467 |
#: admin/includes/components/example-list.php:2
|
468 |
#: admin/views/repeater-templates.php:134
|
469 |
+
#: admin/views/repeater-templates.php:173
|
470 |
msgid "Collapse All"
|
471 |
msgstr ""
|
472 |
|
473 |
#: admin/includes/components/example-list.php:2
|
474 |
#: admin/views/repeater-templates.php:135
|
475 |
+
#: admin/views/repeater-templates.php:174
|
476 |
msgid "Expand All"
|
477 |
msgstr ""
|
478 |
|
692 |
msgid "Get Plugin Support"
|
693 |
msgstr ""
|
694 |
|
695 |
+
#: admin/includes/cta/writeable.php:5
|
696 |
msgid "Read/Write Access"
|
697 |
msgstr ""
|
698 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
699 |
#: admin/shortcode-builder/components/acf.php:3
|
700 |
msgid "Advanced Custom Fields"
|
701 |
msgstr ""
|
1325 |
msgstr ""
|
1326 |
|
1327 |
#: admin/shortcode-builder/components/paging.php:105
|
1328 |
+
#: core/classes/class-alm-noscript.php:162
|
1329 |
msgid "First Page"
|
1330 |
msgstr ""
|
1331 |
|
1339 |
msgstr ""
|
1340 |
|
1341 |
#: admin/shortcode-builder/components/paging.php:119
|
1342 |
+
#: core/classes/class-alm-noscript.php:180
|
1343 |
msgid "Last Page"
|
1344 |
msgstr ""
|
1345 |
|
2824 |
msgid "Your Account"
|
2825 |
msgstr ""
|
2826 |
|
2827 |
+
#: admin/views/repeater-templates.php:15
|
2828 |
msgid "The library of editable templates for use within your theme"
|
2829 |
msgstr ""
|
2830 |
|
2831 |
#: admin/views/repeater-templates.php:105
|
2832 |
+
#: admin/views/repeater-templates.php:272
|
2833 |
msgid "Location"
|
2834 |
msgstr ""
|
2835 |
|
2843 |
msgid "Manage Settings"
|
2844 |
msgstr ""
|
2845 |
|
2846 |
+
#: admin/views/repeater-templates.php:211
|
2847 |
msgid "Default Template"
|
2848 |
msgstr ""
|
2849 |
|
2850 |
+
#: admin/views/repeater-templates.php:220
|
2851 |
msgid "Template Code:"
|
2852 |
msgstr ""
|
2853 |
|
2854 |
+
#: admin/views/repeater-templates.php:221
|
2855 |
msgid "Enter the PHP and HTML markup for this template."
|
2856 |
msgstr ""
|
2857 |
|
2858 |
+
#: admin/views/repeater-templates.php:254
|
2859 |
msgid "Save Template"
|
2860 |
msgstr ""
|
2861 |
|
2862 |
+
#: admin/views/repeater-templates.php:270
|
2863 |
msgid ""
|
2864 |
"It appears you are loading the <a href=\"https://connekthq.com/plugins/ajax-"
|
2865 |
"load-more/docs/repeater-templates/#default-template\" target=\"_blank"
|
2868 |
"your server."
|
2869 |
msgstr ""
|
2870 |
|
2871 |
+
#: admin/views/repeater-templates.php:281
|
2872 |
msgid ""
|
2873 |
"Repeater Templates editing has been disabled for this instance of Ajax Load "
|
2874 |
"More. To enable the template editing, please remove the "
|
2876 |
"config.php and then re-activate this plugin."
|
2877 |
msgstr ""
|
2878 |
|
2879 |
+
#: admin/views/repeater-templates.php:356
|
2880 |
msgid "Saving template..."
|
2881 |
msgstr ""
|
2882 |
|
2883 |
+
#: admin/views/repeater-templates.php:427
|
2884 |
msgid "Updating template..."
|
2885 |
msgstr ""
|
2886 |
|
2932 |
msgid "Reset"
|
2933 |
msgstr ""
|
2934 |
|
2935 |
+
#: ajax-load-more.php:348
|
2936 |
msgid "Viewing {post_count} of {total_posts} results."
|
2937 |
msgstr ""
|
2938 |
|
2939 |
+
#: ajax-load-more.php:349
|
2940 |
msgid "No results found."
|
2941 |
msgstr ""
|
2942 |
|
2943 |
+
#: core/classes/class-alm-noscript.php:158
|
2944 |
msgid "Pages: "
|
2945 |
msgstr ""
|
2946 |
|
3133 |
msgstr ""
|
3134 |
|
3135 |
#: core/functions/addons.php:233
|
3136 |
+
msgid " Manage Repeater Templates within your current theme directory."
|
3137 |
msgstr ""
|
3138 |
|
3139 |
#: core/functions/addons.php:234
|