diff --git a/README.txt b/README.txt index 5cfeb49..7084442 100755 --- a/README.txt +++ b/README.txt @@ -4,8 +4,8 @@ Donate link: https://connekthq.com/donate/ Tags: infinite scroll, load more, ajax, lazy load, endless scroll, infinite scrolling, lazy loading, pagination, ajax, ajax posts, woocommerce, ajax load more, masonry Requires at least: 5.0 Requires PHP: 5.6 -Tested up to: 6.3 -Stable tag: 6.2.0.1 +Tested up to: 6.4 +Stable tag: 6.2.0.2 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html @@ -261,6 +261,16 @@ How to install Ajax Load More. == Changelog == += 6.2.0.2 - November 3, 2023 = +* FIX: Fixed issue with paging URLs when using Elementor add-on with WooCommerce products and WP archive templates. +* FIX: Fixed issue with Cache and Paging add-ons throwing an error on initial page load and causing posts not to load.. +* NEW: Added `alm_restapi_url` hook to update the URL base REST API calls. +``` +add_filter( 'alm_restapi_url', function(){ + return 'https://mywebsite.com'; +}); +``` + = 6.2.0.1 - October 20, 2023 = * HOTFIX: Fixed issue with speed variable when loading Ajax Load More in a SPA application or via HTTP request. diff --git a/ajax-load-more.php b/ajax-load-more.php index b12c904..8a07f2c 100755 --- a/ajax-load-more.php +++ b/ajax-load-more.php @@ -2,31 +2,20 @@ /** * Plugin Name: Ajax Load More * Plugin URI: https://connekthq.com/plugins/ajax-load-more - * Description: The ultimate solution to add infinite scroll functionality to your website. + * Description: The ultimate solution to add infinite scroll and load more functionality to your website. * Text Domain: ajax-load-more * Author: Darren Cooney * Twitter: @KaptonKaos * Author URI: https://connekthq.com - * Version: 6.2.0.1 + * Version: 6.2.0.2 * License: GPL * Copyright: Darren Cooney & Connekt Media * * @package AjaxLoadMore */ -/* -* FIX: Fixed issue with paging URLs when using Elementor add-on with WooCommerce products and WP archive templates. -* FIX: Fixed issue with Cache and Paging add-ons throwing an error on initial page load and causing posts not to load.. -* NEW: Added `alm_restapi_url` hook to update the URL base REST API calls. -``` -add_filter( 'alm_restapi_url', function(){ - return 'https://google.com'; -}); -``` -*/ - -define( 'ALM_VERSION', '6.2.0.1' ); -define( 'ALM_RELEASE', 'October 20, 2023' ); +define( 'ALM_VERSION', '6.2.0.2' ); +define( 'ALM_RELEASE', 'Novemver 3, 2023' ); define( 'ALM_STORE_URL', 'https://connekthq.com' ); // Plugin installation helpers. diff --git a/build/admin/index.asset.php b/build/admin/index.asset.php index d87f496..0bec25e 100644 --- a/build/admin/index.asset.php +++ b/build/admin/index.asset.php @@ -1 +1 @@ - array(), 'version' => '8b37e600b83a7774ad4a'); + array(), 'version' => 'cf6b7cc79fb2357f6ea2'); diff --git a/build/admin/index.css b/build/admin/index.css index aca983e..d5625ad 100644 --- a/build/admin/index.css +++ b/build/admin/index.css @@ -1,5169 +1 @@ -/*!************************************************************************************************************************************************!*\ - !*** css ./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].use[3]!./src/admin/scss/admin.scss ***! - \************************************************************************************************************************************************/ -@import url(//netdna.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css); -/*!****************************************************************************************************************************************************!*\ - !*** css ./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].use[3]!./src/admin/scss/admin.scss (1) ***! - \****************************************************************************************************************************************************/ -@charset "UTF-8"; -/* This is the default Tooltipster theme (feel free to modify or duplicate and create multiple themes!): */ -.tooltipster-default { - border-radius: 3px; - border: 2px solid #222; - border: none; - background: #0073aa; - background: rgba(33, 149, 204, 0.95); - color: #e7f3f8; -} - -/* Use this next selector to style things like font-size and line-height: */ -.tooltipster-default .tooltipster-content { - font-size: 12px; - line-height: 20px; - padding: 12px 16px; - overflow: hidden; - text-align: center; -} - -/* If you're using the icon option, use this next selector to style them */ -.tooltipster-icon { - cursor: help; - margin-left: 4px; -} - -/* This is the base styling required to make all Tooltipsters work */ -.tooltipster-base { - padding: 0; - font-size: 0; - line-height: 0; - position: absolute; - left: 0; - top: 0; - z-index: 9999999; - pointer-events: none; - width: auto; - overflow: visible; -} - -.tooltipster-base .tooltipster-content { - overflow: hidden; -} - -/* These next classes handle the styles for the little arrow attached to the tooltip. By default, the arrow will inherit the same colors and border as what is set on the main tooltip itself. */ -.tooltipster-arrow { - display: block; - text-align: center; - width: 100%; - height: 100%; - position: absolute; - top: 0; - left: 0; - z-index: -1; -} - -.tooltipster-arrow span, .tooltipster-arrow-border { - display: block; - width: 0; - height: 0; - position: absolute; -} - -.tooltipster-arrow-top span, .tooltipster-arrow-top-right span, .tooltipster-arrow-top-left span { - border-left: 8px solid transparent !important; - border-right: 8px solid transparent !important; - border-top: 8px solid; - bottom: -7px; -} - -.tooltipster-arrow-top .tooltipster-arrow-border, .tooltipster-arrow-top-right .tooltipster-arrow-border, .tooltipster-arrow-top-left .tooltipster-arrow-border { - border-left: 9px solid transparent !important; - border-right: 9px solid transparent !important; - border-top: 9px solid; - bottom: -7px; -} - -.tooltipster-arrow-bottom span, .tooltipster-arrow-bottom-right span, .tooltipster-arrow-bottom-left span { - border-left: 8px solid transparent !important; - border-right: 8px solid transparent !important; - border-bottom: 8px solid; - top: -7px; -} - -.tooltipster-arrow-bottom .tooltipster-arrow-border, .tooltipster-arrow-bottom-right .tooltipster-arrow-border, .tooltipster-arrow-bottom-left .tooltipster-arrow-border { - border-left: 9px solid transparent !important; - border-right: 9px solid transparent !important; - border-bottom: 9px solid; - top: -7px; -} - -.tooltipster-arrow-top span, .tooltipster-arrow-top .tooltipster-arrow-border, .tooltipster-arrow-bottom span, .tooltipster-arrow-bottom .tooltipster-arrow-border { - left: 0; - right: 0; - margin: 0 auto; -} - -.tooltipster-arrow-top-left span, .tooltipster-arrow-bottom-left span { - left: 6px; -} - -.tooltipster-arrow-top-left .tooltipster-arrow-border, .tooltipster-arrow-bottom-left .tooltipster-arrow-border { - left: 5px; -} - -.tooltipster-arrow-top-right span, .tooltipster-arrow-bottom-right span { - right: 6px; -} - -.tooltipster-arrow-top-right .tooltipster-arrow-border, .tooltipster-arrow-bottom-right .tooltipster-arrow-border { - right: 5px; -} - -.tooltipster-arrow-left span, .tooltipster-arrow-left .tooltipster-arrow-border { - border-top: 8px solid transparent !important; - border-bottom: 8px solid transparent !important; - border-left: 8px solid; - top: 50%; - margin-top: -7px; - right: -7px; -} - -.tooltipster-arrow-left .tooltipster-arrow-border { - border-top: 9px solid transparent !important; - border-bottom: 9px solid transparent !important; - border-left: 9px solid; - margin-top: -8px; -} - -.tooltipster-arrow-right span, .tooltipster-arrow-right .tooltipster-arrow-border { - border-top: 8px solid transparent !important; - border-bottom: 8px solid transparent !important; - border-right: 8px solid; - top: 50%; - margin-top: -7px; - left: -7px; -} - -.tooltipster-arrow-right .tooltipster-arrow-border { - border-top: 9px solid transparent !important; - border-bottom: 9px solid transparent !important; - border-right: 9px solid; - margin-top: -8px; -} - -/* Some CSS magic for the awesome animations - feel free to make your own custom animations and reference it in your Tooltipster settings! */ -.tooltipster-fade { - opacity: 0; - -webkit-transition-property: opacity; - -moz-transition-property: opacity; - -o-transition-property: opacity; - -ms-transition-property: opacity; - transition-property: opacity; -} - -.tooltipster-fade-show { - opacity: 1; -} - -.tooltipster-grow { - transform: scale(0, 0); - transition-property: transform; - backface-visibility: hidden; -} - -.tooltipster-grow-show { - transform: scale(1, 1); - transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.15); -} - -.tooltipster-swing { - opacity: 0; - transform: rotateZ(4deg); - transition-property: transform; -} - -.tooltipster-swing-show { - opacity: 1; - transform: rotateZ(0deg); - transition-timing-function: cubic-bezier(0.23, 0.635, 0.495, 2.4); -} - -.tooltipster-fall { - top: 0; - -webkit-transition-property: top; - -moz-transition-property: top; - -o-transition-property: top; - -ms-transition-property: top; - transition-property: top; - -webkit-transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); - -webkit-transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.15); - -moz-transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.15); - -ms-transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.15); - -o-transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.15); - transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.15); -} - -.tooltipster-fall.tooltipster-dying { - -webkit-transition-property: all; - -moz-transition-property: all; - -o-transition-property: all; - -ms-transition-property: all; - transition-property: all; - top: 0px !important; - opacity: 0; -} - -.tooltipster-slide { - left: -40px; - -webkit-transition-property: left; - -moz-transition-property: left; - -o-transition-property: left; - -ms-transition-property: left; - transition-property: left; - -webkit-transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); - -webkit-transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.15); - -moz-transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.15); - -ms-transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.15); - -o-transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.15); - transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.15); -} - -.tooltipster-slide.tooltipster-dying { - -webkit-transition-property: all; - -moz-transition-property: all; - -o-transition-property: all; - -ms-transition-property: all; - transition-property: all; - left: 0px !important; - opacity: 0; -} - -/* CSS transition for when contenting is changing in a tooltip that is still open. The only properties that will NOT transition are: width, height, top, and left */ -.tooltipster-content-changing { - opacity: 0.5; - -webkit-transform: scale(1.1, 1.1); - -moz-transform: scale(1.1, 1.1); - -o-transform: scale(1.1, 1.1); - -ms-transform: scale(1.1, 1.1); - transform: scale(1.1, 1.1); -} - -/* -* Select2 - form replacement - http://ivaynberg.github.io/select2/ -* -* @since 1.0 -*/ -.select2-container { - position: relative; - display: inline-block; - zoom: 1; - *display: inline; - vertical-align: middle; - min-width: 60%; -} - -.inner.half .select2-container { - min-width: 90%; - width: 90%; -} - -#alm-builder .select2-container li { - padding-right: 0; -} - -.select2-container a.select2-choice { - display: block; - height: 38px; - line-height: 37px; - padding: 0 0 0 10px; - overflow: hidden; - position: relative; - border: 1px solid #e7e7e7; - white-space: nowrap; - color: #393d41; - text-decoration: none; - background: #fff; - border-radius: 3px; - -webkit-background-clip: padding-box; - -moz-background-clip: padding; - background-clip: padding-box; - -webkit-touch-callout: none; - -webkit-user-select: none; - -khtml-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - font-size: 13px; -} - -.select2-dropdown-open.select2-container-active .select2-choice { - -webkit-border-radius: 4px 4px 0 0; - -moz-border-radius: 4px 4px 0 0; - border-radius: 4px 4px 0 0; -} - -.select2-container.select2-drop-above .select2-choice { - background: #fff; - -webkit-border-radius: 0 0 4px 4px; - -moz-border-radius: 0px 0px 4px 4px; - border-radius: 0 0 4px 4px; -} - -.select2-container .select2-choice span { - padding-right: 40px; - margin: 0; - width: 100%; - display: block; - overflow: hidden; - white-space: nowrap; - color: #666; - text-overflow: ellipsis; -} - -.select2-container .select2-choice abbr:hover { - background-position: right -11px; - cursor: pointer; -} - -.select2-drop-mask { - position: absolute; - left: 0; - top: 0; - z-index: 8; - background-color: #fff; - opacity: 0; -} - -.select2-drop { - overflow: hidden; - width: 100%; - position: absolute; - z-index: 9; - top: 100%; - background: #fff; - color: #393d41; - border: 1px solid #e7e7e7; - border-radius: 3px; - box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); - font-size: 13px; - overflow: hidden; - margin-top: 2px; - margin-left: -1px; -} -.select2-drop.select2-drop-above { - margin-top: -2px; -} - -.select2-container .select2-choice div { - display: block; - width: 30px; - height: 100%; - position: absolute; - right: 0; - top: 0; -} - -.select2-container .select2-choice div b { - display: block; - width: 100%; - height: 100%; - background: #fff url(../admin/img/ui/bkg-select.png) no-repeat center center; -} - -.select2-dropdown-open.select2-container-active div b { - display: block; - width: 100%; - height: 100%; - background-color: #fff; -} - -/* Search */ -.select2-search { - padding: 5px; - display: block; - background-color: #fff; - border-bottom: 1px solid #f7f7f7; -} -.select2-search .select2-input { - width: 99%; - height: 35px !important; - line-height: 35px !important; - box-shadow: none !important; - background: #fff url(../admin/img/ui/icon-search.png) no-repeat right 7px center; - background-size: 16px 16px; -} - -/* Multi select box */ -#alm-builder .select2-choices li { - margin: 0 0 2px; -} - -#alm-builder .select2-container-multi { - width: 60%; -} - -#alm-builder .select2-results li { - width: 100%; -} - -#alm-builder .select2-container-multi .select2-input { - cursor: pointer; - margin: 0 !important; -} - -#alm-builder ul.select2-choices { - width: 100%; - overflow: hidden; -} - -#alm-builder ul.select2-choices li.select2-search-field, -#alm-builder ul.select2-choices li.select2-search-field input { - width: 100% !important; - display: block; -} - -/* Selected Choice */ -#alm-builder ul.select2-choices li.select2-search-choice { - display: inline-block; - font-size: 12px; - line-height: 13px; - margin: 0 5px 5px 0; - padding: 5px 10px 5px 27px; - border-radius: 3px; - background: #fff; - border: 1px solid #e7e7e7; - width: auto; - position: relative; -} - -#alm-builder ul.select2-choices .select2-input { - background: #fff url(../admin/img/ui/bkg-select.png) no-repeat right center; -} -#alm-builder ul.select2-choices .select2-input.select2-focused { - background: #fff url(../admin/img/ui/icon-search.png) no-repeat right 7px center; - background-size: 16px 16px; -} - -#alm-builder ul.select2-choices li.select2-search-choice a { - position: absolute; - left: 3px; - top: 3px; - width: 17px; - height: 17px; - background: #393d41 url(../admin/img/ui/ico-close.png) no-repeat center center; - display: block; - border-radius: 3px; -} -#alm-builder ul.select2-choices li.select2-search-choice a:hover, #alm-builder ul.select2-choices li.select2-search-choice a:focus { - background-color: #d63638; -} - -/* results UL */ -.select2-results { - max-height: 311px; - padding: 0 0 0 0; - margin: 0 0 0 0; - position: relative; - overflow-x: hidden; - overflow-y: auto; - -webkit-tap-highlight-color: rgba(0, 0, 0, 0); -} - -.select2-result-sub { - margin: 0; - padding: 0; -} - -.select2-results li { - list-style: none; - display: block; - background-image: none; - padding: 0; - margin: 0 !important; - border-top: 1px solid #f7f7f7; - color: #393d41; - width: auto; - font-size: 13px; -} -.select2-results li:first-of-type { - border: none; -} - -.select2-results li.select2-result-with-children > .select2-result-label { - font-weight: 700; - font-size: 13px; - cursor: default; - border-bottom: 1px solid #f7f7f7; -} - -.select2-results .select2-result-label { - margin: 0; - cursor: pointer; - min-height: 1em; - padding: 10px; - -webkit-touch-callout: none; - -webkit-user-select: none; - -khtml-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.select2-results .select2-highlighted .select2-result-label { - /* Hover */ - background: #f7f7f7; - color: #3d8ed0; -} - -.select2-results .select2-highlighted:active { - background: #fff; -} - -.select2-results li em { - background: #feffde; - font-style: normal; -} - -.select2-results .select2-highlighted em { - background: transparent; -} - -.select2-results .select2-highlighted ul { - background: white; - color: #000; -} - -.select2-results .select2-no-results, -.select2-results .select2-searching, -.select2-results .select2-selection-limit { - background: #f4f4f4; - display: list-item; -} - -.select2-results .select2-no-results { - min-height: 1em; - padding: 10px 7px; - font-size: 13px; -} - -/* -disabled look for disabled choices in the results dropdown -*/ -.select2-results .select2-disabled.select2-highlighted { - color: #666; - background: #f4f4f4; - display: list-item; - cursor: default; -} - -.select2-results .select2-disabled { - background: #f4f4f4; - display: list-item; - cursor: default; -} - -.select2-results .select2-selected { - display: none; -} - -.select2-more-results { - background: #f4f4f4; - display: list-item; -} - -/* disabled styles */ -.select2-container.select2-container-disabled .select2-choice { - background-color: #f4f4f4; - background-image: none; - border: 1px solid #ddd; - cursor: default; -} - -.select2-container.select2-container-disabled .select2-choice div { - background-color: #f4f4f4; - background-image: none; - border-left: 0; -} - -.select2-container.select2-container-disabled .select2-choice abbr { - display: none; -} - -.select2-offscreen { - border: 0; - clip: rect(0 0 0 0); - height: 1px; - margin: -1px; - overflow: hidden; - padding: 0; - position: absolute; - width: 1px; - left: 0; -} - -.alm-settings-feedback { - position: fixed; - top: 50px; - right: 10px; - width: auto; - height: auto; - background: #fff; - border-left: 5px solid #5cc583; - color: #444; - padding: 25px 30px 25px 25px; - line-height: 1; - z-index: 99999; - border-radius: 2px; - opacity: 0; - visibility: hidden; - transition: all 0.25s ease-in-out; - box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15); - font-size: 13px; -} -.alm-settings-feedback.--saving { - border-color: #e0bd5e; - opacity: 1; - visibility: visible; - top: 50px; - right: 25px; -} -.alm-settings-feedback.--saved { - opacity: 1; - visibility: visible; - top: 50px; - right: 25px; -} -.alm-settings-feedback.--saved i { - opacity: 1; - color: #5cc583; -} -.alm-settings-feedback.--error { - border-color: #e03e3e; - opacity: 1; - visibility: visible; - top: 25px; - right: 25px; -} -.alm-settings-feedback i { - opacity: 0.6; - margin: 0 3px 0 0; -} - -#alm_OptionsForm { - position: relative; -} -#alm_OptionsForm .save-in-progress { - width: 100%; - height: 100%; - position: absolute; - left: 0; - top: 0; - z-index: 10; - background: rgba(255, 255, 255, 0.65); - transition: all 0.2s ease; - opacity: 0; - visibility: hidden; -} -#alm_OptionsForm.--saving .save-in-progress { - opacity: 1; - visibility: visible; - cursor: wait !important; -} - -.ajax-load-more .alm-tabbed-wrapper { - width: 100%; -} -@media screen and (min-width: 640px) { - .ajax-load-more .alm-tabbed-wrapper { - display: flex; - flex-wrap: nowrap; - } -} -.ajax-load-more .alm-tabbed-wrapper h2 { - padding: 20px 0 0; - margin: 0 0 15px; - display: block; - color: #393d41; - font-weight: 600; -} -.ajax-load-more .alm-tabbed-wrapper--nav { - border: 1px solid #efefef; - margin-bottom: 20px; - padding: 10px; - background: #fff; -} -@media screen and (min-width: 640px) { - .ajax-load-more .alm-tabbed-wrapper--nav { - width: 165px; - background-color: #f7f7f7; - padding: 0; - border: 1px solid #efefef; - border-right: none; - border-radius: 8px 8px 0 8px; - position: relative; - z-index: 1; - margin: 0; - } -} -.ajax-load-more .alm-tabbed-wrapper--nav ul { - margin: 0; - padding: 0 0 35px; -} -@media screen and (max-width: 640px) { - .ajax-load-more .alm-tabbed-wrapper--nav ul { - padding: 0; - border: 1px solid #efefef; - } -} -.ajax-load-more .alm-tabbed-wrapper--nav ul li { - width: 100% !important; - margin: 0; - padding: 0; - list-style: none; -} -@media screen and (min-width: 640px) { - .ajax-load-more .alm-tabbed-wrapper--nav ul li:first-of-type { - position: relative; - top: -1px; - } - .ajax-load-more .alm-tabbed-wrapper--nav ul li:first-of-type button { - border-top: 1px solid #efefef; - border-radius: 8px 0 0 0; - } -} -@media screen and (max-width: 640px) { - .ajax-load-more .alm-tabbed-wrapper--nav ul li:last-of-type button { - border: none; - } -} -@media screen and (min-width: 640px) { - .ajax-load-more .alm-tabbed-wrapper--nav ul.attached { - position: fixed; - width: auto; - top: 70px; - } - .ajax-load-more .alm-tabbed-wrapper--nav ul.attached li:first-of-type button { - border-radius: 0; - } -} -.ajax-load-more .alm-tabbed-wrapper--nav button { - display: block; - width: 100%; - border: none; - background: none; - line-height: 1.4; - padding: 12px 10px; - text-align: left; - font-weight: 400; - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; - background: #f7f7f7; - border-bottom: 1px solid #e7e7e7; - cursor: pointer; - color: #393d41; -} -.ajax-load-more .alm-tabbed-wrapper--nav button:hover, .ajax-load-more .alm-tabbed-wrapper--nav button:focus { - background-color: #efefef; -} -.ajax-load-more .alm-tabbed-wrapper--nav button i { - opacity: 0.65; - width: 18px; -} -.ajax-load-more .alm-tabbed-wrapper--nav button i.fa-handshake-o { - position: relative; - left: -2px; -} -.ajax-load-more .alm-tabbed-wrapper--nav button.active { - font-weight: 600; - background-color: #fff; - color: #d63638; - cursor: default; -} -.ajax-load-more .alm-tabbed-wrapper--nav button.active i { - color: #393d41; -} -@media screen and (min-width: 640px) { - .ajax-load-more .alm-tabbed-wrapper--nav button.active { - width: calc(100% + 1px); - } -} -.ajax-load-more .alm-tabbed-wrapper--sections { - flex: 1; - padding: 0 20px 20px; - display: block; - background: #fff; - border: 1px solid #efefef; -} -@media screen and (min-width: 640px) { - .ajax-load-more .alm-tabbed-wrapper--sections { - border-radius: 0 8px 8px 0; - } -} -.ajax-load-more .alm-tabbed-wrapper--section { - display: none; -} -.ajax-load-more .alm-tabbed-wrapper--section.active { - display: block; -} - -.ajax-load-more .builder-option-toggle { - display: flex; - flex-wrap: nowrap; -} -.ajax-load-more .builder-option-toggle input { - border-radius: 3px 0 0 3px; - margin: 0; - width: auto; - flex: 1; -} -.ajax-load-more .builder-option-toggle--buttons { - border-radius: 0 3px 3px 0; - padding: 3px; - width: auto; - border: 1px solid #e7e7e7; - background-color: #fcfcfc; - border-left: none; - display: flex; -} -.ajax-load-more .builder-option-toggle--buttons button { - height: 100%; - border: 1px solid #e7e7e7; - border-left-width: 0; - margin: 0; - font-weight: 600; - font-size: 11px; - text-transform: uppercase; - cursor: pointer; - padding: 0; - margin: 0; - border-radius: 0; - width: 34px; - text-align: center; - display: inline-block; - color: #393d41; - background-color: transparent; -} -.ajax-load-more .builder-option-toggle--buttons button:hover, .ajax-load-more .builder-option-toggle--buttons button:focus { - color: #222; - border-color: #ccc; -} -.ajax-load-more .builder-option-toggle--buttons button:first-child { - border-radius: 3px 0 0 3px; - border-left-width: 1px; -} -.ajax-load-more .builder-option-toggle--buttons button:last-child { - border-radius: 0 3px 3px 0; -} -.ajax-load-more .builder-option-toggle--buttons button.active { - border-color: #838d99; - background-color: #838d99; - color: #fff; - cursor: default; -} - -.alm-cache { - /* Live Search */ - /* Directory Listing */ -} -.alm-cache .group .row { - overflow: visible; -} -.alm-cache .row:first-of-type { - margin-top: 0 !important; -} -.alm-cache h3.heading { - padding-right: 90px !important; - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; -} -.alm-cache .alm-cache-search-wrap { - position: relative; - display: block; - margin: 0 0 15px; -} -.alm-cache .alm-cache-search-wrap input { - width: 100% !important; - margin: 0 !important; - padding: 13px 20px; - display: block; - font-size: 15px; - border-radius: 3px; - background-color: #f7f7f7; -} -.alm-cache .alm-cache-search-wrap i { - position: absolute; - right: 15px; - top: 50%; - transform: translateY(-50%); - color: #ccc; - font-size: 16px; - z-index: 1; -} -.alm-cache .alm-cache-listing { - position: relative; -} -.alm-cache .alm-cache-listing .toggle-all { - right: 0; - top: -45px; -} -.alm-cache hr { - margin: 32px 0 25px; - border-top-color: #efefef; - border-bottom: none; -} -.alm-cache .alm-dir-listing { - border: 1px solid #e7e7e7; - border-radius: 3px; - overflow: hidden; - padding: 0; - margin: 10px 0 0; -} -.alm-cache .alm-dir-listing--nested { - padding: 0 15px 15px; -} -.alm-cache .alm-dir-listing--nested .alm-dir-listing { - margin: 0; -} -.alm-cache .alm-dir-listing.deleting { - opacity: 0.5; - background: #fff url(../admin/img/ui/loader-unlimited.gif) no-repeat center center; -} -.alm-cache .alm-dir-listing .dir-title { - margin: 0 0 5px; - position: relative; -} -.alm-cache .alm-dir-listing h3.heading { - padding-left: 40px !important; -} -.alm-cache .alm-dir-listing h3.heading::after { - content: "\f07c"; -} -.alm-cache .alm-dir-listing h3.heading.open:after { - content: "\f07b"; -} -.alm-cache .alm-dir-listing .dir-title .delete { - position: absolute; - right: 10px; - top: 10px; - font-weight: 400; - font-size: 13px; - text-decoration: none; - padding: 5px 12px; - border: 1px solid #e7e7e7; - color: #ccc; - border-radius: 3px; -} -.alm-cache .alm-dir-listing:hover .dir-title .delete { - border-color: #e7e7e7; - background-color: #fff; - color: #666; -} -.alm-cache .alm-dir-listing .dir-title .delete:hover { - background-color: #c94141; - border-color: #c94141; - color: #fff; -} -.alm-cache .alm-dir-listing .dir-title .delete:active { - box-shadow: inset 0 2px 1px rgba(0, 0, 0, 0.2); -} -.alm-cache .cache-page-title { - font-size: 12px; - display: block; - width: 100%; - padding: 0 7px 10px; - font-weight: 700; - text-transform: uppercase; -} -.alm-cache .cache-page-wrap { - padding: 5px 12px 20px; -} -ß .alm-cache .cache-page-wrap ul { - max-height: 300px; - overflow-y: auto; - scroll-behavior: smooth; -} -.alm-cache .cache-full-path { - display: none; -} -.alm-cache .cache-full-path-button { - border: 1px solid #efefef; - border-radius: 3px; - background: #fff; - cursor: pointer; - margin: 0 2px 0 0; - text-align: left; - color: #878787; - font-size: 13px; - padding: 2px 4px; -} -.alm-cache .cache-full-path-button:hover, .alm-cache .cache-full-path-button:focus { - border-color: #e7e7e7; -} -.alm-cache .alm-dir-listing ul.cache-details { - display: block; - padding: 20px 15px 0; - margin: 0; - border: none; -} -.alm-cache .alm-dir-listing ul.cache-details li { - position: relative; - display: block; - width: 100%; - background: none !important; - padding: 0 10px 0 28px; - margin: 0 0 10px; -} -.alm-cache .alm-dir-listing ul.cache-details li i { - color: #999; - font-size: 16px; - position: absolute; - top: 1px; - left: 5px; -} -.alm-cache .alm-dir-listing ul.cache-details li a { - word-break: break-word; -} -.alm-cache p.cache-stats { - min-height: 38px; - line-height: 37px; - display: block; - padding: 0; - margin: 0; -} -.alm-cache p.cache-stats span { - display: inline-block; - width: 38px; - height: 38px; - line-height: 36px; - text-align: center; - margin: 0 9px 0 0; - font-weight: 700; - font-size: 15px; - border-radius: 2px; - background: #a4a5e2; - background: linear-gradient(to bottom, #a4a5e2 0%, #9ea0d9 50%, #8d8fce 51%, #a4a5e2 100%); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#a4a5e2", endColorstr="#a4a5e2", GradientType=0); - border: 1px solid #8586be; - box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15); - color: #fff; - text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.1); -} - -.ajax-load-more .CodeMirror { - height: auto; - border-radius: 3px; - padding: 0; - background: #f7f7f7; - border: 1px solid #e7e7e7; - color: #999; - line-height: 1.5; - font-size: 13px; -} -.ajax-load-more .CodeMirror.CodeMirror-focused { - border-color: #3d8ed0; - box-shadow: 0 0 4px 1px rgba(61, 142, 208, 0.15); -} - -.ajax-load-more .cm-readonly .CodeMirror { - opacity: 0.8; -} - -.ajax-load-more .CodeMirror pre { - cursor: default !important; -} - -.ajax-load-more .CodeMirror pre { - padding: 0 10px; -} - -.CodeMirror-lines { - padding: 10px !important; -} - -.CodeMirror-linenumber { - padding: 0 10px !important; - line-height: 1.25 !important; - color: #ccc !important; -} - -.CodeMirror-linenumber.CodeMirror-gutter-elt { - padding: 0 20px 0 0 !important; -} - -.ajax-load-more .sm-margin .CodeMirror { - margin: 0 0 10px; -} - -.ajax-load-more .cm-readonly p.warning-callout { - margin: -10px 0 10px; -} - -.ajax-load-more .CodeMirror.loading { - background: #f7f7f7 url(../admin/img/ui/loader-unlimited.gif) no-repeat center center; - opacity: 0.6; -} - -.ajax-load-more .cm-s-pastel-on-dark.CodeMirror { - /* Bkg color */ - background: #333; -} - -.ajax-load-more .CodeMirror-gutters { - /* Line Number color */ - background: #fff; - border-right: 1px solid #e7e7e7; - border-radius: 2px; -} - -.ajax-load-more .CodeMirror-scroll { - overflow-y: hidden; - overflow-x: auto; -} - -.ajax-load-more .cm-tag { - /*
  • html elements */ - color: #0a4b83 !important; -} - -.ajax-load-more .cm-string { - /* Elements in " " */ - color: #c75050 !important; -} - -.ajax-load-more .cm-attribute { - /* class names */ - color: #008080 !important; -} - -.ajax-load-more .cm-keyword { - /* if, array, echo */ - color: #ae5fb3 !important; -} - -.ajax-load-more span.CodeMirror-matchingbracket { - color: #ff0000 !important; -} - -.ajax-load-more .CodeMirror span.cm-meta { - /* div, .shortcode-builder--fields .flex-grid--three > div { - width: 48%; -} -.shortcode-builder--fields .flex-grid--three > div { - width: 31.333%; -} -.shortcode-builder--fields ul { - display: flex; - width: 100%; - flex-wrap: wrap; -} -.shortcode-builder--fields ul li { - width: 50%; - padding-right: 10px; -} -.shortcode-builder--fields ul li label { - margin-bottom: 0 !important; -} -@media screen and (max-width: 1000px) { - .shortcode-builder section { - flex-wrap: wrap; - } - .shortcode-builder--label, .shortcode-builder--fields { - width: 100%; - } - .shortcode-builder--label { - border-right: none; - border-bottom: 1px solid #efefef; - } -} -.shortcode-builder .flex-input { - display: flex; - width: 100%; - flex-wrap: nowrap; -} -.shortcode-builder .flex-input input { - margin: 0; - flex: 1; - border-radius: 3px 0 0 3px; -} -.shortcode-builder .flex-input span { - border: 1px solid #e1e1e1; - border-left: none; - margin: 0; - font-weight: 600; - font-size: 11px; - text-transform: uppercase; - padding: 0 15px; - display: flex; - align-items: center; - border-radius: 0 3px 3px 0; -} -.shortcode-builder .nested-component { - padding: 0; - position: relative; -} -.shortcode-builder .nested-component::after, .shortcode-builder .nested-component::before { - top: 0; - left: 35px; - border: solid transparent; - content: " "; - height: 0; - width: 0; - position: absolute; - pointer-events: none; - z-index: 2; -} -.shortcode-builder .nested-component::after { - border-color: rgba(255, 255, 255, 0); - border-top-color: #fcfcfc; - border-width: 10px; - margin-left: -10px; -} -.shortcode-builder .nested-component::before { - border-color: rgba(239, 239, 239, 0); - border-top-color: #e7e7e7; - border-width: 11px; - margin-left: -11px; - z-index: 1; -} -.shortcode-builder .nested-component--inner { - padding: 0; - position: relative; -} -.shortcode-builder .nested-component--inner::after { - clear: both; - display: table; - content: ""; -} -.shortcode-builder .nested-component .nested-component .shortcode-builder--label { - border-left: 6px solid #efefef; -} -.shortcode-builder .section-intro { - margin: 0 0 10px; -} -.shortcode-builder .section-anchor-nav { - display: flex; - flex-wrap: wrap; - width: 100%; - margin: 0; - padding: 0 0 15px; - border-bottom: 1px solid #e7e7e7; -} -.shortcode-builder .section-anchor-nav li { - margin: 0 10px 5px 0; - padding: 0; - font-size: 12px; -} -.shortcode-builder .section-anchor-nav a { - display: block; -} -.shortcode-builder .section-anchor-nav a:focus, .shortcode-builder .section-anchor-nav a:hover { - text-decoration: none; -} - -.ajax-load-more .cnkt-sidebar { - width: 100%; - height: 100%; - padding: 0 0 20px; -} -@media screen and (min-width: 900px) { - .ajax-load-more .cnkt-sidebar { - width: calc(30% - 20px); - } - .ajax-load-more .cnkt-sidebar[data-sticky] { - position: sticky; - top: 135px; - } -} -.ajax-load-more .cnkt-sidebar .major-publishing-actions { - padding: 15px; - clear: both; - border-top: 1px solid #e7e7e7; - box-shadow: inset 0 2px 3px rgba(0, 0, 0, 0.025); - background: #f7f7f7; - border-radius: 0 0 8px 8px; - display: flex; - flex-wrap: wrap; - gap: 10px; - width: 100%; -} -.ajax-load-more .cnkt-sidebar .major-publishing-actions i { - opacity: 0.4; - margin: 0 2px 0 0; -} - -/* Template Tags */ -.ajax-load-more .template-tags { - overflow: hidden; - border-left: 5px solid #dfd8c2; - padding: 15px; - background: #fff9ea; - margin: 20px 0 0; - border-radius: 3px; -} -.ajax-load-more .template-tags h4, -.ajax-load-more .template-tags li { - margin: 0 0 8px; - padding: 0; - font-size: 13px; - text-decoration: none !important; -} -.ajax-load-more .template-tags li { - margin: 5px 0 !important; - width: 100% !important; - padding: 0 !important; - border-radius: 3px; - line-height: 1.25; -} -.ajax-load-more .template-tags ul { - margin: 0; - padding: 0; -} -.ajax-load-more .template-tags pre { - display: inline-block; - min-width: 120px; - padding: 0; - margin: 0; - color: #888; -} - -.ajax-load-more .alm-toggle-switch { - display: flex; - clear: both; - margin: 0; - padding: 2px 15px 0; - overflow: hidden; - position: relative; - top: 1px; - z-index: 9; - width: 100%; -} -.ajax-load-more .alm-toggle-switch li { - margin: 0 5px 0 0; - padding: 0; - background: none; - list-style: none; -} -.ajax-load-more .alm-toggle-switch li a { - display: flex; - align-items: center; - padding: 15px 20px; - line-height: 1; - text-decoration: none; - border: 1px solid #e7e7e7; - border-radius: 4px 4px 0 0; - background: #f7f7f7; - color: #393d41; -} -.ajax-load-more .alm-toggle-switch li a:hover, .ajax-load-more .alm-toggle-switch li a:focus { - color: #393d41; - background-color: #fff; -} -.ajax-load-more .alm-toggle-switch li a.active { - background: #fff; - font-weight: 600; - border-bottom-color: #fff; - color: #393d41; -} - -.woocommerce-help--item { - width: 100%; - display: flex; - flex-wrap: nowrap; - align-items: center; - padding-top: 20px; - margin-top: 20px; - border-top: 1px solid #efefef; -} -.woocommerce-help--item div { - flex: 1; - padding: 20px 20px 20px 30px; -} -@media screen and (max-width: 600px) { - .woocommerce-help--item div { - padding: 20px 0; - } -} -.woocommerce-help--item .img { - padding: 0; - flex: none; - width: 30%; -} -@media screen and (max-width: 600px) { - .woocommerce-help--item .img { - display: none; - } -} -.woocommerce-help--item .img img { - border: 1px solid #efefef; - padding: 2px; - border-radius: 4px; -} - -body.toplevel_page_ajax-load-more, -body.ajax-load-more_page_ajax-load-more-repeaters, -body.ajax-load-more_page_ajax-load-more-shortcode-builder, -body.ajax-load-more_page_ajax-load-more-add-ons, -body.ajax-load-more_page_ajax-load-more-extensions, -body.ajax-load-more_page_ajax-load-more-help, -body.ajax-load-more_page_ajax-load-more-licenses, -body.ajax-load-more_page_ajax-load-more-cache, -body.ajax-load-more_page_ajax-load-more-filters, -body.ajax-load-more_page_ajax-load-more-pro, -body.ajax-load-more_page_ajax-load-more-go-pro, -body.ajax-load-more_page_ajax-load-more-woocommerce { - height: auto !important; -} -body.toplevel_page_ajax-load-more #wpcontent, -body.ajax-load-more_page_ajax-load-more-repeaters #wpcontent, -body.ajax-load-more_page_ajax-load-more-shortcode-builder #wpcontent, -body.ajax-load-more_page_ajax-load-more-add-ons #wpcontent, -body.ajax-load-more_page_ajax-load-more-extensions #wpcontent, -body.ajax-load-more_page_ajax-load-more-help #wpcontent, -body.ajax-load-more_page_ajax-load-more-licenses #wpcontent, -body.ajax-load-more_page_ajax-load-more-cache #wpcontent, -body.ajax-load-more_page_ajax-load-more-filters #wpcontent, -body.ajax-load-more_page_ajax-load-more-pro #wpcontent, -body.ajax-load-more_page_ajax-load-more-go-pro #wpcontent, -body.ajax-load-more_page_ajax-load-more-woocommerce #wpcontent { - padding-left: 0; - padding-bottom: 20px; -} -body.toplevel_page_ajax-load-more #wpbody-content, -body.ajax-load-more_page_ajax-load-more-repeaters #wpbody-content, -body.ajax-load-more_page_ajax-load-more-shortcode-builder #wpbody-content, -body.ajax-load-more_page_ajax-load-more-add-ons #wpbody-content, -body.ajax-load-more_page_ajax-load-more-extensions #wpbody-content, -body.ajax-load-more_page_ajax-load-more-help #wpbody-content, -body.ajax-load-more_page_ajax-load-more-licenses #wpbody-content, -body.ajax-load-more_page_ajax-load-more-cache #wpbody-content, -body.ajax-load-more_page_ajax-load-more-filters #wpbody-content, -body.ajax-load-more_page_ajax-load-more-pro #wpbody-content, -body.ajax-load-more_page_ajax-load-more-go-pro #wpbody-content, -body.ajax-load-more_page_ajax-load-more-woocommerce #wpbody-content { - padding-bottom: 0; -} -body.toplevel_page_ajax-load-more #wpfooter, -body.ajax-load-more_page_ajax-load-more-repeaters #wpfooter, -body.ajax-load-more_page_ajax-load-more-shortcode-builder #wpfooter, -body.ajax-load-more_page_ajax-load-more-add-ons #wpfooter, -body.ajax-load-more_page_ajax-load-more-extensions #wpfooter, -body.ajax-load-more_page_ajax-load-more-help #wpfooter, -body.ajax-load-more_page_ajax-load-more-licenses #wpfooter, -body.ajax-load-more_page_ajax-load-more-cache #wpfooter, -body.ajax-load-more_page_ajax-load-more-filters #wpfooter, -body.ajax-load-more_page_ajax-load-more-pro #wpfooter, -body.ajax-load-more_page_ajax-load-more-go-pro #wpfooter, -body.ajax-load-more_page_ajax-load-more-woocommerce #wpfooter { - padding-top: 0; - padding-bottom: 0; - line-height: 42px; - background: #f8f9fb; - border-top: 1px solid #e7e7e7; - position: fixed; - bottom: 0; - z-index: 1100; -} -body.toplevel_page_ajax-load-more #wpfooter p, -body.ajax-load-more_page_ajax-load-more-repeaters #wpfooter p, -body.ajax-load-more_page_ajax-load-more-shortcode-builder #wpfooter p, -body.ajax-load-more_page_ajax-load-more-add-ons #wpfooter p, -body.ajax-load-more_page_ajax-load-more-extensions #wpfooter p, -body.ajax-load-more_page_ajax-load-more-help #wpfooter p, -body.ajax-load-more_page_ajax-load-more-licenses #wpfooter p, -body.ajax-load-more_page_ajax-load-more-cache #wpfooter p, -body.ajax-load-more_page_ajax-load-more-filters #wpfooter p, -body.ajax-load-more_page_ajax-load-more-pro #wpfooter p, -body.ajax-load-more_page_ajax-load-more-go-pro #wpfooter p, -body.ajax-load-more_page_ajax-load-more-woocommerce #wpfooter p { - line-height: 42px; -} - -.ajax-load-more { - color: #393d41; - position: relative; - max-width: 100%; -} -.ajax-load-more * { - box-sizing: border-box; -} -.ajax-load-more a { - color: #3d8ed0; - text-decoration: underline; -} -.ajax-load-more a:hover, .ajax-load-more a:focus { - color: #1465a8; - text-decoration: none; -} -.ajax-load-more .offscreen { - position: absolute; - left: -9999px; -} -.ajax-load-more img { - max-width: 100%; -} -.ajax-load-more .text-left { - text-align: left; -} -.ajax-load-more .text-center { - text-align: center; -} -.ajax-load-more .text-right { - text-align: right; -} - -.main-cnkt-wrap { - padding: 0 !important; - margin: 0 !important; -} - -.ajax-load-more-inner-wrapper { - display: block; - padding: 10px 20px 20px; - max-width: 1600px; - position: relative; - width: 100%; -} -@media screen and (min-width: 900px) { - .ajax-load-more-inner-wrapper { - display: flex; - justify-content: space-between; - } -} -.ajax-load-more-inner-wrapper.no-flex { - display: block; -} - -.ajax-load-more .notice, -.ajax-load-more div.updated, -.ajax-load-more div.error, -.ajax-load-more div.notice-success, -.ajax-load-more div.notice-updated, -.ajax-load-more div.notice-error { - margin: 5px 0; - border-radius: 3px; - overflow: hidden; - padding: 5px 10px; -} -.ajax-load-more .notice p, -.ajax-load-more div.updated p, -.ajax-load-more div.error p, -.ajax-load-more div.notice-success p, -.ajax-load-more div.notice-updated p, -.ajax-load-more div.notice-error p { - margin: 0.5em 0; -} -.ajax-load-more .notice .notice-dismiss, -.ajax-load-more div.updated .notice-dismiss, -.ajax-load-more div.error .notice-dismiss, -.ajax-load-more div.notice-success .notice-dismiss, -.ajax-load-more div.notice-updated .notice-dismiss, -.ajax-load-more div.notice-error .notice-dismiss { - top: 2px; -} - -.ajax-load-more .alm-transient p { - margin: 0.5em 0; -} -.ajax-load-more .alm-transient p a { - font-weight: 600; -} -.ajax-load-more .alm-transient a.button { - position: static; - vertical-align: inherit !important; -} -.ajax-load-more .alm-transient button { - transform: translateY(-50%); - top: 50%; -} - -#alm-settings .admin-select { - width: 100%; - display: block; - padding: 0 0 25px; - margin: -10px 0 0; -} -#alm-settings .admin-select .select2-container { - width: 40%; - min-width: 40%; - display: inline-block; - vertical-align: top; -} - -.ajax-load-more .file-location { - border: 1px solid #e7e7e7; - background: #fff; - margin: 0; - padding: 0; - line-height: 1; - display: flex; - flex-wrap: nowrap; - font-family: Consolas, monaco, monospace; - border-radius: 3px; -} -.ajax-load-more .file-location p, -.ajax-load-more .file-location code { - padding: 12px 16px; - line-height: 18px; - font-size: 12px; -} -.ajax-load-more .file-location p { - background: #f7f7f7; - color: #555; - font-weight: 600; - margin: 0; - width: auto; - display: inline; - border-right: 1px solid #e7e7e7; -} -.ajax-load-more .file-location code { - color: #999; - background: transparent; - cursor: help; -} - -.ajax-load-more code { - background: #fcf3d0; -} -.ajax-load-more p { - display: block; - width: 100%; - clear: both; - text-transform: none; - padding: 0; - margin: 0 0 15px; - color: #6a7178; -} - -.ajax-load-more p.lg, -.ajax-load-more li.lg, -.ajax-load-more input.lg, -.ajax-load-more textarea.lg, -.ajax-load-more label.lg { - font-size: 16px; - color: #999; -} - -.ajax-load-more textarea#_alm_layouts_css { - height: 240px; -} - -.ajax-load-more a.layout-hover { - width: 20px !important; - height: 20px !important; - background: #ccc; - display: inline-block; - position: relative; -} -.ajax-load-more a.layout-hover img { - position: absolute; - left: 100%; - top: 0; - z-index: 999; - opacity: 0; - filter: alpha(opacity=0); -} -.ajax-load-more a.layout-hover:hover img { - position: absolute; - left: 100%; - top: 0; - z-index: 999; - opacity: 1; - filter: alpha(opacity=100); -} - -.ajax-load-more p.highlight { - background-color: #fffbd4; - color: #333; - padding: 5px 10px; - border-radius: 3px; - margin: -5px 0 10px; -} - -.ajax-load-more h3, -.ajax-load-more h4 { - color: #393d41; - margin-top: 0; -} - -.ajax-load-more h4 + p { - margin-top: -6px; -} - -.ajax-load-more p.small { - font-size: 12px; - margin-top: -10px; - opacity: 0.7; -} - -.ajax-load-more.shortcode-builder .major-publishing-actions { - position: relative; -} - -.ajax-load-more p.small.reset-shortcode-builder { - position: absolute; - right: 15px; - top: 50%; - transform: translateY(-45%); - text-align: right; - margin: 0; - padding: 0; - display: none; - width: auto; - opacity: 1; - font-size: 12px; -} - -.ajax-load-more p.small.reset-shortcode-builder a { - text-decoration: none; -} - -/* Expand Collapse Headings */ -.ajax-load-more h3.heading { - font-weight: 600; - padding: 15px 10px 15px 36px !important; - line-height: normal !important; - margin: 0 !important; - color: #393d41; - cursor: pointer; - width: 100%; - position: relative; - font-size: 16px; - background: #f7f7f7; - border-bottom: 1px solid #e7e7e7; -} -.ajax-load-more h3.heading:hover:after, .ajax-load-more h3.heading:focus:after { - color: #ccc; -} -.ajax-load-more h3.heading:hover, .ajax-load-more h3.heading:focus { - color: #222; - outline: none; - text-decoration: underline; -} -.ajax-load-more h3.heading::after { - font-family: "FontAwesome"; - content: "\f056"; - color: #e7e7e7; - position: absolute; - left: 13px; - top: 16px; - height: 20px; - width: 20px; -} -.ajax-load-more h3.heading.open:after { - content: "\f055"; -} -.ajax-load-more h3.heading.open { - border-bottom-color: transparent; -} - -/* Expand/Collapse all rows */ -.ajax-load-more .toggle-all { - position: static; - top: -21px; - right: 20px; - width: auto; - display: inline-block; - font-size: 11px; - text-transform: uppercase; - border-radius: 3px; - padding: 0 12px; - height: 35px; - line-height: 34px; - background: #fff; - border: 1px solid #e7e7e7; - color: #393d41; - cursor: pointer; - z-index: 20; - margin-bottom: 10px; - overflow: hidden; -} -@media screen and (min-width: 768px) { - .ajax-load-more .toggle-all { - position: absolute; - } -} -.ajax-load-more .toggle-all:hover, .ajax-load-more .toggle-all:focus { - color: #393d41; - border-color: #ccc; -} -.ajax-load-more .toggle-all .inner-wrap { - position: relative; - padding-left: 16px; - line-height: 24px; -} -.ajax-load-more .toggle-all .expand { - display: none; -} -.ajax-load-more .toggle-all .collapse { - display: inline-block; -} -.ajax-load-more .toggle-all em { - font-style: normal; -} -.ajax-load-more .toggle-all.closed .expand { - display: inline-block; -} -.ajax-load-more .toggle-all.closed .collapse { - display: none; -} -.ajax-load-more .toggle-all .inner-wrap:before { - font-family: "FontAwesome"; - content: "\f068"; - font-size: 10px; - position: absolute; - left: 0; - top: -5px; -} -.ajax-load-more .toggle-all.closed .inner-wrap:before { - content: "\f067"; -} - -a.button-small { - text-decoration: none; - font-size: 12px; - padding: 6px 10px; - display: inline-block; - background-color: #eaf6fb; - border: 1px solid #b9d2de; - color: #393d41; - line-height: 1.1; - border-radius: 3px; -} -a.button-small:hover { - color: #fff; - background-color: #3d8ed0; - text-decoration: none; - border-color: #3d8ed0; -} -a.button-small:focus { - color: #fff; - background-color: #1465a8; - text-decoration: none; - border-color: #1465a8; -} - -.ajax-load-more ul { - padding: 0; - margin: 0; - list-style: none; -} - -.shortcode-builder--items li { - padding: 0 5% 0 0; - margin: 0 0 5px; - width: 48.666%; - clear: both; - display: inline-block; - vertical-align: top; - overflow: visible; - position: relative; -} - -.ajax-load-more label.full { - display: block; - clear: both; - width: 100%; - color: #393d41; - font-weight: 500; - padding: 0 0 10px; - cursor: default; - font-size: 13px; -} - -.ajax-load-more .border-top { - display: block; - border-top: 1px solid #efefef; - width: 100%; - clear: both; - padding: 15px 0 0 !important; - overflow: visible; - position: relative; -} - -.ajax-load-more .border-top.highlighted { - background-color: #feffe3; - padding: 15px !important; - border: 1px solid #eeefd4; - border-radius: 3px; -} - -.ajax-load-more .alm-settings-nav { - margin: 0 0 5px; - padding: 0; - overflow: hidden; - position: relative; - width: calc(100% + 40px); - top: -20px; - left: -20px; - border-bottom: 1px solid #ebebeb; - background: #f7f7f7; - border-radius: 3px 3px 0 0; -} - -.alm-settings-nav li { - float: left; - margin: 0; - padding: 0; - font-weight: 600; - background: none; - font-size: 13px; -} - -.alm-settings-nav a { - text-decoration: none; - padding: 8px 16px 8px 16px; - border-left: 1px solid #ebebeb; - display: block; -} - -.alm-settings-nav a:hover { - color: #fff; - background-color: #d63638; -} - -.alm-settings-nav li:first-of-type a { - border: none; - border-radius: 3px 0 0 0; -} - -#alm-meta-key .meta-query-wrap, -.taxonomy-wrap { - padding: 15px; - border: 1px solid #efefef; - margin: 15px 0 0; - position: relative; - border-radius: 3px; -} - -#alm-meta-key .meta-query-wrap { - padding-bottom: 0; -} - -.meta-query-wrap.removing, -.taxonomy-wrap.removing { - background-color: #f5d0d0; -} - -#alm-meta-key .meta-query-wrap-first .meta-query-wrap { - border: none; - background-color: transparent; - padding: 0; - margin: 0; -} -#alm-meta-key .meta-query-wrap-first .meta-query-wrap .padding-top { - margin-bottom: 0; -} - -.section-control { - padding-top: 15px; -} - -.row .controls { - display: block; - clear: both; - padding: 20px 0 10px; - overflow: hidden; -} - -.row.taxonomy .controls { - padding-bottom: 20px; -} - -.row.taxonomy .highlighted { - margin-bottom: 0 !important; -} - -#tax-query-relation { - padding-top: 15px; -} - -.meta-query-wrap .remove-meta-query, -.taxonomy-wrap .remove-tax-query { - position: absolute; - right: 5px; - top: 5px; - width: 23px; - height: 23px; - line-height: 22px; - text-align: center; - font-weight: 500; - font-size: 18px; - background-color: #393d41; - color: #fff; - text-decoration: none; - border-radius: 3px; - padding-left: 1px; -} -.meta-query-wrap .remove-meta-query:hover, .meta-query-wrap .remove-meta-query:hover, -.taxonomy-wrap .remove-tax-query:hover, -.taxonomy-wrap .remove-tax-query:hover { - background-color: #d63638; - color: #fff; -} - -.ajax-load-more .meta-query-wrap { - display: flex; - flex-wrap: wrap; - justify-content: space-between; - width: 100%; -} -.ajax-load-more .meta-query-wrap > div { - width: 48%; - margin: 0 0 15px; -} - -.meta-query-extended .meta-query-wrap { - margin-bottom: 15px; -} - -#meta-query-relation { - margin: 15px 0; -} - -.ajax-load-more .meta-query-wrap .border-top:first-of-type { - padding: 0 0 0 !important; - border: none; -} - -.ajax-load-more #taxonomy-extended, -.ajax-load-more #nav-controls, -.ajax-load-more #seo-extended, -.ajax-load-more #meta-query-relation, -.ajax-load-more #tax-query-relation, -.ajax-load-more .comments_extras, -.ajax-load-more #users-extended, -.ajax-load-more .taxonomy-extended, -.ajax-load-more #paging-controls-nav { - display: none; - overflow: hidden; -} - -.ajax-load-more .taxonomy-extended { - padding-top: 15px; -} - -.ajax-load-more .taxonomy-wrap { - display: none; - position: relative; -} - -.ajax-load-more .row .wrap .inner .ajax-load-more p.warning { - color: #d24646; - font-size: 13px; - border-left: 3px solid #d24646; - margin: 0; - padding: 0 0 0 10px; -} - -.ajax-load-more .row .wrap .inner.taxonomy { - padding-bottom: 0; -} - -.ajax-load-more label, -.ajax-load-more input, -.ajax-load-more select, -.ajax-load-more textarea { - font-size: 14px; - padding: 5px 8px; - width: auto; - margin-top: 0; - display: inline-block; - clear: both; - border-radius: 3px; - color: #393d41; - box-shadow: none; -} - -.ajax-load-more input[type=checkbox], -.ajax-load-more input[type=radio] { - width: 1rem; -} - -.controls button.disabled { - opacity: 0.5; -} - -.ajax-load-more textarea._alm_repeater { - font-family: Consolas, monaco, monospace; - font-size: 13px; - line-height: 19px; - padding: 10px; -} - -.ajax-load-more textarea._alm_repeater:focus { - color: #222; -} - -.ajax-load-more label { - padding: 5px 0; - border-radius: 0; -} - -.checkboxes input, -.radio input { - margin-top: 2px; -} - -.checkboxes input, -.checkboxes label, -.radio input, -.radio label { - float: left; - width: auto; - margin-right: 10px; - padding: 0; - clear: none; -} - -.radio input { - margin-left: 3px; -} - -.ajax-load-more textarea, -.ajax-load-more input[type=text], -.ajax-load-more input[type=email], -.ajax-load-more input[type=search], -.ajax-load-more input[type=number] { - padding: 10px 12px; - line-height: 1.3; - border: 1px solid #e7e7e7; - width: 60%; -} - -.ajax-load-more input[type=text].full { - width: 100%; -} - -.ajax-load-more .wrap-30 { - width: 32.333%; - padding-right: 3%; - display: inline-block; - vertical-align: top; -} - -.ajax-load-more .wrap-30.wrap-50 { - width: 48.6666%; -} - -.ajax-load-more .wrap-30.wrap-50.padding-top { - padding-top: 15px; -} - -.ajax-load-more .wrap-30 input[type=text].sm, -.ajax-load-more .wrap-30 .select2-container { - width: 100%; - margin: 0; -} - -.ajax-load-more input[type=number].sm { - width: 100px; -} - -.ajax-load-more ::-webkit-input-placeholder { - color: #999; - font-style: italic; -} - -.ajax-load-more :-moz-placeholder { - /* Firefox 18- */ - color: #999; - font-style: italic; -} - -.ajax-load-more ::-moz-placeholder { - /* Firefox 19+ */ - color: #999; - font-style: italic; -} - -.ajax-load-more :-ms-input-placeholder { - color: #999; - font-style: italic; -} - -.ajax-load-more .repeaters input[type=text] { - padding: 9px 10px; -} - -.ajax-load-more input[type=number] { - height: auto; -} - -.ajax-load-more .form-table textarea { - clear: both; - display: inline-block; - float: none; - width: 100%; -} - -.ajax-load-more textarea.disabled, -.ajax-load-more input.disabled-input { - opacity: 0.5; - filter: alpha(opacity=50); - cursor: not-allowed; - border-color: #ccc !important; - box-shadow: none !important; -} - -.ajax-load-more input[type=text]:focus, -.ajax-load-more input[type=number]:focus, -.ajax-load-more input[type=email]:focus, -.ajax-load-more textarea:focus { - border-color: #3d8ed0; - box-shadow: 0 0 4px 1px rgba(61, 142, 208, 0.15); -} - -.checkboxes label { - margin-right: 5px; -} - -.ajax-load-more .one_half { - display: inline-block; - width: 48%; - margin: 0 -2px 1% 2%; - vertical-align: top; -} - -.ajax-load-more .one_half:first-of-type { - margin: 0 2% 1% 0; -} - -.ajax-load-more .alm-row { - display: grid; - grid-template-columns: repeat(12, 1fr); - align-items: start; - gap: 15px; - padding: 20px; - width: 100%; -} -@media screen and (min-width: 900px) { - .ajax-load-more .alm-row { - gap: 20px; - } -} -.ajax-load-more .alm-row + .alm-row { - padding-top: 0; -} -.ajax-load-more .alm-row.no-padding-btm { - padding-bottom: 0; -} -.ajax-load-more .alm-row .column { - grid-column: span 12/span 12; -} -@media screen and (min-width: 900px) { - .ajax-load-more .alm-row .column.column-3 { - grid-column: span 3/span 3; - } - .ajax-load-more .alm-row .column.column-6 { - grid-column: span 6/span 6; - } - .ajax-load-more .alm-row .column.column-9 { - grid-column: span 9/span 9; - } -} - -.alm-template-actions { - display: flex; - gap: 10px; - width: 100%; - justify-content: end; - padding: 0 0 10px; -} - -.ajax-load-more .row { - padding: 0 !important; - margin: 10px 0 0; - height: auto; - width: 100%; - display: block; - overflow: hidden; - clear: both; - border: 1px solid #e7e7e7; - border-radius: 3px; -} -.ajax-load-more .row.no-brd { - border: none !important; - padding: 0 !important; -} - -.ajax-load-more#alm-repeaters .row { - overflow: visible; -} - -.ajax-load-more .row { - border-color: #e7e7e7; -} - -.ajax-load-more .repeaters .row:hover, -.ajax-load-more.shortcode-builder .row:hover { - border-color: #d9d9d9; - box-shadow: 0 0 0 3px #f7f7f7; -} - -.ajax-load-more .row:first-of-type { - margin-top: 20px; - padding-top: 0; -} - -.ajax-load-more .intro { - height: auto; - width: 100%; - display: block; - overflow: hidden; -} - -/* Jump Menu */ -.pop-up-jump { - display: block; - width: 100%; -} -.pop-up-jump .jump-menu-wrap { - position: relative; - float: right; - width: 30%; -} -.pop-up-jump .jump-menu-wrap .select2-container { - width: 100% !important; - margin-bottom: 15px; - position: relative; - top: -5px; -} -.pop-up-jump .intro-wrap { - position: relative; - float: left; - width: 65%; - padding-right: 5%; -} - -.ajax-load-more .jump-menu { - display: none; -} - -/* Table of Contents */ -#cnkt-sticky.attached { - position: fixed; - width: auto; - top: 70px; -} - -.table-of-contents .select2-container { - width: 100%; -} - -.table-of-contents ul { - margin: 0 !important; -} - -.table-of-contents li { - width: auto !important; - display: inline-block; - vertical-align: top; - padding: 0; - margin: 5px 5px 5px 0; -} - -.ajax-load-more .expand-wrap { - display: block; -} - -#alm-examples.ajax-load-more .expand-wrap { - padding: 10px 10px 0; -} - -.ajax-load-more .expand-wrap hr { - border: 0; - height: 0; - border-top: 1px solid #efefef; - border-bottom: 1px solid rgba(255, 255, 255, 0.3); -} - -hr.indented { - width: calc(100% - 40px); - margin-left: 20px; -} - -.ajax-load-more .section-title { - float: left; - padding: 20px 0 25px 20px; - width: 35%; -} -.ajax-load-more .section-title.full { - width: 100%; - float: none; - padding-right: 25px; -} -.ajax-load-more .section-title p:last-of-type { - margin-bottom: 0; -} -.ajax-load-more .section-title small { - font-size: 12px; - padding-top: 10px; - display: block; -} -.ajax-load-more .section-title h4 { - font-size: 14px; - font-weight: 600; - margin-bottom: 15px; -} -.ajax-load-more .section-title p, -.ajax-load-more .section-title .wrap p.descriptor { - font-size: 13px; - line-height: 20px; - color: #999; -} - -.ajax-load-more .wrap p.descriptor { - margin: 0; - font-style: italic; -} - -.ajax-load-more .section-title p .fa.tooltip:hover, -.form-table label .fa.tooltip:hover { - opacity: 1; -} - -.ajax-load-more .fa.tooltip { - display: inline-block; - margin: 0 2px; - text-decoration: none; - cursor: help; - position: relative; - top: -1px; - background: #fff; - border-radius: 100%; - width: 16px; - height: 16px; - text-align: center; - line-height: 16px; - box-shadow: 0 1px 1px #ccc; -} - -.cta h3 .fa.tooltip { - top: 1px; -} - -.ajax-load-more .section-title p span, -.ajax-load-more.settings .form-table p.notify span { - display: inline-block; - padding: 0 4px; - border-radius: 2px; - background: #f7f7f7; - border: 1px solid #efefef; - color: #666; -} - -.ajax-load-more .section-title h4 { - margin: 0 0 10px; -} - -.ajax-load-more .repeaters .section-title, -.ajax-load-more .repeaters .row .wrap { - width: 100%; - float: none; - padding: 0; -} - -.ajax-load-more .repeaters .section-title p { - padding-left: 0 !important; -} - -.ajax-load-more label input._alm_repeater_alias { - height: auto; - line-height: normal !important; -} - -.preload_amount, -.cache_id, -.alternate_template_wrap, -.cta_template_wrap, -.restapi_options, -.filters_options, -.next-page-content, -.acf-options, -.masonry-options, -.progress-bar-options, -.hide-section { - display: none; -} - -.ajax-load-more .row .wrap { - padding: 20px 20px 0 5%; - margin: 0; - border: none; - width: 65%; - float: left; - position: relative; -} - -.ajax-load-more .row .wrap.full { - float: none; - width: 100%; - padding: 0 15px 15px 36px; -} - -.ajax-load-more .output-wrap { - margin: 20px 0 0; - background: #838d99; - width: 100%; - display: block; - border-radius: 3px; -} -.ajax-load-more .output-wrap textarea { - background-color: transparent !important; - resize: none !important; - height: auto !important; - min-height: 100px; - border: none !important; - width: 100% !important; - display: block; - border-radius: 3px; - font-family: monospace; - font-size: 12px; - line-height: 18px; - color: #fff; - cursor: pointer; -} - -.ajax-load-more .row .wrap.output { - display: block !important; -} - -.ajax-load-more .row .wrap .inner { - padding: 0 0 20px; -} - -.ajax-load-more .row .wrap .inner.half { - padding: 0 0 20px; - width: 49.333%; - display: inline-block; -} - -#insert.insert_alm { - background: #fff !important; - color: #ca5252 !important; - border: none; - font-size: 14px !important; - font-weight: 600; - padding: 8px 13px; - display: inline-block; - text-align: center; - margin: 15px 0; - line-height: normal !important; - height: auto !important; - box-shadow: inset 0 -15px 15px rgba(0, 0, 0, 0.1), 0 1px 0px #ca5252; - text-shadow: none !important; - max-width: 20%; - border-radius: 2px; -} -#insert.insert_alm #insert.insert_alm { - display: none; -} -#insert.insert_alm:hover { - box-shadow: inset 0 -15px 15px rgba(0, 0, 0, 0.1), 0 0 3px rgb(255, 255, 255); -} -#insert.insert_alm:active { - background: #d0413f !important; - box-shadow: inset 0 2px 2px rgba(0, 0, 0, 0.1); - color: #fff !important; -} - -.ajax-load-more .clear { - clear: both; - height: auto; - overflow: hidden; - width: 100%; - padding: 0; - margin: 0; -} - -.form-table label { - display: block; - clear: both; - float: none; - padding: 0 0 8px; - max-width: 90%; - cursor: pointer !important; - line-height: 1.5; -} - -.form-table input[type=radio], -.form-table input[type=checkbox] { - vertical-align: top; - margin-top: 0 !important; - max-width: 8%; -} - -.form-table label + textarea { - margin-top: 10px; -} - -.form-table label span, -#alm-shortcode-builder-form label span.description { - font-size: 13px; - color: #6a7178; - padding-top: 10px; -} - -#alm-shortcode-builder-form label span.description { - display: block; - padding-top: 1px; - padding-bottom: 5px; -} - -.ajax-load-more textarea.disabled, -.ajax-load-more input.disabled { - opacity: 0.9; - filter: alpha(opacity=90); - cursor: default; - border: 1px solid #ccc; - background: #efefef; - color: #666; - text-shadow: 1px 1px 0 #fff; - resize: none; -} - -.ajax-load-more .form-table input[type=radio], -.ajax-load-more .form-table input[type=checkbox] { - margin-right: 10px; - margin-top: 0 !important; -} - -.ajax-load-more.settings input[type=text], -.ajax-load-more.settings input[type=number], -.ajax-load-more.settings input[type=email], -.ajax-load-more.settings .select2-container { - margin-top: 10px; -} - -.ajax-load-more .ajax-load-more-wrap { - position: relative; - top: 10px; - padding: 20px; - border: 1px solid #e7e7e7; - box-shadow: inset 0 0 0 5px rgba(0, 0, 0, 0.025), 0 0 5px rgba(0, 0, 0, 0.1); - border-radius: 3px; - margin-top: 10px; - margin-bottom: 10px; -} -.ajax-load-more .ajax-load-more-wrap.preview-pane.none { - display: none; -} -.ajax-load-more .ajax-load-more-wrap .alm-btn-wrap { - text-align: left; - padding: 0; - margin: 0; -} -.ajax-load-more .ajax-load-more-wrap button { - margin: 0 !important; - opacity: 1 !important; - visibility: visible !important; -} -.ajax-load-more .ajax-load-more-wrap span { - display: block; - font-size: 10px; - line-height: 1; - border-bottom: 1px solid #e7e7e7; - padding: 0 0 10px; - margin: 0 0 20px; - text-transform: uppercase; -} -.ajax-load-more .ajax-load-more-wrap ul.alm-paging li span { - padding: 0; - margin: 0; -} - -.ajax-load-more.settings { - /* Table Overrides */ -} -.ajax-load-more.settings .ajax-load-more-wrap.pages li { - font-size: 14px; -} -.ajax-load-more.settings .ajax-load-more-wrap.pages li a { - text-decoration: none; -} -.ajax-load-more.settings .ajax-load-more-wrap.pages li span { - margin: 0; - font-size: 14px; - border-bottom: none; -} -.ajax-load-more.settings .form-table td, -.ajax-load-more.settings .form-table th { - padding: 25px; - line-height: 1.5; -} -.ajax-load-more.settings .form-table td:last-of-type, -.ajax-load-more.settings .form-table th:last-of-type { - margin: 0; -} -.ajax-load-more.settings .form-table th { - font-weight: 600; - background-color: #f7f7f7; - border-right: 1px solid #efefef; - width: 25%; -} -.ajax-load-more.settings .form-table p { - margin-top: 0; -} -.ajax-load-more.settings .form-table p.notify { - padding: 10px 0 0; - margin: 5px 0 20px; - overflow: hidden; - color: #999; -} -.ajax-load-more.settings .nextpage-option { - display: block; - padding: 10px; - background-color: #f7f7f7; - border: 1px solid #e7e7e7; - margin: 10px 0; - border-radius: 3px; -} -.ajax-load-more.settings .nextpage-option > div label { - margin: 0; - width: 100%; -} -.ajax-load-more.settings .nextpage-option--type input:checked + label { - font-weight: 600; -} -.ajax-load-more.settings .nextpage-option--shortcode { - display: none; - padding: 10px 5px 5px 30px; -} -.ajax-load-more.settings .nextpage-option--shortcode.active { - display: block; -} -.ajax-load-more.settings .nextpage-option--shortcode label { - padding: 10px 1px 0; - margin: 0 0 10px; - font-size: 13px; - border-top: 1px solid #e7e7e7; - display: block; - width: 100%; - max-width: 100%; -} -.ajax-load-more.settings .nextpage-option--shortcode textarea { - border-radius: 3px; - font-size: 12px; - line-height: 1.55; - font-family: Consolas, monaco, monospace; - width: 100%; - display: block; -} - -.ajax-load-more h2.addon-title { - font-size: 18px !important; - line-height: 22px; - font-weight: 600 !important; - color: #393d41 !important; - padding: 0; -} -.ajax-load-more h3.add-on-title { - padding: 0 0 10px; - margin: 0 0 20px; - border-bottom: 1px solid #efefef; -} -.ajax-load-more h3.add-on-title, -.ajax-load-more .cnkt-sidebar h3 { - padding: 0 0 10px; - margin: 0 0 20px; - border-bottom: 1px solid #efefef; -} -.ajax-load-more .desc, -.ajax-load-more p.writeable-title { - padding: 0 0 2px 28px; -} -.ajax-load-more p.writeable-title { - position: relative; -} -.ajax-load-more p.writeable-title i { - position: absolute !important; - left: 0 !important; - top: 1px !important; -} -.ajax-load-more .saved-response, -.ajax-load-more p.loading { - font-size: 12px; - padding: 0; - color: #999; - background: none; - transition: padding 0.2s ease; - display: inline-block; - width: auto; - position: relative; - top: 5px; - left: 15px; -} -.ajax-load-more .saved-error { - color: #e03e3e; -} -.ajax-load-more .saved-response em { - color: #333; - display: block; - padding: 5px 0; -} -.ajax-load-more .saved { - color: #90be59; - font-weight: 700; -} -.ajax-load-more p.loading { - position: static; -} -.ajax-load-more .saved-response.loading, -.ajax-load-more p.loading { - background: transparent url(../admin/img/ui/loader.gif) no-repeat left center; - padding-left: 24px; -} -.ajax-load-more .restore-default { - float: right; - margin: 19px 20px 0 0; - font-size: 12px; -} -.ajax-load-more .restore-default a { - text-decoration: none; -} -.ajax-load-more table.highlight { - background: #fff !important; -} - -/* Columns */ -.ajax-load-more .cnkt-main { - width: 100%; - background: #fff; - padding: 20px; - border: 1px solid #e7e7e7; - border-radius: 8px; - margin-bottom: 20px; -} -@media screen and (min-width: 900px) { - .ajax-load-more .cnkt-main { - width: 70%; - } -} -.ajax-load-more .cnkt-main.stylefree { - padding: 0; - background-color: transparent; - border: none; -} - -.ajax-load-more .cnkt-main .group { - background: #fff; - padding: 20px; - margin: 0 0 20px; - position: relative; - display: block; - clear: both; -} - -.ajax-load-more .cnkt-main .group, -.ajax-load-more .cnkt-sidebar .cta { - border: 1px solid #e7e7e7; - box-shadow: 0 0 5px rgba(0, 0, 0, 0.1); -} -.ajax-load-more .cnkt-main .group.no-shadow, -.ajax-load-more .cnkt-sidebar .cta.no-shadow { - box-shadow: none; -} - -.ajax-load-more .cnkt-main .alm-content-wrap { - border: 1px solid #e7e7e7; - background-color: #fff; - border-radius: 8px; - padding: 20px; - position: relative; -} -.ajax-load-more .cnkt-main .alm-content-wrap .toggle-all { - right: -1px; - top: -45px; -} -.ajax-load-more .cnkt-main .alm-content-wrap .flexbox-wrap { - margin: 0; -} - -.ajax-load-more .cnkt-main.full { - width: 100%; - float: none; -} - -.ajax-load-more .cnkt-main h1, -.ajax-load-more .cnkt-main h2, -.ajax-load-more .cnkt-main h3, -.ajax-load-more .cnkt-main h4 { - margin-top: 0; - margin-bottom: 10px; -} - -.form-table tr { - border-top: 1px solid #efefef; -} - -.form-table { - border: 1px solid #efefef; - margin: 0 0 20px; -} -.form-table br { - height: 1px; - display: block; - overflow: hidden; - line-height: 1px; - margin: 0; - content: ""; -} - -#alm_OptionsForm .form-table:last-of-type { - margin-bottom: 0; -} - -/* Repeaters */ -.repeaters .repeater-wrap label { - font-weight: 500; - padding: 0; - margin: 0 0 10px; -} -.repeaters .repeater-wrap label span { - display: block; - font-weight: 400; - color: #6a7178; - font-size: 12px; - padding-top: 3px; - opacity: 0.75; -} -.repeaters input.save-repeater { - display: inline-block; - margin: 0; - clear: none; - max-width: 25%; -} -.repeaters .repeater-wrap textarea, -.repeaters .repeater-wrap input[type=text] { - width: 100%; -} -.repeaters input.save-repeater.saving { - cursor: default !important; - opacity: 0.3 !important; -} -.repeaters .saved-response { - max-width: 72%; - opacity: 0; -} -.repeaters .one_half { - padding-bottom: 10px; -} -.repeaters .alm-delete { - display: inline-block; - margin: 0; - width: auto; - opacity: 0; - transition: all 0.15s ease; - position: absolute; - right: 20px; - bottom: 20px; - border: none; - border-radius: 3px; - background: none; - color: #c94141; - font-size: 14px; - line-height: 30px; - height: 30px; - text-decoration: none; - display: block; - padding: 0 10px; - cursor: pointer; -} -.repeaters .alm-delete:hover, .repeaters .alm-delete:focus { - background-color: #c94141; - color: #fff; -} -.repeaters .alm-delete:active { - background-color: #b93636; -} -.repeaters .row:hover .alm-delete, -.repeaters .row:focus-within .alm-delete { - opacity: 1; -} - -/* Add-ons & Extensions */ -.flexbox-wrap { - display: grid; - grid-template-columns: repeat(1, 1fr); - gap: 1px; - margin-bottom: 20px; - background-color: #f7f7f7; - box-shadow: inset 0 0 0 10px #fff; - border-radius: 8px; - padding: 10px; -} -@media screen and (min-width: 640px) { - .flexbox-wrap { - grid-template-columns: repeat(2, 1fr); - } -} -@media screen and (min-width: 1100px) { - .flexbox-wrap { - grid-template-columns: repeat(3, 1fr); - } -} -.flexbox-wrap--single { - grid-template-columns: repeat(1, 1fr); - padding: 0; - border-radius: 3px; - border: 1px solid #efefef; -} - -#alm-add-ons .group { - overflow: hidden; - width: 100%; - display: flex; - vertical-align: top; - text-align: center; - margin: 0 !important; - padding: 0; - border: none; -} -#alm-add-ons .group.highlighted, #alm-add-ons .group.extend, #alm-add-ons .group.alm-pro-hero { - width: 100%; - background: none; - border: none; - box-shadow: none; -} -#alm-add-ons .group.highlighted a, #alm-add-ons .group.extend a, #alm-add-ons .group.alm-pro-hero a { - background: #f7f7f7; - border-radius: 8px; - box-shadow: inset 0 0 0 10px #fff; -} -#alm-add-ons .group.highlighted img, #alm-add-ons .group.extend img, #alm-add-ons .group.alm-pro-hero img { - padding: 10px; -} -@media screen and (min-width: 768px) { - #alm-add-ons .group.highlighted, #alm-add-ons .group.extend, #alm-add-ons .group.alm-pro-hero { - text-align: left; - } - #alm-add-ons .group.highlighted a, #alm-add-ons .group.extend a, #alm-add-ons .group.alm-pro-hero a { - padding: 20px; - overflow: hidden; - display: flex; - flex-wrap: nowrap; - align-items: center; - } - #alm-add-ons .group.highlighted .pro-img, - #alm-add-ons .group.highlighted .pro-details, #alm-add-ons .group.extend .pro-img, - #alm-add-ons .group.extend .pro-details, #alm-add-ons .group.alm-pro-hero .pro-img, - #alm-add-ons .group.alm-pro-hero .pro-details { - flex: 1; - } - #alm-add-ons .group.highlighted .pro-img, #alm-add-ons .group.extend .pro-img, #alm-add-ons .group.alm-pro-hero .pro-img { - max-width: 355px; - } - #alm-add-ons .group.highlighted .pro-details, #alm-add-ons .group.extend .pro-details, #alm-add-ons .group.alm-pro-hero .pro-details { - padding: 0 15px 0 35px; - } - #alm-add-ons .group.highlighted img, #alm-add-ons .group.extend img, #alm-add-ons .group.alm-pro-hero img { - position: static; - } - #alm-add-ons .group.highlighted span.cnkt-button, #alm-add-ons .group.extend span.cnkt-button, #alm-add-ons .group.alm-pro-hero span.cnkt-button { - position: static; - width: auto; - display: inline-block; - padding: 13px 30px; - text-align: center; - margin-top: 15px; - font-size: 14px; - } -} -@media screen and (min-width: 769px) and (max-width: 1270px) { - #alm-add-ons .group.highlighted .pro-desc, #alm-add-ons .group.extend .pro-desc, #alm-add-ons .group.alm-pro-hero .pro-desc { - display: none; - } -} -#alm-add-ons .group.extend a { - background-color: #fff; - border-color: #fcfcfc; -} -#alm-add-ons .group.installed { - filter: grayscale(1); -} -#alm-add-ons .group.installed p:before { - display: none !important; -} - -#alm-add-ons .group span.cnkt-button { - position: absolute; - left: 20px; - bottom: 20px; - width: 100%; - width: calc(100% - 40px); - display: block; - font-size: 14px; - padding: 11px 14px; - transition: all 0.15s ease; - border-bottom: none; - border-left: none; - border-right: none; -} -#alm-add-ons .group img { - padding: 0 15px 15px; -} -#alm-add-ons .group a { - text-decoration: none; - display: block; - padding: 25px 25px 70px; - position: relative; -} -#alm-add-ons .group--pro a { - padding-bottom: 17px; -} -#alm-add-ons .group a:hover h2, -#alm-add-ons .group a:focus h2 { - color: #d63638 !important; - text-decoration: none; -} -#alm-add-ons .group.installed a:hover h2, -#alm-add-ons .group.installed a:focus h2 { - color: #444 !important; -} - -.ajax-load-more .cnkt-plugin-installer { - display: grid; - gap: 10px; - grid-template-columns: repeat(1, 1fr); - width: 100%; - position: static; -} -@media screen and (min-width: 640px) { - .ajax-load-more .cnkt-plugin-installer { - grid-template-columns: repeat(2, 1fr); - } -} -@media screen and (min-width: 1600px) { - .ajax-load-more .cnkt-plugin-installer { - grid-template-columns: repeat(3, 1fr); - } -} -.ajax-load-more .cnkt-plugin-installer::after { - display: none; -} -.ajax-load-more .cnkt-plugin-installer .plugin { - width: 100% !important; - margin: 0 !important; - border-radius: 3px; -} - -.ajax-load-more p.warning-callout { - background-color: #eaf6fb; - border-left: 6px solid #3d8ed0; - color: #333; - font-size: 12px; - margin: 0; - display: block; - padding: 18px 100px 18px 18px; - border-radius: 3px; - margin: 10px; - width: auto; - line-height: 1.55; - position: relative; -} -.ajax-load-more p.warning-callout a { - color: #0071ac; -} -.ajax-load-more p.warning-callout a.button-small { - position: absolute; - right: 14px; - top: 14px; - font-size: 12px; - display: inline-block; - background-color: rgba(255, 255, 255, 0.75); - margin: 0 0 0 10px; -} -.ajax-load-more p.warning-callout a.button-small:hover, .ajax-load-more p.warning-callout a.button-small:focus { - background-color: #fff; -} -.ajax-load-more p.warning-callout strong { - display: inline-block; - font-weight: normal; - font-family: Consolas, monaco, monospace; - background-color: #fff; - padding: 1px 6px 0; - border-radius: 2px; -} -.ajax-load-more p.warning-callout.notify { - background-color: #da5858; - border-color: #b94848; - color: #fff; -} -.ajax-load-more p.warning-callout.notify strong { - background-color: #9a4343; - color: #fff; -} - -.ajax-load-more .call-out { - background: #bb8dd2; - padding: 15px; - border-radius: 8px; - display: flex; - align-items: center; - width: 100%; - position: relative; - box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1); -} -.ajax-load-more .call-out p { - margin: 5px; - color: #fff; - line-height: 1.45; - text-shadow: 0 1px 0 rgba(0, 0, 0, 0.05); - display: flex; - align-items: center; - width: 100%; -} -.ajax-load-more .call-out p i { - font-size: 15px; - margin-right: 5px; - position: relative; - left: -4px; - display: block; - font-size: 22px; - opacity: 0.5; -} -@media screen and (max-width: 640px) { - .ajax-load-more .call-out p i { - display: none; - } -} -.ajax-load-more .call-out--centered { - flex-direction: column; -} -.ajax-load-more .call-out--centered p { - display: block; - text-align: center; - margin: 0 10px 0; -} -.ajax-load-more .call-out--centered p i { - position: static; - margin: 0 0 10px; -} -.ajax-load-more .call-out--centered p + div { - margin-top: 10px; -} -.ajax-load-more .call-out.text-left { - text-align: left; -} -.ajax-load-more .call-out.radius-normal { - border-radius: 3px; -} -.ajax-load-more .call-out.margin-bottom { - margin-bottom: 20px; -} -.ajax-load-more .call-out.margin-top { - margin-top: 20px; -} -.ajax-load-more .call-out.margin-top-half { - margin-top: 10px; -} -.ajax-load-more .call-out--shortcode-builder { - padding: 0; - border-top: 1px solid #e7e7e7; -} -.ajax-load-more .call-out--shortcode-builder .call-out { - border-radius: 0 0 3px 3px; -} -.ajax-load-more .call-out--shortcode-builder .call-out p { - font-size: 13px; -} -.ajax-load-more .call-out.blue { - background-color: #eaf6fb; - border-left: 6px solid #4e99bf; - box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05); -} -.ajax-load-more .call-out.blue p { - color: #393d41; - text-shadow: none; -} -.ajax-load-more .call-out.blue .cnkt-button { - background: #3d8ed0; - color: #fff; -} -.ajax-load-more .call-out.blue .cnkt-button:hover, .ajax-load-more .call-out.blue .cnkt-button:focus { - background: #1465a8; -} -.ajax-load-more .call-out.light { - background: #fff8d7; -} -.ajax-load-more .call-out.light p { - color: #59574e; - text-shadow: none; -} -.ajax-load-more .call-out.light p a { - color: #d63638 !important; -} -.ajax-load-more .call-out.light p a:hover { - text-decoration: underline; -} -.ajax-load-more .call-out.light .cnkt-button { - background: #fff; - color: #59574e; -} -.ajax-load-more .call-out.light .cnkt-button:hover, .ajax-load-more .call-out.light .cnkt-button:focus { - color: #3e3d3a; - background: rgba(255, 255, 255, 0.9); -} -.ajax-load-more .call-out a:not(.cnkt-button):not(.button) { - color: #fff; - text-decoration: underline; - font-weight: 600; -} -.ajax-load-more .call-out a:not(.cnkt-button):not(.button):hover, .ajax-load-more .call-out a:not(.cnkt-button):not(.button):focus { - text-decoration: none; -} -.ajax-load-more .call-out .button, -.ajax-load-more .call-out .cnkt-button { - margin-left: auto; -} -.ajax-load-more .call-out .cnkt-button { - font-weight: 500; - font-size: 13px; - display: block; - flex: 1; - padding: 7px 14px; - background: #77498e; - color: #fff; - border: none; -} -.ajax-load-more .call-out .cnkt-button:hover, .ajax-load-more .call-out .cnkt-button:focus { - background: #5a366c; - color: #fff; - box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15); -} - -a.cnkt-button, -span.cnkt-button { - padding: 6px 10px; - display: inline-flex; - align-items: center; - background: #bb8dd2; - border: none; - border-radius: 3px; - position: static; - text-decoration: none; - color: #fff; - font-size: 14px; - font-weight: 500; - transition: all 0.15s ease; - white-space: nowrap; - box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); -} -a.cnkt-button i, -span.cnkt-button i { - margin-right: 2px; -} - -a.cnkt-button:hover, -.group:hover span.cnkt-button { - background-color: #a272bc; - color: #fff; -} - -a.cnkt-button:focus, -.group:focus span.cnkt-button { - background-color: #83519d; - color: #fff; - outline: none; -} - -a.cnkt-button.installed, -span.cnkt-button.installed, -.group span.cnkt-button.installed { - background: #f7f7f7 !important; - color: #888 !important; - box-shadow: none !important; -} - -.ajax-load-more .cnkt-sidebar .cta { - background: #fff; - padding: 0; - margin: 20px 0 0; - overflow: visible; - position: relative; - box-shadow: 0 5px 10px rgba(0, 0, 0, 0.035); - border: 1px solid #e7e7e7; - border-radius: 8px; -} -.ajax-load-more .cnkt-sidebar .cta:first-of-type { - margin-top: 0; -} -.ajax-load-more .cnkt-sidebar .cta .alm-file-location:not(input) { - padding-top: 15px; - margin-top: 15px; - border-top: 1px solid #efefef; -} -.ajax-load-more .cnkt-sidebar .cta .alm-file-location:not(input) input { - font-size: 11px; - font-family: Consolas, monaco, monospace; - width: 100%; -} - -.ajax-load-more .cnkt-sidebar .cta-inner { - padding: 15px; - display: block; -} -.ajax-load-more .cnkt-sidebar .cta-inner .cta-inner { - background-color: #f7f7f7; - border-radius: 3px; - border: 1px solid #e7e7e7; -} - -.ajax-load-more .cnkt-sidebar .cta-inner.padding-bottom { - padding-bottom: 80px; -} - -.ajax-load-more .cnkt-sidebar .cta.padding-bottom { - padding-bottom: 50px; -} - -.ajax-load-more .cnkt-sidebar h3, -.ajax-load-more .cnkt-sidebar h4 { - margin-top: 0; -} - -.ajax-load-more .cnkt-sidebar h3 { - padding: 15px 0; - margin: 0; - display: block; - font-size: 15px; - text-transform: none; - border-bottom: 1px solid #efefef; - margin: 0 15px; - font-weight: 500; -} - -.ajax-load-more .cnkt-sidebar .item { - overflow: hidden; -} - -.ajax-load-more .cnkt-sidebar .item h4 { - margin: 0 0 5px; - font-size: 0.9em; - text-transform: uppercase; - opacity: 0.5; -} - -.ajax-load-more .cnkt-sidebar h4 { - margin-bottom: 5px; -} - -.ajax-load-more .cnkt-sidebar .cta.dyk .cta-inner { - overflow: hidden; - display: flex; - gap: 10px; -} -@media screen and (min-width: 900px) and (max-width: 1300px) { - .ajax-load-more .cnkt-sidebar .cta.dyk .cta-inner { - display: block; - } - .ajax-load-more .cnkt-sidebar .cta.dyk .cta-inner .img, - .ajax-load-more .cnkt-sidebar .cta.dyk .cta-inner .text { - width: 100%; - margin: 5px 0; - } -} -.ajax-load-more .cnkt-sidebar .cta.dyk .img { - width: 40%; -} -.ajax-load-more .cnkt-sidebar .cta.dyk .text { - width: 60%; -} -.ajax-load-more .cnkt-sidebar .cta.dyk p { - margin: 0 0 15px; - clear: none; -} -.ajax-load-more .cnkt-sidebar .cta.dyk p:last-child { - margin: 0; -} - -.ajax-load-more .cnkt-sidebar ul { - padding: 5px 0 0; - margin: 0; - overflow: hidden; -} - -.ajax-load-more .cnkt-sidebar li { - margin: 0 0 10px; - line-height: 1.5; -} - -.ajax-load-more .cnkt-sidebar .cta.resources li { - display: block; - width: 100%; - line-height: 1; - margin: 1px 0; -} - -.ajax-load-more .cnkt-sidebar .cta.resources li a { - text-decoration: none; - padding: 10px 0; - display: block; - border-top: 1px solid #efefef; -} - -.ajax-load-more .cnkt-sidebar .cta.resources li:first-of-type a { - border: none; - padding-top: 0; -} - -.ajax-load-more .cnkt-sidebar .cta.resources li i { - display: inline-block; - width: 24px; - text-align: center; - color: #ccc; - text-decoration: none; - font-size: 14px; -} - -.ajax-load-more .cnkt-sidebar a.visit { - background: #ed7070; - padding: 17px 20px 18px 44px; - position: absolute; - bottom: 0; - left: 0; - width: 100%; - display: block; - color: #fff !important; - z-index: 2; - text-decoration: none; - line-height: 1; - border-radius: 0 0 2px 2px; -} - -.ajax-load-more .cnkt-sidebar a.visit i { - font-size: 21px; - opacity: 0.6; - margin: 0 5px 0 0; - position: absolute; - top: 13px; - left: 18px; - display: inline-block; -} - -.ajax-load-more .cnkt-sidebar a.visit:hover, -.ajax-load-more .cnkt-sidebar a.visit:focus { - background: #f06060; -} - -.ajax-load-more .cnkt-sidebar a.visit:hover i { - opacity: 1; -} - -.ajax-load-more .cnkt-sidebar .project-listing { - padding: 0; -} -.ajax-load-more .cnkt-sidebar .project-listing li { - margin: 15px 0 0; - padding: 0; - position: relative; - clear: both; -} -.ajax-load-more .cnkt-sidebar .project-listing li:first-of-type { - margin-top: 0; -} -.ajax-load-more .cnkt-sidebar .project-listing li a { - display: flex; - width: 100%; - gap: 10px; - position: static; - text-decoration: none; -} -.ajax-load-more .cnkt-sidebar .project-listing li a:hover h4, .ajax-load-more .cnkt-sidebar .project-listing li a:focus h4 { - text-decoration: underline; -} -.ajax-load-more .cnkt-sidebar .project-listing li h4 { - display: block; - margin: -3px 0 8px; - font-size: 14px; -} -.ajax-load-more .cnkt-sidebar .project-listing li img { - height: 48px; - width: 48px; -} - -.alm-status { - display: flex; - margin: 0 0 15px; - cursor: default; -} -.alm-status span { - background-color: #f7f7f7; - padding: 0 10px 0 0; - line-height: 1; - border-radius: 3px; - overflow: hidden; - display: flex; - align-items: center; - font-weight: 500; - text-transform: uppercase; - font-size: 11px; -} -.alm-status span i { - padding: 10px 12px; - margin: 0 10px 0 0; - text-align: center; -} -.alm-status.success span i { - background-color: #8ed074; - color: #fff; -} -.alm-status.failed span i { - background-color: #d63638; - color: #fff; -} - -.shortcode-builder hr { - margin: 0; -} - -#unlmited-container { - margin: 0; - display: block; - overflow: visible; -} - -.ajax-load-more .row.template.unlimited:first-of-type { - margin-top: 10px; -} - -.repeaters .row, -.shortcode-builder .row { - transition: background-color 0.3s ease; -} - -.repeaters .row.no-brd:hover, -.shortcode-builder .row.no-brd:hover { - box-shadow: none; - border-color: transparent; -} - -.unlimited-wrap { - display: none; -} - -.ajax-load-more .row.unlimited.deleting { - /* Deleting Row */ - background: #fff url(../admin/img/ui/loader-unlimited.gif) no-repeat center center; - border-color: #fff; - opacity: 0.4; -} - -.ajax-load-more .row.unlimited.deleting.deleted { - /* Deleting Row */ - background-image: none !important; -} - -.ajax-load-more .row.unlimited.new { - /* New Row */ - background: url(../admin/img/ui/loader-unlimited.gif) no-repeat center center; - border-color: #efefef !important; - min-height: 60px; - display: none; -} - -.ajax-load-more .row.unlimited.new.done { - background-image: none !important; -} - -.ajax-load-more .row.unlimited.loaded { - /* Loading complete */ - background-color: #64e49d; - border-color: #64e49d; -} - -.ajax-load-more .row.unlimited.deleting .expand-wrap, -.row.unlimited.deleting h3.heading { - opacity: 0.6; -} - -.row.unlimited.deleting .alm-delete { - display: none; -} - -.row.unlimited.deleting .save-repeater { - opacity: 0; - cursor: default; -} - -.ajax-load-more .row.unlimited input[type=text] { - width: 100%; -} - -.ajax-load-more .alm-add-template { - text-align: center; - margin: 20px 0 5px !important; - display: block; - font-size: 14px; - font-weight: 500; - text-transform: none !important; - text-align: center; -} -.ajax-load-more .alm-add-template a { - background: #f7f7f7; - border: 1px solid #e7e7e7; - color: #393d41; - display: inline-block; - padding: 15px; - line-height: 1; - border-radius: 3px; - text-decoration: none; - transition: all 0.15s ease; -} -.ajax-load-more .alm-add-template a i { - color: #d63638; - margin: 0 4px 0 0; - position: relative; - left: -1px; - font-size: 16px; -} -.ajax-load-more .alm-add-template a:hover, .ajax-load-more .alm-add-template a:focus { - background: #d63638; - border-color: #d63638; - color: #fff; - text-shadow: none; - color: #fff; -} -.ajax-load-more .alm-add-template a:hover i, .ajax-load-more .alm-add-template a:focus i { - color: #fff; - opacity: 0.65; -} -.ajax-load-more .alm-add-template a.active { - opacity: 0.5; - cursor: default; - color: #333 !important; - background: #efefef !important; - border-color: #efefef !important; -} -.ajax-load-more .alm-add-template a.active i { - color: #393d41; -} - -.spacer { - height: 10px; - clear: both; - display: block; -} -.spacer.lg { - height: 20px; -} - -.alm-text-center { - text-align: center; -} - -.ajax-load-more p.generate-id { - margin: 10px 0 0 !important; - padding: 0 0 0 5px; - font-size: 12px !important; -} -.ajax-load-more p.generate-id i { - margin: 0 2px 0 0; - color: #999; -} -.ajax-load-more p.generate-id a { - text-decoration: none; -} - -.ajax-load-more .alm-dir-listing ul { - padding: 0; - margin: 0; - display: flex; - width: 100%; - flex-wrap: wrap; -} -.ajax-load-more .alm-dir-listing ul li { - margin: 0; - padding: 10px 5px 5px 55px; - background: transparent url(../admin/img/ui/directory-list.gif) no-repeat left 46%; - position: relative; - display: block; - width: 50%; -} -.ajax-load-more .alm-dir-listing ul li.full { - width: 100%; -} -.ajax-load-more .alm-dir-listing ul li:last-child, .ajax-load-more .alm-dir-listing ul li:nth-last-child(2) { - background-image: url(../admin/img/ui/directory-list-btm.gif); -} -.ajax-load-more .alm-dir-listing ul li a { - text-decoration: none; - display: block; - word-break: break-all; -} -.ajax-load-more .alm-dir-listing ul li i { - width: 15px; - color: #999; - position: absolute; - left: 35px; - top: 12px; -} -.ajax-load-more .alm-dir-listing p.theme-title { - font-weight: 600; - margin: 0 0 20px !important; - padding: 0; -} -.ajax-load-more .alm-dir-listing.theme-repeaters ul li { - display: block; - width: 100%; - padding-top: 10px; - padding: 0 0 0 36px; - background-position: left 54%; -} -.ajax-load-more .alm-dir-listing.theme-repeaters ul li label { - display: block; - width: 100%; -} -.ajax-load-more .alm-dir-listing.theme-repeaters ul li label i { - display: none; -} -.ajax-load-more .alm-dir-listing.theme-repeaters ul li:nth-last-child(2) { - background: transparent url(../admin/img/ui/directory-list.gif) no-repeat left center; -} - -.alm-error { - position: absolute; - z-index: 9999; - background: #fff; - padding: 10px; -} - -.ajax-load-more .alm-styled-input { - display: flex; - width: 100%; - flex-wrap: nowrap; - align-items: center; - border-radius: 3px; - border: 1px solid #e7e7e7; -} -.ajax-load-more .alm-styled-input label { - padding: 10px; - font-size: 12px; - font-weight: 700; - border-right: 1px solid #e7e7e7; -} -.ajax-load-more .alm-styled-input input { - border: none; - border-radius: 0 2px 2px 0; - margin: 0; - width: 100%; -} - -.shortcode-builder input[type=checkbox], -.shortcode-builder input[type=radio], -.ajax-load-more .form-table input[type=checkbox], -.ajax-load-more .form-table input[type=radio] { - width: 0; - height: 0; - opacity: 0; - position: absolute; -} - -.shortcode-builder input[type=checkbox] + label, -.ajax-load-more .form-table input[type=checkbox] + label, -.shortcode-builder input[type=radio] + label, -.ajax-load-more .form-table input[type=radio] + label { - background: transparent url(../admin/img/ui/bkg-chkbox_off.png) no-repeat left 2px; - height: auto; - min-height: 23px; - width: 100%; - display: inline-block; - padding: 0.1em 0 0 30px; - margin: 0 0 5px; - font-size: 14px; - line-height: 1.5; - cursor: pointer !important; -} -.shortcode-builder input[type=checkbox] + label span, -.ajax-load-more .form-table input[type=checkbox] + label span, -.shortcode-builder input[type=radio] + label span, -.ajax-load-more .form-table input[type=radio] + label span { - display: inline-block; - color: #6a7178; - line-height: 1.65; -} - -.shortcode-builder input[type=radio] + label, -.ajax-load-more .form-table input[type=radio] + label { - background: transparent url(../admin/img/ui/bkg-radio_off.png) no-repeat left 2px; -} - -.shortcode-builder input[type=checkbox]:hover + label, -.ajax-load-more .form-table input[type=checkbox]:hover + label, -.shortcode-builder input[type=checkbox]:focus + label, -.ajax-load-more .form-table input[type=checkbox]:focus + label { - /* hover/focus */ - background-image: url(../admin/img/ui/bkg-chkbox_on.png); -} - -.shortcode-builder input[type=radio]:hover + label, -.ajax-load-more .form-table input[type=radio]:hover + label, -.shortcode-builder input[type=radio]:focus + label, -.ajax-load-more .form-table input[type=radio]:focus + label { - /* hover/focus */ - background-image: url(../admin/img/ui/bkg-radio_on.png); -} - -.shortcode-builder input[type=checkbox]:checked + label, -.ajax-load-more .form-table input[type=checkbox]:checked + label { - /* selected */ - background-image: url(../admin/img/ui/bkg-chkbox_selected.png); -} - -.shortcode-builder input[type=radio]:checked + label, -.ajax-load-more .form-table input[type=radio]:checked + label { - /* selected */ - background-image: url(../admin/img/ui/bkg-radio_selected.png); -} - -.shortcode-builder input[type=checkbox] + label:hover, -.ajax-load-more .form-table input[type=checkbox] + label:hover, -.shortcode-builder input[type=radio] + label:hover, -.ajax-load-more .form-table input[type=radio] + label:hover { - color: #000; -} - -/* -* Shortcode Builder -* -* @since 2.13.0 -*/ -#alm-shortcode-builder-form { - position: relative; -} - -.progress_bar_color_indicator { - position: absolute; - left: 11px; - top: 9px; - width: 0; - height: 0; - padding: 11px; - border-radius: 2px; - z-index: 1; - display: block; - background-color: #ed7070; - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1); -} - -/* - * Repeater Template options dropdown - * @since 2.4.1 - */ -.ajax-load-more .row.template { - position: relative; -} -.ajax-load-more .row.template:first-of-type { - margin-top: 0; -} - -.ajax-load-more .row.template:hover .alm-repeater-options { - opacity: 1; -} - -.alm-drop-btn.alm-repeater-options { - position: absolute; - top: -42px; - right: 7px; - z-index: 8; -} -.alm-drop-btn.alm-repeater-options a.target { - padding: 5px 9px; - box-shadow: none; - border: none; -} -.alm-drop-btn.alm-repeater-options a.target > i { - font-size: 24px; - position: static; - transform: none; - margin: 0; -} - -.alm-drop-btn.active a.target { - background-color: #fff; -} -.alm-drop-btn.active a.target > i { - color: #393d41; -} -.alm-drop-btn a.target { - position: relative; - color: #393d41; - text-decoration: none !important; - padding: 9px 12px; - border: 1px solid #e7e7e7; - border-radius: 3px; - background-color: #f7f7f7; - line-height: 1; - display: flex; - align-items: center; - box-shadow: 0 0 0 1px #fff; -} -.alm-drop-btn a.target > i { - color: #6a7178; - font-size: 16px; - margin-right: 8px; - opacity: 0.5; -} -.alm-drop-btn a.target:hover, .alm-drop-btn a.target:focus { - border-color: #ccc; -} -.alm-drop-btn a.target:hover > i, .alm-drop-btn a.target:focus > i { - color: #393d41; -} - -/* Active / Hover state */ -.alm-repeater-options a.target:active, -.alm-repeater-options.active a.target, -.alm-repeater-options a.target:hover, -.alm-repeater-options a.target:focus { - background-color: transparent; - color: #393d41; - border-color: transparent; - box-shadow: none; - opacity: 1; -} - -.alm-repeater-options.active a.target, -.alm-repeater-options.active a.target i.fa-cog { - color: #393d41; -} - -/* Layout Dropdown */ -.ajax-load-more .alm-drop-btn.alm-layout-selection { - float: left; - margin: -15px 0 15px; -} -@media screen and (min-width: 900px) { - .ajax-load-more .alm-drop-btn.alm-layout-selection { - float: right; - margin: 0; - } -} -@media screen and (max-width: 480px) { - .ajax-load-more .alm-drop-btn.alm-layout-selection .alm-dropdown { - right: auto; - left: 0; - float: none; - } - .ajax-load-more .alm-drop-btn.alm-layout-selection .alm-dropdown .alm-drop-inner { - width: 240px; - } -} -.ajax-load-more .alm-drop-btn.alm-layout-selection .alm-dropdown .alm-drop-inner { - width: 280px; -} -.ajax-load-more .alm-drop-btn .alm-dropdown:hover { - visibility: visible; - opacity: 1; -} - -@media screen and (max-width: 480px) { - .alm-drop-btn.alm-layout-selection .alm-dropdown .alm-drop-inner:after, - .alm-drop-btn.alm-layout-selection .alm-dropdown .alm-drop-inner:before { - right: auto; - left: 36px; - } - .alm-drop-btn.alm-layout-selection .alm-dropdown .alm-drop-inner:after { - margin-left: 0; - } - .alm-drop-btn.alm-layout-selection .alm-dropdown .alm-drop-inner:before { - right: auto; - left: 35px; - } -} -.alm-drop-btn { - position: relative; - width: auto; -} -.alm-drop-btn .alm-dropdown { - visibility: hidden; - opacity: 0; - position: absolute; - top: 109%; - right: -15px; - z-index: 9; - transition: all 0.15s ease; -} -.alm-drop-btn .alm-dropdown .alm-drop-inner { - display: block; - position: relative; - background: #fff; - border-radius: 3px; - border: 1px solid #e7e7e7; - box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05); - padding: 10px; - width: 240px; -} -.alm-drop-btn .alm-dropdown .alm-drop-inner::after, .alm-drop-btn .alm-dropdown .alm-drop-inner::before { - bottom: 100%; - right: 26px; - border: solid transparent; - content: " "; - height: 0; - width: 0; - position: absolute; - pointer-events: none; -} -.alm-drop-btn .alm-dropdown .alm-drop-inner::after { - border-color: rgba(247, 247, 247, 0); - border-bottom-color: #fff; - border-width: 7px; - margin-left: -7px; -} -.alm-drop-btn .alm-dropdown .alm-drop-inner::before { - border-color: rgba(204, 204, 204, 0); - border-bottom-color: #ccc; - border-width: 8px; - right: 25px; -} -.alm-drop-btn .alm-dropdown.active { - opacity: 1; - visibility: visible; - transition: none; -} -.alm-drop-btn .alm-dropdown ul { - padding: 5px 10px; - margin: 0; - overflow: hidden; - border: 1px solid #e7e7e7; - background-color: #f7f7f7; - border-radius: 3px; - overflow: hidden; -} -.alm-drop-btn .alm-dropdown li { - margin: 0; - padding: 0; - list-style: none; - clear: both; - line-height: 1.2; - font-weight: 400; - border-bottom: 1px solid #e7e7e7; -} -.alm-drop-btn .alm-dropdown li:last-of-type { - border: none; -} -.alm-drop-btn .alm-dropdown li button { - background-color: transparent; - border: none; - color: #393d41; - display: flex; - align-items: center; - width: 100%; - padding: 10px 10px 10px 3px; - line-height: 1; - cursor: pointer; -} -.alm-drop-btn .alm-dropdown li button > i { - margin-right: 8px; - opacity: 0.65; - font-size: 14px; - color: #6a7178; -} -.alm-drop-btn .alm-dropdown li button:hover, .alm-drop-btn .alm-dropdown li button:focus { - color: #252627; -} -.alm-drop-btn .alm-dropdown li button:hover i, .alm-drop-btn .alm-dropdown li button:focus i { - opacity: 1; - color: #6a7178; -} -.alm-drop-btn .alm-dropdown li button.updating { - background: transparent url(../admin/img/ui/loader.gif) no-repeat left center; - cursor: wait; -} -.alm-drop-btn .alm-dropdown li button.updating i { - opacity: 0; -} -.alm-drop-btn .alm-dropdown li button.updating span { - color: rgba(106, 113, 120, 0.75); -} -.alm-drop-btn .alm-dropdown .drop-cta { - padding: 10px 0 0; -} - -.select-theme-repeater { - display: flex; - width: 100%; - flex-wrap: nowrap; - position: relative; -} -.select-theme-repeater .or { - position: absolute; - left: 70px; - top: -20px; - background: #fff; - color: #333; - width: 34px; - height: 34px; - line-height: 34px; - text-align: center; - z-index: 1; - font-weight: 700; - border-radius: 100%; - text-transform: uppercase; - border: 1px solid #e7e7e7; - font-size: 11px; -} - -.alm-template-section-nav { - display: block; - margin: 0 0; - padding: 0; -} - -.alm-template-section-nav li { - display: inline-block; - vertical-align: top; -} - -.alm-template-section-nav li a { - padding: 5px; - display: block; -} - -.alm-template-section-nav li.active a { - background: #ff0000; -} - -@media screen and (max-width: 1270px) { - .ajax-load-more input[type=text], - .ajax-load-more input[type=number], - .select2-container, - .shortcode-builder--items .select2-container-multi, - .ajax-load-more textarea { - width: 95%; - } - .shortcode-builder--items .select2-container-multi { - width: 95% !important; - } -} -@media screen and (max-width: 900px) { - .table-of-contents { - position: static !important; - width: 100% !important; - } - .ajax-load-more.settings .form-table td { - padding: 24px 20px 20px; - } - .repeaters input.save-repeater { - max-width: 50%; - } -} -@media screen and (max-width: 782px) { - .ajax-load-more.settings .form-table th { - border: none; - border-bottom: 1px solid #efefef; - width: 100%; - } - .share-alm .sharing { - padding-right: 0; - width: 100%; - margin-right: 0 !important; - } - .share-alm .mailing { - width: 100%; - margin-left: 0 !important; - padding-left: 0; - padding-top: 40px; - border-left: none; - } -} -@media screen and (max-width: 480px) { - .ajax-load-more .section-title, - .ajax-load-more .row .wrap { - clear: both; - width: 100%; - display: block; - float: none; - padding: 10px; - } - .ajax-load-more .section-title { - padding: 20px 20px 10px; - } - .ajax-load-more .row .wrap { - padding: 10px 20px; - } - .ajax-load-more textarea, - .ajax-load-more input[type=text], - .ajax-load-more input[type=number], - .select2-container, - .shortcode-builder--items .select2-container-multi { - width: 100% !important; - } - .ajax-load-more .row .wrap .inner.half { - display: block; - padding: 0 0 20px; - width: 100%; - } - .ajax-load-more .section-title p { - color: #999; - padding: 0 !important; - } - #alm-add-ons .row .wrap { - padding-bottom: 60px; - width: 100%; - } - #alm-add-ons .section-title { - width: 100%; - } - .alm-repeater-options { - display: none !important; - } - .ajax-load-more .wrap-30 { - width: 100%; - display: block; - padding: 0 0 10px; - } - .ajax-load-more .row .wrap.full { - padding: 10px; - } - #alm-add-ons .group { - width: 100%; - display: block; - margin: 0 0 2% 0; - } - .ajax-load-more .one_half { - width: 100%; - margin: 0 0 2%; - display: block; - } - .add-layout-cta { - padding: 10px; - } - span.dismiss { - position: static; - padding-top: 20px; - display: block; - font-size: 12px; - } -} +@import url(//netdna.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css);.tooltipster-default{background:#0073aa;background:rgba(33,149,204,.95);border:none;border-radius:3px;color:#e7f3f8}.tooltipster-default .tooltipster-content{font-size:12px;line-height:20px;overflow:hidden;padding:12px 16px;text-align:center}.tooltipster-icon{cursor:help;margin-left:4px}.tooltipster-base{font-size:0;left:0;line-height:0;overflow:visible;padding:0;pointer-events:none;position:absolute;top:0;width:auto;z-index:9999999}.tooltipster-base .tooltipster-content{overflow:hidden}.tooltipster-arrow{display:block;height:100%;left:0;position:absolute;text-align:center;top:0;width:100%;z-index:-1}.tooltipster-arrow span,.tooltipster-arrow-border{display:block;height:0;position:absolute;width:0}.tooltipster-arrow-top span,.tooltipster-arrow-top-left span,.tooltipster-arrow-top-right span{border-left:8px solid rgba(0,0,0,0)!important;border-right:8px solid rgba(0,0,0,0)!important;border-top:8px solid;bottom:-7px}.tooltipster-arrow-top .tooltipster-arrow-border,.tooltipster-arrow-top-left .tooltipster-arrow-border,.tooltipster-arrow-top-right .tooltipster-arrow-border{border-left:9px solid rgba(0,0,0,0)!important;border-right:9px solid rgba(0,0,0,0)!important;border-top:9px solid;bottom:-7px}.tooltipster-arrow-bottom span,.tooltipster-arrow-bottom-left span,.tooltipster-arrow-bottom-right span{border-bottom:8px solid;border-left:8px solid rgba(0,0,0,0)!important;border-right:8px solid rgba(0,0,0,0)!important;top:-7px}.tooltipster-arrow-bottom .tooltipster-arrow-border,.tooltipster-arrow-bottom-left .tooltipster-arrow-border,.tooltipster-arrow-bottom-right .tooltipster-arrow-border{border-bottom:9px solid;border-left:9px solid rgba(0,0,0,0)!important;border-right:9px solid rgba(0,0,0,0)!important;top:-7px}.tooltipster-arrow-bottom .tooltipster-arrow-border,.tooltipster-arrow-bottom span,.tooltipster-arrow-top .tooltipster-arrow-border,.tooltipster-arrow-top span{left:0;margin:0 auto;right:0}.tooltipster-arrow-bottom-left span,.tooltipster-arrow-top-left span{left:6px}.tooltipster-arrow-bottom-left .tooltipster-arrow-border,.tooltipster-arrow-top-left .tooltipster-arrow-border{left:5px}.tooltipster-arrow-bottom-right span,.tooltipster-arrow-top-right span{right:6px}.tooltipster-arrow-bottom-right .tooltipster-arrow-border,.tooltipster-arrow-top-right .tooltipster-arrow-border{right:5px}.tooltipster-arrow-left .tooltipster-arrow-border,.tooltipster-arrow-left span{border-bottom:8px solid rgba(0,0,0,0)!important;border-left:8px solid;border-top:8px solid rgba(0,0,0,0)!important;margin-top:-7px;right:-7px;top:50%}.tooltipster-arrow-left .tooltipster-arrow-border{border-bottom:9px solid rgba(0,0,0,0)!important;border-left:9px solid;border-top:9px solid rgba(0,0,0,0)!important;margin-top:-8px}.tooltipster-arrow-right .tooltipster-arrow-border,.tooltipster-arrow-right span{border-bottom:8px solid rgba(0,0,0,0)!important;border-right:8px solid;border-top:8px solid rgba(0,0,0,0)!important;left:-7px;margin-top:-7px;top:50%}.tooltipster-arrow-right .tooltipster-arrow-border{border-bottom:9px solid rgba(0,0,0,0)!important;border-right:9px solid;border-top:9px solid rgba(0,0,0,0)!important;margin-top:-8px}.tooltipster-fade{opacity:0;-webkit-transition-property:opacity;-moz-transition-property:opacity;-o-transition-property:opacity;-ms-transition-property:opacity;transition-property:opacity}.tooltipster-fade-show{opacity:1}.tooltipster-grow{backface-visibility:hidden;transform:scale(0);transition-property:transform}.tooltipster-grow-show{transform:scale(1);transition-timing-function:cubic-bezier(.175,.885,.32,1.15)}.tooltipster-swing{opacity:0;transform:rotate(4deg);transition-property:transform}.tooltipster-swing-show{opacity:1;transform:rotate(0deg);transition-timing-function:cubic-bezier(.23,.635,.495,2.4)}.tooltipster-fall{top:0;-webkit-transition-property:top;-moz-transition-property:top;-o-transition-property:top;-ms-transition-property:top;transition-property:top;-webkit-transition-timing-function:cubic-bezier(.175,.885,.32,1);-webkit-transition-timing-function:cubic-bezier(.175,.885,.32,1.15);-moz-transition-timing-function:cubic-bezier(.175,.885,.32,1.15);-ms-transition-timing-function:cubic-bezier(.175,.885,.32,1.15);-o-transition-timing-function:cubic-bezier(.175,.885,.32,1.15);transition-timing-function:cubic-bezier(.175,.885,.32,1.15)}.tooltipster-fall.tooltipster-dying{opacity:0;top:0!important;-webkit-transition-property:all;-moz-transition-property:all;-o-transition-property:all;-ms-transition-property:all;transition-property:all}.tooltipster-slide{left:-40px;-webkit-transition-property:left;-moz-transition-property:left;-o-transition-property:left;-ms-transition-property:left;transition-property:left;-webkit-transition-timing-function:cubic-bezier(.175,.885,.32,1);-webkit-transition-timing-function:cubic-bezier(.175,.885,.32,1.15);-moz-transition-timing-function:cubic-bezier(.175,.885,.32,1.15);-ms-transition-timing-function:cubic-bezier(.175,.885,.32,1.15);-o-transition-timing-function:cubic-bezier(.175,.885,.32,1.15);transition-timing-function:cubic-bezier(.175,.885,.32,1.15)}.tooltipster-slide.tooltipster-dying{left:0!important;opacity:0;-webkit-transition-property:all;-moz-transition-property:all;-o-transition-property:all;-ms-transition-property:all;transition-property:all}.tooltipster-content-changing{opacity:.5;-webkit-transform:scale(1.1);-moz-transform:scale(1.1);-o-transform:scale(1.1);-ms-transform:scale(1.1);transform:scale(1.1)}.select2-container{zoom:1;display:inline-block;*display:inline;min-width:60%;position:relative;vertical-align:middle}.inner.half .select2-container{min-width:90%;width:90%}#alm-builder .select2-container li{padding-right:0}.select2-container a.select2-choice{-webkit-touch-callout:none;background:#fff;-webkit-background-clip:padding-box;-moz-background-clip:padding;background-clip:padding-box;border:1px solid #e7e7e7;border-radius:3px;color:#393d41;display:block;font-size:13px;height:38px;line-height:37px;overflow:hidden;padding:0 0 0 10px;position:relative;text-decoration:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;white-space:nowrap}.select2-dropdown-open.select2-container-active .select2-choice{-webkit-border-radius:4px 4px 0 0;-moz-border-radius:4px 4px 0 0;border-radius:4px 4px 0 0}.select2-container.select2-drop-above .select2-choice{background:#fff;-webkit-border-radius:0 0 4px 4px;-moz-border-radius:0 0 4px 4px;border-radius:0 0 4px 4px}.select2-container .select2-choice span{color:#666;display:block;margin:0;overflow:hidden;padding-right:40px;text-overflow:ellipsis;white-space:nowrap;width:100%}.select2-container .select2-choice abbr:hover{background-position:right -11px;cursor:pointer}.select2-drop-mask{background-color:#fff;left:0;opacity:0;position:absolute;top:0;z-index:8}.select2-drop{background:#fff;border:1px solid #e7e7e7;border-radius:3px;box-shadow:0 1px 3px rgba(0,0,0,.1);color:#393d41;font-size:13px;margin-left:-1px;margin-top:2px;overflow:hidden;position:absolute;top:100%;width:100%;z-index:9}.select2-drop.select2-drop-above{margin-top:-2px}.select2-container .select2-choice div{display:block;height:100%;position:absolute;right:0;top:0;width:30px}.select2-container .select2-choice div b{background:#fff url(../admin/img/ui/bkg-select.png) no-repeat 50%;display:block;height:100%;width:100%}.select2-dropdown-open.select2-container-active div b{background-color:#fff;display:block;height:100%;width:100%}.select2-search{background-color:#fff;border-bottom:1px solid #f7f7f7;display:block;padding:5px}.select2-search .select2-input{background:#fff url(../admin/img/ui/icon-search.png) no-repeat right 7px center;background-size:16px 16px;box-shadow:none!important;height:35px!important;line-height:35px!important;width:99%}#alm-builder .select2-choices li{margin:0 0 2px}#alm-builder .select2-container-multi{width:60%}#alm-builder .select2-results li{width:100%}#alm-builder .select2-container-multi .select2-input{cursor:pointer;margin:0!important}#alm-builder ul.select2-choices{overflow:hidden;width:100%}#alm-builder ul.select2-choices li.select2-search-field,#alm-builder ul.select2-choices li.select2-search-field input{display:block;width:100%!important}#alm-builder ul.select2-choices li.select2-search-choice{background:#fff;border:1px solid #e7e7e7;border-radius:3px;display:inline-block;font-size:12px;line-height:13px;margin:0 5px 5px 0;padding:5px 10px 5px 27px;position:relative;width:auto}#alm-builder ul.select2-choices .select2-input{background:#fff url(../admin/img/ui/bkg-select.png) no-repeat 100%}#alm-builder ul.select2-choices .select2-input.select2-focused{background:#fff url(../admin/img/ui/icon-search.png) no-repeat right 7px center;background-size:16px 16px}#alm-builder ul.select2-choices li.select2-search-choice a{background:#393d41 url(../admin/img/ui/ico-close.png) no-repeat 50%;border-radius:3px;display:block;height:17px;left:3px;position:absolute;top:3px;width:17px}#alm-builder ul.select2-choices li.select2-search-choice a:focus,#alm-builder ul.select2-choices li.select2-search-choice a:hover{background-color:#d63638}.select2-results{-webkit-tap-highlight-color:rgba(0,0,0,0);max-height:311px;overflow-x:hidden;overflow-y:auto;position:relative}.select2-result-sub,.select2-results{margin:0;padding:0}.select2-results li{background-image:none;border-top:1px solid #f7f7f7;color:#393d41;display:block;font-size:13px;list-style:none;margin:0!important;padding:0;width:auto}.select2-results li:first-of-type{border:none}.select2-results li.select2-result-with-children>.select2-result-label{border-bottom:1px solid #f7f7f7;cursor:default;font-size:13px;font-weight:700}.select2-results .select2-result-label{-webkit-touch-callout:none;cursor:pointer;margin:0;min-height:1em;padding:10px;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.select2-results .select2-highlighted .select2-result-label{background:#f7f7f7;color:#3d8ed0}.select2-results .select2-highlighted:active{background:#fff}.select2-results li em{background:#feffde;font-style:normal}.select2-results .select2-highlighted em{background:rgba(0,0,0,0)}.select2-results .select2-highlighted ul{background:#fff;color:#000}.select2-results .select2-no-results,.select2-results .select2-searching,.select2-results .select2-selection-limit{background:#f4f4f4;display:list-item}.select2-results .select2-no-results{font-size:13px;min-height:1em;padding:10px 7px}.select2-results .select2-disabled.select2-highlighted{background:#f4f4f4;color:#666;cursor:default;display:list-item}.select2-results .select2-disabled{background:#f4f4f4;cursor:default;display:list-item}.select2-results .select2-selected{display:none}.select2-more-results{background:#f4f4f4;display:list-item}.select2-container.select2-container-disabled .select2-choice{background-color:#f4f4f4;background-image:none;border:1px solid #ddd;cursor:default}.select2-container.select2-container-disabled .select2-choice div{background-color:#f4f4f4;background-image:none;border-left:0}.select2-container.select2-container-disabled .select2-choice abbr{display:none}.select2-offscreen{clip:rect(0 0 0 0);border:0;height:1px;left:0;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.alm-settings-feedback{background:#fff;border-left:5px solid #5cc583;border-radius:2px;box-shadow:0 1px 4px rgba(0,0,0,.15);color:#444;font-size:13px;height:auto;line-height:1;opacity:0;padding:25px 30px 25px 25px;position:fixed;right:10px;top:50px;transition:all .25s ease-in-out;visibility:hidden;width:auto;z-index:99999}.alm-settings-feedback.--saving{border-color:#e0bd5e}.alm-settings-feedback.--saved,.alm-settings-feedback.--saving{opacity:1;right:25px;top:50px;visibility:visible}.alm-settings-feedback.--saved i{color:#5cc583;opacity:1}.alm-settings-feedback.--error{border-color:#e03e3e;opacity:1;right:25px;top:25px;visibility:visible}.alm-settings-feedback i{margin:0 3px 0 0;opacity:.6}#alm_OptionsForm{position:relative}#alm_OptionsForm .save-in-progress{background:hsla(0,0%,100%,.65);height:100%;left:0;opacity:0;position:absolute;top:0;transition:all .2s ease;visibility:hidden;width:100%;z-index:10}#alm_OptionsForm.--saving .save-in-progress{cursor:wait!important;opacity:1;visibility:visible}.ajax-load-more .alm-tabbed-wrapper{width:100%}@media screen and (min-width:640px){.ajax-load-more .alm-tabbed-wrapper{display:flex;flex-wrap:nowrap}}.ajax-load-more .alm-tabbed-wrapper h2{color:#393d41;display:block;font-weight:600;margin:0 0 15px;padding:20px 0 0}.ajax-load-more .alm-tabbed-wrapper--nav{background:#fff;border:1px solid #efefef;margin-bottom:20px;padding:10px}@media screen and (min-width:640px){.ajax-load-more .alm-tabbed-wrapper--nav{background-color:#f7f7f7;border:1px solid #efefef;border-radius:8px 8px 0 8px;border-right:none;margin:0;padding:0;position:relative;width:165px;z-index:1}}.ajax-load-more .alm-tabbed-wrapper--nav ul{margin:0;padding:0 0 35px}@media screen and (max-width:640px){.ajax-load-more .alm-tabbed-wrapper--nav ul{border:1px solid #efefef;padding:0}}.ajax-load-more .alm-tabbed-wrapper--nav ul li{list-style:none;margin:0;padding:0;width:100%!important}@media screen and (min-width:640px){.ajax-load-more .alm-tabbed-wrapper--nav ul li:first-of-type{position:relative;top:-1px}.ajax-load-more .alm-tabbed-wrapper--nav ul li:first-of-type button{border-radius:8px 0 0 0;border-top:1px solid #efefef}}@media screen and (max-width:640px){.ajax-load-more .alm-tabbed-wrapper--nav ul li:last-of-type button{border:none}}@media screen and (min-width:640px){.ajax-load-more .alm-tabbed-wrapper--nav ul.attached{position:fixed;top:70px;width:auto}.ajax-load-more .alm-tabbed-wrapper--nav ul.attached li:first-of-type button{border-radius:0}}.ajax-load-more .alm-tabbed-wrapper--nav button{background:none;background:#f7f7f7;border:none;border-bottom:1px solid #e7e7e7;color:#393d41;cursor:pointer;display:block;font-weight:400;line-height:1.4;overflow:hidden;padding:12px 10px;text-align:left;text-overflow:ellipsis;white-space:nowrap;width:100%}.ajax-load-more .alm-tabbed-wrapper--nav button:focus,.ajax-load-more .alm-tabbed-wrapper--nav button:hover{background-color:#efefef}.ajax-load-more .alm-tabbed-wrapper--nav button i{opacity:.65;width:18px}.ajax-load-more .alm-tabbed-wrapper--nav button i.fa-handshake-o{left:-2px;position:relative}.ajax-load-more .alm-tabbed-wrapper--nav button.active{background-color:#fff;color:#d63638;cursor:default;font-weight:600}.ajax-load-more .alm-tabbed-wrapper--nav button.active i{color:#393d41}@media screen and (min-width:640px){.ajax-load-more .alm-tabbed-wrapper--nav button.active{width:calc(100% + 1px)}}.ajax-load-more .alm-tabbed-wrapper--sections{background:#fff;border:1px solid #efefef;display:block;flex:1;padding:0 20px 20px}@media screen and (min-width:640px){.ajax-load-more .alm-tabbed-wrapper--sections{border-radius:0 8px 8px 0}}.ajax-load-more .alm-tabbed-wrapper--section{display:none}.ajax-load-more .alm-tabbed-wrapper--section.active{display:block}.ajax-load-more .builder-option-toggle{display:flex;flex-wrap:nowrap}.ajax-load-more .builder-option-toggle input{border-radius:3px 0 0 3px;flex:1;margin:0;width:auto}.ajax-load-more .builder-option-toggle--buttons{background-color:#fcfcfc;border:1px solid #e7e7e7;border-left:none;border-radius:0 3px 3px 0;display:flex;padding:3px;width:auto}.ajax-load-more .builder-option-toggle--buttons button{background-color:rgba(0,0,0,0);border:1px solid #e7e7e7;border-left-width:0;border-radius:0;color:#393d41;cursor:pointer;display:inline-block;font-size:11px;font-weight:600;height:100%;margin:0;padding:0;text-align:center;text-transform:uppercase;width:34px}.ajax-load-more .builder-option-toggle--buttons button:focus,.ajax-load-more .builder-option-toggle--buttons button:hover{border-color:#ccc;color:#222}.ajax-load-more .builder-option-toggle--buttons button:first-child{border-left-width:1px;border-radius:3px 0 0 3px}.ajax-load-more .builder-option-toggle--buttons button:last-child{border-radius:0 3px 3px 0}.ajax-load-more .builder-option-toggle--buttons button.active{background-color:#838d99;border-color:#838d99;color:#fff;cursor:default}.alm-cache .group .row{overflow:visible}.alm-cache .row:first-of-type{margin-top:0!important}.alm-cache h3.heading{overflow:hidden;padding-right:90px!important;text-overflow:ellipsis;white-space:nowrap}.alm-cache .alm-cache-search-wrap{display:block;margin:0 0 15px;position:relative}.alm-cache .alm-cache-search-wrap input{background-color:#f7f7f7;border-radius:3px;display:block;font-size:15px;margin:0!important;padding:13px 20px;width:100%!important}.alm-cache .alm-cache-search-wrap i{color:#ccc;font-size:16px;position:absolute;right:15px;top:50%;transform:translateY(-50%);z-index:1}.alm-cache .alm-cache-listing{position:relative}.alm-cache .alm-cache-listing .toggle-all{right:0;top:-45px}.alm-cache hr{border-bottom:none;border-top-color:#efefef;margin:32px 0 25px}.alm-cache .alm-dir-listing{border:1px solid #e7e7e7;border-radius:3px;margin:10px 0 0;overflow:hidden;padding:0}.alm-cache .alm-dir-listing--nested{padding:0 15px 15px}.alm-cache .alm-dir-listing--nested .alm-dir-listing{margin:0}.alm-cache .alm-dir-listing.deleting{background:#fff url(../admin/img/ui/loader-unlimited.gif) no-repeat 50%;opacity:.5}.alm-cache .alm-dir-listing .dir-title{margin:0 0 5px;position:relative}.alm-cache .alm-dir-listing h3.heading{padding-left:40px!important}.alm-cache .alm-dir-listing h3.heading:after{content:""}.alm-cache .alm-dir-listing h3.heading.open:after{content:""}.alm-cache .alm-dir-listing .dir-title .delete{border:1px solid #e7e7e7;border-radius:3px;color:#ccc;font-size:13px;font-weight:400;padding:5px 12px;position:absolute;right:10px;text-decoration:none;top:10px}.alm-cache .alm-dir-listing:hover .dir-title .delete{background-color:#fff;border-color:#e7e7e7;color:#666}.alm-cache .alm-dir-listing .dir-title .delete:hover{background-color:#c94141;border-color:#c94141;color:#fff}.alm-cache .alm-dir-listing .dir-title .delete:active{box-shadow:inset 0 2px 1px rgba(0,0,0,.2)}.alm-cache .cache-page-title{display:block;font-size:12px;font-weight:700;padding:0 7px 10px;text-transform:uppercase;width:100%}.alm-cache .cache-page-wrap{padding:5px 12px 20px}ß .alm-cache .cache-page-wrap ul{max-height:300px;overflow-y:auto;scroll-behavior:smooth}.alm-cache .cache-full-path{display:none}.alm-cache .cache-full-path-button{background:#fff;border:1px solid #efefef;border-radius:3px;color:#878787;cursor:pointer;font-size:13px;margin:0 2px 0 0;padding:2px 4px;text-align:left}.alm-cache .cache-full-path-button:focus,.alm-cache .cache-full-path-button:hover{border-color:#e7e7e7}.alm-cache .alm-dir-listing ul.cache-details{border:none;display:block;margin:0;padding:20px 15px 0}.alm-cache .alm-dir-listing ul.cache-details li{background:none!important;display:block;margin:0 0 10px;padding:0 10px 0 28px;position:relative;width:100%}.alm-cache .alm-dir-listing ul.cache-details li i{color:#999;font-size:16px;left:5px;position:absolute;top:1px}.alm-cache .alm-dir-listing ul.cache-details li a{word-break:break-word}.alm-cache p.cache-stats{display:block;line-height:37px;margin:0;min-height:38px;padding:0}.alm-cache p.cache-stats span{background:#a4a5e2;background:linear-gradient(180deg,#a4a5e2 0,#9ea0d9 50%,#8d8fce 51%,#a4a5e2);border:1px solid #8586be;border-radius:2px;box-shadow:0 1px 2px rgba(0,0,0,.15);color:#fff;display:inline-block;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#a4a5e2",endColorstr="#a4a5e2",GradientType=0);font-size:15px;font-weight:700;height:38px;line-height:36px;margin:0 9px 0 0;text-align:center;text-shadow:-1px -1px 0 rgba(0,0,0,.1);width:38px}.ajax-load-more .CodeMirror{background:#f7f7f7;border:1px solid #e7e7e7;border-radius:3px;color:#999;font-size:13px;height:auto;line-height:1.5;padding:0}.ajax-load-more .CodeMirror.CodeMirror-focused{border-color:#3d8ed0;box-shadow:0 0 4px 1px rgba(61,142,208,.15)}.ajax-load-more .cm-readonly .CodeMirror{opacity:.8}.ajax-load-more .CodeMirror pre{cursor:default!important;padding:0 10px}.CodeMirror-lines{padding:10px!important}.CodeMirror-linenumber{color:#ccc!important;line-height:1.25!important;padding:0 10px!important}.CodeMirror-linenumber.CodeMirror-gutter-elt{padding:0 20px 0 0!important}.ajax-load-more .sm-margin .CodeMirror{margin:0 0 10px}.ajax-load-more .cm-readonly p.warning-callout{margin:-10px 0 10px}.ajax-load-more .CodeMirror.loading{background:#f7f7f7 url(../admin/img/ui/loader-unlimited.gif) no-repeat 50%;opacity:.6}.ajax-load-more .cm-s-pastel-on-dark.CodeMirror{background:#333}.ajax-load-more .CodeMirror-gutters{background:#fff;border-radius:2px;border-right:1px solid #e7e7e7}.ajax-load-more .CodeMirror-scroll{overflow-x:auto;overflow-y:hidden}.ajax-load-more .cm-tag{color:#0a4b83!important}.ajax-load-more .cm-string{color:#c75050!important}.ajax-load-more .cm-attribute{color:teal!important}.ajax-load-more .cm-keyword{color:#ae5fb3!important}.ajax-load-more span.CodeMirror-matchingbracket{color:red!important}.ajax-load-more .CodeMirror span.cm-meta{color:#999}.ajax-load-more .CodeMirror span.cm-variable{color:#111;font-weight:500;padding:0 1px}.ajax-load-more .CodeMirror span.cm-number{color:#099!important}.ajax-load-more .alm-cta-upgrade{background-color:#fff;border:1px solid #e7e7e7;border-radius:8px;padding:5px}.ajax-load-more .alm-cta-upgrade a{border-radius:3px;overflow:hidden;text-align:center;text-decoration:none;width:100%}@media screen and (min-width:640px){.ajax-load-more .alm-cta-upgrade a{align-items:center;background:#f7f7f7;background:linear-gradient(90deg,hsla(0,0%,100%,.495) 50%,#f7f7f7);display:flex;flex-wrap:wrap;padding:20px;text-align:left}}.ajax-load-more .alm-cta-upgrade a:focus h2,.ajax-load-more .alm-cta-upgrade a:hover h2{text-decoration:underline}.ajax-load-more .alm-cta-upgrade a:focus .cnkt-button,.ajax-load-more .alm-cta-upgrade a:hover .cnkt-button{background-color:#a272bc}.ajax-load-more .alm-cta-upgrade a .img{display:flex;justify-content:center;width:100%}.ajax-load-more .alm-cta-upgrade a .img img{padding:15px}@media screen and (min-width:640px){.ajax-load-more .alm-cta-upgrade a .img{width:50%}.ajax-load-more .alm-cta-upgrade a .img img{padding:15px 0}}@media screen and (min-width:1270px){.ajax-load-more .alm-cta-upgrade a .img{width:45%}}.ajax-load-more .alm-cta-upgrade a .details{background-color:#f7f7f7;padding:20px 30px;width:100%}@media screen and (min-width:640px){.ajax-load-more .alm-cta-upgrade a .details{background-color:rgba(0,0,0,0);width:50%}}@media screen and (min-width:1270px){.ajax-load-more .alm-cta-upgrade a .details{width:55%}}@media screen and (min-width:640px)and (max-width:1270px){.ajax-load-more .alm-cta-upgrade a .details p.lg{display:none}}.ajax-load-more .alm-cta-upgrade a .details h2{font-size:20px}.ajax-load-more .alm-cta-upgrade a .cnkt-button{font-size:14px;margin-top:10px;padding:12px 24px;text-align:center}.ajax-load-more .alm-admin-toolbar{align-items:center;background-color:#c24243;display:flex;justify-content:space-between;padding:20px;width:100%}@media screen and (min-width:782px){.ajax-load-more .alm-admin-toolbar{box-shadow:0 1px 6px rgba(0,0,0,.05);position:sticky;top:32px;z-index:9999}}.ajax-load-more .alm-admin-toolbar--logo{align-items:center;color:#fff;display:flex;font-size:22px;font-weight:700;line-height:1;text-decoration:none}.ajax-load-more .alm-admin-toolbar--logo:focus,.ajax-load-more .alm-admin-toolbar--logo:hover{color:#fff;text-decoration:none}@media screen and (min-width:768px){.ajax-load-more .alm-admin-toolbar--logo{font-size:26px}}.ajax-load-more .alm-admin-toolbar--logo svg{height:42px;margin-right:10px;width:42px}.ajax-load-more .alm-admin-toolbar a.plugin-link{align-items:center;background-color:rgba(0,0,0,.2);border-radius:3px;color:hsla(0,0%,100%,.7);display:flex;font-size:13px;font-weight:400;margin:0 0 0 10px;padding:7px 9px 7px 8px;text-decoration:none;transition:all .15s ease;vertical-align:top}.ajax-load-more .alm-admin-toolbar a.plugin-link span{line-height:1}.ajax-load-more .alm-admin-toolbar a.plugin-link span.dashicons{font-size:16px;height:16px;margin-right:5px;width:16px}.ajax-load-more .alm-admin-toolbar a.plugin-link:focus,.ajax-load-more .alm-admin-toolbar a.plugin-link:hover{background-color:rgba(0,0,0,.4);color:hsla(0,0%,100%,.9)}.ajax-load-more .alm-admin-nav{background-color:#fff;border-bottom:1px solid #e7e7e7;box-shadow:0 1px 6px rgba(0,0,0,.025);margin-bottom:15px}.ajax-load-more .alm-admin-nav nav{align-items:center;display:flex;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;padding:8px 20px;width:100%}.ajax-load-more .alm-admin-nav nav a{border-radius:3px;color:#393d41;display:block;margin-right:5px;padding:9px 15px;position:relative;text-decoration:none;transition:all .15s ease;white-space:nowrap}.ajax-load-more .alm-admin-nav nav a.current,.ajax-load-more .alm-admin-nav nav a:focus,.ajax-load-more .alm-admin-nav nav a:hover{background-color:#f7f7f7;color:#2f2e2e}.ajax-load-more .alm-admin-nav nav a.current{font-weight:600}.ajax-load-more .alm-admin-h1-wrap{padding:0 20px}.ajax-load-more .alm-admin-h1-wrap h1{display:block!important;font-size:22px;font-weight:500;line-height:1.25;margin:5px 0;padding:0}.ajax-load-more .license{display:block;margin:0;overflow:hidden;padding:10px 0 0;position:relative}.ajax-load-more .license:first-of-type{padding:10px 0 0}.ajax-load-more .license .license-title{align-items:center;background-color:#f7f7f7;border:1px solid #e7e7e7;border-radius:3px 3px 0 0;display:flex;padding:15px;position:relative;width:100%}.ajax-load-more .license .license-title .status{background:#d63638;border-radius:100%;box-shadow:0 0 6px rgba(0,0,0,.1);height:10px;margin-right:8px;width:10px}.ajax-load-more .license .license-title .status.valid{background-color:#8ed074}.ajax-load-more .license .license-title h3{font-size:15px;font-weight:600;line-height:1;margin:0;padding:0}.ajax-load-more .license .license-title .fa.tooltip{margin-left:auto;top:0}.ajax-load-more .license label{font-size:400;font-size:14px}.ajax-load-more .license .cnkt-button{padding:5px 7px!important;position:absolute;right:15px;top:9px}.ajax-load-more .license a.cnkt-button.installed{background-color:none!important;border-color:rgba(0,0,0,0)!important;box-shadow:none!important}.ajax-load-more .license .no-license{background-color:#ffffe5;border:1px solid #e7e7c6;border-radius:3px;display:block;margin:0 0 15px;padding:12px}.ajax-load-more .license .no-license h4{margin:0 0 3px}.ajax-load-more .license .no-license p{margin:5px 0 0;padding:0}.ajax-load-more .license .loading{background:hsla(0,0%,100%,.6) url(../admin/img/ui/loader.gif) no-repeat 50%;display:none;height:100%;left:0;position:absolute;top:0;width:100%;z-index:9}.ajax-load-more .license .license-btn.hide,.ajax-load-more .license .renew-btn.hide{display:none}.ajax-load-more .license .license-btn-wrap{align-items:center;display:flex;gap:6px;width:100%}.ajax-load-more .license .license-btn-wrap .msg{display:block;font-size:14px;line-height:24px;padding:15px 0 0;position:relative;top:4px}.ajax-load-more .license .license-btn-wrap .msg strong{display:block}.ajax-load-more .license .license-btn-wrap .msg em{font-style:normal;opacity:.7}.ajax-load-more .license .license-no-addons,.ajax-load-more .license .license-wrap{background-color:#fff;border:1px solid #e7e7e7;border-radius:0 0 3px 3px;border-top:none;display:block;overflow:hidden;padding:18px 15px}.ajax-load-more .license .license-wrap label{font-weight:600;top:-3px}.ajax-load-more .license .license-wrap input[type=password],.ajax-load-more .license .license-wrap input[type=text]{border-color:#e7e7e7;line-height:1;margin:0;min-height:0;padding:15px;width:100%!important}.ajax-load-more .license .license-wrap input[type=password][disabled],.ajax-load-more .license .license-wrap input[type=text][disabled]{color:#ccc;cursor:not-allowed}.ajax-load-more .license .license-wrap input[type=password]:focus,.ajax-load-more .license .license-wrap input[type=text]:focus{border-color:#ccc}.ajax-load-more .license .license-wrap .button-primary{margin-right:10px}.ajax-load-more .license .license-key-field{display:block;margin:0 0 15px;position:relative}.ajax-load-more .license .license-key-field .status{border-radius:3px;color:#fff;cursor:default;display:inline-block;font-size:12px;font-weight:400;line-height:1;padding:5px 8px;position:absolute;right:15px;top:50%;transform:translateY(-50%)}.ajax-load-more .license .license-key-field .status.active{background-color:#8ed074}.ajax-load-more .license .license-key-field .status.inactive{background-color:#d63638}.ajax-load-more .license .ajax-load-more .alm-nav{font-size:600;font-size:14px;margin:0!important;padding:5px 0}.ajax-load-more .license .ajax-load-more .alm-nav a{display:inline-block}.ajax-load-more .license .license-no-addons{background-color:#e0f5ff;border:1px solid #bad0da;border-radius:3px}.ajax-load-more .license .license-no-addons p{margin:0;padding:0}.alm-pro-listing{border-top:none;display:grid;gap:5px;grid-template-columns:repeat(1,1fr);padding:0;position:relative}@media screen and (min-width:640px){.alm-pro-listing{grid-template-columns:repeat(2,1fr)}}@media screen and (min-width:1300px){.alm-pro-listing{grid-template-columns:repeat(3,1fr)}}.alm-pro-listing.loading{pointer-events:none}.alm-pro-listing--header{color:#393d41;margin-bottom:20px;position:relative}@media screen and (min-width:900px){.alm-pro-listing--header{align-items:center;display:flex;gap:15px;justify-content:space-between}}.alm-pro-listing--header h2{margin:0 0 10px}@media screen and (min-width:900px){.alm-pro-listing--header p{margin:0!important}}.alm-pro-listing--header div.totals{font-size:13px;font-weight:400;opacity:.7;text-transform:none}.alm-pro-listing--header div.totals span{font-weight:600}.alm-pro-listing .item{display:flex;margin:0;width:100%}.alm-pro-listing .item.loading .loader{opacity:1;visibility:visible}.alm-pro-listing .item .state,.alm-pro-listing .item h2,.alm-pro-listing .item img,.alm-pro-listing .item p{transition:all .15s ease}.alm-pro-listing .item a{border:1px solid #e1e1e1;border-radius:2px;display:flex;padding:0 45px 0 0;position:relative;text-decoration:none!important;transition:all .15s ease}@media screen and (max-width:1100px){.alm-pro-listing .item a{padding:0 10px 20px}}.alm-pro-listing .item a:focus,.alm-pro-listing .item a:hover{border-color:#bbb}.alm-pro-listing .item a:focus h2,.alm-pro-listing .item a:hover h2{text-decoration:none}.alm-pro-listing .item--detail{align-items:flex-start;display:flex;min-height:110px;padding:20px;position:relative}@media screen and (max-width:1100px){.alm-pro-listing .item--detail{display:block;text-align:center}.alm-pro-listing .item--detail img{padding-bottom:20px}}.alm-pro-listing .item--detail div{padding:0}.alm-pro-listing .item--detail img{height:auto;margin-right:20px;width:100px}.alm-pro-listing .item--detail a,.alm-pro-listing .item--detail a:focus,.alm-pro-listing .item--detail a:focus h2,.alm-pro-listing .item--detail a:hover,.alm-pro-listing .item--detail a:hover h2{text-decoration:none}.alm-pro-listing .item--detail h2{font-size:16px;line-height:1;margin:0 0 7px;transition:all .15s ease}.alm-pro-listing .item--detail h2 span{font-size:12px;font-weight:400;left:3px;opacity:.4;position:relative;text-decoration:none!important;top:0}.alm-pro-listing .item--detail p{font-size:14px;margin:0;padding:0}.alm-pro-listing .item--detail p.link{font-size:13px;opacity:0;padding-top:2px;transition:opacity .15s ease}.alm-pro-listing .item--detail .highlight-addon{font-size:12px;margin:0;padding-top:15px}.alm-pro-listing .item--detail .highlight-addon span{background-color:#fff8d7;display:inline-block;font-weight:500;left:-5px;line-height:1;padding:5px;position:relative}.alm-pro-listing .item .loader,.alm-pro-listing .item .result{bottom:9px;opacity:0;position:absolute;right:9px;transition:all .25s ease;visibility:hidden;z-index:2}.alm-pro-listing .item .loader{background:hsla(0,0%,100%,.6) url(../admin/img/ui/loader.gif) no-repeat 50%;height:16px;width:16px}.alm-pro-listing .item .result{font-size:12px}.alm-pro-listing .item .result.in-view{opacity:.7;visibility:visible}.alm-pro-listing .item .result .type{background:#47bd79;border-radius:2px;color:#fff;display:none;display:inline-block;padding:3px 6px}.alm-pro-listing .item .result .type.inactive{background:#c54545;display:none}.alm-pro-listing .item .state{align-items:center;background:#57d48c;border-radius:3px;color:#fff;display:flex;font-size:12px;height:22px;justify-content:center;position:absolute;right:6px;text-decoration:none!important;top:6px;transition:all .15s ease;width:22px}.alm-pro-listing .item .state:before{content:"";display:block;font-family:FontAwesome}.alm-pro-listing .item.active a{border-color:#57d48c}.alm-pro-listing .item.active:hover .state{opacity:.9}.alm-pro-listing .item.inactive .state,.alm-pro-listing .item.inactive h2,.alm-pro-listing .item.inactive img,.alm-pro-listing .item.inactive p{opacity:.5}.alm-pro-listing .item.inactive .state{background:#e1e1e1}.alm-pro-listing .item.inactive .state:before{opacity:0}.alm-pro-listing .item.inactive:hover .state,.alm-pro-listing .item.inactive:hover h2,.alm-pro-listing .item.inactive:hover img,.alm-pro-listing .item.inactive:hover p{opacity:.8}.alm-pro-listing .item.inactive:hover .state{background:#ccc}.alm-pro-listing .item.inactive:hover .state:before{opacity:1}.select2-results .select2-result.alm-color .select2-result-label{position:relative}.select2-results .select2-result.alm-color .select2-result-label:after{border-radius:100%;content:"";display:block;height:10px;margin-top:-5px;position:absolute;right:20px;top:50%;width:10px;z-index:1}.select2-results .select2-result.alm-color.default .select2-result-label:after{background-color:#ed7070}.select2-results .select2-result.alm-color.white .select2-result-label:after{background-color:#fff;box-shadow:0 0 0 1px #ccc}.select2-results .select2-result.alm-color.light-grey .select2-result-label:after{background-color:#efefef;box-shadow:0 0 0 1px #ccc}.select2-results .select2-result.alm-color.blue .select2-result-label:after{background-color:#1b91ca}.select2-results .select2-result.alm-color.green .select2-result-label:after{background-color:#80ca7a}.select2-results .select2-result.alm-color.purple .select2-result-label:after{background-color:#b97eca}.select2-results .select2-result.alm-color.grey .select2-result-label:after{background-color:#a09e9e}.select2-results .select2-result.infinite .select2-result-label:after{display:none}.select2-results .select2-result.infinite .select2-result-label{background-position:93%;background-repeat:no-repeat;-webkit-background-size:20px 20px;-moz-background-size:20px 20px;background-size:20px 20px}.select2-results .select2-result.classic .select2-result-label{background-image:url(../frontend/img/spinner.gif)}.select2-results .select2-result.skype .select2-result-label{background-image:url(../frontend/img/spinner-skype.gif)}.select2-results .select2-result.ring .select2-result-label{background-image:url(../frontend/img/spinner-ring.gif)}.select2-results .select2-result.chasing-arrows .select2-result-label{background-image:url(../frontend/img/spinner-chasing-arrows.gif)}.select2-results .select2-result.fading-blocks .select2-result-label{background-image:url(../frontend/img/loader-fading-blocks.gif);-webkit-background-size:20px 16px;-moz-background-size:20px 16px;background-size:20px 16px}.select2-results .select2-result.fading-circles .select2-result-label{background-image:url(../frontend/img/loader-fading-circles.gif);background-position:95%;-webkit-background-size:30px 10px;-moz-background-size:30px 10px;background-size:30px 10px}.shortcode-builder a.group{border-radius:0 0 3px 3px}.shortcode-builder p.warning-callout:before{background:#efefef;content:"";display:block;height:1px;left:-18px;position:absolute;top:-10px;width:calc(100% + 36px);z-index:1}.shortcode-builder section{border-top:1px solid #efefef;display:flex;flex-wrap:nowrap;width:100%}.shortcode-builder section:focus-within h4,.shortcode-builder section:hover h4{text-decoration:underline}.shortcode-builder section.first{border-top:none}.shortcode-builder section.full{flex-wrap:wrap}.shortcode-builder section.full .shortcode-builder--fields,.shortcode-builder section.full .shortcode-builder--label{width:100%}.shortcode-builder section.full .shortcode-builder--label{border:none;border-bottom:1px solid #efefef}.shortcode-builder section input[type=email],.shortcode-builder section input[type=number],.shortcode-builder section input[type=text],.shortcode-builder section textarea{width:100%}.shortcode-builder section .select2-container{min-width:100%;width:100%}.shortcode-builder--fields,.shortcode-builder--label{padding:20px}.shortcode-builder--label{background-color:#fcfcfc;border-right:1px solid #efefef;padding-right:30px;width:35%}.shortcode-builder--label.full{width:100%}.shortcode-builder--label h4{font-size:14px;margin:0 0 15px}.shortcode-builder--label p{font-size:13px!important;line-height:18px!important}.shortcode-builder--label p small{display:block;font-size:12px!important;padding-top:10px}.shortcode-builder--label p:last-of-type{margin-bottom:0}.shortcode-builder--fields{flex:1;padding-top:22px}.shortcode-builder--fields input,.shortcode-builder--fields select,.shortcode-builder--fields textarea{width:100%}.shortcode-builder--fields section{border:none;margin-left:-2%;width:104%}.shortcode-builder--fields .half{padding:0 2%;width:50%}.shortcode-builder--fields .flex-grid{display:flex;flex-wrap:nowrap;justify-content:space-between;width:100%}.shortcode-builder--fields .flex-grid--three,.shortcode-builder--fields .flex-grid--two{width:100%}.shortcode-builder--fields .flex-grid--three>div,.shortcode-builder--fields .flex-grid--two>div{width:48%}.shortcode-builder--fields .flex-grid--three>div{width:31.333%}.shortcode-builder--fields ul{display:flex;flex-wrap:wrap;width:100%}.shortcode-builder--fields ul li{padding-right:10px;width:50%}.shortcode-builder--fields ul li label{margin-bottom:0!important}@media screen and (max-width:1000px){.shortcode-builder section{flex-wrap:wrap}.shortcode-builder--fields,.shortcode-builder--label{width:100%}.shortcode-builder--label{border-bottom:1px solid #efefef;border-right:none}}.shortcode-builder .flex-input{display:flex;flex-wrap:nowrap;width:100%}.shortcode-builder .flex-input input{border-radius:3px 0 0 3px;flex:1;margin:0}.shortcode-builder .flex-input span{align-items:center;border:1px solid #e1e1e1;border-left:none;border-radius:0 3px 3px 0;display:flex;font-size:11px;font-weight:600;margin:0;padding:0 15px;text-transform:uppercase}.shortcode-builder .nested-component{padding:0;position:relative}.shortcode-builder .nested-component:after,.shortcode-builder .nested-component:before{border:solid rgba(0,0,0,0);content:" ";height:0;left:35px;pointer-events:none;position:absolute;top:0;width:0;z-index:2}.shortcode-builder .nested-component:after{border-color:#fcfcfc hsla(0,0%,100%,0) hsla(0,0%,100%,0);border-width:10px;margin-left:-10px}.shortcode-builder .nested-component:before{border-color:#e7e7e7 hsla(0,0%,94%,0) hsla(0,0%,94%,0);border-width:11px;margin-left:-11px;z-index:1}.shortcode-builder .nested-component--inner{padding:0;position:relative}.shortcode-builder .nested-component--inner:after{clear:both;content:"";display:table}.shortcode-builder .nested-component .nested-component .shortcode-builder--label{border-left:6px solid #efefef}.shortcode-builder .section-intro{margin:0 0 10px}.shortcode-builder .section-anchor-nav{border-bottom:1px solid #e7e7e7;display:flex;flex-wrap:wrap;margin:0;padding:0 0 15px;width:100%}.shortcode-builder .section-anchor-nav li{font-size:12px;margin:0 10px 5px 0;padding:0}.shortcode-builder .section-anchor-nav a{display:block}.shortcode-builder .section-anchor-nav a:focus,.shortcode-builder .section-anchor-nav a:hover{text-decoration:none}.ajax-load-more .cnkt-sidebar{height:100%;padding:0 0 20px;width:100%}@media screen and (min-width:900px){.ajax-load-more .cnkt-sidebar{width:calc(30% - 20px)}.ajax-load-more .cnkt-sidebar[data-sticky]{position:sticky;top:135px}}.ajax-load-more .cnkt-sidebar .major-publishing-actions{background:#f7f7f7;border-radius:0 0 8px 8px;border-top:1px solid #e7e7e7;box-shadow:inset 0 2px 3px rgba(0,0,0,.025);clear:both;display:flex;flex-wrap:wrap;gap:10px;padding:15px;width:100%}.ajax-load-more .cnkt-sidebar .major-publishing-actions i{margin:0 2px 0 0;opacity:.4}.ajax-load-more .template-tags{background:#fff9ea;border-left:5px solid #dfd8c2;border-radius:3px;margin:20px 0 0;overflow:hidden;padding:15px}.ajax-load-more .template-tags h4,.ajax-load-more .template-tags li{font-size:13px;margin:0 0 8px;padding:0;text-decoration:none!important}.ajax-load-more .template-tags li{border-radius:3px;line-height:1.25;margin:5px 0!important;padding:0!important;width:100%!important}.ajax-load-more .template-tags ul{margin:0;padding:0}.ajax-load-more .template-tags pre{color:#888;display:inline-block;margin:0;min-width:120px;padding:0}.ajax-load-more .alm-toggle-switch{clear:both;display:flex;margin:0;overflow:hidden;padding:2px 15px 0;position:relative;top:1px;width:100%;z-index:9}.ajax-load-more .alm-toggle-switch li{background:none;list-style:none;margin:0 5px 0 0;padding:0}.ajax-load-more .alm-toggle-switch li a{align-items:center;background:#f7f7f7;border:1px solid #e7e7e7;border-radius:4px 4px 0 0;color:#393d41;display:flex;line-height:1;padding:15px 20px;text-decoration:none}.ajax-load-more .alm-toggle-switch li a:focus,.ajax-load-more .alm-toggle-switch li a:hover{background-color:#fff;color:#393d41}.ajax-load-more .alm-toggle-switch li a.active{background:#fff;border-bottom-color:#fff;color:#393d41;font-weight:600}.woocommerce-help--item{align-items:center;border-top:1px solid #efefef;display:flex;flex-wrap:nowrap;margin-top:20px;padding-top:20px;width:100%}.woocommerce-help--item div{flex:1;padding:20px 20px 20px 30px}@media screen and (max-width:600px){.woocommerce-help--item div{padding:20px 0}}.woocommerce-help--item .img{flex:none;padding:0;width:30%}@media screen and (max-width:600px){.woocommerce-help--item .img{display:none}}.woocommerce-help--item .img img{border:1px solid #efefef;border-radius:4px;padding:2px}body.ajax-load-more_page_ajax-load-more-add-ons,body.ajax-load-more_page_ajax-load-more-cache,body.ajax-load-more_page_ajax-load-more-extensions,body.ajax-load-more_page_ajax-load-more-filters,body.ajax-load-more_page_ajax-load-more-go-pro,body.ajax-load-more_page_ajax-load-more-help,body.ajax-load-more_page_ajax-load-more-licenses,body.ajax-load-more_page_ajax-load-more-pro,body.ajax-load-more_page_ajax-load-more-repeaters,body.ajax-load-more_page_ajax-load-more-shortcode-builder,body.ajax-load-more_page_ajax-load-more-woocommerce,body.toplevel_page_ajax-load-more{height:auto!important}body.ajax-load-more_page_ajax-load-more-add-ons #wpcontent,body.ajax-load-more_page_ajax-load-more-cache #wpcontent,body.ajax-load-more_page_ajax-load-more-extensions #wpcontent,body.ajax-load-more_page_ajax-load-more-filters #wpcontent,body.ajax-load-more_page_ajax-load-more-go-pro #wpcontent,body.ajax-load-more_page_ajax-load-more-help #wpcontent,body.ajax-load-more_page_ajax-load-more-licenses #wpcontent,body.ajax-load-more_page_ajax-load-more-pro #wpcontent,body.ajax-load-more_page_ajax-load-more-repeaters #wpcontent,body.ajax-load-more_page_ajax-load-more-shortcode-builder #wpcontent,body.ajax-load-more_page_ajax-load-more-woocommerce #wpcontent,body.toplevel_page_ajax-load-more #wpcontent{padding-bottom:20px;padding-left:0}body.ajax-load-more_page_ajax-load-more-add-ons #wpbody-content,body.ajax-load-more_page_ajax-load-more-cache #wpbody-content,body.ajax-load-more_page_ajax-load-more-extensions #wpbody-content,body.ajax-load-more_page_ajax-load-more-filters #wpbody-content,body.ajax-load-more_page_ajax-load-more-go-pro #wpbody-content,body.ajax-load-more_page_ajax-load-more-help #wpbody-content,body.ajax-load-more_page_ajax-load-more-licenses #wpbody-content,body.ajax-load-more_page_ajax-load-more-pro #wpbody-content,body.ajax-load-more_page_ajax-load-more-repeaters #wpbody-content,body.ajax-load-more_page_ajax-load-more-shortcode-builder #wpbody-content,body.ajax-load-more_page_ajax-load-more-woocommerce #wpbody-content,body.toplevel_page_ajax-load-more #wpbody-content{padding-bottom:0}body.ajax-load-more_page_ajax-load-more-add-ons #wpfooter,body.ajax-load-more_page_ajax-load-more-cache #wpfooter,body.ajax-load-more_page_ajax-load-more-extensions #wpfooter,body.ajax-load-more_page_ajax-load-more-filters #wpfooter,body.ajax-load-more_page_ajax-load-more-go-pro #wpfooter,body.ajax-load-more_page_ajax-load-more-help #wpfooter,body.ajax-load-more_page_ajax-load-more-licenses #wpfooter,body.ajax-load-more_page_ajax-load-more-pro #wpfooter,body.ajax-load-more_page_ajax-load-more-repeaters #wpfooter,body.ajax-load-more_page_ajax-load-more-shortcode-builder #wpfooter,body.ajax-load-more_page_ajax-load-more-woocommerce #wpfooter,body.toplevel_page_ajax-load-more #wpfooter{background:#f8f9fb;border-top:1px solid #e7e7e7;bottom:0;line-height:42px;padding-bottom:0;padding-top:0;position:fixed;z-index:1100}body.ajax-load-more_page_ajax-load-more-add-ons #wpfooter p,body.ajax-load-more_page_ajax-load-more-cache #wpfooter p,body.ajax-load-more_page_ajax-load-more-extensions #wpfooter p,body.ajax-load-more_page_ajax-load-more-filters #wpfooter p,body.ajax-load-more_page_ajax-load-more-go-pro #wpfooter p,body.ajax-load-more_page_ajax-load-more-help #wpfooter p,body.ajax-load-more_page_ajax-load-more-licenses #wpfooter p,body.ajax-load-more_page_ajax-load-more-pro #wpfooter p,body.ajax-load-more_page_ajax-load-more-repeaters #wpfooter p,body.ajax-load-more_page_ajax-load-more-shortcode-builder #wpfooter p,body.ajax-load-more_page_ajax-load-more-woocommerce #wpfooter p,body.toplevel_page_ajax-load-more #wpfooter p{line-height:42px}.ajax-load-more{color:#393d41;max-width:100%;position:relative}.ajax-load-more *{box-sizing:border-box}.ajax-load-more a{color:#3d8ed0;text-decoration:underline}.ajax-load-more a:focus,.ajax-load-more a:hover{color:#1465a8;text-decoration:none}.ajax-load-more .offscreen{left:-9999px;position:absolute}.ajax-load-more img{max-width:100%}.ajax-load-more .text-left{text-align:left}.ajax-load-more .text-center{text-align:center}.ajax-load-more .text-right{text-align:right}.main-cnkt-wrap{margin:0!important;padding:0!important}.ajax-load-more-inner-wrapper{display:block;max-width:1600px;padding:10px 20px 20px;position:relative;width:100%}@media screen and (min-width:900px){.ajax-load-more-inner-wrapper{display:flex;justify-content:space-between}}.ajax-load-more-inner-wrapper.no-flex{display:block}.ajax-load-more .notice,.ajax-load-more div.error,.ajax-load-more div.notice-error,.ajax-load-more div.notice-success,.ajax-load-more div.notice-updated,.ajax-load-more div.updated{border-radius:3px;margin:5px 0;overflow:hidden;padding:5px 10px}.ajax-load-more .notice p,.ajax-load-more div.error p,.ajax-load-more div.notice-error p,.ajax-load-more div.notice-success p,.ajax-load-more div.notice-updated p,.ajax-load-more div.updated p{margin:.5em 0}.ajax-load-more .notice .notice-dismiss,.ajax-load-more div.error .notice-dismiss,.ajax-load-more div.notice-error .notice-dismiss,.ajax-load-more div.notice-success .notice-dismiss,.ajax-load-more div.notice-updated .notice-dismiss,.ajax-load-more div.updated .notice-dismiss{top:2px}.ajax-load-more .alm-transient p{margin:.5em 0}.ajax-load-more .alm-transient p a{font-weight:600}.ajax-load-more .alm-transient a.button{position:static;vertical-align:inherit!important}.ajax-load-more .alm-transient button{top:50%;transform:translateY(-50%)}#alm-settings .admin-select{display:block;margin:-10px 0 0;padding:0 0 25px;width:100%}#alm-settings .admin-select .select2-container{display:inline-block;min-width:40%;vertical-align:top;width:40%}.ajax-load-more .file-location{background:#fff;border:1px solid #e7e7e7;border-radius:3px;display:flex;flex-wrap:nowrap;font-family:Consolas,monaco,monospace;line-height:1;margin:0;padding:0}.ajax-load-more .file-location code,.ajax-load-more .file-location p{font-size:12px;line-height:18px;padding:12px 16px}.ajax-load-more .file-location p{background:#f7f7f7;border-right:1px solid #e7e7e7;color:#555;display:inline;font-weight:600;margin:0;width:auto}.ajax-load-more .file-location code{background:rgba(0,0,0,0);color:#999;cursor:help}.ajax-load-more code{background:#fcf3d0}.ajax-load-more p{clear:both;color:#6a7178;display:block;margin:0 0 15px;padding:0;text-transform:none;width:100%}.ajax-load-more input.lg,.ajax-load-more label.lg,.ajax-load-more li.lg,.ajax-load-more p.lg,.ajax-load-more textarea.lg{color:#999;font-size:16px}.ajax-load-more textarea#_alm_layouts_css{height:240px}.ajax-load-more a.layout-hover{background:#ccc;display:inline-block;height:20px!important;position:relative;width:20px!important}.ajax-load-more a.layout-hover img{filter:alpha(opacity=0);left:100%;opacity:0;position:absolute;top:0;z-index:999}.ajax-load-more a.layout-hover:hover img{filter:alpha(opacity=100);left:100%;opacity:1;position:absolute;top:0;z-index:999}.ajax-load-more p.highlight{background-color:#fffbd4;border-radius:3px;color:#333;margin:-5px 0 10px;padding:5px 10px}.ajax-load-more h3,.ajax-load-more h4{color:#393d41;margin-top:0}.ajax-load-more h4+p{margin-top:-6px}.ajax-load-more p.small{font-size:12px;margin-top:-10px;opacity:.7}.ajax-load-more.shortcode-builder .major-publishing-actions{position:relative}.ajax-load-more p.small.reset-shortcode-builder{display:none;font-size:12px;margin:0;opacity:1;padding:0;position:absolute;right:15px;text-align:right;top:50%;transform:translateY(-45%);width:auto}.ajax-load-more p.small.reset-shortcode-builder a{text-decoration:none}.ajax-load-more h3.heading{background:#f7f7f7;border-bottom:1px solid #e7e7e7;color:#393d41;cursor:pointer;font-size:16px;font-weight:600;line-height:normal!important;margin:0!important;padding:15px 10px 15px 36px!important;position:relative;width:100%}.ajax-load-more h3.heading:focus:after,.ajax-load-more h3.heading:hover:after{color:#ccc}.ajax-load-more h3.heading:focus,.ajax-load-more h3.heading:hover{color:#222;outline:none;text-decoration:underline}.ajax-load-more h3.heading:after{color:#e7e7e7;content:"";font-family:FontAwesome;height:20px;left:13px;position:absolute;top:16px;width:20px}.ajax-load-more h3.heading.open:after{content:""}.ajax-load-more h3.heading.open{border-bottom-color:rgba(0,0,0,0)}.ajax-load-more .toggle-all{background:#fff;border:1px solid #e7e7e7;border-radius:3px;color:#393d41;cursor:pointer;display:inline-block;font-size:11px;height:35px;line-height:34px;margin-bottom:10px;overflow:hidden;padding:0 12px;position:static;right:20px;text-transform:uppercase;top:-21px;width:auto;z-index:20}@media screen and (min-width:768px){.ajax-load-more .toggle-all{position:absolute}}.ajax-load-more .toggle-all:focus,.ajax-load-more .toggle-all:hover{border-color:#ccc;color:#393d41}.ajax-load-more .toggle-all .inner-wrap{line-height:24px;padding-left:16px;position:relative}.ajax-load-more .toggle-all .expand{display:none}.ajax-load-more .toggle-all .collapse{display:inline-block}.ajax-load-more .toggle-all em{font-style:normal}.ajax-load-more .toggle-all.closed .expand{display:inline-block}.ajax-load-more .toggle-all.closed .collapse{display:none}.ajax-load-more .toggle-all .inner-wrap:before{content:"";font-family:FontAwesome;font-size:10px;left:0;position:absolute;top:-5px}.ajax-load-more .toggle-all.closed .inner-wrap:before{content:""}a.button-small{background-color:#eaf6fb;border:1px solid #b9d2de;border-radius:3px;color:#393d41;display:inline-block;font-size:12px;line-height:1.1;padding:6px 10px;text-decoration:none}a.button-small:hover{background-color:#3d8ed0;border-color:#3d8ed0;color:#fff;text-decoration:none}a.button-small:focus{background-color:#1465a8;border-color:#1465a8;color:#fff;text-decoration:none}.ajax-load-more ul{list-style:none;margin:0;padding:0}.shortcode-builder--items li{clear:both;display:inline-block;margin:0 0 5px;overflow:visible;padding:0 5% 0 0;position:relative;vertical-align:top;width:48.666%}.ajax-load-more label.full{clear:both;color:#393d41;cursor:default;display:block;font-size:13px;font-weight:500;padding:0 0 10px;width:100%}.ajax-load-more .border-top{border-top:1px solid #efefef;clear:both;display:block;overflow:visible;padding:15px 0 0!important;position:relative;width:100%}.ajax-load-more .border-top.highlighted{background-color:#feffe3;border:1px solid #eeefd4;border-radius:3px;padding:15px!important}.ajax-load-more .alm-settings-nav{background:#f7f7f7;border-bottom:1px solid #ebebeb;border-radius:3px 3px 0 0;left:-20px;margin:0 0 5px;overflow:hidden;padding:0;position:relative;top:-20px;width:calc(100% + 40px)}.alm-settings-nav li{background:none;float:left;font-size:13px;font-weight:600;margin:0;padding:0}.alm-settings-nav a{border-left:1px solid #ebebeb;display:block;padding:8px 16px;text-decoration:none}.alm-settings-nav a:hover{background-color:#d63638;color:#fff}.alm-settings-nav li:first-of-type a{border:none;border-radius:3px 0 0 0}#alm-meta-key .meta-query-wrap,.taxonomy-wrap{border:1px solid #efefef;border-radius:3px;margin:15px 0 0;padding:15px;position:relative}#alm-meta-key .meta-query-wrap{padding-bottom:0}.meta-query-wrap.removing,.taxonomy-wrap.removing{background-color:#f5d0d0}#alm-meta-key .meta-query-wrap-first .meta-query-wrap{background-color:rgba(0,0,0,0);border:none;margin:0;padding:0}#alm-meta-key .meta-query-wrap-first .meta-query-wrap .padding-top{margin-bottom:0}.section-control{padding-top:15px}.row .controls{clear:both;display:block;overflow:hidden;padding:20px 0 10px}.row.taxonomy .controls{padding-bottom:20px}.row.taxonomy .highlighted{margin-bottom:0!important}#tax-query-relation{padding-top:15px}.meta-query-wrap .remove-meta-query,.taxonomy-wrap .remove-tax-query{background-color:#393d41;border-radius:3px;color:#fff;font-size:18px;font-weight:500;height:23px;line-height:22px;padding-left:1px;position:absolute;right:5px;text-align:center;text-decoration:none;top:5px;width:23px}.meta-query-wrap .remove-meta-query:hover,.taxonomy-wrap .remove-tax-query:hover{background-color:#d63638;color:#fff}.ajax-load-more .meta-query-wrap{display:flex;flex-wrap:wrap;justify-content:space-between;width:100%}.ajax-load-more .meta-query-wrap>div{margin:0 0 15px;width:48%}.meta-query-extended .meta-query-wrap{margin-bottom:15px}#meta-query-relation{margin:15px 0}.ajax-load-more .meta-query-wrap .border-top:first-of-type{border:none;padding:0!important}.ajax-load-more #meta-query-relation,.ajax-load-more #nav-controls,.ajax-load-more #paging-controls-nav,.ajax-load-more #seo-extended,.ajax-load-more #tax-query-relation,.ajax-load-more #taxonomy-extended,.ajax-load-more #users-extended,.ajax-load-more .comments_extras,.ajax-load-more .taxonomy-extended{display:none;overflow:hidden}.ajax-load-more .taxonomy-extended{padding-top:15px}.ajax-load-more .taxonomy-wrap{display:none;position:relative}.ajax-load-more .row .wrap .inner .ajax-load-more p.warning{border-left:3px solid #d24646;color:#d24646;font-size:13px;margin:0;padding:0 0 0 10px}.ajax-load-more .row .wrap .inner.taxonomy{padding-bottom:0}.ajax-load-more input,.ajax-load-more label,.ajax-load-more select,.ajax-load-more textarea{border-radius:3px;box-shadow:none;clear:both;color:#393d41;display:inline-block;font-size:14px;margin-top:0;padding:5px 8px;width:auto}.ajax-load-more input[type=checkbox],.ajax-load-more input[type=radio]{width:1rem}.controls button.disabled{opacity:.5}.ajax-load-more textarea._alm_repeater{font-family:Consolas,monaco,monospace;font-size:13px;line-height:19px;padding:10px}.ajax-load-more textarea._alm_repeater:focus{color:#222}.ajax-load-more label{border-radius:0;padding:5px 0}.checkboxes input,.radio input{margin-top:2px}.checkboxes input,.checkboxes label,.radio input,.radio label{clear:none;float:left;margin-right:10px;padding:0;width:auto}.radio input{margin-left:3px}.ajax-load-more input[type=email],.ajax-load-more input[type=number],.ajax-load-more input[type=search],.ajax-load-more input[type=text],.ajax-load-more textarea{border:1px solid #e7e7e7;line-height:1.3;padding:10px 12px;width:60%}.ajax-load-more input[type=text].full{width:100%}.ajax-load-more .wrap-30{display:inline-block;padding-right:3%;vertical-align:top;width:32.333%}.ajax-load-more .wrap-30.wrap-50{width:48.6666%}.ajax-load-more .wrap-30.wrap-50.padding-top{padding-top:15px}.ajax-load-more .wrap-30 .select2-container,.ajax-load-more .wrap-30 input[type=text].sm{margin:0;width:100%}.ajax-load-more input[type=number].sm{width:100px}.ajax-load-more ::-webkit-input-placeholder{color:#999;font-style:italic}.ajax-load-more :-moz-placeholder,.ajax-load-more ::-moz-placeholder{color:#999;font-style:italic}.ajax-load-more :-ms-input-placeholder{color:#999;font-style:italic}.ajax-load-more .repeaters input[type=text]{padding:9px 10px}.ajax-load-more input[type=number]{height:auto}.ajax-load-more .form-table textarea{clear:both;display:inline-block;float:none;width:100%}.ajax-load-more input.disabled-input,.ajax-load-more textarea.disabled{border-color:#ccc!important;box-shadow:none!important;cursor:not-allowed;filter:alpha(opacity=50);opacity:.5}.ajax-load-more input[type=email]:focus,.ajax-load-more input[type=number]:focus,.ajax-load-more input[type=text]:focus,.ajax-load-more textarea:focus{border-color:#3d8ed0;box-shadow:0 0 4px 1px rgba(61,142,208,.15)}.checkboxes label{margin-right:5px}.ajax-load-more .one_half{display:inline-block;margin:0 -2px 1% 2%;vertical-align:top;width:48%}.ajax-load-more .one_half:first-of-type{margin:0 2% 1% 0}.ajax-load-more .alm-row{align-items:start;display:grid;gap:15px;grid-template-columns:repeat(12,1fr);padding:20px;width:100%}@media screen and (min-width:900px){.ajax-load-more .alm-row{gap:20px}}.ajax-load-more .alm-row+.alm-row{padding-top:0}.ajax-load-more .alm-row.no-padding-btm{padding-bottom:0}.ajax-load-more .alm-row .column{grid-column:span 12/span 12}@media screen and (min-width:900px){.ajax-load-more .alm-row .column.column-3{grid-column:span 3/span 3}.ajax-load-more .alm-row .column.column-6{grid-column:span 6/span 6}.ajax-load-more .alm-row .column.column-9{grid-column:span 9/span 9}}.alm-template-actions{display:flex;gap:10px;justify-content:end;padding:0 0 10px;width:100%}.ajax-load-more .row{border:1px solid #e7e7e7;border-radius:3px;clear:both;display:block;height:auto;margin:10px 0 0;overflow:hidden;padding:0!important;width:100%}.ajax-load-more .row.no-brd{border:none!important;padding:0!important}.ajax-load-more#alm-repeaters .row{overflow:visible}.ajax-load-more .row{border-color:#e7e7e7}.ajax-load-more .repeaters .row:hover,.ajax-load-more.shortcode-builder .row:hover{border-color:#d9d9d9;box-shadow:0 0 0 3px #f7f7f7}.ajax-load-more .row:first-of-type{margin-top:20px;padding-top:0}.ajax-load-more .intro{height:auto;overflow:hidden}.ajax-load-more .intro,.pop-up-jump{display:block;width:100%}.pop-up-jump .jump-menu-wrap{float:right;position:relative;width:30%}.pop-up-jump .jump-menu-wrap .select2-container{margin-bottom:15px;position:relative;top:-5px;width:100%!important}.pop-up-jump .intro-wrap{float:left;padding-right:5%;position:relative;width:65%}.ajax-load-more .jump-menu{display:none}#cnkt-sticky.attached{position:fixed;top:70px;width:auto}.table-of-contents .select2-container{width:100%}.table-of-contents ul{margin:0!important}.table-of-contents li{display:inline-block;margin:5px 5px 5px 0;padding:0;vertical-align:top;width:auto!important}.ajax-load-more .expand-wrap{display:block}#alm-examples.ajax-load-more .expand-wrap{padding:10px 10px 0}.ajax-load-more .expand-wrap hr{border:0;border-bottom:1px solid hsla(0,0%,100%,.3);border-top:1px solid #efefef;height:0}hr.indented{margin-left:20px;width:calc(100% - 40px)}.ajax-load-more .section-title{float:left;padding:20px 0 25px 20px;width:35%}.ajax-load-more .section-title.full{float:none;padding-right:25px;width:100%}.ajax-load-more .section-title p:last-of-type{margin-bottom:0}.ajax-load-more .section-title small{display:block;font-size:12px;padding-top:10px}.ajax-load-more .section-title h4{font-size:14px;font-weight:600;margin-bottom:15px}.ajax-load-more .section-title .wrap p.descriptor,.ajax-load-more .section-title p{color:#999;font-size:13px;line-height:20px}.ajax-load-more .wrap p.descriptor{font-style:italic;margin:0}.ajax-load-more .section-title p .fa.tooltip:hover,.form-table label .fa.tooltip:hover{opacity:1}.ajax-load-more .fa.tooltip{background:#fff;border-radius:100%;box-shadow:0 1px 1px #ccc;cursor:help;display:inline-block;height:16px;line-height:16px;margin:0 2px;position:relative;text-align:center;text-decoration:none;top:-1px;width:16px}.cta h3 .fa.tooltip{top:1px}.ajax-load-more .section-title p span,.ajax-load-more.settings .form-table p.notify span{background:#f7f7f7;border:1px solid #efefef;border-radius:2px;color:#666;display:inline-block;padding:0 4px}.ajax-load-more .section-title h4{margin:0 0 10px}.ajax-load-more .repeaters .row .wrap,.ajax-load-more .repeaters .section-title{float:none;padding:0;width:100%}.ajax-load-more .repeaters .section-title p{padding-left:0!important}.ajax-load-more label input._alm_repeater_alias{height:auto;line-height:normal!important}.acf-options,.alternate_template_wrap,.cache_id,.cta_template_wrap,.filters_options,.hide-section,.masonry-options,.next-page-content,.preload_amount,.progress-bar-options,.restapi_options{display:none}.ajax-load-more .row .wrap{border:none;float:left;margin:0;padding:20px 20px 0 5%;position:relative;width:65%}.ajax-load-more .row .wrap.full{float:none;padding:0 15px 15px 36px;width:100%}.ajax-load-more .output-wrap{background:#838d99;border-radius:3px;display:block;margin:20px 0 0;width:100%}.ajax-load-more .output-wrap textarea{background-color:rgba(0,0,0,0)!important;border:none!important;border-radius:3px;color:#fff;cursor:pointer;display:block;font-family:monospace;font-size:12px;height:auto!important;line-height:18px;min-height:100px;resize:none!important;width:100%!important}.ajax-load-more .row .wrap.output{display:block!important}.ajax-load-more .row .wrap .inner{padding:0 0 20px}.ajax-load-more .row .wrap .inner.half{display:inline-block;padding:0 0 20px;width:49.333%}#insert.insert_alm{background:#fff!important;border:none;border-radius:2px;box-shadow:inset 0 -15px 15px rgba(0,0,0,.1),0 1px 0 #ca5252;color:#ca5252!important;display:inline-block;font-size:14px!important;font-weight:600;height:auto!important;line-height:normal!important;margin:15px 0;max-width:20%;padding:8px 13px;text-align:center;text-shadow:none!important}#insert.insert_alm #insert.insert_alm{display:none}#insert.insert_alm:hover{box-shadow:inset 0 -15px 15px rgba(0,0,0,.1),0 0 3px #fff}#insert.insert_alm:active{background:#d0413f!important;box-shadow:inset 0 2px 2px rgba(0,0,0,.1);color:#fff!important}.ajax-load-more .clear{clear:both;height:auto;margin:0;overflow:hidden;padding:0;width:100%}.form-table label{clear:both;cursor:pointer!important;display:block;float:none;line-height:1.5;max-width:90%;padding:0 0 8px}.form-table input[type=checkbox],.form-table input[type=radio]{margin-top:0!important;max-width:8%;vertical-align:top}.form-table label+textarea{margin-top:10px}#alm-shortcode-builder-form label span.description,.form-table label span{color:#6a7178;font-size:13px;padding-top:10px}#alm-shortcode-builder-form label span.description{display:block;padding-bottom:5px;padding-top:1px}.ajax-load-more input.disabled,.ajax-load-more textarea.disabled{background:#efefef;border:1px solid #ccc;color:#666;cursor:default;filter:alpha(opacity=90);opacity:.9;resize:none;text-shadow:1px 1px 0 #fff}.ajax-load-more .form-table input[type=checkbox],.ajax-load-more .form-table input[type=radio]{margin-right:10px;margin-top:0!important}.ajax-load-more.settings .select2-container,.ajax-load-more.settings input[type=email],.ajax-load-more.settings input[type=number],.ajax-load-more.settings input[type=text]{margin-top:10px}.ajax-load-more .ajax-load-more-wrap{border:1px solid #e7e7e7;border-radius:3px;box-shadow:inset 0 0 0 5px rgba(0,0,0,.025),0 0 5px rgba(0,0,0,.1);margin-bottom:10px;margin-top:10px;padding:20px;position:relative;top:10px}.ajax-load-more .ajax-load-more-wrap.preview-pane.none{display:none}.ajax-load-more .ajax-load-more-wrap .alm-btn-wrap{margin:0;padding:0;text-align:left}.ajax-load-more .ajax-load-more-wrap button{margin:0!important;opacity:1!important;visibility:visible!important}.ajax-load-more .ajax-load-more-wrap span{border-bottom:1px solid #e7e7e7;display:block;font-size:10px;line-height:1;margin:0 0 20px;padding:0 0 10px;text-transform:uppercase}.ajax-load-more .ajax-load-more-wrap ul.alm-paging li span{margin:0;padding:0}.ajax-load-more.settings .ajax-load-more-wrap.pages li{font-size:14px}.ajax-load-more.settings .ajax-load-more-wrap.pages li a{text-decoration:none}.ajax-load-more.settings .ajax-load-more-wrap.pages li span{border-bottom:none;font-size:14px;margin:0}.ajax-load-more.settings .form-table td,.ajax-load-more.settings .form-table th{line-height:1.5;padding:25px}.ajax-load-more.settings .form-table td:last-of-type,.ajax-load-more.settings .form-table th:last-of-type{margin:0}.ajax-load-more.settings .form-table th{background-color:#f7f7f7;border-right:1px solid #efefef;font-weight:600;width:25%}.ajax-load-more.settings .form-table p{margin-top:0}.ajax-load-more.settings .form-table p.notify{color:#999;margin:5px 0 20px;overflow:hidden;padding:10px 0 0}.ajax-load-more.settings .nextpage-option{background-color:#f7f7f7;border:1px solid #e7e7e7;border-radius:3px;display:block;margin:10px 0;padding:10px}.ajax-load-more.settings .nextpage-option>div label{margin:0;width:100%}.ajax-load-more.settings .nextpage-option--type input:checked+label{font-weight:600}.ajax-load-more.settings .nextpage-option--shortcode{display:none;padding:10px 5px 5px 30px}.ajax-load-more.settings .nextpage-option--shortcode.active{display:block}.ajax-load-more.settings .nextpage-option--shortcode label{border-top:1px solid #e7e7e7;display:block;font-size:13px;margin:0 0 10px;max-width:100%;padding:10px 1px 0;width:100%}.ajax-load-more.settings .nextpage-option--shortcode textarea{border-radius:3px;display:block;font-family:Consolas,monaco,monospace;font-size:12px;line-height:1.55;width:100%}.ajax-load-more h2.addon-title{color:#393d41!important;font-size:18px!important;font-weight:600!important;line-height:22px;padding:0}.ajax-load-more .cnkt-sidebar h3,.ajax-load-more h3.add-on-title{border-bottom:1px solid #efefef;margin:0 0 20px;padding:0 0 10px}.ajax-load-more .desc,.ajax-load-more p.writeable-title{padding:0 0 2px 28px}.ajax-load-more p.writeable-title{position:relative}.ajax-load-more p.writeable-title i{left:0!important;position:absolute!important;top:1px!important}.ajax-load-more .saved-response,.ajax-load-more p.loading{background:none;color:#999;display:inline-block;font-size:12px;left:15px;padding:0;position:relative;top:5px;transition:padding .2s ease;width:auto}.ajax-load-more .saved-error{color:#e03e3e}.ajax-load-more .saved-response em{color:#333;display:block;padding:5px 0}.ajax-load-more .saved{color:#90be59;font-weight:700}.ajax-load-more p.loading{position:static}.ajax-load-more .saved-response.loading,.ajax-load-more p.loading{background:rgba(0,0,0,0) url(../admin/img/ui/loader.gif) no-repeat 0;padding-left:24px}.ajax-load-more .restore-default{float:right;font-size:12px;margin:19px 20px 0 0}.ajax-load-more .restore-default a{text-decoration:none}.ajax-load-more table.highlight{background:#fff!important}.ajax-load-more .cnkt-main{background:#fff;border:1px solid #e7e7e7;border-radius:8px;margin-bottom:20px;padding:20px;width:100%}@media screen and (min-width:900px){.ajax-load-more .cnkt-main{width:70%}}.ajax-load-more .cnkt-main.stylefree{background-color:rgba(0,0,0,0);border:none;padding:0}.ajax-load-more .cnkt-main .group{background:#fff;clear:both;display:block;margin:0 0 20px;padding:20px;position:relative}.ajax-load-more .cnkt-main .group,.ajax-load-more .cnkt-sidebar .cta{border:1px solid #e7e7e7;box-shadow:0 0 5px rgba(0,0,0,.1)}.ajax-load-more .cnkt-main .group.no-shadow,.ajax-load-more .cnkt-sidebar .cta.no-shadow{box-shadow:none}.ajax-load-more .cnkt-main .alm-content-wrap{background-color:#fff;border:1px solid #e7e7e7;border-radius:8px;padding:20px;position:relative}.ajax-load-more .cnkt-main .alm-content-wrap .toggle-all{right:-1px;top:-45px}.ajax-load-more .cnkt-main .alm-content-wrap .flexbox-wrap{margin:0}.ajax-load-more .cnkt-main.full{float:none;width:100%}.ajax-load-more .cnkt-main h1,.ajax-load-more .cnkt-main h2,.ajax-load-more .cnkt-main h3,.ajax-load-more .cnkt-main h4{margin-bottom:10px;margin-top:0}.form-table tr{border-top:1px solid #efefef}.form-table{border:1px solid #efefef;margin:0 0 20px}.form-table br{content:"";display:block;height:1px;line-height:1px;margin:0;overflow:hidden}#alm_OptionsForm .form-table:last-of-type{margin-bottom:0}.repeaters .repeater-wrap label{font-weight:500;margin:0 0 10px;padding:0}.repeaters .repeater-wrap label span{color:#6a7178;display:block;font-size:12px;font-weight:400;opacity:.75;padding-top:3px}.repeaters input.save-repeater{clear:none;display:inline-block;margin:0;max-width:25%}.repeaters .repeater-wrap input[type=text],.repeaters .repeater-wrap textarea{width:100%}.repeaters input.save-repeater.saving{cursor:default!important;opacity:.3!important}.repeaters .saved-response{max-width:72%;opacity:0}.repeaters .one_half{padding-bottom:10px}.repeaters .alm-delete{background:none;border:none;border-radius:3px;bottom:20px;color:#c94141;cursor:pointer;display:inline-block;display:block;font-size:14px;height:30px;line-height:30px;margin:0;opacity:0;padding:0 10px;position:absolute;right:20px;text-decoration:none;transition:all .15s ease;width:auto}.repeaters .alm-delete:focus,.repeaters .alm-delete:hover{background-color:#c94141;color:#fff}.repeaters .alm-delete:active{background-color:#b93636}.repeaters .row:focus-within .alm-delete,.repeaters .row:hover .alm-delete{opacity:1}.flexbox-wrap{background-color:#f7f7f7;border-radius:8px;box-shadow:inset 0 0 0 10px #fff;display:grid;gap:1px;grid-template-columns:repeat(1,1fr);margin-bottom:20px;padding:10px}@media screen and (min-width:640px){.flexbox-wrap{grid-template-columns:repeat(2,1fr)}}@media screen and (min-width:1100px){.flexbox-wrap{grid-template-columns:repeat(3,1fr)}}.flexbox-wrap--single{border:1px solid #efefef;border-radius:3px;grid-template-columns:repeat(1,1fr);padding:0}#alm-add-ons .group{border:none;display:flex;margin:0!important;overflow:hidden;padding:0;text-align:center;vertical-align:top;width:100%}#alm-add-ons .group.alm-pro-hero,#alm-add-ons .group.extend,#alm-add-ons .group.highlighted{background:none;border:none;box-shadow:none;width:100%}#alm-add-ons .group.alm-pro-hero a,#alm-add-ons .group.extend a,#alm-add-ons .group.highlighted a{background:#f7f7f7;border-radius:8px;box-shadow:inset 0 0 0 10px #fff}#alm-add-ons .group.alm-pro-hero img,#alm-add-ons .group.extend img,#alm-add-ons .group.highlighted img{padding:10px}@media screen and (min-width:768px){#alm-add-ons .group.alm-pro-hero,#alm-add-ons .group.extend,#alm-add-ons .group.highlighted{text-align:left}#alm-add-ons .group.alm-pro-hero a,#alm-add-ons .group.extend a,#alm-add-ons .group.highlighted a{align-items:center;display:flex;flex-wrap:nowrap;overflow:hidden;padding:20px}#alm-add-ons .group.alm-pro-hero .pro-details,#alm-add-ons .group.alm-pro-hero .pro-img,#alm-add-ons .group.extend .pro-details,#alm-add-ons .group.extend .pro-img,#alm-add-ons .group.highlighted .pro-details,#alm-add-ons .group.highlighted .pro-img{flex:1}#alm-add-ons .group.alm-pro-hero .pro-img,#alm-add-ons .group.extend .pro-img,#alm-add-ons .group.highlighted .pro-img{max-width:355px}#alm-add-ons .group.alm-pro-hero .pro-details,#alm-add-ons .group.extend .pro-details,#alm-add-ons .group.highlighted .pro-details{padding:0 15px 0 35px}#alm-add-ons .group.alm-pro-hero img,#alm-add-ons .group.extend img,#alm-add-ons .group.highlighted img{position:static}#alm-add-ons .group.alm-pro-hero span.cnkt-button,#alm-add-ons .group.extend span.cnkt-button,#alm-add-ons .group.highlighted span.cnkt-button{display:inline-block;font-size:14px;margin-top:15px;padding:13px 30px;position:static;text-align:center;width:auto}}@media screen and (min-width:769px)and (max-width:1270px){#alm-add-ons .group.alm-pro-hero .pro-desc,#alm-add-ons .group.extend .pro-desc,#alm-add-ons .group.highlighted .pro-desc{display:none}}#alm-add-ons .group.extend a{background-color:#fff;border-color:#fcfcfc}#alm-add-ons .group.installed{filter:grayscale(1)}#alm-add-ons .group.installed p:before{display:none!important}#alm-add-ons .group span.cnkt-button{border-bottom:none;border-left:none;border-right:none;bottom:20px;display:block;font-size:14px;left:20px;padding:11px 14px;position:absolute;transition:all .15s ease;width:100%;width:calc(100% - 40px)}#alm-add-ons .group img{padding:0 15px 15px}#alm-add-ons .group a{display:block;padding:25px 25px 70px;position:relative;text-decoration:none}#alm-add-ons .group--pro a{padding-bottom:17px}#alm-add-ons .group a:focus h2,#alm-add-ons .group a:hover h2{color:#d63638!important;text-decoration:none}#alm-add-ons .group.installed a:focus h2,#alm-add-ons .group.installed a:hover h2{color:#444!important}.ajax-load-more .cnkt-plugin-installer{display:grid;gap:10px;grid-template-columns:repeat(1,1fr);position:static;width:100%}@media screen and (min-width:640px){.ajax-load-more .cnkt-plugin-installer{grid-template-columns:repeat(2,1fr)}}@media screen and (min-width:1600px){.ajax-load-more .cnkt-plugin-installer{grid-template-columns:repeat(3,1fr)}}.ajax-load-more .cnkt-plugin-installer:after{display:none}.ajax-load-more .cnkt-plugin-installer .plugin{border-radius:3px;margin:0!important;width:100%!important}.ajax-load-more p.warning-callout{background-color:#eaf6fb;border-left:6px solid #3d8ed0;border-radius:3px;color:#333;display:block;font-size:12px;line-height:1.55;margin:10px;padding:18px 100px 18px 18px;position:relative;width:auto}.ajax-load-more p.warning-callout a{color:#0071ac}.ajax-load-more p.warning-callout a.button-small{background-color:hsla(0,0%,100%,.75);display:inline-block;font-size:12px;margin:0 0 0 10px;position:absolute;right:14px;top:14px}.ajax-load-more p.warning-callout a.button-small:focus,.ajax-load-more p.warning-callout a.button-small:hover{background-color:#fff}.ajax-load-more p.warning-callout strong{background-color:#fff;border-radius:2px;display:inline-block;font-family:Consolas,monaco,monospace;font-weight:400;padding:1px 6px 0}.ajax-load-more p.warning-callout.notify{background-color:#da5858;border-color:#b94848;color:#fff}.ajax-load-more p.warning-callout.notify strong{background-color:#9a4343;color:#fff}.ajax-load-more .call-out{align-items:center;background:#bb8dd2;border-radius:8px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.1);display:flex;padding:15px;position:relative;width:100%}.ajax-load-more .call-out p{align-items:center;color:#fff;display:flex;line-height:1.45;margin:5px;text-shadow:0 1px 0 rgba(0,0,0,.05);width:100%}.ajax-load-more .call-out p i{display:block;font-size:15px;font-size:22px;left:-4px;margin-right:5px;opacity:.5;position:relative}@media screen and (max-width:640px){.ajax-load-more .call-out p i{display:none}}.ajax-load-more .call-out--centered{flex-direction:column}.ajax-load-more .call-out--centered p{display:block;margin:0 10px;text-align:center}.ajax-load-more .call-out--centered p i{margin:0 0 10px;position:static}.ajax-load-more .call-out--centered p+div{margin-top:10px}.ajax-load-more .call-out.text-left{text-align:left}.ajax-load-more .call-out.radius-normal{border-radius:3px}.ajax-load-more .call-out.margin-bottom{margin-bottom:20px}.ajax-load-more .call-out.margin-top{margin-top:20px}.ajax-load-more .call-out.margin-top-half{margin-top:10px}.ajax-load-more .call-out--shortcode-builder{border-top:1px solid #e7e7e7;padding:0}.ajax-load-more .call-out--shortcode-builder .call-out{border-radius:0 0 3px 3px}.ajax-load-more .call-out--shortcode-builder .call-out p{font-size:13px}.ajax-load-more .call-out.blue{background-color:#eaf6fb;border-left:6px solid #4e99bf;box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.ajax-load-more .call-out.blue p{color:#393d41;text-shadow:none}.ajax-load-more .call-out.blue .cnkt-button{background:#3d8ed0;color:#fff}.ajax-load-more .call-out.blue .cnkt-button:focus,.ajax-load-more .call-out.blue .cnkt-button:hover{background:#1465a8}.ajax-load-more .call-out.light{background:#fff8d7}.ajax-load-more .call-out.light p{color:#59574e;text-shadow:none}.ajax-load-more .call-out.light p a{color:#d63638!important}.ajax-load-more .call-out.light p a:hover{text-decoration:underline}.ajax-load-more .call-out.light .cnkt-button{background:#fff;color:#59574e}.ajax-load-more .call-out.light .cnkt-button:focus,.ajax-load-more .call-out.light .cnkt-button:hover{background:hsla(0,0%,100%,.9);color:#3e3d3a}.ajax-load-more .call-out a:not(.cnkt-button):not(.button){color:#fff;font-weight:600;text-decoration:underline}.ajax-load-more .call-out a:not(.cnkt-button):not(.button):focus,.ajax-load-more .call-out a:not(.cnkt-button):not(.button):hover{text-decoration:none}.ajax-load-more .call-out .button,.ajax-load-more .call-out .cnkt-button{margin-left:auto}.ajax-load-more .call-out .cnkt-button{background:#77498e;border:none;color:#fff;display:block;flex:1;font-size:13px;font-weight:500;padding:7px 14px}.ajax-load-more .call-out .cnkt-button:focus,.ajax-load-more .call-out .cnkt-button:hover{background:#5a366c;box-shadow:0 1px 3px rgba(0,0,0,.15);color:#fff}a.cnkt-button,span.cnkt-button{align-items:center;background:#bb8dd2;border:none;border-radius:3px;box-shadow:0 1px 2px rgba(0,0,0,.1);color:#fff;display:inline-flex;font-size:14px;font-weight:500;padding:6px 10px;position:static;text-decoration:none;transition:all .15s ease;white-space:nowrap}a.cnkt-button i,span.cnkt-button i{margin-right:2px}.group:hover span.cnkt-button,a.cnkt-button:hover{background-color:#a272bc;color:#fff}.group:focus span.cnkt-button,a.cnkt-button:focus{background-color:#83519d;color:#fff;outline:none}.group span.cnkt-button.installed,a.cnkt-button.installed,span.cnkt-button.installed{background:#f7f7f7!important;box-shadow:none!important;color:#888!important}.ajax-load-more .cnkt-sidebar .cta{background:#fff;border:1px solid #e7e7e7;border-radius:8px;box-shadow:0 5px 10px rgba(0,0,0,.035);margin:20px 0 0;overflow:visible;padding:0;position:relative}.ajax-load-more .cnkt-sidebar .cta:first-of-type{margin-top:0}.ajax-load-more .cnkt-sidebar .cta .alm-file-location:not(input){border-top:1px solid #efefef;margin-top:15px;padding-top:15px}.ajax-load-more .cnkt-sidebar .cta .alm-file-location:not(input) input{font-family:Consolas,monaco,monospace;font-size:11px;width:100%}.ajax-load-more .cnkt-sidebar .cta-inner{display:block;padding:15px}.ajax-load-more .cnkt-sidebar .cta-inner .cta-inner{background-color:#f7f7f7;border:1px solid #e7e7e7;border-radius:3px}.ajax-load-more .cnkt-sidebar .cta-inner.padding-bottom{padding-bottom:80px}.ajax-load-more .cnkt-sidebar .cta.padding-bottom{padding-bottom:50px}.ajax-load-more .cnkt-sidebar h3,.ajax-load-more .cnkt-sidebar h4{margin-top:0}.ajax-load-more .cnkt-sidebar h3{border-bottom:1px solid #efefef;display:block;font-size:15px;font-weight:500;margin:0 15px;padding:15px 0;text-transform:none}.ajax-load-more .cnkt-sidebar .item{overflow:hidden}.ajax-load-more .cnkt-sidebar .item h4{font-size:.9em;margin:0 0 5px;opacity:.5;text-transform:uppercase}.ajax-load-more .cnkt-sidebar h4{margin-bottom:5px}.ajax-load-more .cnkt-sidebar .cta.dyk .cta-inner{display:flex;gap:10px;overflow:hidden}@media screen and (min-width:900px)and (max-width:1300px){.ajax-load-more .cnkt-sidebar .cta.dyk .cta-inner{display:block}.ajax-load-more .cnkt-sidebar .cta.dyk .cta-inner .img,.ajax-load-more .cnkt-sidebar .cta.dyk .cta-inner .text{margin:5px 0;width:100%}}.ajax-load-more .cnkt-sidebar .cta.dyk .img{width:40%}.ajax-load-more .cnkt-sidebar .cta.dyk .text{width:60%}.ajax-load-more .cnkt-sidebar .cta.dyk p{clear:none;margin:0 0 15px}.ajax-load-more .cnkt-sidebar .cta.dyk p:last-child{margin:0}.ajax-load-more .cnkt-sidebar ul{margin:0;overflow:hidden;padding:5px 0 0}.ajax-load-more .cnkt-sidebar li{line-height:1.5;margin:0 0 10px}.ajax-load-more .cnkt-sidebar .cta.resources li{display:block;line-height:1;margin:1px 0;width:100%}.ajax-load-more .cnkt-sidebar .cta.resources li a{border-top:1px solid #efefef;display:block;padding:10px 0;text-decoration:none}.ajax-load-more .cnkt-sidebar .cta.resources li:first-of-type a{border:none;padding-top:0}.ajax-load-more .cnkt-sidebar .cta.resources li i{color:#ccc;display:inline-block;font-size:14px;text-align:center;text-decoration:none;width:24px}.ajax-load-more .cnkt-sidebar a.visit{background:#ed7070;border-radius:0 0 2px 2px;bottom:0;color:#fff!important;display:block;left:0;line-height:1;padding:17px 20px 18px 44px;position:absolute;text-decoration:none;width:100%;z-index:2}.ajax-load-more .cnkt-sidebar a.visit i{display:inline-block;font-size:21px;left:18px;margin:0 5px 0 0;opacity:.6;position:absolute;top:13px}.ajax-load-more .cnkt-sidebar a.visit:focus,.ajax-load-more .cnkt-sidebar a.visit:hover{background:#f06060}.ajax-load-more .cnkt-sidebar a.visit:hover i{opacity:1}.ajax-load-more .cnkt-sidebar .project-listing{padding:0}.ajax-load-more .cnkt-sidebar .project-listing li{clear:both;margin:15px 0 0;padding:0;position:relative}.ajax-load-more .cnkt-sidebar .project-listing li:first-of-type{margin-top:0}.ajax-load-more .cnkt-sidebar .project-listing li a{display:flex;gap:10px;position:static;text-decoration:none;width:100%}.ajax-load-more .cnkt-sidebar .project-listing li a:focus h4,.ajax-load-more .cnkt-sidebar .project-listing li a:hover h4{text-decoration:underline}.ajax-load-more .cnkt-sidebar .project-listing li h4{display:block;font-size:14px;margin:-3px 0 8px}.ajax-load-more .cnkt-sidebar .project-listing li img{height:48px;width:48px}.alm-status{cursor:default;display:flex;margin:0 0 15px}.alm-status span{align-items:center;background-color:#f7f7f7;border-radius:3px;display:flex;font-size:11px;font-weight:500;line-height:1;overflow:hidden;padding:0 10px 0 0;text-transform:uppercase}.alm-status span i{margin:0 10px 0 0;padding:10px 12px;text-align:center}.alm-status.success span i{background-color:#8ed074;color:#fff}.alm-status.failed span i{background-color:#d63638;color:#fff}.shortcode-builder hr{margin:0}#unlmited-container{display:block;margin:0;overflow:visible}.ajax-load-more .row.template.unlimited:first-of-type{margin-top:10px}.repeaters .row,.shortcode-builder .row{transition:background-color .3s ease}.repeaters .row.no-brd:hover,.shortcode-builder .row.no-brd:hover{border-color:rgba(0,0,0,0);box-shadow:none}.unlimited-wrap{display:none}.ajax-load-more .row.unlimited.deleting{background:#fff url(../admin/img/ui/loader-unlimited.gif) no-repeat 50%;border-color:#fff;opacity:.4}.ajax-load-more .row.unlimited.deleting.deleted{background-image:none!important}.ajax-load-more .row.unlimited.new{background:url(../admin/img/ui/loader-unlimited.gif) no-repeat 50%;border-color:#efefef!important;display:none;min-height:60px}.ajax-load-more .row.unlimited.new.done{background-image:none!important}.ajax-load-more .row.unlimited.loaded{background-color:#64e49d;border-color:#64e49d}.ajax-load-more .row.unlimited.deleting .expand-wrap,.row.unlimited.deleting h3.heading{opacity:.6}.row.unlimited.deleting .alm-delete{display:none}.row.unlimited.deleting .save-repeater{cursor:default;opacity:0}.ajax-load-more .row.unlimited input[type=text]{width:100%}.ajax-load-more .alm-add-template{display:block;font-size:14px;font-weight:500;margin:20px 0 5px!important;text-align:center;text-transform:none!important}.ajax-load-more .alm-add-template a{background:#f7f7f7;border:1px solid #e7e7e7;border-radius:3px;color:#393d41;display:inline-block;line-height:1;padding:15px;text-decoration:none;transition:all .15s ease}.ajax-load-more .alm-add-template a i{color:#d63638;font-size:16px;left:-1px;margin:0 4px 0 0;position:relative}.ajax-load-more .alm-add-template a:focus,.ajax-load-more .alm-add-template a:hover{background:#d63638;border-color:#d63638;color:#fff;text-shadow:none}.ajax-load-more .alm-add-template a:focus i,.ajax-load-more .alm-add-template a:hover i{color:#fff;opacity:.65}.ajax-load-more .alm-add-template a.active{background:#efefef!important;border-color:#efefef!important;color:#333!important;cursor:default;opacity:.5}.ajax-load-more .alm-add-template a.active i{color:#393d41}.spacer{clear:both;display:block;height:10px}.spacer.lg{height:20px}.alm-text-center{text-align:center}.ajax-load-more p.generate-id{font-size:12px!important;margin:10px 0 0!important;padding:0 0 0 5px}.ajax-load-more p.generate-id i{color:#999;margin:0 2px 0 0}.ajax-load-more p.generate-id a{text-decoration:none}.ajax-load-more .alm-dir-listing ul{display:flex;flex-wrap:wrap;margin:0;padding:0;width:100%}.ajax-load-more .alm-dir-listing ul li{background:rgba(0,0,0,0) url(../admin/img/ui/directory-list.gif) no-repeat left 46%;display:block;margin:0;padding:10px 5px 5px 55px;position:relative;width:50%}.ajax-load-more .alm-dir-listing ul li.full{width:100%}.ajax-load-more .alm-dir-listing ul li:last-child,.ajax-load-more .alm-dir-listing ul li:nth-last-child(2){background-image:url(../admin/img/ui/directory-list-btm.gif)}.ajax-load-more .alm-dir-listing ul li a{display:block;text-decoration:none;word-break:break-all}.ajax-load-more .alm-dir-listing ul li i{color:#999;left:35px;position:absolute;top:12px;width:15px}.ajax-load-more .alm-dir-listing p.theme-title{font-weight:600;margin:0 0 20px!important;padding:0}.ajax-load-more .alm-dir-listing.theme-repeaters ul li{background-position:left 54%;display:block;padding:0 0 0 36px;width:100%}.ajax-load-more .alm-dir-listing.theme-repeaters ul li label{display:block;width:100%}.ajax-load-more .alm-dir-listing.theme-repeaters ul li label i{display:none}.ajax-load-more .alm-dir-listing.theme-repeaters ul li:nth-last-child(2){background:rgba(0,0,0,0) url(../admin/img/ui/directory-list.gif) no-repeat 0}.alm-error{background:#fff;padding:10px;position:absolute;z-index:9999}.ajax-load-more .alm-styled-input{align-items:center;border:1px solid #e7e7e7;border-radius:3px;display:flex;flex-wrap:nowrap;width:100%}.ajax-load-more .alm-styled-input label{border-right:1px solid #e7e7e7;font-size:12px;font-weight:700;padding:10px}.ajax-load-more .alm-styled-input input{border:none;border-radius:0 2px 2px 0;margin:0;width:100%}.ajax-load-more .form-table input[type=checkbox],.ajax-load-more .form-table input[type=radio],.shortcode-builder input[type=checkbox],.shortcode-builder input[type=radio]{height:0;opacity:0;position:absolute;width:0}.ajax-load-more .form-table input[type=checkbox]+label,.ajax-load-more .form-table input[type=radio]+label,.shortcode-builder input[type=checkbox]+label,.shortcode-builder input[type=radio]+label{background:rgba(0,0,0,0) url(../admin/img/ui/bkg-chkbox_off.png) no-repeat left 2px;cursor:pointer!important;display:inline-block;font-size:14px;height:auto;line-height:1.5;margin:0 0 5px;min-height:23px;padding:.1em 0 0 30px;width:100%}.ajax-load-more .form-table input[type=checkbox]+label span,.ajax-load-more .form-table input[type=radio]+label span,.shortcode-builder input[type=checkbox]+label span,.shortcode-builder input[type=radio]+label span{color:#6a7178;display:inline-block;line-height:1.65}.ajax-load-more .form-table input[type=radio]+label,.shortcode-builder input[type=radio]+label{background:rgba(0,0,0,0) url(../admin/img/ui/bkg-radio_off.png) no-repeat left 2px}.ajax-load-more .form-table input[type=checkbox]:focus+label,.ajax-load-more .form-table input[type=checkbox]:hover+label,.shortcode-builder input[type=checkbox]:focus+label,.shortcode-builder input[type=checkbox]:hover+label{background-image:url(../admin/img/ui/bkg-chkbox_on.png)}.ajax-load-more .form-table input[type=radio]:focus+label,.ajax-load-more .form-table input[type=radio]:hover+label,.shortcode-builder input[type=radio]:focus+label,.shortcode-builder input[type=radio]:hover+label{background-image:url(../admin/img/ui/bkg-radio_on.png)}.ajax-load-more .form-table input[type=checkbox]:checked+label,.shortcode-builder input[type=checkbox]:checked+label{background-image:url(../admin/img/ui/bkg-chkbox_selected.png)}.ajax-load-more .form-table input[type=radio]:checked+label,.shortcode-builder input[type=radio]:checked+label{background-image:url(../admin/img/ui/bkg-radio_selected.png)}.ajax-load-more .form-table input[type=checkbox]+label:hover,.ajax-load-more .form-table input[type=radio]+label:hover,.shortcode-builder input[type=checkbox]+label:hover,.shortcode-builder input[type=radio]+label:hover{color:#000}#alm-shortcode-builder-form{position:relative}.progress_bar_color_indicator{background-color:#ed7070;border-radius:2px;box-shadow:inset 0 1px 1px rgba(0,0,0,.1);display:block;height:0;left:11px;padding:11px;position:absolute;top:9px;width:0;z-index:1}.ajax-load-more .row.template{position:relative}.ajax-load-more .row.template:first-of-type{margin-top:0}.ajax-load-more .row.template:hover .alm-repeater-options{opacity:1}.alm-drop-btn.alm-repeater-options{position:absolute;right:7px;top:-42px;z-index:8}.alm-drop-btn.alm-repeater-options a.target{border:none;box-shadow:none;padding:5px 9px}.alm-drop-btn.alm-repeater-options a.target>i{font-size:24px;margin:0;position:static;transform:none}.alm-drop-btn.active a.target{background-color:#fff}.alm-drop-btn.active a.target>i{color:#393d41}.alm-drop-btn a.target{align-items:center;background-color:#f7f7f7;border:1px solid #e7e7e7;border-radius:3px;box-shadow:0 0 0 1px #fff;color:#393d41;display:flex;line-height:1;padding:9px 12px;position:relative;text-decoration:none!important}.alm-drop-btn a.target>i{color:#6a7178;font-size:16px;margin-right:8px;opacity:.5}.alm-drop-btn a.target:focus,.alm-drop-btn a.target:hover{border-color:#ccc}.alm-drop-btn a.target:focus>i,.alm-drop-btn a.target:hover>i{color:#393d41}.alm-repeater-options a.target:active,.alm-repeater-options a.target:focus,.alm-repeater-options a.target:hover,.alm-repeater-options.active a.target{background-color:rgba(0,0,0,0);border-color:rgba(0,0,0,0);box-shadow:none;color:#393d41;opacity:1}.alm-repeater-options.active a.target,.alm-repeater-options.active a.target i.fa-cog{color:#393d41}.ajax-load-more .alm-drop-btn.alm-layout-selection{float:left;margin:-15px 0 15px}@media screen and (min-width:900px){.ajax-load-more .alm-drop-btn.alm-layout-selection{float:right;margin:0}}@media screen and (max-width:480px){.ajax-load-more .alm-drop-btn.alm-layout-selection .alm-dropdown{float:none;left:0;right:auto}.ajax-load-more .alm-drop-btn.alm-layout-selection .alm-dropdown .alm-drop-inner{width:240px}}.ajax-load-more .alm-drop-btn.alm-layout-selection .alm-dropdown .alm-drop-inner{width:280px}.ajax-load-more .alm-drop-btn .alm-dropdown:hover{opacity:1;visibility:visible}@media screen and (max-width:480px){.alm-drop-btn.alm-layout-selection .alm-dropdown .alm-drop-inner:after,.alm-drop-btn.alm-layout-selection .alm-dropdown .alm-drop-inner:before{left:36px;right:auto}.alm-drop-btn.alm-layout-selection .alm-dropdown .alm-drop-inner:after{margin-left:0}.alm-drop-btn.alm-layout-selection .alm-dropdown .alm-drop-inner:before{left:35px;right:auto}}.alm-drop-btn{position:relative;width:auto}.alm-drop-btn .alm-dropdown{opacity:0;position:absolute;right:-15px;top:109%;transition:all .15s ease;visibility:hidden;z-index:9}.alm-drop-btn .alm-dropdown .alm-drop-inner{background:#fff;border:1px solid #e7e7e7;border-radius:3px;box-shadow:0 5px 10px rgba(0,0,0,.05);display:block;padding:10px;position:relative;width:240px}.alm-drop-btn .alm-dropdown .alm-drop-inner:after,.alm-drop-btn .alm-dropdown .alm-drop-inner:before{border:solid rgba(0,0,0,0);bottom:100%;content:" ";height:0;pointer-events:none;position:absolute;right:26px;width:0}.alm-drop-btn .alm-dropdown .alm-drop-inner:after{border-color:hsla(0,0%,97%,0) hsla(0,0%,97%,0) #fff;border-width:7px;margin-left:-7px}.alm-drop-btn .alm-dropdown .alm-drop-inner:before{border-color:hsla(0,0%,80%,0) hsla(0,0%,80%,0) #ccc;border-width:8px;right:25px}.alm-drop-btn .alm-dropdown.active{opacity:1;transition:none;visibility:visible}.alm-drop-btn .alm-dropdown ul{background-color:#f7f7f7;border:1px solid #e7e7e7;border-radius:3px;margin:0;overflow:hidden;padding:5px 10px}.alm-drop-btn .alm-dropdown li{border-bottom:1px solid #e7e7e7;clear:both;font-weight:400;line-height:1.2;list-style:none;margin:0;padding:0}.alm-drop-btn .alm-dropdown li:last-of-type{border:none}.alm-drop-btn .alm-dropdown li button{align-items:center;background-color:rgba(0,0,0,0);border:none;color:#393d41;cursor:pointer;display:flex;line-height:1;padding:10px 10px 10px 3px;width:100%}.alm-drop-btn .alm-dropdown li button>i{color:#6a7178;font-size:14px;margin-right:8px;opacity:.65}.alm-drop-btn .alm-dropdown li button:focus,.alm-drop-btn .alm-dropdown li button:hover{color:#252627}.alm-drop-btn .alm-dropdown li button:focus i,.alm-drop-btn .alm-dropdown li button:hover i{color:#6a7178;opacity:1}.alm-drop-btn .alm-dropdown li button.updating{background:rgba(0,0,0,0) url(../admin/img/ui/loader.gif) no-repeat 0;cursor:wait}.alm-drop-btn .alm-dropdown li button.updating i{opacity:0}.alm-drop-btn .alm-dropdown li button.updating span{color:hsla(210,6%,44%,.75)}.alm-drop-btn .alm-dropdown .drop-cta{padding:10px 0 0}.select-theme-repeater{display:flex;flex-wrap:nowrap;position:relative;width:100%}.select-theme-repeater .or{background:#fff;border:1px solid #e7e7e7;border-radius:100%;color:#333;font-size:11px;font-weight:700;height:34px;left:70px;line-height:34px;position:absolute;text-align:center;text-transform:uppercase;top:-20px;width:34px;z-index:1}.alm-template-section-nav{display:block;margin:0;padding:0}.alm-template-section-nav li{display:inline-block;vertical-align:top}.alm-template-section-nav li a{display:block;padding:5px}.alm-template-section-nav li.active a{background:red}@media screen and (max-width:1270px){.ajax-load-more input[type=number],.ajax-load-more input[type=text],.ajax-load-more textarea,.select2-container,.shortcode-builder--items .select2-container-multi{width:95%}.shortcode-builder--items .select2-container-multi{width:95%!important}}@media screen and (max-width:900px){.table-of-contents{position:static!important;width:100%!important}.ajax-load-more.settings .form-table td{padding:24px 20px 20px}.repeaters input.save-repeater{max-width:50%}}@media screen and (max-width:782px){.ajax-load-more.settings .form-table th{border:none;border-bottom:1px solid #efefef;width:100%}.share-alm .sharing{margin-right:0!important;padding-right:0;width:100%}.share-alm .mailing{border-left:none;margin-left:0!important;padding-left:0;padding-top:40px;width:100%}}@media screen and (max-width:480px){.ajax-load-more .row .wrap,.ajax-load-more .section-title{clear:both;display:block;float:none;padding:10px;width:100%}.ajax-load-more .section-title{padding:20px 20px 10px}.ajax-load-more .row .wrap{padding:10px 20px}.ajax-load-more input[type=number],.ajax-load-more input[type=text],.ajax-load-more textarea,.select2-container,.shortcode-builder--items .select2-container-multi{width:100%!important}.ajax-load-more .row .wrap .inner.half{display:block;padding:0 0 20px;width:100%}.ajax-load-more .section-title p{color:#999;padding:0!important}#alm-add-ons .row .wrap{padding-bottom:60px;width:100%}#alm-add-ons .section-title{width:100%}.alm-repeater-options{display:none!important}.ajax-load-more .wrap-30{display:block;padding:0 0 10px;width:100%}.ajax-load-more .row .wrap.full{padding:10px}#alm-add-ons .group,.ajax-load-more .one_half{display:block;margin:0 0 2%;width:100%}.add-layout-cta{padding:10px}span.dismiss{display:block;font-size:12px;padding-top:20px;position:static}} \ No newline at end of file diff --git a/build/admin/index.js b/build/admin/index.js index 1591845..8686fda 100644 --- a/build/admin/index.js +++ b/build/admin/index.js @@ -1,140 +1,334 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ var ajaxloadmore; /******/ (function() { // webpackBootstrap /******/ var __webpack_modules__ = ({ -/***/ "./node_modules/mini-css-extract-plugin/dist/loader.js??ruleSet[1].rules[1].use[1]!./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].use[3]!./src/admin/scss/admin.scss": -/*!******************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/mini-css-extract-plugin/dist/loader.js??ruleSet[1].rules[1].use[1]!./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].use[3]!./src/admin/scss/admin.scss ***! - \******************************************************************************************************************************************************************************************************************************/ +/***/ 632: /***/ (function() { -eval("// extracted by mini-css-extract-plugin\n\n//# sourceURL=webpack://ajaxloadmore/./src/admin/scss/admin.scss?./node_modules/mini-css-extract-plugin/dist/loader.js??ruleSet%5B1%5D.rules%5B1%5D.use%5B1%5D!./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js??ruleSet%5B1%5D.rules%5B1%5D.use%5B3%5D"); +// extracted by mini-css-extract-plugin /***/ }), -/***/ "./src/admin/scss/admin.scss": -/*!***********************************!*\ - !*** ./src/admin/scss/admin.scss ***! - \***********************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { +/***/ 379: +/***/ (function(module) { "use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ \"./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\");\n/* harmony import */ var _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../node_modules/style-loader/dist/runtime/styleDomAPI.js */ \"./node_modules/style-loader/dist/runtime/styleDomAPI.js\");\n/* harmony import */ var _node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../node_modules/style-loader/dist/runtime/insertBySelector.js */ \"./node_modules/style-loader/dist/runtime/insertBySelector.js\");\n/* harmony import */ var _node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ \"./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\");\n/* harmony import */ var _node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../node_modules/style-loader/dist/runtime/insertStyleElement.js */ \"./node_modules/style-loader/dist/runtime/insertStyleElement.js\");\n/* harmony import */ var _node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../node_modules/style-loader/dist/runtime/styleTagTransform.js */ \"./node_modules/style-loader/dist/runtime/styleTagTransform.js\");\n/* harmony import */ var _node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ruleSet_1_rules_1_use_1_node_modules_css_loader_dist_cjs_js_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_1_use_3_admin_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ruleSet[1].rules[1].use[1]!../../../node_modules/css-loader/dist/cjs.js!../../../node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].use[3]!./admin.scss */ \"./node_modules/mini-css-extract-plugin/dist/loader.js??ruleSet[1].rules[1].use[1]!./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].use[3]!./src/admin/scss/admin.scss\");\n/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ruleSet_1_rules_1_use_1_node_modules_css_loader_dist_cjs_js_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_1_use_3_admin_scss__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ruleSet_1_rules_1_use_1_node_modules_css_loader_dist_cjs_js_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_1_use_3_admin_scss__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony reexport (unknown) */ var __WEBPACK_REEXPORT_OBJECT__ = {};\n/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _node_modules_mini_css_extract_plugin_dist_loader_js_ruleSet_1_rules_1_use_1_node_modules_css_loader_dist_cjs_js_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_1_use_3_admin_scss__WEBPACK_IMPORTED_MODULE_6__) if(__WEBPACK_IMPORT_KEY__ !== \"default\") __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = function(key) { return _node_modules_mini_css_extract_plugin_dist_loader_js_ruleSet_1_rules_1_use_1_node_modules_css_loader_dist_cjs_js_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_1_use_3_admin_scss__WEBPACK_IMPORTED_MODULE_6__[key]; }.bind(0, __WEBPACK_IMPORT_KEY__)\n/* harmony reexport (unknown) */ __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);\n\n \n \n \n \n \n \n \n \n \n\nvar options = {};\n\noptions.styleTagTransform = (_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());\noptions.setAttributes = (_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());\n\n options.insert = _node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, \"head\");\n \noptions.domAPI = (_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());\noptions.insertStyleElement = (_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());\n\nvar update = _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()((_node_modules_mini_css_extract_plugin_dist_loader_js_ruleSet_1_rules_1_use_1_node_modules_css_loader_dist_cjs_js_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_1_use_3_admin_scss__WEBPACK_IMPORTED_MODULE_6___default()), options);\n\n\n\n\n /* harmony default export */ __webpack_exports__[\"default\"] = ((_node_modules_mini_css_extract_plugin_dist_loader_js_ruleSet_1_rules_1_use_1_node_modules_css_loader_dist_cjs_js_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_1_use_3_admin_scss__WEBPACK_IMPORTED_MODULE_6___default()) && (_node_modules_mini_css_extract_plugin_dist_loader_js_ruleSet_1_rules_1_use_1_node_modules_css_loader_dist_cjs_js_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_1_use_3_admin_scss__WEBPACK_IMPORTED_MODULE_6___default().locals) ? (_node_modules_mini_css_extract_plugin_dist_loader_js_ruleSet_1_rules_1_use_1_node_modules_css_loader_dist_cjs_js_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_1_use_3_admin_scss__WEBPACK_IMPORTED_MODULE_6___default().locals) : undefined);\n\n\n//# sourceURL=webpack://ajaxloadmore/./src/admin/scss/admin.scss?"); + + +var stylesInDOM = []; +function getIndexByIdentifier(identifier) { + var result = -1; + for (var i = 0; i < stylesInDOM.length; i++) { + if (stylesInDOM[i].identifier === identifier) { + result = i; + break; + } + } + return result; +} +function modulesToDom(list, options) { + var idCountMap = {}; + var identifiers = []; + for (var i = 0; i < list.length; i++) { + var item = list[i]; + var id = options.base ? item[0] + options.base : item[0]; + var count = idCountMap[id] || 0; + var identifier = "".concat(id, " ").concat(count); + idCountMap[id] = count + 1; + var indexByIdentifier = getIndexByIdentifier(identifier); + var obj = { + css: item[1], + media: item[2], + sourceMap: item[3], + supports: item[4], + layer: item[5] + }; + if (indexByIdentifier !== -1) { + stylesInDOM[indexByIdentifier].references++; + stylesInDOM[indexByIdentifier].updater(obj); + } else { + var updater = addElementStyle(obj, options); + options.byIndex = i; + stylesInDOM.splice(i, 0, { + identifier: identifier, + updater: updater, + references: 1 + }); + } + identifiers.push(identifier); + } + return identifiers; +} +function addElementStyle(obj, options) { + var api = options.domAPI(options); + api.update(obj); + var updater = function updater(newObj) { + if (newObj) { + if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap && newObj.supports === obj.supports && newObj.layer === obj.layer) { + return; + } + api.update(obj = newObj); + } else { + api.remove(); + } + }; + return updater; +} +module.exports = function (list, options) { + options = options || {}; + list = list || []; + var lastIdentifiers = modulesToDom(list, options); + return function update(newList) { + newList = newList || []; + for (var i = 0; i < lastIdentifiers.length; i++) { + var identifier = lastIdentifiers[i]; + var index = getIndexByIdentifier(identifier); + stylesInDOM[index].references--; + } + var newLastIdentifiers = modulesToDom(newList, options); + for (var _i = 0; _i < lastIdentifiers.length; _i++) { + var _identifier = lastIdentifiers[_i]; + var _index = getIndexByIdentifier(_identifier); + if (stylesInDOM[_index].references === 0) { + stylesInDOM[_index].updater(); + stylesInDOM.splice(_index, 1); + } + } + lastIdentifiers = newLastIdentifiers; + }; +}; /***/ }), -/***/ "./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js": -/*!****************************************************************************!*\ - !*** ./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js ***! - \****************************************************************************/ +/***/ 569: /***/ (function(module) { "use strict"; -eval("\n\nvar stylesInDOM = [];\nfunction getIndexByIdentifier(identifier) {\n var result = -1;\n for (var i = 0; i < stylesInDOM.length; i++) {\n if (stylesInDOM[i].identifier === identifier) {\n result = i;\n break;\n }\n }\n return result;\n}\nfunction modulesToDom(list, options) {\n var idCountMap = {};\n var identifiers = [];\n for (var i = 0; i < list.length; i++) {\n var item = list[i];\n var id = options.base ? item[0] + options.base : item[0];\n var count = idCountMap[id] || 0;\n var identifier = \"\".concat(id, \" \").concat(count);\n idCountMap[id] = count + 1;\n var indexByIdentifier = getIndexByIdentifier(identifier);\n var obj = {\n css: item[1],\n media: item[2],\n sourceMap: item[3],\n supports: item[4],\n layer: item[5]\n };\n if (indexByIdentifier !== -1) {\n stylesInDOM[indexByIdentifier].references++;\n stylesInDOM[indexByIdentifier].updater(obj);\n } else {\n var updater = addElementStyle(obj, options);\n options.byIndex = i;\n stylesInDOM.splice(i, 0, {\n identifier: identifier,\n updater: updater,\n references: 1\n });\n }\n identifiers.push(identifier);\n }\n return identifiers;\n}\nfunction addElementStyle(obj, options) {\n var api = options.domAPI(options);\n api.update(obj);\n var updater = function updater(newObj) {\n if (newObj) {\n if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap && newObj.supports === obj.supports && newObj.layer === obj.layer) {\n return;\n }\n api.update(obj = newObj);\n } else {\n api.remove();\n }\n };\n return updater;\n}\nmodule.exports = function (list, options) {\n options = options || {};\n list = list || [];\n var lastIdentifiers = modulesToDom(list, options);\n return function update(newList) {\n newList = newList || [];\n for (var i = 0; i < lastIdentifiers.length; i++) {\n var identifier = lastIdentifiers[i];\n var index = getIndexByIdentifier(identifier);\n stylesInDOM[index].references--;\n }\n var newLastIdentifiers = modulesToDom(newList, options);\n for (var _i = 0; _i < lastIdentifiers.length; _i++) {\n var _identifier = lastIdentifiers[_i];\n var _index = getIndexByIdentifier(_identifier);\n if (stylesInDOM[_index].references === 0) {\n stylesInDOM[_index].updater();\n stylesInDOM.splice(_index, 1);\n }\n }\n lastIdentifiers = newLastIdentifiers;\n };\n};\n\n//# sourceURL=webpack://ajaxloadmore/./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js?"); -/***/ }), -/***/ "./node_modules/style-loader/dist/runtime/insertBySelector.js": -/*!********************************************************************!*\ - !*** ./node_modules/style-loader/dist/runtime/insertBySelector.js ***! - \********************************************************************/ -/***/ (function(module) { +var memo = {}; -"use strict"; -eval("\n\nvar memo = {};\n\n/* istanbul ignore next */\nfunction getTarget(target) {\n if (typeof memo[target] === \"undefined\") {\n var styleTarget = document.querySelector(target);\n\n // Special case to return head of iframe instead of iframe itself\n if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) {\n try {\n // This will throw an exception if access to iframe is blocked\n // due to cross-origin restrictions\n styleTarget = styleTarget.contentDocument.head;\n } catch (e) {\n // istanbul ignore next\n styleTarget = null;\n }\n }\n memo[target] = styleTarget;\n }\n return memo[target];\n}\n\n/* istanbul ignore next */\nfunction insertBySelector(insert, style) {\n var target = getTarget(insert);\n if (!target) {\n throw new Error(\"Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.\");\n }\n target.appendChild(style);\n}\nmodule.exports = insertBySelector;\n\n//# sourceURL=webpack://ajaxloadmore/./node_modules/style-loader/dist/runtime/insertBySelector.js?"); +/* istanbul ignore next */ +function getTarget(target) { + if (typeof memo[target] === "undefined") { + var styleTarget = document.querySelector(target); + + // Special case to return head of iframe instead of iframe itself + if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) { + try { + // This will throw an exception if access to iframe is blocked + // due to cross-origin restrictions + styleTarget = styleTarget.contentDocument.head; + } catch (e) { + // istanbul ignore next + styleTarget = null; + } + } + memo[target] = styleTarget; + } + return memo[target]; +} + +/* istanbul ignore next */ +function insertBySelector(insert, style) { + var target = getTarget(insert); + if (!target) { + throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid."); + } + target.appendChild(style); +} +module.exports = insertBySelector; /***/ }), -/***/ "./node_modules/style-loader/dist/runtime/insertStyleElement.js": -/*!**********************************************************************!*\ - !*** ./node_modules/style-loader/dist/runtime/insertStyleElement.js ***! - \**********************************************************************/ +/***/ 216: /***/ (function(module) { "use strict"; -eval("\n\n/* istanbul ignore next */\nfunction insertStyleElement(options) {\n var element = document.createElement(\"style\");\n options.setAttributes(element, options.attributes);\n options.insert(element, options.options);\n return element;\n}\nmodule.exports = insertStyleElement;\n\n//# sourceURL=webpack://ajaxloadmore/./node_modules/style-loader/dist/runtime/insertStyleElement.js?"); + + +/* istanbul ignore next */ +function insertStyleElement(options) { + var element = document.createElement("style"); + options.setAttributes(element, options.attributes); + options.insert(element, options.options); + return element; +} +module.exports = insertStyleElement; /***/ }), -/***/ "./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js": -/*!**********************************************************************************!*\ - !*** ./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js ***! - \**********************************************************************************/ +/***/ 565: /***/ (function(module, __unused_webpack_exports, __webpack_require__) { "use strict"; -eval("\n\n/* istanbul ignore next */\nfunction setAttributesWithoutAttributes(styleElement) {\n var nonce = true ? __webpack_require__.nc : 0;\n if (nonce) {\n styleElement.setAttribute(\"nonce\", nonce);\n }\n}\nmodule.exports = setAttributesWithoutAttributes;\n\n//# sourceURL=webpack://ajaxloadmore/./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js?"); + + +/* istanbul ignore next */ +function setAttributesWithoutAttributes(styleElement) { + var nonce = true ? __webpack_require__.nc : 0; + if (nonce) { + styleElement.setAttribute("nonce", nonce); + } +} +module.exports = setAttributesWithoutAttributes; /***/ }), -/***/ "./node_modules/style-loader/dist/runtime/styleDomAPI.js": -/*!***************************************************************!*\ - !*** ./node_modules/style-loader/dist/runtime/styleDomAPI.js ***! - \***************************************************************/ +/***/ 795: /***/ (function(module) { "use strict"; -eval("\n\n/* istanbul ignore next */\nfunction apply(styleElement, options, obj) {\n var css = \"\";\n if (obj.supports) {\n css += \"@supports (\".concat(obj.supports, \") {\");\n }\n if (obj.media) {\n css += \"@media \".concat(obj.media, \" {\");\n }\n var needLayer = typeof obj.layer !== \"undefined\";\n if (needLayer) {\n css += \"@layer\".concat(obj.layer.length > 0 ? \" \".concat(obj.layer) : \"\", \" {\");\n }\n css += obj.css;\n if (needLayer) {\n css += \"}\";\n }\n if (obj.media) {\n css += \"}\";\n }\n if (obj.supports) {\n css += \"}\";\n }\n var sourceMap = obj.sourceMap;\n if (sourceMap && typeof btoa !== \"undefined\") {\n css += \"\\n/*# sourceMappingURL=data:application/json;base64,\".concat(btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))), \" */\");\n }\n\n // For old IE\n /* istanbul ignore if */\n options.styleTagTransform(css, styleElement, options.options);\n}\nfunction removeStyleElement(styleElement) {\n // istanbul ignore if\n if (styleElement.parentNode === null) {\n return false;\n }\n styleElement.parentNode.removeChild(styleElement);\n}\n\n/* istanbul ignore next */\nfunction domAPI(options) {\n if (typeof document === \"undefined\") {\n return {\n update: function update() {},\n remove: function remove() {}\n };\n }\n var styleElement = options.insertStyleElement(options);\n return {\n update: function update(obj) {\n apply(styleElement, options, obj);\n },\n remove: function remove() {\n removeStyleElement(styleElement);\n }\n };\n}\nmodule.exports = domAPI;\n\n//# sourceURL=webpack://ajaxloadmore/./node_modules/style-loader/dist/runtime/styleDomAPI.js?"); -/***/ }), -/***/ "./node_modules/style-loader/dist/runtime/styleTagTransform.js": -/*!*********************************************************************!*\ - !*** ./node_modules/style-loader/dist/runtime/styleTagTransform.js ***! - \*********************************************************************/ -/***/ (function(module) { +/* istanbul ignore next */ +function apply(styleElement, options, obj) { + var css = ""; + if (obj.supports) { + css += "@supports (".concat(obj.supports, ") {"); + } + if (obj.media) { + css += "@media ".concat(obj.media, " {"); + } + var needLayer = typeof obj.layer !== "undefined"; + if (needLayer) { + css += "@layer".concat(obj.layer.length > 0 ? " ".concat(obj.layer) : "", " {"); + } + css += obj.css; + if (needLayer) { + css += "}"; + } + if (obj.media) { + css += "}"; + } + if (obj.supports) { + css += "}"; + } + var sourceMap = obj.sourceMap; + if (sourceMap && typeof btoa !== "undefined") { + css += "\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))), " */"); + } -"use strict"; -eval("\n\n/* istanbul ignore next */\nfunction styleTagTransform(css, styleElement) {\n if (styleElement.styleSheet) {\n styleElement.styleSheet.cssText = css;\n } else {\n while (styleElement.firstChild) {\n styleElement.removeChild(styleElement.firstChild);\n }\n styleElement.appendChild(document.createTextNode(css));\n }\n}\nmodule.exports = styleTagTransform;\n\n//# sourceURL=webpack://ajaxloadmore/./node_modules/style-loader/dist/runtime/styleTagTransform.js?"); + // For old IE + /* istanbul ignore if */ + options.styleTagTransform(css, styleElement, options.options); +} +function removeStyleElement(styleElement) { + // istanbul ignore if + if (styleElement.parentNode === null) { + return false; + } + styleElement.parentNode.removeChild(styleElement); +} + +/* istanbul ignore next */ +function domAPI(options) { + if (typeof document === "undefined") { + return { + update: function update() {}, + remove: function remove() {} + }; + } + var styleElement = options.insertStyleElement(options); + return { + update: function update(obj) { + apply(styleElement, options, obj); + }, + remove: function remove() { + removeStyleElement(styleElement); + } + }; +} +module.exports = domAPI; /***/ }), -/***/ "./src/admin/js/index.js": -/*!*******************************!*\ - !*** ./src/admin/js/index.js ***! - \*******************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { +/***/ 589: +/***/ (function(module) { "use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _scss_admin_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../scss/admin.scss */ \"./src/admin/scss/admin.scss\");\n__webpack_require__(/*! ./libs/jquery.drops */ \"./src/admin/js/libs/jquery.drops.js\");\n__webpack_require__(/*! ./libs/jquery.tooltipster.min */ \"./src/admin/js/libs/jquery.tooltipster.min.js\");\n__webpack_require__(/*! ./libs/select2.min */ \"./src/admin/js/libs/select2.min.js\");\n\n\nvar ajax_load_more = ajax_load_more || {};\n\njQuery(document).ready(function ($) {\n\t'use strict';\n\tajax_load_more.options = {\n\t\tspeed: 200,\n\t};\n\n\t/**\n\t * Test REST API access\n\t *\n\t * @since 5.1.1\n\t */\n\tif ($('.restapi-access').length) {\n\t\t$.ajax({\n\t\t\ttype: 'GET',\n\t\t\turl: alm_admin_localize.restapi.url + alm_admin_localize.restapi.namespace + '/test/',\n\t\t\tdataType: 'json',\n\t\t\tsuccess: function (data) {\n\t\t\t\tif (data.success) {\n\t\t\t\t\tconsole.log('Ajax Load More successfully connected to the WordPress REST API.');\n\t\t\t\t}\n\t\t\t},\n\t\t\terror: function (status) {\n\t\t\t\tconsole.log(status);\n\t\t\t\t$('.restapi-access').fadeIn();\n\t\t\t},\n\t\t});\n\t}\n\n\t/**\n\t * Build the header admin menu based on the sidebar.\n\t */\n\tfunction createAdminMenu() {\n\t\tlet adminmenu = document.querySelector('#adminmenu .toplevel_page_ajax-load-more > ul');\n\t\tif (!adminmenu) {\n\t\t\treturn;\n\t\t}\n\n\t\tlet alm_header = document.querySelector('.ajax-load-more header.header-wrap');\n\t\tif (!alm_header) {\n\t\t\treturn;\n\t\t}\n\n\t\tlet menu = adminmenu.cloneNode(true);\n\t\tmenu.setAttribute('class', '');\n\n\t\tlet nav = document.createElement('nav');\n\t\tnav.appendChild(menu);\n\t\talm_header.appendChild(nav);\n\t}\n\tcreateAdminMenu();\n\n\t/**\n\t * Tabbed Navigation Elements\n\t *\n\t * @since 5.4\n\t */\n\tconst ACTIVE_TAB_CLASS = 'active';\n\tfunction openTabbedItem(button, almTabbedWrapper) {\n\t\tconst activeBtn = document.querySelector('.alm-tabbed-wrapper--nav button.active'); // Get Currently Active Button.\n\t\tconst id = button.dataset.id;\n\n\t\t// Remove currently active button.\n\t\tif (activeBtn) {\n\t\t\tactiveBtn.classList.remove(ACTIVE_TAB_CLASS);\n\t\t}\n\n\t\t// Add Button Active Class.\n\t\tbutton.classList.add(ACTIVE_TAB_CLASS);\n\n\t\t// Activate Current Section\n\t\tif (almTabbedWrapper) {\n\t\t\tlet currentActive = almTabbedWrapper.querySelector('.alm-tabbed-wrapper--section.' + ACTIVE_TAB_CLASS);\n\t\t\tlet section = almTabbedWrapper.querySelector('.alm-tabbed-wrapper--section#' + id);\n\t\t\tif (currentActive && section) {\n\t\t\t\tcurrentActive.classList.remove(ACTIVE_TAB_CLASS);\n\t\t\t\tsection.classList.add(ACTIVE_TAB_CLASS);\n\t\t\t\tsection.focus({ preventScroll: true });\n\t\t\t\t$('html, body').animate(\n\t\t\t\t\t{\n\t\t\t\t\t\tscrollTop: $('.alm-tabbed-wrapper--sections').offset().top - 120,\n\t\t\t\t\t},\n\t\t\t\t\t400,\n\t\t\t\t\tfunction () {\n\t\t\t\t\t\thistory.replaceState({}, '', '#' + id);\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t}\n\t\t}\n\t}\n\n\tconst almTabbedWrapper = document.querySelector('.alm-tabbed-wrapper');\n\tif (almTabbedWrapper) {\n\t\tconst current = almTabbedWrapper.querySelector('.alm-tabbed-wrapper--section');\n\t\tif (current) {\n\t\t\tcurrent.classList.add(ACTIVE_TAB_CLASS);\n\t\t}\n\t\tconst tabbedNav = almTabbedWrapper.querySelectorAll('.alm-tabbed-wrapper--nav button');\n\t\tif (tabbedNav) {\n\t\t\ttabbedNav.forEach(function (item, index) {\n\t\t\t\titem.addEventListener('click', function () {\n\t\t\t\t\topenTabbedItem(this, almTabbedWrapper);\n\t\t\t\t});\n\t\t\t});\n\t\t}\n\n\t\t// Open section from hash.\n\t\tlet hash = window.location.hash;\n\t\tif (hash) {\n\t\t\thash = hash.replace('#', '');\n\t\t\tconst targetBtn = document.querySelector('.alm-tabbed-wrapper--nav button[data-id=\"' + hash + '\"]');\n\t\t\tif (targetBtn) {\n\t\t\t\ttargetBtn.click();\n\t\t\t}\n\t\t} else {\n\t\t\tdocument.querySelector('.alm-tabbed-wrapper--nav button').classList.add(ACTIVE_TAB_CLASS);\n\t\t}\n\t}\n\n\t/**\n\t * Save Repeater Templates with cmd + s and ctrl + s\n\t *\n\t * @since 5.1\n\t */\n\tdocument.addEventListener(\n\t\t'keydown',\n\t\tfunction (e) {\n\t\t\tif ((window.navigator.platform.match('Mac') ? e.metaKey : e.ctrlKey) && e.keyCode === 83) {\n\t\t\t\tif (e.target.nodeName === 'TEXTAREA' && $(e.target).closest('.repeater-wrap')) {\n\t\t\t\t\tvar btn = $(e.target).closest('.repeater-wrap').find('input.save-repeater');\n\t\t\t\t\tif (btn) {\n\t\t\t\t\t\tbtn.click();\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\te.preventDefault();\n\t\t\t}\n\t\t},\n\t\tfalse\n\t);\n\n\t/*\n\t * Set focus in code mirror editor\n\t * @since 5.1\n\t */\n\t$('label.trigger-codemirror').on('click', function () {\n\t\tvar el = $(this);\n\t\tvar id = el.data('id');\n\t\tvar cm = window['editor_' + id];\n\t\tif (cm) {\n\t\t\tcm.focus();\n\t\t\tcm.setCursor(cm.lineCount(), 0);\n\t\t}\n\t});\n\n\t/**\n\t * Setting panel save actions.\n\t *\n\t * @since 3.2.0\n\t */\n\tlet almSettings = $('#alm_OptionsForm'),\n\t\tsavingSettings = false,\n\t\tsettingsForm = document.querySelector('#alm_OptionsForm'),\n\t\tsettingsTarget = document.querySelector('.alm-settings-feedback');\n\n\tif (settingsForm) {\n\t\tdocument.body.appendChild(settingsTarget);\n\t}\n\n\tajax_load_more.saveSettings = function () {\n\t\tif (savingSettings) {\n\t\t\treturn false;\n\t\t}\n\n\t\tsavingSettings = true;\n\t\tsettingsForm.classList.add('--saving');\n\t\tsettingsTarget.classList.add('--saving');\n\t\tsettingsTarget.innerHTML = alm_admin_localize.settings_saving;\n\n\t\talmSettings.ajaxSubmit({\n\t\t\t// Success\n\t\t\tsuccess: function () {\n\t\t\t\t// Delay for effect\n\t\t\t\tsetTimeout(function () {\n\t\t\t\t\tsettingsTarget.classList.remove('--saving');\n\t\t\t\t\tsettingsTarget.classList.add('--saved');\n\t\t\t\t\tsettingsTarget.innerHTML = alm_admin_localize.settings_saved;\n\t\t\t\t\tsettingsForm.classList.remove('--saving');\n\t\t\t\t\t//console.log(alm_admin_localize.ajax_load_more +' - '+ alm_admin_localize.settings_saved);\n\t\t\t\t\tsavingSettings = false;\n\n\t\t\t\t\tsetTimeout(function () {\n\t\t\t\t\t\tsettingsTarget.classList.remove('--saved');\n\t\t\t\t\t}, 2500);\n\t\t\t\t}, 500);\n\t\t\t},\n\n\t\t\t// Error\n\t\t\terror: function () {\n\t\t\t\t// Delay for effect\n\t\t\t\tsetTimeout(function () {\n\t\t\t\t\tsettingsTarget.classList.remove('--saving');\n\t\t\t\t\tsettingsTarget.classList.add('--error');\n\t\t\t\t\tsettingsTarget.innerHTML = alm_admin_localize.settings_error;\n\t\t\t\t\tsettingsForm.classList.remove('--saving');\n\t\t\t\t\tconsole.log(alm_admin_localize.ajax_load_more + ' - ' + alm_admin_localize.settings_error);\n\t\t\t\t\tsavingSettings = false;\n\n\t\t\t\t\tsetTimeout(function () {\n\t\t\t\t\t\tsettingsTarget.classList.remove('--error');\n\t\t\t\t\t}, 2500);\n\t\t\t\t}, 500);\n\t\t\t},\n\t\t});\n\t\treturn false;\n\t};\n\n\t// On Change, save the settings\n\tlet settingsTimer;\n\t$(document).on('change', '#alm_OptionsForm input, #alm_OptionsForm textarea, #alm_OptionsForm select', function () {\n\t\t// Set a timer to avoid updating settings to frequently\n\t\tif (settingsTimer) clearTimeout(settingsTimer);\n\t\tsettingsTimer = setTimeout(function () {\n\t\t\tajax_load_more.saveSettings();\n\t\t}, 500);\n\t});\n\n\t/**\n\t * Download Repeater Template\n\t * Trigger the download of a repeater template from the admin\n\t *\n\t * @since 3.6\n\t */\n\t$('.download-repeater').on('click', function () {\n\t\tthis.closest('form').submit();\n\t});\n\n\t/**\n\t * Tooltipster\n\t *\n\t * @see http://iamceege.github.io/tooltipster/\n\t * @since 2.8.4\n\t */\n\t$('.ajax-load-more-inner-wrapper').on('mouseenter', '.tooltip:not(.tooltipstered)', function () {\n\t\t$(this)\n\t\t\t.tooltipster({\n\t\t\t\tdelay: 125,\n\t\t\t\tspeed: 125,\n\t\t\t\tmaxWidth: 325,\n\t\t\t})\n\t\t\t.tooltipster('show');\n\t});\n\n\t/**\n\t * Button preview pane\n\t * Found on Settings and Shortcode Builder.\n\t *\n\t * @since 2.8.4\n\t */\n\t$('select#alm_settings_btn_color').on('change', function () {\n\t\tvar color = jQuery(this).val();\n\t\t// Remove other colors\n\t\tvar wrap = $('.ajax-load-more-wrap');\n\t\twrap.attr('class', '');\n\t\twrap.addClass('ajax-load-more-wrap');\n\t\twrap.addClass(color);\n\t\t$('#test-alm-button', wrap).removeClass('loading');\n\n\t\t// Add loading class if Infinite loading style\n\t\tif (color.indexOf('infinite') >= 0) {\n\t\t\t$('#test-alm-button', wrap).addClass('loading');\n\t\t}\n\t});\n\n\t$('select#alm_settings_btn_color').click(function (e) {\n\t\te.preventDefault();\n\t});\n\n\t$('.alm-template-listing li a').click(function (e) {\n\t\te.preventDefault();\n\t\tvar el = $(this),\n\t\t\tval = el.data('path');\n\t\tel.parent().parent().next('.template-selection').val(val);\n\t});\n\n\t$('.alm-template-section-nav li a').click(function (e) {\n\t\te.preventDefault();\n\t\tvar el = $(this),\n\t\t\tindex = el.parent().index(),\n\t\t\tparent = el.parent().parent().parent('.repeater-wrap');\n\n\t\tif (!el.hasClass('active')) {\n\t\t\tel.parent().addClass('active').siblings().removeClass('active');\n\t\t\t$('.alm-template-toggle', parent).hide();\n\t\t\t$('.alm-template-toggle', parent).eq(index).show();\n\t\t}\n\t});\n\n\t// Copy to Clipboard\n\t$('.copy-to-clipboard').on('click', function () {\n\t\tvar btn = $(this).get(0);\n\t\tvar input = document.querySelector('#shortcode_output');\n\n\t\tif (input && btn) {\n\t\t\tvar old_txt = btn.innerHTML;\n\t\t\tvar copied_txt = btn.dataset.copied ? btn.dataset.copied : old_txt;\n\n\t\t\tinput.select();\n\t\t\tdocument.execCommand('copy');\n\t\t\tinput.disabled = true;\n\t\t\tbtn.disabled = true;\n\t\t\tinput.focus();\n\n\t\t\t// Set Text of Button\n\t\t\tbtn.innerHTML = copied_txt;\n\n\t\t\tsetTimeout(function () {\n\t\t\t\tbtn.innerHTML = old_txt;\n\t\t\t\tinput.disabled = false;\n\t\t\t\tbtn.disabled = false;\n\t\t\t}, 2500);\n\t\t}\n\t});\n\n\tajax_load_more.copyToClipboard = function (text) {\n\t\twindow.prompt('Copy link to your clipboard: Press Ctrl + C then hit Enter to copy.', text);\n\t};\n\n\t// Copy link on repeater templates\n\t$('.alm-dropdown button.copy').click(function () {\n\t\tvar container = $(this).closest('.repeater-wrap'), // find closet wrap\n\t\t\tel = container.data('name'); // get template name\n\n\t\tif (el === 'default') el = 'template-default';\n\t\tvar c = $('#' + el).val(); // Get textarea val()\n\t\tajax_load_more.copyToClipboard(c);\n\t});\n\n\t/*\n\t * Expand/Collapse shortcode headings\n\t *\n\t * @since 2.0.0\n\t */\n\n\t$(document).on('click', 'h3.heading', function () {\n\t\tvar el = $(this);\n\t\tif ($(el).hasClass('open')) {\n\t\t\t$(el)\n\t\t\t\t.next('.expand-wrap')\n\t\t\t\t.slideDown(ajax_load_more.options.speed, 'alm_easeInOutQuad', function () {\n\t\t\t\t\t$(el).removeClass('open');\n\t\t\t\t});\n\t\t} else {\n\t\t\t$(el)\n\t\t\t\t.next('.expand-wrap')\n\t\t\t\t.slideUp(ajax_load_more.options.speed, 'alm_easeInOutQuad', function () {\n\t\t\t\t\t$(el).addClass('open');\n\t\t\t\t});\n\t\t}\n\t});\n\n\t// Toggle Links.\n\t$(document).on('click', '.toggle-all', function () {\n\t\tvar el = $(this);\n\t\tif (el.hasClass('closed')) {\n\t\t\tel.removeClass('closed');\n\n\t\t\t$('h3.heading, h2.shortcode-title').removeClass('open');\n\t\t\t$('.section-wrap').slideDown(ajax_load_more.options.speed, 'alm_easeInOutQuad');\n\t\t\t$('.expand-wrap').slideDown(ajax_load_more.options.speed, 'alm_easeInOutQuad');\n\t\t} else {\n\t\t\tel.addClass('closed');\n\n\t\t\t$('h3.heading, h2.shortcode-title').addClass('open');\n\t\t\t$('.section-wrap').slideUp(ajax_load_more.options.speed, 'alm_easeInOutQuad');\n\t\t\t$('.expand-wrap').slideUp(ajax_load_more.options.speed, 'alm_easeInOutQuad');\n\t\t}\n\t});\n\n\t// Trigger click events on enter/return\n\t$('h3.heading, h2.shortcode-title').on('keypress', function (e) {\n\t\tvar key = e.which;\n\t\tif (key == 13) {\n\t\t\t// the enter key code\n\t\t\t$(this).click();\n\t\t\treturn false;\n\t\t}\n\t});\n\n\t/**\n\t * Activate License.\n\t *\n\t * @since 2.8.3\n\t */\n\tvar almActivating = false;\n\t$(document).on('click', '.license-btn', function (e) {\n\t\te.preventDefault();\n\t\tif (!almActivating) {\n\t\t\t$('.license-btn-wrap .msg').remove();\n\t\t\talmActivating = true;\n\n\t\t\tvar el = $(this),\n\t\t\t\twrap = el.closest('.license-btn-wrap'),\n\t\t\t\tparent = el.closest('.license'),\n\t\t\t\ttype = el.data('type'),\n\t\t\t\titem = wrap.data('name'),\n\t\t\t\turl = wrap.data('url'),\n\t\t\t\tupgrade = wrap.data('upgrade-url'),\n\t\t\t\tstatus = wrap.data('option-status'),\n\t\t\t\tkey = wrap.data('option-key'),\n\t\t\t\tlicense = parent.find('input[type=text]').val();\n\n\t\t\t$('.loading', parent).fadeIn(300);\n\n\t\t\t// Get value from Ajax\n\t\t\t$.ajax({\n\t\t\t\ttype: 'GET',\n\t\t\t\turl: alm_admin_localize.ajax_admin_url,\n\t\t\t\tdataType: 'json',\n\n\t\t\t\tdata: {\n\t\t\t\t\taction: 'alm_license_activation',\n\t\t\t\t\tnonce: alm_admin_localize.alm_admin_nonce,\n\t\t\t\t\ttype: type,\n\t\t\t\t\titem: item,\n\t\t\t\t\tstatus: status,\n\t\t\t\t\turl: url,\n\t\t\t\t\tupgrade: upgrade,\n\t\t\t\t\tkey: key,\n\t\t\t\t\tlicense: license,\n\t\t\t\t},\n\n\t\t\t\tsuccess: function (data) {\n\t\t\t\t\tif (data.msg) {\n\t\t\t\t\t\t$('.license-btn-wrap', parent).append('
    ' + data.msg + '
    ');\n\t\t\t\t\t}\n\n\t\t\t\t\tif (data.license === 'valid') {\n\t\t\t\t\t\t$('.license-key-field .status', parent).addClass('active').removeClass('inactive').text(alm_admin_localize.active);\n\t\t\t\t\t\t$('.license-title .status', parent).addClass('valid').removeClass('invalid');\n\t\t\t\t\t\t$('.activate.license-btn', parent).addClass('hide');\n\t\t\t\t\t\t$('.check-licence.license-btn', parent).addClass('hide');\n\t\t\t\t\t\t$('.deactivate.license-btn', parent).removeClass('hide');\n\t\t\t\t\t\t$('.renew-btn', parent).addClass('hide');\n\t\t\t\t\t\t$('.no-license', parent).slideUp(200);\n\t\t\t\t\t} else {\n\t\t\t\t\t\t$('.license-key-field .status', parent).removeClass('active').addClass('inactive').text(alm_admin_localize.inactive);\n\t\t\t\t\t\t$('.license-title .status', parent).removeClass('valid').addClass('invalid');\n\t\t\t\t\t\t$('.activate.license-btn', parent).removeClass('hide');\n\t\t\t\t\t\t$('.check-licence.license-btn', parent).addClass('hide');\n\t\t\t\t\t\t$('.deactivate.license-btn', parent).addClass('hide');\n\t\t\t\t\t\t$('.no-license', parent).slideDown(200);\n\t\t\t\t\t}\n\n\t\t\t\t\t$('.loading', parent).delay(250).fadeOut(300);\n\t\t\t\t\talmActivating = false;\n\t\t\t\t},\n\n\t\t\t\terror: function (status, error) {\n\t\t\t\t\tconsole.log(status, error);\n\t\t\t\t\t$('.loading', parent).delay(250).fadeOut(300);\n\t\t\t\t\talmActivating = false;\n\t\t\t\t},\n\t\t\t});\n\t\t}\n\t});\n\n\t/**\n\t * Get layout value via Ajax and inject into template.\n\t *\n\t * @since 2.8.7\n\t */\n\t$(document).on('click', '.alm-layout-selection li .layout', function (e) {\n\t\te.preventDefault();\n\t\tvar el = $(this),\n\t\t\ttype = el.data('type'),\n\t\t\tcustom = el.hasClass('custom') ? 'true' : 'false',\n\t\t\ttextarea = el.closest('.repeater-wrap').find('.CodeMirror'),\n\t\t\tlayout_btn_text = el.html(),\n\t\t\tname = el.closest('.repeater-wrap').data('name');\n\n\t\tif (!el.hasClass('updating')) {\n\t\t\tel.addClass('updating');\n\t\t\t$('span', el).text(alm_admin_localize.applying_layout + '...');\n\t\t\ttextarea.addClass('loading');\n\n\t\t\t// Get Codemirror Editor ID\n\t\t\tvar eid = '';\n\t\t\tif (name === 'default') {\n\t\t\t\t// Default Template\n\t\t\t\teid = window.editor_default;\n\t\t\t} else {\n\t\t\t\t// Repeater Templates\n\t\t\t\teid = window['editor_' + name];\n\t\t\t}\n\n\t\t\t// Get value from Ajax\n\t\t\t$.ajax({\n\t\t\t\ttype: 'GET',\n\t\t\t\turl: alm_admin_localize.ajax_admin_url,\n\t\t\t\tdata: {\n\t\t\t\t\taction: 'alm_get_layout',\n\t\t\t\t\ttype: type,\n\t\t\t\t\tcustom: custom,\n\t\t\t\t\tnonce: alm_admin_localize.alm_admin_nonce,\n\t\t\t\t},\n\t\t\t\tdataType: 'JSON',\n\t\t\t\tsuccess: function (data) {\n\t\t\t\t\teid.setValue(data.value);\n\n\t\t\t\t\t// Clear button styles\n\t\t\t\t\tsetTimeout(function () {\n\t\t\t\t\t\t$('span', el).text(alm_admin_localize.template_updated).blur();\n\t\t\t\t\t\tsetTimeout(function () {\n\t\t\t\t\t\t\tel.removeClass('updating').html(layout_btn_text).blur(); // Close drop menu.\n\t\t\t\t\t\t\tel.closest('.alm-drop-btn').trigger('click');\n\t\t\t\t\t\t\ttextarea.removeClass('loading');\n\t\t\t\t\t\t}, 400);\n\t\t\t\t\t}, 400);\n\t\t\t\t},\n\t\t\t\terror: function (status) {\n\t\t\t\t\tconsole.log(status);\n\t\t\t\t\ttextarea.removeClass('loading');\n\t\t\t\t},\n\t\t\t});\n\t\t}\n\t});\n\n\t/**\n\t * Set Transient (Transient).\n\t *\n\t * @since 4.0\n\t */\n\t$(document).on('click', '.alm-transient button.notice-dismiss', function (e) {\n\t\te.preventDefault();\n\t\tvar el = $(this),\n\t\t\tcontainer = el.parent('.alm-transient'),\n\t\t\ttransient_name = container.data('transient'),\n\t\t\tduration = container.data('duration');\n\n\t\t// Get value from Ajax\n\t\t$.ajax({\n\t\t\ttype: 'POST',\n\t\t\turl: alm_admin_localize.ajax_admin_url,\n\t\t\tdata: {\n\t\t\t\taction: 'alm_set_transient',\n\t\t\t\tnonce: alm_admin_localize.alm_admin_nonce,\n\t\t\t\ttransient_name: transient_name,\n\t\t\t\tduration: duration,\n\t\t\t},\n\t\t\tsuccess: function (data) {\n\t\t\t\tcontainer.fadeOut();\n\t\t\t},\n\t\t\terror: function (xhr, status, error) {\n\t\t\t\tconsole.log(status);\n\t\t\t},\n\t\t});\n\t});\n\n\t/**\n\t * Scroll to setting section.\n\t *\n\t * @since 2.7.3\n\t */\n\t$(document).on('change', '#alm-settings-nav', function (e) {\n\t\te.preventDefault();\n\t\tvar el = $(this),\n\t\t\tindex = $('option:selected', el).index();\n\t\tif (index !== '#') {\n\t\t\tindex = index - 1;\n\t\t\t$('html, body').animate(\n\t\t\t\t{\n\t\t\t\t\tscrollTop: $('#alm_OptionsForm h2').eq(index).offset().top - 40,\n\t\t\t\t},\n\t\t\t\t500\n\t\t\t);\n\t\t}\n\t});\n});\n\n\n//# sourceURL=webpack://ajaxloadmore/./src/admin/js/index.js?"); + + +/* istanbul ignore next */ +function styleTagTransform(css, styleElement) { + if (styleElement.styleSheet) { + styleElement.styleSheet.cssText = css; + } else { + while (styleElement.firstChild) { + styleElement.removeChild(styleElement.firstChild); + } + styleElement.appendChild(document.createTextNode(css)); + } +} +module.exports = styleTagTransform; /***/ }), -/***/ "./src/admin/js/libs/jquery.drops.js": -/*!*******************************************!*\ - !*** ./src/admin/js/libs/jquery.drops.js ***! - \*******************************************/ +/***/ 990: /***/ (function() { -eval("var drops = drops || {};\n\njQuery(document).ready(function ($) {\n\t'use strict';\n\n\tdrops.dropdown = function (e) {\n\t\tvar el = e.parent();\n\t\tvar text = $('input[type=\"text\"]', el);\n\n\t\tif ($(el).hasClass('active')) {\n\t\t\t//If is currently active, hide it\n\t\t\tel.removeClass('active');\n\t\t\t$('.alm-dropdown', el).removeClass('active');\n\t\t\treturn false;\n\t\t} else if ($('.alm-dropdown').hasClass('active')) {\n\t\t\t$('.alm-dropdown').each(function (i) {\n\t\t\t\t$(this).removeClass('active');\n\t\t\t\t$(this).parent().removeClass('active');\n\t\t\t});\n\t\t}\n\n\t\t$('.alm-dropdown').removeClass('active'); //remove active states from currently open dropdowns\n\t\tel.addClass('active');\n\t\t$('.alm-dropdown', el).addClass('active');\n\t\ttext.focus(); //Focus on input boxes\n\n\t\t// Bind click event to window.\n\t\t$(window).unbind('click').bind('click', drops.closeDropDown);\n\t};\n\tdrops.closeDropDown = function () {\n\t\t$('.alm-dropdown').each(function () {\n\t\t\t$(this).removeClass('active');\n\t\t\t$(this).parent().removeClass('active');\n\t\t});\n\t};\n\n\t//Dropdown links\n\t$(document).on('click', '.alm-drop-btn a.target', function () {\n\t\tvar e = $(this);\n\t\tdrops.dropdown(e);\n\t\treturn false;\n\t});\n});\n\n\n//# sourceURL=webpack://ajaxloadmore/./src/admin/js/libs/jquery.drops.js?"); +var drops = drops || {}; + +jQuery(document).ready(function ($) { + 'use strict'; + + drops.dropdown = function (e) { + var el = e.parent(); + var text = $('input[type="text"]', el); + + if ($(el).hasClass('active')) { + //If is currently active, hide it + el.removeClass('active'); + $('.alm-dropdown', el).removeClass('active'); + return false; + } else if ($('.alm-dropdown').hasClass('active')) { + $('.alm-dropdown').each(function (i) { + $(this).removeClass('active'); + $(this).parent().removeClass('active'); + }); + } + + $('.alm-dropdown').removeClass('active'); //remove active states from currently open dropdowns + el.addClass('active'); + $('.alm-dropdown', el).addClass('active'); + text.focus(); //Focus on input boxes + + // Bind click event to window. + $(window).unbind('click').bind('click', drops.closeDropDown); + }; + drops.closeDropDown = function () { + $('.alm-dropdown').each(function () { + $(this).removeClass('active'); + $(this).parent().removeClass('active'); + }); + }; + + //Dropdown links + $(document).on('click', '.alm-drop-btn a.target', function () { + var e = $(this); + drops.dropdown(e); + return false; + }); +}); + /***/ }), -/***/ "./src/admin/js/libs/jquery.tooltipster.min.js": -/*!*****************************************************!*\ - !*** ./src/admin/js/libs/jquery.tooltipster.min.js ***! - \*****************************************************/ +/***/ 947: /***/ (function() { -eval("/* Tooltipster v3.3.0 */;(function(e,t,n){function s(t,n){this.bodyOverflowX;this.callbacks={hide:[],show:[]};this.checkInterval=null;this.Content;this.$el=e(t);this.$elProxy;this.elProxyPosition;this.enabled=true;this.options=e.extend({},i,n);this.mouseIsOverProxy=false;this.namespace=\"tooltipster-\"+Math.round(Math.random()*1e5);this.Status=\"hidden\";this.timerHide=null;this.timerShow=null;this.$tooltip;this.options.iconTheme=this.options.iconTheme.replace(\".\",\"\");this.options.theme=this.options.theme.replace(\".\",\"\");this._init()}function o(t,n){var r=true;e.each(t,function(e,i){if(typeof n[e]===\"undefined\"||t[e]!==n[e]){r=false;return false}});return r}function f(){return!a&&u}function l(){var e=n.body||n.documentElement,t=e.style,r=\"transition\";if(typeof t[r]==\"string\"){return true}v=[\"Moz\",\"Webkit\",\"Khtml\",\"O\",\"ms\"],r=r.charAt(0).toUpperCase()+r.substr(1);for(var i=0;i');t.$elProxy.text(t.options.icon)}else{if(t.options.iconCloning)t.$elProxy=t.options.icon.clone(true);else t.$elProxy=t.options.icon}t.$elProxy.insertAfter(t.$el)}else{t.$elProxy=t.$el}if(t.options.trigger==\"hover\"){t.$elProxy.on(\"mouseenter.\"+t.namespace,function(){if(!f()||t.options.touchDevices){t.mouseIsOverProxy=true;t._show()}}).on(\"mouseleave.\"+t.namespace,function(){if(!f()||t.options.touchDevices){t.mouseIsOverProxy=false}});if(u&&t.options.touchDevices){t.$elProxy.on(\"touchstart.\"+t.namespace,function(){t._showNow()})}}else if(t.options.trigger==\"click\"){t.$elProxy.on(\"click.\"+t.namespace,function(){if(!f()||t.options.touchDevices){t._show()}})}}},_show:function(){var e=this;if(e.Status!=\"shown\"&&e.Status!=\"appearing\"){if(e.options.delay){e.timerShow=setTimeout(function(){if(e.options.trigger==\"click\"||e.options.trigger==\"hover\"&&e.mouseIsOverProxy){e._showNow()}},e.options.delay)}else e._showNow()}},_showNow:function(n){var r=this;r.options.functionBefore.call(r.$el,r.$el,function(){if(r.enabled&&r.Content!==null){if(n)r.callbacks.show.push(n);r.callbacks.hide=[];clearTimeout(r.timerShow);r.timerShow=null;clearTimeout(r.timerHide);r.timerHide=null;if(r.options.onlyOne){e(\".tooltipstered\").not(r.$el).each(function(t,n){var r=e(n),i=r.data(\"tooltipster-ns\");e.each(i,function(e,t){var n=r.data(t),i=n.status(),s=n.option(\"autoClose\");if(i!==\"hidden\"&&i!==\"disappearing\"&&s){n.hide()}})})}var i=function(){r.Status=\"shown\";e.each(r.callbacks.show,function(e,t){t.call(r.$el)});r.callbacks.show=[]};if(r.Status!==\"hidden\"){var s=0;if(r.Status===\"disappearing\"){r.Status=\"appearing\";if(l()){r.$tooltip.clearQueue().removeClass(\"tooltipster-dying\").addClass(\"tooltipster-\"+r.options.animation+\"-show\");if(r.options.speed>0)r.$tooltip.delay(r.options.speed);r.$tooltip.queue(i)}else{r.$tooltip.stop().fadeIn(i)}}else if(r.Status===\"shown\"){i()}}else{r.Status=\"appearing\";var s=r.options.speed;r.bodyOverflowX=e(\"body\").css(\"overflow-x\");e(\"body\").css(\"overflow-x\",\"hidden\");var o=\"tooltipster-\"+r.options.animation,a=\"-webkit-transition-duration: \"+r.options.speed+\"ms; -webkit-animation-duration: \"+r.options.speed+\"ms; -moz-transition-duration: \"+r.options.speed+\"ms; -moz-animation-duration: \"+r.options.speed+\"ms; -o-transition-duration: \"+r.options.speed+\"ms; -o-animation-duration: \"+r.options.speed+\"ms; -ms-transition-duration: \"+r.options.speed+\"ms; -ms-animation-duration: \"+r.options.speed+\"ms; transition-duration: \"+r.options.speed+\"ms; animation-duration: \"+r.options.speed+\"ms;\",f=r.options.minWidth?\"min-width:\"+Math.round(r.options.minWidth)+\"px;\":\"\",c=r.options.maxWidth?\"max-width:\"+Math.round(r.options.maxWidth)+\"px;\":\"\",h=r.options.interactive?\"pointer-events: auto;\":\"\";r.$tooltip=e('
    ');if(l())r.$tooltip.addClass(o);r._content_insert();r.$tooltip.appendTo(\"body\");r.reposition();r.options.functionReady.call(r.$el,r.$el,r.$tooltip);if(l()){r.$tooltip.addClass(o+\"-show\");if(r.options.speed>0)r.$tooltip.delay(r.options.speed);r.$tooltip.queue(i)}else{r.$tooltip.css(\"display\",\"none\").fadeIn(r.options.speed,i)}r._interval_set();e(t).on(\"scroll.\"+r.namespace+\" resize.\"+r.namespace,function(){r.reposition()});if(r.options.autoClose){e(\"body\").off(\".\"+r.namespace);if(r.options.trigger==\"hover\"){if(u){setTimeout(function(){e(\"body\").on(\"touchstart.\"+r.namespace,function(){r.hide()})},0)}if(r.options.interactive){if(u){r.$tooltip.on(\"touchstart.\"+r.namespace,function(e){e.stopPropagation()})}var p=null;r.$elProxy.add(r.$tooltip).on(\"mouseleave.\"+r.namespace+\"-autoClose\",function(){clearTimeout(p);p=setTimeout(function(){r.hide()},r.options.interactiveTolerance)}).on(\"mouseenter.\"+r.namespace+\"-autoClose\",function(){clearTimeout(p)})}else{r.$elProxy.on(\"mouseleave.\"+r.namespace+\"-autoClose\",function(){r.hide()})}if(r.options.hideOnClick){r.$elProxy.on(\"click.\"+r.namespace+\"-autoClose\",function(){r.hide()})}}else if(r.options.trigger==\"click\"){setTimeout(function(){e(\"body\").on(\"click.\"+r.namespace+\" touchstart.\"+r.namespace,function(){r.hide()})},0);if(r.options.interactive){r.$tooltip.on(\"click.\"+r.namespace+\" touchstart.\"+r.namespace,function(e){e.stopPropagation()})}}}}if(r.options.timer>0){r.timerHide=setTimeout(function(){r.timerHide=null;r.hide()},r.options.timer+s)}}})},_interval_set:function(){var t=this;t.checkInterval=setInterval(function(){if(e(\"body\").find(t.$el).length===0||e(\"body\").find(t.$elProxy).length===0||t.Status==\"hidden\"||e(\"body\").find(t.$tooltip).length===0){if(t.Status==\"shown\"||t.Status==\"appearing\")t.hide();t._interval_cancel()}else{if(t.options.positionTracker){var n=t._repositionInfo(t.$elProxy),r=false;if(o(n.dimension,t.elProxyPosition.dimension)){if(t.$elProxy.css(\"position\")===\"fixed\"){if(o(n.position,t.elProxyPosition.position))r=true}else{if(o(n.offset,t.elProxyPosition.offset))r=true}}if(!r){t.reposition();t.options.positionTrackerCallback.call(t,t.$el)}}}},200)},_interval_cancel:function(){clearInterval(this.checkInterval);this.checkInterval=null},_content_set:function(e){if(typeof e===\"object\"&&e!==null&&this.options.contentCloning){e=e.clone(true)}this.Content=e},_content_insert:function(){var e=this,t=this.$tooltip.find(\".tooltipster-content\");if(typeof e.Content===\"string\"&&!e.options.contentAsHTML){t.text(e.Content)}else{t.empty().append(e.Content)}},_update:function(e){var t=this;t._content_set(e);if(t.Content!==null){if(t.Status!==\"hidden\"){t._content_insert();t.reposition();if(t.options.updateAnimation){if(l()){t.$tooltip.css({width:\"\",\"-webkit-transition\":\"all \"+t.options.speed+\"ms, width 0ms, height 0ms, left 0ms, top 0ms\",\"-moz-transition\":\"all \"+t.options.speed+\"ms, width 0ms, height 0ms, left 0ms, top 0ms\",\"-o-transition\":\"all \"+t.options.speed+\"ms, width 0ms, height 0ms, left 0ms, top 0ms\",\"-ms-transition\":\"all \"+t.options.speed+\"ms, width 0ms, height 0ms, left 0ms, top 0ms\",transition:\"all \"+t.options.speed+\"ms, width 0ms, height 0ms, left 0ms, top 0ms\"}).addClass(\"tooltipster-content-changing\");setTimeout(function(){if(t.Status!=\"hidden\"){t.$tooltip.removeClass(\"tooltipster-content-changing\");setTimeout(function(){if(t.Status!==\"hidden\"){t.$tooltip.css({\"-webkit-transition\":t.options.speed+\"ms\",\"-moz-transition\":t.options.speed+\"ms\",\"-o-transition\":t.options.speed+\"ms\",\"-ms-transition\":t.options.speed+\"ms\",transition:t.options.speed+\"ms\"})}},t.options.speed)}},t.options.speed)}else{t.$tooltip.fadeTo(t.options.speed,.5,function(){if(t.Status!=\"hidden\"){t.$tooltip.fadeTo(t.options.speed,1)}})}}}}else{t.hide()}},_repositionInfo:function(e){return{dimension:{height:e.outerHeight(false),width:e.outerWidth(false)},offset:e.offset(),position:{left:parseInt(e.css(\"left\")),top:parseInt(e.css(\"top\"))}}},hide:function(n){var r=this;if(n)r.callbacks.hide.push(n);r.callbacks.show=[];clearTimeout(r.timerShow);r.timerShow=null;clearTimeout(r.timerHide);r.timerHide=null;var i=function(){e.each(r.callbacks.hide,function(e,t){t.call(r.$el)});r.callbacks.hide=[]};if(r.Status==\"shown\"||r.Status==\"appearing\"){r.Status=\"disappearing\";var s=function(){r.Status=\"hidden\";if(typeof r.Content==\"object\"&&r.Content!==null){r.Content.detach()}r.$tooltip.remove();r.$tooltip=null;e(t).off(\".\"+r.namespace);e(\"body\").off(\".\"+r.namespace).css(\"overflow-x\",r.bodyOverflowX);e(\"body\").off(\".\"+r.namespace);r.$elProxy.off(\".\"+r.namespace+\"-autoClose\");r.options.functionAfter.call(r.$el,r.$el);i()};if(l()){r.$tooltip.clearQueue().removeClass(\"tooltipster-\"+r.options.animation+\"-show\").addClass(\"tooltipster-dying\");if(r.options.speed>0)r.$tooltip.delay(r.options.speed);r.$tooltip.queue(s)}else{r.$tooltip.stop().fadeOut(r.options.speed,s)}}else if(r.Status==\"hidden\"){i()}return r},show:function(e){this._showNow(e);return this},update:function(e){return this.content(e)},content:function(e){if(typeof e===\"undefined\"){return this.Content}else{this._update(e);return this}},reposition:function(){var n=this;if(e(\"body\").find(n.$tooltip).length!==0){n.$tooltip.css(\"width\",\"\");n.elProxyPosition=n._repositionInfo(n.$elProxy);var r=null,i=e(t).width(),s=n.elProxyPosition,o=n.$tooltip.outerWidth(false),u=n.$tooltip.innerWidth()+1,a=n.$tooltip.outerHeight(false);if(n.$elProxy.is(\"area\")){var f=n.$elProxy.attr(\"shape\"),l=n.$elProxy.parent().attr(\"name\"),c=e('img[usemap=\"#'+l+'\"]'),h=c.offset().left,p=c.offset().top,d=n.$elProxy.attr(\"coords\")!==undefined?n.$elProxy.attr(\"coords\").split(\",\"):undefined;if(f==\"circle\"){var v=parseInt(d[0]),m=parseInt(d[1]),g=parseInt(d[2]);s.dimension.height=g*2;s.dimension.width=g*2;s.offset.top=p+m-g;s.offset.left=h+v-g}else if(f==\"rect\"){var v=parseInt(d[0]),m=parseInt(d[1]),y=parseInt(d[2]),b=parseInt(d[3]);s.dimension.height=b-m;s.dimension.width=y-v;s.offset.top=p+m;s.offset.left=h+v}else if(f==\"poly\"){var w=[],E=[],S=0,x=0,T=0,N=0,C=\"even\";for(var k=0;kT){T=L;if(k===0){S=T}}if(LN){N=L;if(k==1){x=N}}if(Li){r=A-(i+n-o);A=i+n-o}}function B(n,r){if(s.offset.top-e(t).scrollTop()-a-_-12<0&&r.indexOf(\"top\")>-1){P=n}if(s.offset.top+s.dimension.height+a+12+_>e(t).scrollTop()+e(t).height()&&r.indexOf(\"bottom\")>-1){P=n;M=s.offset.top-a-_-12}}if(P==\"top\"){var j=s.offset.left+o-(s.offset.left+s.dimension.width);A=s.offset.left+D-j/2;M=s.offset.top-a-_-12;H();B(\"bottom\",\"top\")}if(P==\"top-left\"){A=s.offset.left+D;M=s.offset.top-a-_-12;H();B(\"bottom-left\",\"top-left\")}if(P==\"top-right\"){A=s.offset.left+s.dimension.width+D-o;M=s.offset.top-a-_-12;H();B(\"bottom-right\",\"top-right\")}if(P==\"bottom\"){var j=s.offset.left+o-(s.offset.left+s.dimension.width);A=s.offset.left-j/2+D;M=s.offset.top+s.dimension.height+_+12;H();B(\"top\",\"bottom\")}if(P==\"bottom-left\"){A=s.offset.left+D;M=s.offset.top+s.dimension.height+_+12;H();B(\"top-left\",\"bottom-left\")}if(P==\"bottom-right\"){A=s.offset.left+s.dimension.width+D-o;M=s.offset.top+s.dimension.height+_+12;H();B(\"top-right\",\"bottom-right\")}if(P==\"left\"){A=s.offset.left-D-o-12;O=s.offset.left+D+s.dimension.width+12;var F=s.offset.top+a-(s.offset.top+s.dimension.height);M=s.offset.top-F/2-_;if(A<0&&O+o>i){var I=parseFloat(n.$tooltip.css(\"border-width\"))*2,q=o+A-I;n.$tooltip.css(\"width\",q+\"px\");a=n.$tooltip.outerHeight(false);A=s.offset.left-D-q-12-I;F=s.offset.top+a-(s.offset.top+s.dimension.height);M=s.offset.top-F/2-_}else if(A<0){A=s.offset.left+D+s.dimension.width+12;r=\"left\"}}if(P==\"right\"){A=s.offset.left+D+s.dimension.width+12;O=s.offset.left-D-o-12;var F=s.offset.top+a-(s.offset.top+s.dimension.height);M=s.offset.top-F/2-_;if(A+o>i&&O<0){var I=parseFloat(n.$tooltip.css(\"border-width\"))*2,q=i-A-I;n.$tooltip.css(\"width\",q+\"px\");a=n.$tooltip.outerHeight(false);F=s.offset.top+a-(s.offset.top+s.dimension.height);M=s.offset.top-F/2-_}else if(A+o>i){A=s.offset.left-D-o-12;r=\"right\"}}if(n.options.arrow){var R=\"tooltipster-arrow-\"+P;if(n.options.arrowColor.length<1){var U=n.$tooltip.css(\"background-color\")}else{var U=n.options.arrowColor}if(!r){r=\"\"}else if(r==\"left\"){R=\"tooltipster-arrow-right\";r=\"\"}else if(r==\"right\"){R=\"tooltipster-arrow-left\";r=\"\"}else{r=\"left:\"+Math.round(r)+\"px;\"}if(P==\"top\"||P==\"top-left\"||P==\"top-right\"){var z=parseFloat(n.$tooltip.css(\"border-bottom-width\")),W=n.$tooltip.css(\"border-bottom-color\")}else if(P==\"bottom\"||P==\"bottom-left\"||P==\"bottom-right\"){var z=parseFloat(n.$tooltip.css(\"border-top-width\")),W=n.$tooltip.css(\"border-top-color\")}else if(P==\"left\"){var z=parseFloat(n.$tooltip.css(\"border-right-width\")),W=n.$tooltip.css(\"border-right-color\")}else if(P==\"right\"){var z=parseFloat(n.$tooltip.css(\"border-left-width\")),W=n.$tooltip.css(\"border-left-color\")}else{var z=parseFloat(n.$tooltip.css(\"border-bottom-width\")),W=n.$tooltip.css(\"border-bottom-color\")}if(z>1){z++}var X=\"\";if(z!==0){var V=\"\",J=\"border-color: \"+W+\";\";if(R.indexOf(\"bottom\")!==-1){V=\"margin-top: -\"+Math.round(z)+\"px;\"}else if(R.indexOf(\"top\")!==-1){V=\"margin-bottom: -\"+Math.round(z)+\"px;\"}else if(R.indexOf(\"left\")!==-1){V=\"margin-right: -\"+Math.round(z)+\"px;\"}else if(R.indexOf(\"right\")!==-1){V=\"margin-left: -\"+Math.round(z)+\"px;\"}X=''}n.$tooltip.find(\".tooltipster-arrow\").remove();var K='
    '+X+'
    ';n.$tooltip.append(K)}n.$tooltip.css({top:Math.round(M)+\"px\",left:Math.round(A)+\"px\"})}return n},enable:function(){this.enabled=true;return this},disable:function(){this.hide();this.enabled=false;return this},destroy:function(){var t=this;t.hide();if(t.$el[0]!==t.$elProxy[0]){t.$elProxy.remove()}t.$el.removeData(t.namespace).off(\".\"+t.namespace);var n=t.$el.data(\"tooltipster-ns\");if(n.length===1){var r=null;if(t.options.restoration===\"previous\"){r=t.$el.data(\"tooltipster-initialTitle\")}else if(t.options.restoration===\"current\"){r=typeof t.Content===\"string\"?t.Content:e(\"
    \").append(t.Content).html()}if(r){t.$el.attr(\"title\",r)}t.$el.removeClass(\"tooltipstered\").removeData(\"tooltipster-ns\").removeData(\"tooltipster-initialTitle\")}else{n=e.grep(n,function(e,n){return e!==t.namespace});t.$el.data(\"tooltipster-ns\",n)}return t},elementIcon:function(){return this.$el[0]!==this.$elProxy[0]?this.$elProxy[0]:undefined},elementTooltip:function(){return this.$tooltip?this.$tooltip[0]:undefined},option:function(e,t){if(typeof t==\"undefined\")return this.options[e];else{this.options[e]=t;return this}},status:function(){return this.Status}};e.fn[r]=function(){var t=arguments;if(this.length===0){if(typeof t[0]===\"string\"){var n=true;switch(t[0]){case\"setDefaults\":e.extend(i,t[1]);break;default:n=false;break}if(n)return true;else return this}else{return this}}else{if(typeof t[0]===\"string\"){var r=\"#*$~&\";this.each(function(){var n=e(this).data(\"tooltipster-ns\"),i=n?e(this).data(n[0]):null;if(i){if(typeof i[t[0]]===\"function\"){var s=i[t[0]](t[1],t[2])}else{throw new Error('Unknown method .tooltipster(\"'+t[0]+'\")')}if(s!==i){r=s;return false}}else{throw new Error(\"You called Tooltipster's \\\"\"+t[0]+'\" method on an uninitialized element')}});return r!==\"#*$~&\"?r:this}else{var o=[],u=t[0]&&typeof t[0].multiple!==\"undefined\",a=u&&t[0].multiple||!u&&i.multiple,f=t[0]&&typeof t[0].debug!==\"undefined\",l=f&&t[0].debug||!f&&i.debug;this.each(function(){var n=false,r=e(this).data(\"tooltipster-ns\"),i=null;if(!r){n=true}else if(a){n=true}else if(l){console.log('Tooltipster: one or more tooltips are already attached to this element: ignoring. Use the \"multiple\" option to attach more tooltips.')}if(n){i=new s(this,t[0]);if(!r)r=[];r.push(i.namespace);e(this).data(\"tooltipster-ns\",r);e(this).data(i.namespace,i)}o.push(i)});if(a)return o;else return this}}};var u=!!(\"ontouchstart\"in t);var a=false;e(\"body\").one(\"mousemove\",function(){a=true})})(jQuery,window,document);\n\n//# sourceURL=webpack://ajaxloadmore/./src/admin/js/libs/jquery.tooltipster.min.js?"); +/* Tooltipster v3.3.0 */;(function(e,t,n){function s(t,n){this.bodyOverflowX;this.callbacks={hide:[],show:[]};this.checkInterval=null;this.Content;this.$el=e(t);this.$elProxy;this.elProxyPosition;this.enabled=true;this.options=e.extend({},i,n);this.mouseIsOverProxy=false;this.namespace="tooltipster-"+Math.round(Math.random()*1e5);this.Status="hidden";this.timerHide=null;this.timerShow=null;this.$tooltip;this.options.iconTheme=this.options.iconTheme.replace(".","");this.options.theme=this.options.theme.replace(".","");this._init()}function o(t,n){var r=true;e.each(t,function(e,i){if(typeof n[e]==="undefined"||t[e]!==n[e]){r=false;return false}});return r}function f(){return!a&&u}function l(){var e=n.body||n.documentElement,t=e.style,r="transition";if(typeof t[r]=="string"){return true}v=["Moz","Webkit","Khtml","O","ms"],r=r.charAt(0).toUpperCase()+r.substr(1);for(var i=0;i');t.$elProxy.text(t.options.icon)}else{if(t.options.iconCloning)t.$elProxy=t.options.icon.clone(true);else t.$elProxy=t.options.icon}t.$elProxy.insertAfter(t.$el)}else{t.$elProxy=t.$el}if(t.options.trigger=="hover"){t.$elProxy.on("mouseenter."+t.namespace,function(){if(!f()||t.options.touchDevices){t.mouseIsOverProxy=true;t._show()}}).on("mouseleave."+t.namespace,function(){if(!f()||t.options.touchDevices){t.mouseIsOverProxy=false}});if(u&&t.options.touchDevices){t.$elProxy.on("touchstart."+t.namespace,function(){t._showNow()})}}else if(t.options.trigger=="click"){t.$elProxy.on("click."+t.namespace,function(){if(!f()||t.options.touchDevices){t._show()}})}}},_show:function(){var e=this;if(e.Status!="shown"&&e.Status!="appearing"){if(e.options.delay){e.timerShow=setTimeout(function(){if(e.options.trigger=="click"||e.options.trigger=="hover"&&e.mouseIsOverProxy){e._showNow()}},e.options.delay)}else e._showNow()}},_showNow:function(n){var r=this;r.options.functionBefore.call(r.$el,r.$el,function(){if(r.enabled&&r.Content!==null){if(n)r.callbacks.show.push(n);r.callbacks.hide=[];clearTimeout(r.timerShow);r.timerShow=null;clearTimeout(r.timerHide);r.timerHide=null;if(r.options.onlyOne){e(".tooltipstered").not(r.$el).each(function(t,n){var r=e(n),i=r.data("tooltipster-ns");e.each(i,function(e,t){var n=r.data(t),i=n.status(),s=n.option("autoClose");if(i!=="hidden"&&i!=="disappearing"&&s){n.hide()}})})}var i=function(){r.Status="shown";e.each(r.callbacks.show,function(e,t){t.call(r.$el)});r.callbacks.show=[]};if(r.Status!=="hidden"){var s=0;if(r.Status==="disappearing"){r.Status="appearing";if(l()){r.$tooltip.clearQueue().removeClass("tooltipster-dying").addClass("tooltipster-"+r.options.animation+"-show");if(r.options.speed>0)r.$tooltip.delay(r.options.speed);r.$tooltip.queue(i)}else{r.$tooltip.stop().fadeIn(i)}}else if(r.Status==="shown"){i()}}else{r.Status="appearing";var s=r.options.speed;r.bodyOverflowX=e("body").css("overflow-x");e("body").css("overflow-x","hidden");var o="tooltipster-"+r.options.animation,a="-webkit-transition-duration: "+r.options.speed+"ms; -webkit-animation-duration: "+r.options.speed+"ms; -moz-transition-duration: "+r.options.speed+"ms; -moz-animation-duration: "+r.options.speed+"ms; -o-transition-duration: "+r.options.speed+"ms; -o-animation-duration: "+r.options.speed+"ms; -ms-transition-duration: "+r.options.speed+"ms; -ms-animation-duration: "+r.options.speed+"ms; transition-duration: "+r.options.speed+"ms; animation-duration: "+r.options.speed+"ms;",f=r.options.minWidth?"min-width:"+Math.round(r.options.minWidth)+"px;":"",c=r.options.maxWidth?"max-width:"+Math.round(r.options.maxWidth)+"px;":"",h=r.options.interactive?"pointer-events: auto;":"";r.$tooltip=e('
    ');if(l())r.$tooltip.addClass(o);r._content_insert();r.$tooltip.appendTo("body");r.reposition();r.options.functionReady.call(r.$el,r.$el,r.$tooltip);if(l()){r.$tooltip.addClass(o+"-show");if(r.options.speed>0)r.$tooltip.delay(r.options.speed);r.$tooltip.queue(i)}else{r.$tooltip.css("display","none").fadeIn(r.options.speed,i)}r._interval_set();e(t).on("scroll."+r.namespace+" resize."+r.namespace,function(){r.reposition()});if(r.options.autoClose){e("body").off("."+r.namespace);if(r.options.trigger=="hover"){if(u){setTimeout(function(){e("body").on("touchstart."+r.namespace,function(){r.hide()})},0)}if(r.options.interactive){if(u){r.$tooltip.on("touchstart."+r.namespace,function(e){e.stopPropagation()})}var p=null;r.$elProxy.add(r.$tooltip).on("mouseleave."+r.namespace+"-autoClose",function(){clearTimeout(p);p=setTimeout(function(){r.hide()},r.options.interactiveTolerance)}).on("mouseenter."+r.namespace+"-autoClose",function(){clearTimeout(p)})}else{r.$elProxy.on("mouseleave."+r.namespace+"-autoClose",function(){r.hide()})}if(r.options.hideOnClick){r.$elProxy.on("click."+r.namespace+"-autoClose",function(){r.hide()})}}else if(r.options.trigger=="click"){setTimeout(function(){e("body").on("click."+r.namespace+" touchstart."+r.namespace,function(){r.hide()})},0);if(r.options.interactive){r.$tooltip.on("click."+r.namespace+" touchstart."+r.namespace,function(e){e.stopPropagation()})}}}}if(r.options.timer>0){r.timerHide=setTimeout(function(){r.timerHide=null;r.hide()},r.options.timer+s)}}})},_interval_set:function(){var t=this;t.checkInterval=setInterval(function(){if(e("body").find(t.$el).length===0||e("body").find(t.$elProxy).length===0||t.Status=="hidden"||e("body").find(t.$tooltip).length===0){if(t.Status=="shown"||t.Status=="appearing")t.hide();t._interval_cancel()}else{if(t.options.positionTracker){var n=t._repositionInfo(t.$elProxy),r=false;if(o(n.dimension,t.elProxyPosition.dimension)){if(t.$elProxy.css("position")==="fixed"){if(o(n.position,t.elProxyPosition.position))r=true}else{if(o(n.offset,t.elProxyPosition.offset))r=true}}if(!r){t.reposition();t.options.positionTrackerCallback.call(t,t.$el)}}}},200)},_interval_cancel:function(){clearInterval(this.checkInterval);this.checkInterval=null},_content_set:function(e){if(typeof e==="object"&&e!==null&&this.options.contentCloning){e=e.clone(true)}this.Content=e},_content_insert:function(){var e=this,t=this.$tooltip.find(".tooltipster-content");if(typeof e.Content==="string"&&!e.options.contentAsHTML){t.text(e.Content)}else{t.empty().append(e.Content)}},_update:function(e){var t=this;t._content_set(e);if(t.Content!==null){if(t.Status!=="hidden"){t._content_insert();t.reposition();if(t.options.updateAnimation){if(l()){t.$tooltip.css({width:"","-webkit-transition":"all "+t.options.speed+"ms, width 0ms, height 0ms, left 0ms, top 0ms","-moz-transition":"all "+t.options.speed+"ms, width 0ms, height 0ms, left 0ms, top 0ms","-o-transition":"all "+t.options.speed+"ms, width 0ms, height 0ms, left 0ms, top 0ms","-ms-transition":"all "+t.options.speed+"ms, width 0ms, height 0ms, left 0ms, top 0ms",transition:"all "+t.options.speed+"ms, width 0ms, height 0ms, left 0ms, top 0ms"}).addClass("tooltipster-content-changing");setTimeout(function(){if(t.Status!="hidden"){t.$tooltip.removeClass("tooltipster-content-changing");setTimeout(function(){if(t.Status!=="hidden"){t.$tooltip.css({"-webkit-transition":t.options.speed+"ms","-moz-transition":t.options.speed+"ms","-o-transition":t.options.speed+"ms","-ms-transition":t.options.speed+"ms",transition:t.options.speed+"ms"})}},t.options.speed)}},t.options.speed)}else{t.$tooltip.fadeTo(t.options.speed,.5,function(){if(t.Status!="hidden"){t.$tooltip.fadeTo(t.options.speed,1)}})}}}}else{t.hide()}},_repositionInfo:function(e){return{dimension:{height:e.outerHeight(false),width:e.outerWidth(false)},offset:e.offset(),position:{left:parseInt(e.css("left")),top:parseInt(e.css("top"))}}},hide:function(n){var r=this;if(n)r.callbacks.hide.push(n);r.callbacks.show=[];clearTimeout(r.timerShow);r.timerShow=null;clearTimeout(r.timerHide);r.timerHide=null;var i=function(){e.each(r.callbacks.hide,function(e,t){t.call(r.$el)});r.callbacks.hide=[]};if(r.Status=="shown"||r.Status=="appearing"){r.Status="disappearing";var s=function(){r.Status="hidden";if(typeof r.Content=="object"&&r.Content!==null){r.Content.detach()}r.$tooltip.remove();r.$tooltip=null;e(t).off("."+r.namespace);e("body").off("."+r.namespace).css("overflow-x",r.bodyOverflowX);e("body").off("."+r.namespace);r.$elProxy.off("."+r.namespace+"-autoClose");r.options.functionAfter.call(r.$el,r.$el);i()};if(l()){r.$tooltip.clearQueue().removeClass("tooltipster-"+r.options.animation+"-show").addClass("tooltipster-dying");if(r.options.speed>0)r.$tooltip.delay(r.options.speed);r.$tooltip.queue(s)}else{r.$tooltip.stop().fadeOut(r.options.speed,s)}}else if(r.Status=="hidden"){i()}return r},show:function(e){this._showNow(e);return this},update:function(e){return this.content(e)},content:function(e){if(typeof e==="undefined"){return this.Content}else{this._update(e);return this}},reposition:function(){var n=this;if(e("body").find(n.$tooltip).length!==0){n.$tooltip.css("width","");n.elProxyPosition=n._repositionInfo(n.$elProxy);var r=null,i=e(t).width(),s=n.elProxyPosition,o=n.$tooltip.outerWidth(false),u=n.$tooltip.innerWidth()+1,a=n.$tooltip.outerHeight(false);if(n.$elProxy.is("area")){var f=n.$elProxy.attr("shape"),l=n.$elProxy.parent().attr("name"),c=e('img[usemap="#'+l+'"]'),h=c.offset().left,p=c.offset().top,d=n.$elProxy.attr("coords")!==undefined?n.$elProxy.attr("coords").split(","):undefined;if(f=="circle"){var v=parseInt(d[0]),m=parseInt(d[1]),g=parseInt(d[2]);s.dimension.height=g*2;s.dimension.width=g*2;s.offset.top=p+m-g;s.offset.left=h+v-g}else if(f=="rect"){var v=parseInt(d[0]),m=parseInt(d[1]),y=parseInt(d[2]),b=parseInt(d[3]);s.dimension.height=b-m;s.dimension.width=y-v;s.offset.top=p+m;s.offset.left=h+v}else if(f=="poly"){var w=[],E=[],S=0,x=0,T=0,N=0,C="even";for(var k=0;kT){T=L;if(k===0){S=T}}if(LN){N=L;if(k==1){x=N}}if(Li){r=A-(i+n-o);A=i+n-o}}function B(n,r){if(s.offset.top-e(t).scrollTop()-a-_-12<0&&r.indexOf("top")>-1){P=n}if(s.offset.top+s.dimension.height+a+12+_>e(t).scrollTop()+e(t).height()&&r.indexOf("bottom")>-1){P=n;M=s.offset.top-a-_-12}}if(P=="top"){var j=s.offset.left+o-(s.offset.left+s.dimension.width);A=s.offset.left+D-j/2;M=s.offset.top-a-_-12;H();B("bottom","top")}if(P=="top-left"){A=s.offset.left+D;M=s.offset.top-a-_-12;H();B("bottom-left","top-left")}if(P=="top-right"){A=s.offset.left+s.dimension.width+D-o;M=s.offset.top-a-_-12;H();B("bottom-right","top-right")}if(P=="bottom"){var j=s.offset.left+o-(s.offset.left+s.dimension.width);A=s.offset.left-j/2+D;M=s.offset.top+s.dimension.height+_+12;H();B("top","bottom")}if(P=="bottom-left"){A=s.offset.left+D;M=s.offset.top+s.dimension.height+_+12;H();B("top-left","bottom-left")}if(P=="bottom-right"){A=s.offset.left+s.dimension.width+D-o;M=s.offset.top+s.dimension.height+_+12;H();B("top-right","bottom-right")}if(P=="left"){A=s.offset.left-D-o-12;O=s.offset.left+D+s.dimension.width+12;var F=s.offset.top+a-(s.offset.top+s.dimension.height);M=s.offset.top-F/2-_;if(A<0&&O+o>i){var I=parseFloat(n.$tooltip.css("border-width"))*2,q=o+A-I;n.$tooltip.css("width",q+"px");a=n.$tooltip.outerHeight(false);A=s.offset.left-D-q-12-I;F=s.offset.top+a-(s.offset.top+s.dimension.height);M=s.offset.top-F/2-_}else if(A<0){A=s.offset.left+D+s.dimension.width+12;r="left"}}if(P=="right"){A=s.offset.left+D+s.dimension.width+12;O=s.offset.left-D-o-12;var F=s.offset.top+a-(s.offset.top+s.dimension.height);M=s.offset.top-F/2-_;if(A+o>i&&O<0){var I=parseFloat(n.$tooltip.css("border-width"))*2,q=i-A-I;n.$tooltip.css("width",q+"px");a=n.$tooltip.outerHeight(false);F=s.offset.top+a-(s.offset.top+s.dimension.height);M=s.offset.top-F/2-_}else if(A+o>i){A=s.offset.left-D-o-12;r="right"}}if(n.options.arrow){var R="tooltipster-arrow-"+P;if(n.options.arrowColor.length<1){var U=n.$tooltip.css("background-color")}else{var U=n.options.arrowColor}if(!r){r=""}else if(r=="left"){R="tooltipster-arrow-right";r=""}else if(r=="right"){R="tooltipster-arrow-left";r=""}else{r="left:"+Math.round(r)+"px;"}if(P=="top"||P=="top-left"||P=="top-right"){var z=parseFloat(n.$tooltip.css("border-bottom-width")),W=n.$tooltip.css("border-bottom-color")}else if(P=="bottom"||P=="bottom-left"||P=="bottom-right"){var z=parseFloat(n.$tooltip.css("border-top-width")),W=n.$tooltip.css("border-top-color")}else if(P=="left"){var z=parseFloat(n.$tooltip.css("border-right-width")),W=n.$tooltip.css("border-right-color")}else if(P=="right"){var z=parseFloat(n.$tooltip.css("border-left-width")),W=n.$tooltip.css("border-left-color")}else{var z=parseFloat(n.$tooltip.css("border-bottom-width")),W=n.$tooltip.css("border-bottom-color")}if(z>1){z++}var X="";if(z!==0){var V="",J="border-color: "+W+";";if(R.indexOf("bottom")!==-1){V="margin-top: -"+Math.round(z)+"px;"}else if(R.indexOf("top")!==-1){V="margin-bottom: -"+Math.round(z)+"px;"}else if(R.indexOf("left")!==-1){V="margin-right: -"+Math.round(z)+"px;"}else if(R.indexOf("right")!==-1){V="margin-left: -"+Math.round(z)+"px;"}X=''}n.$tooltip.find(".tooltipster-arrow").remove();var K='
    '+X+'
    ';n.$tooltip.append(K)}n.$tooltip.css({top:Math.round(M)+"px",left:Math.round(A)+"px"})}return n},enable:function(){this.enabled=true;return this},disable:function(){this.hide();this.enabled=false;return this},destroy:function(){var t=this;t.hide();if(t.$el[0]!==t.$elProxy[0]){t.$elProxy.remove()}t.$el.removeData(t.namespace).off("."+t.namespace);var n=t.$el.data("tooltipster-ns");if(n.length===1){var r=null;if(t.options.restoration==="previous"){r=t.$el.data("tooltipster-initialTitle")}else if(t.options.restoration==="current"){r=typeof t.Content==="string"?t.Content:e("
    ").append(t.Content).html()}if(r){t.$el.attr("title",r)}t.$el.removeClass("tooltipstered").removeData("tooltipster-ns").removeData("tooltipster-initialTitle")}else{n=e.grep(n,function(e,n){return e!==t.namespace});t.$el.data("tooltipster-ns",n)}return t},elementIcon:function(){return this.$el[0]!==this.$elProxy[0]?this.$elProxy[0]:undefined},elementTooltip:function(){return this.$tooltip?this.$tooltip[0]:undefined},option:function(e,t){if(typeof t=="undefined")return this.options[e];else{this.options[e]=t;return this}},status:function(){return this.Status}};e.fn[r]=function(){var t=arguments;if(this.length===0){if(typeof t[0]==="string"){var n=true;switch(t[0]){case"setDefaults":e.extend(i,t[1]);break;default:n=false;break}if(n)return true;else return this}else{return this}}else{if(typeof t[0]==="string"){var r="#*$~&";this.each(function(){var n=e(this).data("tooltipster-ns"),i=n?e(this).data(n[0]):null;if(i){if(typeof i[t[0]]==="function"){var s=i[t[0]](t[1],t[2])}else{throw new Error('Unknown method .tooltipster("'+t[0]+'")')}if(s!==i){r=s;return false}}else{throw new Error("You called Tooltipster's \""+t[0]+'" method on an uninitialized element')}});return r!=="#*$~&"?r:this}else{var o=[],u=t[0]&&typeof t[0].multiple!=="undefined",a=u&&t[0].multiple||!u&&i.multiple,f=t[0]&&typeof t[0].debug!=="undefined",l=f&&t[0].debug||!f&&i.debug;this.each(function(){var n=false,r=e(this).data("tooltipster-ns"),i=null;if(!r){n=true}else if(a){n=true}else if(l){console.log('Tooltipster: one or more tooltips are already attached to this element: ignoring. Use the "multiple" option to attach more tooltips.')}if(n){i=new s(this,t[0]);if(!r)r=[];r.push(i.namespace);e(this).data("tooltipster-ns",r);e(this).data(i.namespace,i)}o.push(i)});if(a)return o;else return this}}};var u=!!("ontouchstart"in t);var a=false;e("body").one("mousemove",function(){a=true})})(jQuery,window,document); /***/ }), -/***/ "./src/admin/js/libs/select2.min.js": -/*!******************************************!*\ - !*** ./src/admin/js/libs/select2.min.js ***! - \******************************************/ +/***/ 267: /***/ (function() { -eval("/*\nSELECT 2 FORM REPLACEMNT\n*/\n(function(a){a.fn.each2===void 0&&a.fn.extend({each2:function(b){for(var c=a([0]),d=-1,e=this.length;e>++d&&(c.context=c[0]=this[d])&&b.call(c[0],d,c)!==!1;);return this}})})(jQuery),function(a,b){\"use strict\";function k(a,b){for(var c=0,d=b.length;d>c;c+=1)if(l(a,b[c]))return c;return-1}function l(a,c){return a===c?!0:a===b||c===b?!1:null===a||null===c?!1:a.constructor===String?a+\"\"==c+\"\":c.constructor===String?c+\"\"==a+\"\":!1}function m(b,c){var d,e,f;if(null===b||1>b.length)return[];for(d=b.split(c),e=0,f=d.length;f>e;e+=1)d[e]=a.trim(d[e]);return d}function n(a){return a.outerWidth(!1)-a.width()}function o(c){var d=\"keyup-change-value\";c.bind(\"keydown\",function(){a.data(c,d)===b&&a.data(c,d,c.val())}),c.bind(\"keyup\",function(){var e=a.data(c,d);e!==b&&c.val()!==e&&(a.removeData(c,d),c.trigger(\"keyup-change\"))})}function p(c){c.bind(\"mousemove\",function(c){var d=i;(d===b||d.x!==c.pageX||d.y!==c.pageY)&&a(c.target).trigger(\"mousemove-filtered\",c)})}function q(a,c,d){d=d||b;var e;return function(){var b=arguments;window.clearTimeout(e),e=window.setTimeout(function(){c.apply(d,b)},a)}}function r(a){var c,b=!1;return function(){return b===!1&&(c=a(),b=!0),c}}function s(a,b){var c=q(a,function(a){b.trigger(\"scroll-debounced\",a)});b.bind(\"scroll\",function(a){k(a.target,b.get())>=0&&c(a)})}function t(a){a[0]!==document.activeElement&&window.setTimeout(function(){var d,b=a[0],c=a.val().length;a.focus(),a.is(\":visible\")&&b===document.activeElement&&(b.setSelectionRange?b.setSelectionRange(c,c):b.createTextRange&&(d=b.createTextRange(),d.collapse(!1),d.select()))},0)}function u(a){a.preventDefault(),a.stopPropagation()}function v(a){a.preventDefault(),a.stopImmediatePropagation()}function w(b){if(!h){var c=b[0].currentStyle||window.getComputedStyle(b[0],null);h=a(document.createElement(\"div\")).css({position:\"absolute\",left:\"-10000px\",top:\"-10000px\",display:\"none\",fontSize:c.fontSize,fontFamily:c.fontFamily,fontStyle:c.fontStyle,fontWeight:c.fontWeight,letterSpacing:c.letterSpacing,textTransform:c.textTransform,whiteSpace:\"nowrap\"}),h.attr(\"class\",\"select2-sizer\"),a(\"body\").append(h)}return h.text(b.val()),h.width()}function x(b,c,d){var e,g,f=[];e=b.attr(\"class\"),e&&(e=\"\"+e,a(e.split(\" \")).each2(function(){0===this.indexOf(\"select2-\")&&f.push(this)})),e=c.attr(\"class\"),e&&(e=\"\"+e,a(e.split(\" \")).each2(function(){0!==this.indexOf(\"select2-\")&&(g=d(this),g&&f.push(this))})),b.attr(\"class\",f.join(\" \"))}function y(a,c,d,e){var f=a.toUpperCase().indexOf(c.toUpperCase()),g=c.length;return 0>f?(d.push(e(a)),b):(d.push(e(a.substring(0,f))),d.push(\"\"),d.push(e(a.substring(f,f+g))),d.push(\"\"),d.push(e(a.substring(f+g,a.length))),b)}function z(b){var c,d=0,e=null,f=b.quietMillis||100,g=b.url,h=this;return function(i){window.clearTimeout(c),c=window.setTimeout(function(){d+=1;var c=d,f=b.data,j=g,k=b.transport||a.ajax,l=b.type||\"GET\",m={};f=f?f.call(h,i.term,i.page,i.context):null,j=\"function\"==typeof j?j.call(h,i.term,i.page,i.context):j,null!==e&&e.abort(),b.params&&(a.isFunction(b.params)?a.extend(m,b.params.call(h)):a.extend(m,b.params)),a.extend(m,{url:j,dataType:b.dataType,data:f,type:l,cache:!1,success:function(a){if(!(d>c)){var e=b.results(a,i.page);i.callback(e)}}}),e=k.call(h,m)},f)}}function A(c){var e,f,d=c,g=function(a){return\"\"+a.text};a.isArray(d)&&(f=d,d={results:f}),a.isFunction(d)===!1&&(f=d,d=function(){return f});var h=d();return h.text&&(g=h.text,a.isFunction(g)||(e=d.text,g=function(a){return a[e]})),function(c){var h,e=c.term,f={results:[]};return\"\"===e?(c.callback(d()),b):(h=function(b,d){var f,i;if(b=b[0],b.children){f={};for(i in b)b.hasOwnProperty(i)&&(f[i]=b[i]);f.children=[],a(b.children).each2(function(a,b){h(b,f.children)}),(f.children.length||c.matcher(e,g(f),b))&&d.push(f)}else c.matcher(e,g(b),b)&&d.push(b)},a(d().results).each2(function(a,b){h(b,f.results)}),c.callback(f),b)}}function B(c){var d=a.isFunction(c);return function(e){var f=e.term,g={results:[]};a(d?c():c).each(function(){var a=this.text!==b,c=a?this.text:this;(\"\"===f||e.matcher(f,c))&&g.results.push(a?this:{id:this,text:this})}),e.callback(g)}}function C(b){if(a.isFunction(b))return!0;if(!b)return!1;throw Error(\"formatterName must be a function or a falsy value\")}function D(b){return a.isFunction(b)?b():b}function E(b){var c=0;return a.each(b,function(a,b){b.children?c+=E(b.children):c++}),c}function F(a,c,d,e){var h,i,j,k,m,f=a,g=!1;if(!e.createSearchChoice||!e.tokenSeparators||1>e.tokenSeparators.length)return b;for(;;){for(i=-1,j=0,k=e.tokenSeparators.length;k>j&&(m=e.tokenSeparators[j],i=a.indexOf(m),!(i>=0));j++);if(0>i)break;if(h=a.substring(0,i),a=a.substring(i+m.length),h.length>0&&(h=e.createSearchChoice(h,c),h!==b&&null!==h&&e.id(h)!==b&&null!==e.id(h))){for(g=!1,j=0,k=c.length;k>j;j++)if(l(e.id(h),e.id(c[j]))){g=!0;break}g||d(h)}}return f!==a?a:b}function G(b,c){var d=function(){};return d.prototype=new b,d.prototype.constructor=d,d.prototype.parent=b.prototype,d.prototype=a.extend(d.prototype,c),d}if(window.Select2===b){var c,d,e,f,g,h,i,j;c={TAB:9,ENTER:13,ESC:27,SPACE:32,LEFT:37,UP:38,RIGHT:39,DOWN:40,SHIFT:16,CTRL:17,ALT:18,PAGE_UP:33,PAGE_DOWN:34,HOME:36,END:35,BACKSPACE:8,DELETE:46,isArrow:function(a){switch(a=a.which?a.which:a){case c.LEFT:case c.RIGHT:case c.UP:case c.DOWN:return!0}return!1},isControl:function(a){var b=a.which;switch(b){case c.SHIFT:case c.CTRL:case c.ALT:return!0}return a.metaKey?!0:!1},isFunctionKey:function(a){return a=a.which?a.which:a,a>=112&&123>=a}},j=a(document),g=function(){var a=1;return function(){return a++}}(),j.bind(\"mousemove\",function(a){i={x:a.pageX,y:a.pageY}}),d=G(Object,{bind:function(a){var b=this;return function(){a.apply(b,arguments)}},init:function(c){var d,e,f=\".select2-results\";this.opts=c=this.prepareOpts(c),this.id=c.id,c.element.data(\"select2\")!==b&&null!==c.element.data(\"select2\")&&this.destroy(),this.enabled=!0,this.container=this.createContainer(),this.containerId=\"s2id_\"+(c.element.attr(\"id\")||\"autogen\"+g()),this.containerSelector=\"#\"+this.containerId.replace(/([;&,\\.\\+\\*\\~':\"\\!\\^#$%@\\[\\]\\(\\)=>\\|])/g,\"\\\\$1\"),this.container.attr(\"id\",this.containerId),this.body=r(function(){return c.element.closest(\"body\")}),x(this.container,this.opts.element,this.opts.adaptContainerCssClass),this.container.css(D(c.containerCss)),this.container.addClass(D(c.containerCssClass)),this.elementTabIndex=this.opts.element.attr(\"tabIndex\"),this.opts.element.data(\"select2\",this).addClass(\"select2-offscreen\").bind(\"focus.select2\",function(){a(this).select2(\"focus\")}).attr(\"tabIndex\",\"-1\").before(this.container),this.container.data(\"select2\",this),this.dropdown=this.container.find(\".select2-drop\"),this.dropdown.addClass(D(c.dropdownCssClass)),this.dropdown.data(\"select2\",this),this.results=d=this.container.find(f),this.search=e=this.container.find(\"input.select2-input\"),e.attr(\"tabIndex\",this.elementTabIndex),this.resultsPage=0,this.context=null,this.initContainer(),p(this.results),this.dropdown.delegate(f,\"mousemove-filtered touchstart touchmove touchend\",this.bind(this.highlightUnderEvent)),s(80,this.results),this.dropdown.delegate(f,\"scroll-debounced\",this.bind(this.loadMoreIfNeeded)),a.fn.mousewheel&&d.mousewheel(function(a,b,c,e){var f=d.scrollTop();e>0&&0>=f-e?(d.scrollTop(0),u(a)):0>e&&d.get(0).scrollHeight-d.scrollTop()+e<=d.height()&&(d.scrollTop(d.get(0).scrollHeight-d.height()),u(a))}),o(e),e.bind(\"keyup-change input paste\",this.bind(this.updateResults)),e.bind(\"focus\",function(){e.addClass(\"select2-focused\")}),e.bind(\"blur\",function(){e.removeClass(\"select2-focused\")}),this.dropdown.delegate(f,\"mouseup\",this.bind(function(b){a(b.target).closest(\".select2-result-selectable\").length>0&&(this.highlightUnderEvent(b),this.selectHighlighted(b))})),this.dropdown.bind(\"click mouseup mousedown\",function(a){a.stopPropagation()}),a.isFunction(this.opts.initSelection)&&(this.initSelection(),this.monitorSource()),(c.element.is(\":disabled\")||c.element.is(\"[readonly='readonly']\"))&&this.disable()},destroy:function(){var a=this.opts.element.data(\"select2\");this.propertyObserver&&(delete this.propertyObserver,this.propertyObserver=null),a!==b&&(a.container.remove(),a.dropdown.remove(),a.opts.element.removeClass(\"select2-offscreen\").removeData(\"select2\").unbind(\".select2\").attr({tabIndex:this.elementTabIndex}).show())},prepareOpts:function(c){var d,e,f,g;if(d=c.element,\"select\"===d.get(0).tagName.toLowerCase()&&(this.select=e=c.element),e&&a.each([\"id\",\"multiple\",\"ajax\",\"query\",\"createSearchChoice\",\"initSelection\",\"data\",\"tags\"],function(){if(this in c)throw Error(\"Option '\"+this+\"' is not allowed for Select2 when attached to a \",\"\"].join(\"\"));return b},disable:function(){this.enabled&&(this.parent.disable.apply(this,arguments),this.focusser.attr(\"disabled\",\"disabled\"))},enable:function(){this.enabled||(this.parent.enable.apply(this,arguments),this.focusser.removeAttr(\"disabled\"))},opening:function(){this.parent.opening.apply(this,arguments),this.focusser.attr(\"disabled\",\"disabled\"),this.opts.element.trigger(a.Event(\"open\"))},close:function(){this.opened()&&(this.parent.close.apply(this,arguments),this.focusser.removeAttr(\"disabled\"),t(this.focusser))},focus:function(){this.opened()?this.close():(this.focusser.removeAttr(\"disabled\"),this.focusser.focus())},isFocused:function(){return this.container.hasClass(\"select2-container-active\")},cancel:function(){this.parent.cancel.apply(this,arguments),this.focusser.removeAttr(\"disabled\"),this.focusser.focus()},initContainer:function(){var d,e=this.container,f=this.dropdown,h=!1;this.showSearch(this.opts.minimumResultsForSearch>=0),this.selection=d=e.find(\".select2-choice\"),this.focusser=e.find(\".select2-focusser\"),this.focusser.attr(\"id\",\"s2id_autogen\"+g()),a(\"label[for='\"+this.opts.element.attr(\"id\")+\"']\").attr(\"for\",this.focusser.attr(\"id\")),this.search.bind(\"keydown\",this.bind(function(a){if(this.enabled){if(a.which===c.PAGE_UP||a.which===c.PAGE_DOWN)return u(a),b;switch(a.which){case c.UP:case c.DOWN:return this.moveHighlight(a.which===c.UP?-1:1),u(a),b;case c.TAB:case c.ENTER:return this.selectHighlighted(),u(a),b;case c.ESC:return this.cancel(a),u(a),b}}})),this.search.bind(\"blur\",this.bind(function(){document.activeElement===this.body().get(0)&&window.setTimeout(this.bind(function(){this.search.focus()}),0)})),this.focusser.bind(\"keydown\",this.bind(function(a){return!this.enabled||a.which===c.TAB||c.isControl(a)||c.isFunctionKey(a)||a.which===c.ESC?b:this.opts.openOnEnter===!1&&a.which===c.ENTER?(u(a),b):a.which==c.DOWN||a.which==c.UP||a.which==c.ENTER&&this.opts.openOnEnter?(this.open(),u(a),b):a.which==c.DELETE||a.which==c.BACKSPACE?(this.opts.allowClear&&this.clear(),u(a),b):b})),o(this.focusser),this.focusser.bind(\"keyup-change input\",this.bind(function(a){this.opened()||(this.open(),this.showSearchInput!==!1&&this.search.val(this.focusser.val()),this.focusser.val(\"\"),u(a))})),d.delegate(\"abbr\",\"mousedown\",this.bind(function(a){this.enabled&&(this.clear(),v(a),this.close(),this.selection.focus())})),d.bind(\"mousedown\",this.bind(function(a){h=!0,this.opened()?this.close():this.enabled&&this.open(),u(a),h=!1})),f.bind(\"mousedown\",this.bind(function(){this.search.focus()})),d.bind(\"focus\",this.bind(function(a){u(a)})),this.focusser.bind(\"focus\",this.bind(function(){this.container.addClass(\"select2-container-active\")})).bind(\"blur\",this.bind(function(){this.opened()||this.container.removeClass(\"select2-container-active\")})),this.search.bind(\"focus\",this.bind(function(){this.container.addClass(\"select2-container-active\")})),this.initContainerWidth(),this.setPlaceholder()},clear:function(a){var b=this.selection.data(\"select2-data\");b&&(this.opts.element.val(\"\"),this.selection.find(\"span\").empty(),this.selection.removeData(\"select2-data\"),this.setPlaceholder(),a!==!1&&(this.opts.element.trigger({type:\"removed\",val:this.id(b),choice:b}),this.triggerChange({removed:b})))},initSelection:function(){if(\"\"===this.opts.element.val()&&\"\"===this.opts.element.text())this.close(),this.setPlaceholder();else{var c=this;this.opts.initSelection.call(null,this.opts.element,function(a){a!==b&&null!==a&&(c.updateSelection(a),c.close(),c.setPlaceholder())})}},prepareOpts:function(){var b=this.parent.prepareOpts.apply(this,arguments);return\"select\"===b.element.get(0).tagName.toLowerCase()?b.initSelection=function(b,c){var d=b.find(\":selected\");a.isFunction(c)&&c({id:d.attr(\"value\"),text:d.text(),element:d})}:\"data\"in b&&(b.initSelection=b.initSelection||function(c,d){var e=c.val(),f=null;b.query({matcher:function(a,c,d){var g=l(e,b.id(d));return g&&(f=d),g},callback:a.isFunction(d)?function(){d(f)}:a.noop})}),b},getPlaceholder:function(){return this.select&&\"\"!==this.select.find(\"option\").first().text()?b:this.parent.getPlaceholder.apply(this,arguments)},setPlaceholder:function(){var a=this.getPlaceholder();if(\"\"===this.opts.element.val()&&a!==b){if(this.select&&\"\"!==this.select.find(\"option:first\").text())return;this.selection.find(\"span\").html(this.opts.escapeMarkup(a)),this.selection.addClass(\"select2-default\"),this.selection.find(\"abbr\").hide()}},postprocessResults:function(a,c,d){var e=0,f=this,g=!0;if(this.findHighlightableChoices().each2(function(a,c){return l(f.id(c.data(\"select2-data\")),f.opts.element.val())?(e=a,!1):b}),d!==!1&&this.highlight(e),c===!0){var h=this.opts.minimumResultsForSearch;g=0>h?!1:E(a.results)>=h,this.showSearch(g)}},showSearch:function(b){this.showSearchInput=b,this.dropdown.find(\".select2-search\")[b?\"removeClass\":\"addClass\"](\"select2-search-hidden\"),a(this.dropdown,this.container)[b?\"addClass\":\"removeClass\"](\"select2-with-searchbox\")},onSelect:function(a,b){var c=this.opts.element.val();this.opts.element.val(this.id(a)),this.updateSelection(a),this.opts.element.trigger({type:\"selected\",val:this.id(a),choice:a}),this.close(),b&&b.noFocus||this.selection.focus(),l(c,this.id(a))||this.triggerChange()},updateSelection:function(a){var d,c=this.selection.find(\"span\");this.selection.data(\"select2-data\",a),c.empty(),d=this.opts.formatSelection(a,c),d!==b&&c.append(this.opts.escapeMarkup(d)),this.selection.removeClass(\"select2-default\"),this.opts.allowClear&&this.getPlaceholder()!==b&&this.selection.find(\"abbr\").show()},val:function(){var a,c=!1,d=null,e=this;if(0===arguments.length)return this.opts.element.val();if(a=arguments[0],arguments.length>1&&(c=arguments[1]),this.select)this.select.val(a).find(\":selected\").each2(function(a,b){return d={id:b.attr(\"value\"),text:b.text(),element:b.get(0)},!1}),this.updateSelection(d),this.setPlaceholder(),c&&this.triggerChange();else{if(this.opts.initSelection===b)throw Error(\"cannot call val() if initSelection() is not defined\");if(!a&&0!==a)return this.clear(c),c&&this.triggerChange(),b;this.opts.element.val(a),this.opts.initSelection(this.opts.element,function(a){e.opts.element.val(a?e.id(a):\"\"),e.updateSelection(a),e.setPlaceholder(),c&&e.triggerChange()})}},clearSearch:function(){this.search.val(\"\"),this.focusser.val(\"\")},data:function(a){var c;return 0===arguments.length?(c=this.selection.data(\"select2-data\"),c==b&&(c=null),c):(a&&\"\"!==a?(this.opts.element.val(a?this.id(a):\"\"),this.updateSelection(a)):this.clear(),b)}}),f=G(d,{createContainer:function(){var b=a(document.createElement(\"div\")).attr({\"class\":\"select2-container select2-container-multi\"}).html([\"
      \",\"
    • \",\" \",\"
    • \",\"
    \",\"\"].join(\"\"));return b},prepareOpts:function(){var b=this.parent.prepareOpts.apply(this,arguments);return\"select\"===b.element.get(0).tagName.toLowerCase()?b.initSelection=function(a,b){var c=[];a.find(\":selected\").each2(function(a,b){c.push({id:b.attr(\"value\"),text:b.text(),element:b[0]})}),b(c)}:\"data\"in b&&(b.initSelection=b.initSelection||function(c,d){var e=m(c.val(),b.separator),f=[];b.query({matcher:function(c,d,g){var h=a.grep(e,function(a){return l(a,b.id(g))}).length;return h&&f.push(g),h},callback:a.isFunction(d)?function(){d(f)}:a.noop})}),b},initContainer:function(){var e,d=\".select2-choices\";this.searchContainer=this.container.find(\".select2-search-field\"),this.selection=e=this.container.find(d),this.search.attr(\"id\",\"s2id_autogen\"+g()),a(\"label[for='\"+this.opts.element.attr(\"id\")+\"']\").attr(\"for\",this.search.attr(\"id\")),this.search.bind(\"input paste\",this.bind(function(){this.enabled&&(this.opened()||this.open())})),this.search.bind(\"keydown\",this.bind(function(a){if(this.enabled){if(a.which===c.BACKSPACE&&\"\"===this.search.val()){this.close();var d,f=e.find(\".select2-search-choice-focus\");if(f.length>0)return this.unselect(f.first()),this.search.width(10),u(a),b;d=e.find(\".select2-search-choice:not(.select2-locked)\"),d.length>0&&d.last().addClass(\"select2-search-choice-focus\")}else e.find(\".select2-search-choice-focus\").removeClass(\"select2-search-choice-focus\");if(this.opened())switch(a.which){case c.UP:case c.DOWN:return this.moveHighlight(a.which===c.UP?-1:1),u(a),b;case c.ENTER:case c.TAB:return this.selectHighlighted(),u(a),b;case c.ESC:return this.cancel(a),u(a),b}if(a.which!==c.TAB&&!c.isControl(a)&&!c.isFunctionKey(a)&&a.which!==c.BACKSPACE&&a.which!==c.ESC){if(a.which===c.ENTER){if(this.opts.openOnEnter===!1)return;if(a.altKey||a.ctrlKey||a.shiftKey||a.metaKey)return}this.open(),(a.which===c.PAGE_UP||a.which===c.PAGE_DOWN)&&u(a),a.which===c.ENTER&&u(a)}}})),this.search.bind(\"keyup\",this.bind(this.resizeSearch)),this.search.bind(\"blur\",this.bind(function(a){this.container.removeClass(\"select2-container-active\"),this.search.removeClass(\"select2-focused\"),this.opened()||this.clearSearch(),a.stopImmediatePropagation()})),this.container.delegate(d,\"mousedown\",this.bind(function(b){this.enabled&&(a(b.target).closest(\".select2-search-choice\").length>0||(this.clearPlaceholder(),this.open(),this.focusSearch(),b.preventDefault()))\n})),this.container.delegate(d,\"focus\",this.bind(function(){this.enabled&&(this.container.addClass(\"select2-container-active\"),this.dropdown.addClass(\"select2-drop-active\"),this.clearPlaceholder())})),this.initContainerWidth(),this.clearSearch()},enable:function(){this.enabled||(this.parent.enable.apply(this,arguments),this.search.removeAttr(\"disabled\"))},disable:function(){this.enabled&&(this.parent.disable.apply(this,arguments),this.search.attr(\"disabled\",!0))},initSelection:function(){if(\"\"===this.opts.element.val()&&\"\"===this.opts.element.text()&&(this.updateSelection([]),this.close(),this.clearSearch()),this.select||\"\"!==this.opts.element.val()){var c=this;this.opts.initSelection.call(null,this.opts.element,function(a){a!==b&&null!==a&&(c.updateSelection(a),c.close(),c.clearSearch())})}},clearSearch:function(){var a=this.getPlaceholder();a!==b&&0===this.getVal().length&&this.search.hasClass(\"select2-focused\")===!1?(this.search.val(a).addClass(\"select2-default\"),this.search.width(this.getMaxSearchWidth())):this.search.val(\"\").width(10)},clearPlaceholder:function(){this.search.hasClass(\"select2-default\")&&this.search.val(\"\").removeClass(\"select2-default\")},opening:function(){this.clearPlaceholder(),this.resizeSearch(),this.parent.opening.apply(this,arguments),this.focusSearch(),this.opts.element.trigger(a.Event(\"open\"))},close:function(){this.opened()&&this.parent.close.apply(this,arguments)},focus:function(){this.close(),this.search.focus()},isFocused:function(){return this.search.hasClass(\"select2-focused\")},updateSelection:function(b){var c=[],d=[],e=this;a(b).each(function(){0>k(e.id(this),c)&&(c.push(e.id(this)),d.push(this))}),b=d,this.selection.find(\".select2-search-choice\").remove(),a(b).each(function(){e.addSelectedChoice(this)}),e.postprocessResults()},tokenize:function(){var a=this.search.val();a=this.opts.tokenizer(a,this.data(),this.bind(this.onSelect),this.opts),null!=a&&a!=b&&(this.search.val(a),a.length>0&&this.open())},onSelect:function(a,b){this.addSelectedChoice(a),this.opts.element.trigger({type:\"selected\",val:this.id(a),choice:a}),(this.select||!this.opts.closeOnSelect)&&this.postprocessResults(),this.opts.closeOnSelect?(this.close(),this.search.width(10)):this.countSelectableResults()>0?(this.search.width(10),this.resizeSearch(),this.getMaximumSelectionSize()>0&&this.val().length>=this.getMaximumSelectionSize()&&this.updateResults(!0),this.positionDropdown()):(this.close(),this.search.width(10)),this.triggerChange({added:a}),b&&b.noFocus||this.focusSearch()},cancel:function(){this.close(),this.focusSearch()},addSelectedChoice:function(c){var j,d=!c.locked,e=a(\"
  • \"),f=a(\"
  • \"),g=d?e:f,h=this.id(c),i=this.getVal();j=this.opts.formatSelection(c,g.find(\"div\")),j!=b&&g.find(\"div\").replaceWith(\"
    \"+this.opts.escapeMarkup(j)+\"
    \"),d&&g.find(\".select2-search-choice-close\").bind(\"mousedown\",u).bind(\"click dblclick\",this.bind(function(b){this.enabled&&(a(b.target).closest(\".select2-search-choice\").fadeOut(\"fast\",this.bind(function(){this.unselect(a(b.target)),this.selection.find(\".select2-search-choice-focus\").removeClass(\"select2-search-choice-focus\"),this.close(),this.focusSearch()})).dequeue(),u(b))})).bind(\"focus\",this.bind(function(){this.enabled&&(this.container.addClass(\"select2-container-active\"),this.dropdown.addClass(\"select2-drop-active\"))})),g.data(\"select2-data\",c),g.insertBefore(this.searchContainer),i.push(h),this.setVal(i)},unselect:function(a){var c,d,b=this.getVal();if(a=a.closest(\".select2-search-choice\"),0===a.length)throw\"Invalid argument: \"+a+\". Must be .select2-search-choice\";c=a.data(\"select2-data\"),c&&(d=k(this.id(c),b),d>=0&&(b.splice(d,1),this.setVal(b),this.select&&this.postprocessResults()),a.remove(),this.opts.element.trigger({type:\"removed\",val:this.id(c),choice:c}),this.triggerChange({removed:c}))},postprocessResults:function(){var a=this.getVal(),b=this.results.find(\".select2-result\"),c=this.results.find(\".select2-result-with-children\"),d=this;b.each2(function(b,c){var e=d.id(c.data(\"select2-data\"));k(e,a)>=0&&(c.addClass(\"select2-selected\"),c.find(\".select2-result-selectable\").addClass(\"select2-selected\"))}),c.each2(function(a,b){b.is(\".select2-result-selectable\")||0!==b.find(\".select2-result-selectable:not(.select2-selected)\").length||b.addClass(\"select2-selected\")}),-1==this.highlight()&&d.highlight(0)},getMaxSearchWidth:function(){return this.selection.width()-n(this.search)},resizeSearch:function(){var a,b,c,d,e,f=n(this.search);a=w(this.search)+10,b=this.search.offset().left,c=this.selection.width(),d=this.selection.offset().left,e=c-(b-d)-f,a>e&&(e=c-f),40>e&&(e=c-f),0>=e&&(e=a),this.search.width(e)},getVal:function(){var a;return this.select?(a=this.select.val(),null===a?[]:a):(a=this.opts.element.val(),m(a,this.opts.separator))},setVal:function(b){var c;this.select?this.select.val(b):(c=[],a(b).each(function(){0>k(this,c)&&c.push(this)}),this.opts.element.val(0===c.length?\"\":c.join(this.opts.separator)))},val:function(){var c,d=!1,f=this;if(0===arguments.length)return this.getVal();if(c=arguments[0],arguments.length>1&&(d=arguments[1]),!c&&0!==c)return this.opts.element.val(\"\"),this.updateSelection([]),this.clearSearch(),d&&this.triggerChange(),b;if(this.setVal(c),this.select)this.opts.initSelection(this.select,this.bind(this.updateSelection)),d&&this.triggerChange();else{if(this.opts.initSelection===b)throw Error(\"val() cannot be called if initSelection() is not defined\");this.opts.initSelection(this.opts.element,function(b){var c=a(b).map(f.id);f.setVal(c),f.updateSelection(b),f.clearSearch(),d&&f.triggerChange()})}this.clearSearch()},onSortStart:function(){if(this.select)throw Error(\"Sorting of elements is not supported when attached to instead.\");this.search.width(0),this.searchContainer.hide()},onSortEnd:function(){var b=[],c=this;this.searchContainer.show(),this.searchContainer.appendTo(this.searchContainer.parent()),this.resizeSearch(),this.selection.find(\".select2-search-choice\").each(function(){b.push(c.opts.id(a(this).data(\"select2-data\")))}),this.setVal(b),this.triggerChange()},data:function(c){var e,d=this;return 0===arguments.length?this.selection.find(\".select2-search-choice\").map(function(){return a(this).data(\"select2-data\")}).get():(c||(c=[]),e=a.map(c,function(a){return d.opts.id(a)}),this.setVal(e),this.updateSelection(c),this.clearSearch(),b)}}),a.fn.select2=function(){var d,g,h,i,c=Array.prototype.slice.call(arguments,0),j=[\"val\",\"destroy\",\"opened\",\"open\",\"close\",\"focus\",\"isFocused\",\"container\",\"onSortStart\",\"onSortEnd\",\"enable\",\"disable\",\"positionDropdown\",\"data\"];return this.each(function(){if(0===c.length||\"object\"==typeof c[0])d=0===c.length?{}:a.extend({},c[0]),d.element=a(this),\"select\"===d.element.get(0).tagName.toLowerCase()?i=d.element.attr(\"multiple\"):(i=d.multiple||!1,\"tags\"in d&&(d.multiple=i=!0)),g=i?new f:new e,g.init(d);else{if(\"string\"!=typeof c[0])throw\"Invalid arguments to select2 plugin: \"+c;if(0>k(c[0],j))throw\"Unknown method: \"+c[0];if(h=b,g=a(this).data(\"select2\"),g===b)return;if(h=\"container\"===c[0]?g.container:g[c[0]].apply(g,c.slice(1)),h!==b)return!1}}),h===b?this:h},a.fn.select2.defaults={width:\"copy\",loadMorePadding:0,closeOnSelect:!0,openOnEnter:!0,containerCss:{},dropdownCss:{},containerCssClass:\"\",dropdownCssClass:\"\",formatResult:function(a,b,c,d){var e=[];return y(a.text,c.term,e,d),e.join(\"\")},formatSelection:function(a){return a?a.text:b},sortResults:function(a){return a},formatResultCssClass:function(){return b},formatNoMatches:function(){return\"No matches found\"},formatInputTooShort:function(a,b){var c=b-a.length;return\"Please enter \"+c+\" more character\"+(1==c?\"\":\"s\")},formatInputTooLong:function(a,b){var c=a.length-b;return\"Please delete \"+c+\" character\"+(1==c?\"\":\"s\")},formatSelectionTooBig:function(a){return\"You can only select \"+a+\" item\"+(1==a?\"\":\"s\")},formatLoadMore:function(){return\"Loading more results...\"},formatSearching:function(){return\"Searching...\"},minimumResultsForSearch:0,minimumInputLength:0,maximumInputLength:null,maximumSelectionSize:0,id:function(a){return a.id},matcher:function(a,b){return(\"\"+b).toUpperCase().indexOf((\"\"+a).toUpperCase())>=0},separator:\",\",tokenSeparators:[],tokenizer:F,escapeMarkup:function(a){var b={\"\\\\\":\"\\",\"&\":\"&\",\"<\":\"<\",\">\":\">\",'\"':\""\",\"'\":\"'\",\"/\":\"/\"};return(a+\"\").replace(/[&<>\"'\\/\\\\]/g,function(a){return b[a[0]]})},blurOnChange:!1,selectOnBlur:!1,adaptContainerCssClass:function(a){return a},adaptDropdownCssClass:function(){return null}},window.Select2={query:{ajax:z,local:A,tags:B},util:{debounce:q,markMatch:y},\"class\":{\"abstract\":d,single:e,multi:f}}}}(jQuery);\n\n//# sourceURL=webpack://ajaxloadmore/./src/admin/js/libs/select2.min.js?"); +/* +SELECT 2 FORM REPLACEMNT +*/ +(function(a){a.fn.each2===void 0&&a.fn.extend({each2:function(b){for(var c=a([0]),d=-1,e=this.length;e>++d&&(c.context=c[0]=this[d])&&b.call(c[0],d,c)!==!1;);return this}})})(jQuery),function(a,b){"use strict";function k(a,b){for(var c=0,d=b.length;d>c;c+=1)if(l(a,b[c]))return c;return-1}function l(a,c){return a===c?!0:a===b||c===b?!1:null===a||null===c?!1:a.constructor===String?a+""==c+"":c.constructor===String?c+""==a+"":!1}function m(b,c){var d,e,f;if(null===b||1>b.length)return[];for(d=b.split(c),e=0,f=d.length;f>e;e+=1)d[e]=a.trim(d[e]);return d}function n(a){return a.outerWidth(!1)-a.width()}function o(c){var d="keyup-change-value";c.bind("keydown",function(){a.data(c,d)===b&&a.data(c,d,c.val())}),c.bind("keyup",function(){var e=a.data(c,d);e!==b&&c.val()!==e&&(a.removeData(c,d),c.trigger("keyup-change"))})}function p(c){c.bind("mousemove",function(c){var d=i;(d===b||d.x!==c.pageX||d.y!==c.pageY)&&a(c.target).trigger("mousemove-filtered",c)})}function q(a,c,d){d=d||b;var e;return function(){var b=arguments;window.clearTimeout(e),e=window.setTimeout(function(){c.apply(d,b)},a)}}function r(a){var c,b=!1;return function(){return b===!1&&(c=a(),b=!0),c}}function s(a,b){var c=q(a,function(a){b.trigger("scroll-debounced",a)});b.bind("scroll",function(a){k(a.target,b.get())>=0&&c(a)})}function t(a){a[0]!==document.activeElement&&window.setTimeout(function(){var d,b=a[0],c=a.val().length;a.focus(),a.is(":visible")&&b===document.activeElement&&(b.setSelectionRange?b.setSelectionRange(c,c):b.createTextRange&&(d=b.createTextRange(),d.collapse(!1),d.select()))},0)}function u(a){a.preventDefault(),a.stopPropagation()}function v(a){a.preventDefault(),a.stopImmediatePropagation()}function w(b){if(!h){var c=b[0].currentStyle||window.getComputedStyle(b[0],null);h=a(document.createElement("div")).css({position:"absolute",left:"-10000px",top:"-10000px",display:"none",fontSize:c.fontSize,fontFamily:c.fontFamily,fontStyle:c.fontStyle,fontWeight:c.fontWeight,letterSpacing:c.letterSpacing,textTransform:c.textTransform,whiteSpace:"nowrap"}),h.attr("class","select2-sizer"),a("body").append(h)}return h.text(b.val()),h.width()}function x(b,c,d){var e,g,f=[];e=b.attr("class"),e&&(e=""+e,a(e.split(" ")).each2(function(){0===this.indexOf("select2-")&&f.push(this)})),e=c.attr("class"),e&&(e=""+e,a(e.split(" ")).each2(function(){0!==this.indexOf("select2-")&&(g=d(this),g&&f.push(this))})),b.attr("class",f.join(" "))}function y(a,c,d,e){var f=a.toUpperCase().indexOf(c.toUpperCase()),g=c.length;return 0>f?(d.push(e(a)),b):(d.push(e(a.substring(0,f))),d.push(""),d.push(e(a.substring(f,f+g))),d.push(""),d.push(e(a.substring(f+g,a.length))),b)}function z(b){var c,d=0,e=null,f=b.quietMillis||100,g=b.url,h=this;return function(i){window.clearTimeout(c),c=window.setTimeout(function(){d+=1;var c=d,f=b.data,j=g,k=b.transport||a.ajax,l=b.type||"GET",m={};f=f?f.call(h,i.term,i.page,i.context):null,j="function"==typeof j?j.call(h,i.term,i.page,i.context):j,null!==e&&e.abort(),b.params&&(a.isFunction(b.params)?a.extend(m,b.params.call(h)):a.extend(m,b.params)),a.extend(m,{url:j,dataType:b.dataType,data:f,type:l,cache:!1,success:function(a){if(!(d>c)){var e=b.results(a,i.page);i.callback(e)}}}),e=k.call(h,m)},f)}}function A(c){var e,f,d=c,g=function(a){return""+a.text};a.isArray(d)&&(f=d,d={results:f}),a.isFunction(d)===!1&&(f=d,d=function(){return f});var h=d();return h.text&&(g=h.text,a.isFunction(g)||(e=d.text,g=function(a){return a[e]})),function(c){var h,e=c.term,f={results:[]};return""===e?(c.callback(d()),b):(h=function(b,d){var f,i;if(b=b[0],b.children){f={};for(i in b)b.hasOwnProperty(i)&&(f[i]=b[i]);f.children=[],a(b.children).each2(function(a,b){h(b,f.children)}),(f.children.length||c.matcher(e,g(f),b))&&d.push(f)}else c.matcher(e,g(b),b)&&d.push(b)},a(d().results).each2(function(a,b){h(b,f.results)}),c.callback(f),b)}}function B(c){var d=a.isFunction(c);return function(e){var f=e.term,g={results:[]};a(d?c():c).each(function(){var a=this.text!==b,c=a?this.text:this;(""===f||e.matcher(f,c))&&g.results.push(a?this:{id:this,text:this})}),e.callback(g)}}function C(b){if(a.isFunction(b))return!0;if(!b)return!1;throw Error("formatterName must be a function or a falsy value")}function D(b){return a.isFunction(b)?b():b}function E(b){var c=0;return a.each(b,function(a,b){b.children?c+=E(b.children):c++}),c}function F(a,c,d,e){var h,i,j,k,m,f=a,g=!1;if(!e.createSearchChoice||!e.tokenSeparators||1>e.tokenSeparators.length)return b;for(;;){for(i=-1,j=0,k=e.tokenSeparators.length;k>j&&(m=e.tokenSeparators[j],i=a.indexOf(m),!(i>=0));j++);if(0>i)break;if(h=a.substring(0,i),a=a.substring(i+m.length),h.length>0&&(h=e.createSearchChoice(h,c),h!==b&&null!==h&&e.id(h)!==b&&null!==e.id(h))){for(g=!1,j=0,k=c.length;k>j;j++)if(l(e.id(h),e.id(c[j]))){g=!0;break}g||d(h)}}return f!==a?a:b}function G(b,c){var d=function(){};return d.prototype=new b,d.prototype.constructor=d,d.prototype.parent=b.prototype,d.prototype=a.extend(d.prototype,c),d}if(window.Select2===b){var c,d,e,f,g,h,i,j;c={TAB:9,ENTER:13,ESC:27,SPACE:32,LEFT:37,UP:38,RIGHT:39,DOWN:40,SHIFT:16,CTRL:17,ALT:18,PAGE_UP:33,PAGE_DOWN:34,HOME:36,END:35,BACKSPACE:8,DELETE:46,isArrow:function(a){switch(a=a.which?a.which:a){case c.LEFT:case c.RIGHT:case c.UP:case c.DOWN:return!0}return!1},isControl:function(a){var b=a.which;switch(b){case c.SHIFT:case c.CTRL:case c.ALT:return!0}return a.metaKey?!0:!1},isFunctionKey:function(a){return a=a.which?a.which:a,a>=112&&123>=a}},j=a(document),g=function(){var a=1;return function(){return a++}}(),j.bind("mousemove",function(a){i={x:a.pageX,y:a.pageY}}),d=G(Object,{bind:function(a){var b=this;return function(){a.apply(b,arguments)}},init:function(c){var d,e,f=".select2-results";this.opts=c=this.prepareOpts(c),this.id=c.id,c.element.data("select2")!==b&&null!==c.element.data("select2")&&this.destroy(),this.enabled=!0,this.container=this.createContainer(),this.containerId="s2id_"+(c.element.attr("id")||"autogen"+g()),this.containerSelector="#"+this.containerId.replace(/([;&,\.\+\*\~':"\!\^#$%@\[\]\(\)=>\|])/g,"\\$1"),this.container.attr("id",this.containerId),this.body=r(function(){return c.element.closest("body")}),x(this.container,this.opts.element,this.opts.adaptContainerCssClass),this.container.css(D(c.containerCss)),this.container.addClass(D(c.containerCssClass)),this.elementTabIndex=this.opts.element.attr("tabIndex"),this.opts.element.data("select2",this).addClass("select2-offscreen").bind("focus.select2",function(){a(this).select2("focus")}).attr("tabIndex","-1").before(this.container),this.container.data("select2",this),this.dropdown=this.container.find(".select2-drop"),this.dropdown.addClass(D(c.dropdownCssClass)),this.dropdown.data("select2",this),this.results=d=this.container.find(f),this.search=e=this.container.find("input.select2-input"),e.attr("tabIndex",this.elementTabIndex),this.resultsPage=0,this.context=null,this.initContainer(),p(this.results),this.dropdown.delegate(f,"mousemove-filtered touchstart touchmove touchend",this.bind(this.highlightUnderEvent)),s(80,this.results),this.dropdown.delegate(f,"scroll-debounced",this.bind(this.loadMoreIfNeeded)),a.fn.mousewheel&&d.mousewheel(function(a,b,c,e){var f=d.scrollTop();e>0&&0>=f-e?(d.scrollTop(0),u(a)):0>e&&d.get(0).scrollHeight-d.scrollTop()+e<=d.height()&&(d.scrollTop(d.get(0).scrollHeight-d.height()),u(a))}),o(e),e.bind("keyup-change input paste",this.bind(this.updateResults)),e.bind("focus",function(){e.addClass("select2-focused")}),e.bind("blur",function(){e.removeClass("select2-focused")}),this.dropdown.delegate(f,"mouseup",this.bind(function(b){a(b.target).closest(".select2-result-selectable").length>0&&(this.highlightUnderEvent(b),this.selectHighlighted(b))})),this.dropdown.bind("click mouseup mousedown",function(a){a.stopPropagation()}),a.isFunction(this.opts.initSelection)&&(this.initSelection(),this.monitorSource()),(c.element.is(":disabled")||c.element.is("[readonly='readonly']"))&&this.disable()},destroy:function(){var a=this.opts.element.data("select2");this.propertyObserver&&(delete this.propertyObserver,this.propertyObserver=null),a!==b&&(a.container.remove(),a.dropdown.remove(),a.opts.element.removeClass("select2-offscreen").removeData("select2").unbind(".select2").attr({tabIndex:this.elementTabIndex}).show())},prepareOpts:function(c){var d,e,f,g;if(d=c.element,"select"===d.get(0).tagName.toLowerCase()&&(this.select=e=c.element),e&&a.each(["id","multiple","ajax","query","createSearchChoice","initSelection","data","tags"],function(){if(this in c)throw Error("Option '"+this+"' is not allowed for Select2 when attached to a ",""].join(""));return b},disable:function(){this.enabled&&(this.parent.disable.apply(this,arguments),this.focusser.attr("disabled","disabled"))},enable:function(){this.enabled||(this.parent.enable.apply(this,arguments),this.focusser.removeAttr("disabled"))},opening:function(){this.parent.opening.apply(this,arguments),this.focusser.attr("disabled","disabled"),this.opts.element.trigger(a.Event("open"))},close:function(){this.opened()&&(this.parent.close.apply(this,arguments),this.focusser.removeAttr("disabled"),t(this.focusser))},focus:function(){this.opened()?this.close():(this.focusser.removeAttr("disabled"),this.focusser.focus())},isFocused:function(){return this.container.hasClass("select2-container-active")},cancel:function(){this.parent.cancel.apply(this,arguments),this.focusser.removeAttr("disabled"),this.focusser.focus()},initContainer:function(){var d,e=this.container,f=this.dropdown,h=!1;this.showSearch(this.opts.minimumResultsForSearch>=0),this.selection=d=e.find(".select2-choice"),this.focusser=e.find(".select2-focusser"),this.focusser.attr("id","s2id_autogen"+g()),a("label[for='"+this.opts.element.attr("id")+"']").attr("for",this.focusser.attr("id")),this.search.bind("keydown",this.bind(function(a){if(this.enabled){if(a.which===c.PAGE_UP||a.which===c.PAGE_DOWN)return u(a),b;switch(a.which){case c.UP:case c.DOWN:return this.moveHighlight(a.which===c.UP?-1:1),u(a),b;case c.TAB:case c.ENTER:return this.selectHighlighted(),u(a),b;case c.ESC:return this.cancel(a),u(a),b}}})),this.search.bind("blur",this.bind(function(){document.activeElement===this.body().get(0)&&window.setTimeout(this.bind(function(){this.search.focus()}),0)})),this.focusser.bind("keydown",this.bind(function(a){return!this.enabled||a.which===c.TAB||c.isControl(a)||c.isFunctionKey(a)||a.which===c.ESC?b:this.opts.openOnEnter===!1&&a.which===c.ENTER?(u(a),b):a.which==c.DOWN||a.which==c.UP||a.which==c.ENTER&&this.opts.openOnEnter?(this.open(),u(a),b):a.which==c.DELETE||a.which==c.BACKSPACE?(this.opts.allowClear&&this.clear(),u(a),b):b})),o(this.focusser),this.focusser.bind("keyup-change input",this.bind(function(a){this.opened()||(this.open(),this.showSearchInput!==!1&&this.search.val(this.focusser.val()),this.focusser.val(""),u(a))})),d.delegate("abbr","mousedown",this.bind(function(a){this.enabled&&(this.clear(),v(a),this.close(),this.selection.focus())})),d.bind("mousedown",this.bind(function(a){h=!0,this.opened()?this.close():this.enabled&&this.open(),u(a),h=!1})),f.bind("mousedown",this.bind(function(){this.search.focus()})),d.bind("focus",this.bind(function(a){u(a)})),this.focusser.bind("focus",this.bind(function(){this.container.addClass("select2-container-active")})).bind("blur",this.bind(function(){this.opened()||this.container.removeClass("select2-container-active")})),this.search.bind("focus",this.bind(function(){this.container.addClass("select2-container-active")})),this.initContainerWidth(),this.setPlaceholder()},clear:function(a){var b=this.selection.data("select2-data");b&&(this.opts.element.val(""),this.selection.find("span").empty(),this.selection.removeData("select2-data"),this.setPlaceholder(),a!==!1&&(this.opts.element.trigger({type:"removed",val:this.id(b),choice:b}),this.triggerChange({removed:b})))},initSelection:function(){if(""===this.opts.element.val()&&""===this.opts.element.text())this.close(),this.setPlaceholder();else{var c=this;this.opts.initSelection.call(null,this.opts.element,function(a){a!==b&&null!==a&&(c.updateSelection(a),c.close(),c.setPlaceholder())})}},prepareOpts:function(){var b=this.parent.prepareOpts.apply(this,arguments);return"select"===b.element.get(0).tagName.toLowerCase()?b.initSelection=function(b,c){var d=b.find(":selected");a.isFunction(c)&&c({id:d.attr("value"),text:d.text(),element:d})}:"data"in b&&(b.initSelection=b.initSelection||function(c,d){var e=c.val(),f=null;b.query({matcher:function(a,c,d){var g=l(e,b.id(d));return g&&(f=d),g},callback:a.isFunction(d)?function(){d(f)}:a.noop})}),b},getPlaceholder:function(){return this.select&&""!==this.select.find("option").first().text()?b:this.parent.getPlaceholder.apply(this,arguments)},setPlaceholder:function(){var a=this.getPlaceholder();if(""===this.opts.element.val()&&a!==b){if(this.select&&""!==this.select.find("option:first").text())return;this.selection.find("span").html(this.opts.escapeMarkup(a)),this.selection.addClass("select2-default"),this.selection.find("abbr").hide()}},postprocessResults:function(a,c,d){var e=0,f=this,g=!0;if(this.findHighlightableChoices().each2(function(a,c){return l(f.id(c.data("select2-data")),f.opts.element.val())?(e=a,!1):b}),d!==!1&&this.highlight(e),c===!0){var h=this.opts.minimumResultsForSearch;g=0>h?!1:E(a.results)>=h,this.showSearch(g)}},showSearch:function(b){this.showSearchInput=b,this.dropdown.find(".select2-search")[b?"removeClass":"addClass"]("select2-search-hidden"),a(this.dropdown,this.container)[b?"addClass":"removeClass"]("select2-with-searchbox")},onSelect:function(a,b){var c=this.opts.element.val();this.opts.element.val(this.id(a)),this.updateSelection(a),this.opts.element.trigger({type:"selected",val:this.id(a),choice:a}),this.close(),b&&b.noFocus||this.selection.focus(),l(c,this.id(a))||this.triggerChange()},updateSelection:function(a){var d,c=this.selection.find("span");this.selection.data("select2-data",a),c.empty(),d=this.opts.formatSelection(a,c),d!==b&&c.append(this.opts.escapeMarkup(d)),this.selection.removeClass("select2-default"),this.opts.allowClear&&this.getPlaceholder()!==b&&this.selection.find("abbr").show()},val:function(){var a,c=!1,d=null,e=this;if(0===arguments.length)return this.opts.element.val();if(a=arguments[0],arguments.length>1&&(c=arguments[1]),this.select)this.select.val(a).find(":selected").each2(function(a,b){return d={id:b.attr("value"),text:b.text(),element:b.get(0)},!1}),this.updateSelection(d),this.setPlaceholder(),c&&this.triggerChange();else{if(this.opts.initSelection===b)throw Error("cannot call val() if initSelection() is not defined");if(!a&&0!==a)return this.clear(c),c&&this.triggerChange(),b;this.opts.element.val(a),this.opts.initSelection(this.opts.element,function(a){e.opts.element.val(a?e.id(a):""),e.updateSelection(a),e.setPlaceholder(),c&&e.triggerChange()})}},clearSearch:function(){this.search.val(""),this.focusser.val("")},data:function(a){var c;return 0===arguments.length?(c=this.selection.data("select2-data"),c==b&&(c=null),c):(a&&""!==a?(this.opts.element.val(a?this.id(a):""),this.updateSelection(a)):this.clear(),b)}}),f=G(d,{createContainer:function(){var b=a(document.createElement("div")).attr({"class":"select2-container select2-container-multi"}).html(["
      ","
    • "," ","
    • ","
    ",""].join(""));return b},prepareOpts:function(){var b=this.parent.prepareOpts.apply(this,arguments);return"select"===b.element.get(0).tagName.toLowerCase()?b.initSelection=function(a,b){var c=[];a.find(":selected").each2(function(a,b){c.push({id:b.attr("value"),text:b.text(),element:b[0]})}),b(c)}:"data"in b&&(b.initSelection=b.initSelection||function(c,d){var e=m(c.val(),b.separator),f=[];b.query({matcher:function(c,d,g){var h=a.grep(e,function(a){return l(a,b.id(g))}).length;return h&&f.push(g),h},callback:a.isFunction(d)?function(){d(f)}:a.noop})}),b},initContainer:function(){var e,d=".select2-choices";this.searchContainer=this.container.find(".select2-search-field"),this.selection=e=this.container.find(d),this.search.attr("id","s2id_autogen"+g()),a("label[for='"+this.opts.element.attr("id")+"']").attr("for",this.search.attr("id")),this.search.bind("input paste",this.bind(function(){this.enabled&&(this.opened()||this.open())})),this.search.bind("keydown",this.bind(function(a){if(this.enabled){if(a.which===c.BACKSPACE&&""===this.search.val()){this.close();var d,f=e.find(".select2-search-choice-focus");if(f.length>0)return this.unselect(f.first()),this.search.width(10),u(a),b;d=e.find(".select2-search-choice:not(.select2-locked)"),d.length>0&&d.last().addClass("select2-search-choice-focus")}else e.find(".select2-search-choice-focus").removeClass("select2-search-choice-focus");if(this.opened())switch(a.which){case c.UP:case c.DOWN:return this.moveHighlight(a.which===c.UP?-1:1),u(a),b;case c.ENTER:case c.TAB:return this.selectHighlighted(),u(a),b;case c.ESC:return this.cancel(a),u(a),b}if(a.which!==c.TAB&&!c.isControl(a)&&!c.isFunctionKey(a)&&a.which!==c.BACKSPACE&&a.which!==c.ESC){if(a.which===c.ENTER){if(this.opts.openOnEnter===!1)return;if(a.altKey||a.ctrlKey||a.shiftKey||a.metaKey)return}this.open(),(a.which===c.PAGE_UP||a.which===c.PAGE_DOWN)&&u(a),a.which===c.ENTER&&u(a)}}})),this.search.bind("keyup",this.bind(this.resizeSearch)),this.search.bind("blur",this.bind(function(a){this.container.removeClass("select2-container-active"),this.search.removeClass("select2-focused"),this.opened()||this.clearSearch(),a.stopImmediatePropagation()})),this.container.delegate(d,"mousedown",this.bind(function(b){this.enabled&&(a(b.target).closest(".select2-search-choice").length>0||(this.clearPlaceholder(),this.open(),this.focusSearch(),b.preventDefault())) +})),this.container.delegate(d,"focus",this.bind(function(){this.enabled&&(this.container.addClass("select2-container-active"),this.dropdown.addClass("select2-drop-active"),this.clearPlaceholder())})),this.initContainerWidth(),this.clearSearch()},enable:function(){this.enabled||(this.parent.enable.apply(this,arguments),this.search.removeAttr("disabled"))},disable:function(){this.enabled&&(this.parent.disable.apply(this,arguments),this.search.attr("disabled",!0))},initSelection:function(){if(""===this.opts.element.val()&&""===this.opts.element.text()&&(this.updateSelection([]),this.close(),this.clearSearch()),this.select||""!==this.opts.element.val()){var c=this;this.opts.initSelection.call(null,this.opts.element,function(a){a!==b&&null!==a&&(c.updateSelection(a),c.close(),c.clearSearch())})}},clearSearch:function(){var a=this.getPlaceholder();a!==b&&0===this.getVal().length&&this.search.hasClass("select2-focused")===!1?(this.search.val(a).addClass("select2-default"),this.search.width(this.getMaxSearchWidth())):this.search.val("").width(10)},clearPlaceholder:function(){this.search.hasClass("select2-default")&&this.search.val("").removeClass("select2-default")},opening:function(){this.clearPlaceholder(),this.resizeSearch(),this.parent.opening.apply(this,arguments),this.focusSearch(),this.opts.element.trigger(a.Event("open"))},close:function(){this.opened()&&this.parent.close.apply(this,arguments)},focus:function(){this.close(),this.search.focus()},isFocused:function(){return this.search.hasClass("select2-focused")},updateSelection:function(b){var c=[],d=[],e=this;a(b).each(function(){0>k(e.id(this),c)&&(c.push(e.id(this)),d.push(this))}),b=d,this.selection.find(".select2-search-choice").remove(),a(b).each(function(){e.addSelectedChoice(this)}),e.postprocessResults()},tokenize:function(){var a=this.search.val();a=this.opts.tokenizer(a,this.data(),this.bind(this.onSelect),this.opts),null!=a&&a!=b&&(this.search.val(a),a.length>0&&this.open())},onSelect:function(a,b){this.addSelectedChoice(a),this.opts.element.trigger({type:"selected",val:this.id(a),choice:a}),(this.select||!this.opts.closeOnSelect)&&this.postprocessResults(),this.opts.closeOnSelect?(this.close(),this.search.width(10)):this.countSelectableResults()>0?(this.search.width(10),this.resizeSearch(),this.getMaximumSelectionSize()>0&&this.val().length>=this.getMaximumSelectionSize()&&this.updateResults(!0),this.positionDropdown()):(this.close(),this.search.width(10)),this.triggerChange({added:a}),b&&b.noFocus||this.focusSearch()},cancel:function(){this.close(),this.focusSearch()},addSelectedChoice:function(c){var j,d=!c.locked,e=a("
  • "),f=a("
  • "),g=d?e:f,h=this.id(c),i=this.getVal();j=this.opts.formatSelection(c,g.find("div")),j!=b&&g.find("div").replaceWith("
    "+this.opts.escapeMarkup(j)+"
    "),d&&g.find(".select2-search-choice-close").bind("mousedown",u).bind("click dblclick",this.bind(function(b){this.enabled&&(a(b.target).closest(".select2-search-choice").fadeOut("fast",this.bind(function(){this.unselect(a(b.target)),this.selection.find(".select2-search-choice-focus").removeClass("select2-search-choice-focus"),this.close(),this.focusSearch()})).dequeue(),u(b))})).bind("focus",this.bind(function(){this.enabled&&(this.container.addClass("select2-container-active"),this.dropdown.addClass("select2-drop-active"))})),g.data("select2-data",c),g.insertBefore(this.searchContainer),i.push(h),this.setVal(i)},unselect:function(a){var c,d,b=this.getVal();if(a=a.closest(".select2-search-choice"),0===a.length)throw"Invalid argument: "+a+". Must be .select2-search-choice";c=a.data("select2-data"),c&&(d=k(this.id(c),b),d>=0&&(b.splice(d,1),this.setVal(b),this.select&&this.postprocessResults()),a.remove(),this.opts.element.trigger({type:"removed",val:this.id(c),choice:c}),this.triggerChange({removed:c}))},postprocessResults:function(){var a=this.getVal(),b=this.results.find(".select2-result"),c=this.results.find(".select2-result-with-children"),d=this;b.each2(function(b,c){var e=d.id(c.data("select2-data"));k(e,a)>=0&&(c.addClass("select2-selected"),c.find(".select2-result-selectable").addClass("select2-selected"))}),c.each2(function(a,b){b.is(".select2-result-selectable")||0!==b.find(".select2-result-selectable:not(.select2-selected)").length||b.addClass("select2-selected")}),-1==this.highlight()&&d.highlight(0)},getMaxSearchWidth:function(){return this.selection.width()-n(this.search)},resizeSearch:function(){var a,b,c,d,e,f=n(this.search);a=w(this.search)+10,b=this.search.offset().left,c=this.selection.width(),d=this.selection.offset().left,e=c-(b-d)-f,a>e&&(e=c-f),40>e&&(e=c-f),0>=e&&(e=a),this.search.width(e)},getVal:function(){var a;return this.select?(a=this.select.val(),null===a?[]:a):(a=this.opts.element.val(),m(a,this.opts.separator))},setVal:function(b){var c;this.select?this.select.val(b):(c=[],a(b).each(function(){0>k(this,c)&&c.push(this)}),this.opts.element.val(0===c.length?"":c.join(this.opts.separator)))},val:function(){var c,d=!1,f=this;if(0===arguments.length)return this.getVal();if(c=arguments[0],arguments.length>1&&(d=arguments[1]),!c&&0!==c)return this.opts.element.val(""),this.updateSelection([]),this.clearSearch(),d&&this.triggerChange(),b;if(this.setVal(c),this.select)this.opts.initSelection(this.select,this.bind(this.updateSelection)),d&&this.triggerChange();else{if(this.opts.initSelection===b)throw Error("val() cannot be called if initSelection() is not defined");this.opts.initSelection(this.opts.element,function(b){var c=a(b).map(f.id);f.setVal(c),f.updateSelection(b),f.clearSearch(),d&&f.triggerChange()})}this.clearSearch()},onSortStart:function(){if(this.select)throw Error("Sorting of elements is not supported when attached to instead.");this.search.width(0),this.searchContainer.hide()},onSortEnd:function(){var b=[],c=this;this.searchContainer.show(),this.searchContainer.appendTo(this.searchContainer.parent()),this.resizeSearch(),this.selection.find(".select2-search-choice").each(function(){b.push(c.opts.id(a(this).data("select2-data")))}),this.setVal(b),this.triggerChange()},data:function(c){var e,d=this;return 0===arguments.length?this.selection.find(".select2-search-choice").map(function(){return a(this).data("select2-data")}).get():(c||(c=[]),e=a.map(c,function(a){return d.opts.id(a)}),this.setVal(e),this.updateSelection(c),this.clearSearch(),b)}}),a.fn.select2=function(){var d,g,h,i,c=Array.prototype.slice.call(arguments,0),j=["val","destroy","opened","open","close","focus","isFocused","container","onSortStart","onSortEnd","enable","disable","positionDropdown","data"];return this.each(function(){if(0===c.length||"object"==typeof c[0])d=0===c.length?{}:a.extend({},c[0]),d.element=a(this),"select"===d.element.get(0).tagName.toLowerCase()?i=d.element.attr("multiple"):(i=d.multiple||!1,"tags"in d&&(d.multiple=i=!0)),g=i?new f:new e,g.init(d);else{if("string"!=typeof c[0])throw"Invalid arguments to select2 plugin: "+c;if(0>k(c[0],j))throw"Unknown method: "+c[0];if(h=b,g=a(this).data("select2"),g===b)return;if(h="container"===c[0]?g.container:g[c[0]].apply(g,c.slice(1)),h!==b)return!1}}),h===b?this:h},a.fn.select2.defaults={width:"copy",loadMorePadding:0,closeOnSelect:!0,openOnEnter:!0,containerCss:{},dropdownCss:{},containerCssClass:"",dropdownCssClass:"",formatResult:function(a,b,c,d){var e=[];return y(a.text,c.term,e,d),e.join("")},formatSelection:function(a){return a?a.text:b},sortResults:function(a){return a},formatResultCssClass:function(){return b},formatNoMatches:function(){return"No matches found"},formatInputTooShort:function(a,b){var c=b-a.length;return"Please enter "+c+" more character"+(1==c?"":"s")},formatInputTooLong:function(a,b){var c=a.length-b;return"Please delete "+c+" character"+(1==c?"":"s")},formatSelectionTooBig:function(a){return"You can only select "+a+" item"+(1==a?"":"s")},formatLoadMore:function(){return"Loading more results..."},formatSearching:function(){return"Searching..."},minimumResultsForSearch:0,minimumInputLength:0,maximumInputLength:null,maximumSelectionSize:0,id:function(a){return a.id},matcher:function(a,b){return(""+b).toUpperCase().indexOf((""+a).toUpperCase())>=0},separator:",",tokenSeparators:[],tokenizer:F,escapeMarkup:function(a){var b={"\\":"\","&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};return(a+"").replace(/[&<>"'\/\\]/g,function(a){return b[a[0]]})},blurOnChange:!1,selectOnBlur:!1,adaptContainerCssClass:function(a){return a},adaptDropdownCssClass:function(){return null}},window.Select2={query:{ajax:z,local:A,tags:B},util:{debounce:q,markMatch:y},"class":{"abstract":d,single:e,multi:f}}}}(jQuery); /***/ }) @@ -211,12 +405,651 @@ eval("/*\nSELECT 2 FORM REPLACEMNT\n*/\n(function(a){a.fn.each2===void 0&&a.fn.e /******/ }(); /******/ /************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./src/admin/js/index.js"); -/******/ ajaxloadmore = __webpack_exports__; -/******/ +var __webpack_exports__ = {}; +// This entry need to be wrapped in an IIFE because it need to be in strict mode. +!function() { +"use strict"; +// ESM COMPAT FLAG +__webpack_require__.r(__webpack_exports__); + +// EXTERNAL MODULE: ./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js +var injectStylesIntoStyleTag = __webpack_require__(379); +var injectStylesIntoStyleTag_default = /*#__PURE__*/__webpack_require__.n(injectStylesIntoStyleTag); +// EXTERNAL MODULE: ./node_modules/style-loader/dist/runtime/styleDomAPI.js +var styleDomAPI = __webpack_require__(795); +var styleDomAPI_default = /*#__PURE__*/__webpack_require__.n(styleDomAPI); +// EXTERNAL MODULE: ./node_modules/style-loader/dist/runtime/insertBySelector.js +var insertBySelector = __webpack_require__(569); +var insertBySelector_default = /*#__PURE__*/__webpack_require__.n(insertBySelector); +// EXTERNAL MODULE: ./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js +var setAttributesWithoutAttributes = __webpack_require__(565); +var setAttributesWithoutAttributes_default = /*#__PURE__*/__webpack_require__.n(setAttributesWithoutAttributes); +// EXTERNAL MODULE: ./node_modules/style-loader/dist/runtime/insertStyleElement.js +var insertStyleElement = __webpack_require__(216); +var insertStyleElement_default = /*#__PURE__*/__webpack_require__.n(insertStyleElement); +// EXTERNAL MODULE: ./node_modules/style-loader/dist/runtime/styleTagTransform.js +var styleTagTransform = __webpack_require__(589); +var styleTagTransform_default = /*#__PURE__*/__webpack_require__.n(styleTagTransform); +// EXTERNAL MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??ruleSet[1].rules[1].use[1]!./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].use[3]!./src/admin/scss/admin.scss +var admin = __webpack_require__(632); +var admin_default = /*#__PURE__*/__webpack_require__.n(admin); +;// CONCATENATED MODULE: ./src/admin/scss/admin.scss + + + + + + + + + + + +var options = {}; + +options.styleTagTransform = (styleTagTransform_default()); +options.setAttributes = (setAttributesWithoutAttributes_default()); + + options.insert = insertBySelector_default().bind(null, "head"); + +options.domAPI = (styleDomAPI_default()); +options.insertStyleElement = (insertStyleElement_default()); + +var update = injectStylesIntoStyleTag_default()((admin_default()), options); + + + + + /* harmony default export */ var scss_admin = ((admin_default()) && (admin_default()).locals ? (admin_default()).locals : undefined); + +;// CONCATENATED MODULE: ./src/admin/js/index.js +__webpack_require__(990); +__webpack_require__(947); +__webpack_require__(267); + + +var ajax_load_more = ajax_load_more || {}; + +jQuery(document).ready(function ($) { + 'use strict'; + ajax_load_more.options = { + speed: 200, + }; + + /** + * Test REST API access + * + * @since 5.1.1 + */ + if ($('.restapi-access').length) { + $.ajax({ + type: 'GET', + url: alm_admin_localize.restapi.url + alm_admin_localize.restapi.namespace + '/test/', + dataType: 'json', + success: function (data) { + if (data.success) { + console.log('Ajax Load More successfully connected to the WordPress REST API.'); + } + }, + error: function (status) { + console.log(status); + $('.restapi-access').fadeIn(); + }, + }); + } + + /** + * Build the header admin menu based on the sidebar. + */ + function createAdminMenu() { + let adminmenu = document.querySelector('#adminmenu .toplevel_page_ajax-load-more > ul'); + if (!adminmenu) { + return; + } + + let alm_header = document.querySelector('.ajax-load-more header.header-wrap'); + if (!alm_header) { + return; + } + + let menu = adminmenu.cloneNode(true); + menu.setAttribute('class', ''); + + let nav = document.createElement('nav'); + nav.appendChild(menu); + alm_header.appendChild(nav); + } + createAdminMenu(); + + /** + * Tabbed Navigation Elements + * + * @since 5.4 + */ + const ACTIVE_TAB_CLASS = 'active'; + function openTabbedItem(button, almTabbedWrapper) { + const activeBtn = document.querySelector('.alm-tabbed-wrapper--nav button.active'); // Get Currently Active Button. + const id = button.dataset.id; + + // Remove currently active button. + if (activeBtn) { + activeBtn.classList.remove(ACTIVE_TAB_CLASS); + } + + // Add Button Active Class. + button.classList.add(ACTIVE_TAB_CLASS); + + // Activate Current Section + if (almTabbedWrapper) { + let currentActive = almTabbedWrapper.querySelector('.alm-tabbed-wrapper--section.' + ACTIVE_TAB_CLASS); + let section = almTabbedWrapper.querySelector('.alm-tabbed-wrapper--section#' + id); + if (currentActive && section) { + currentActive.classList.remove(ACTIVE_TAB_CLASS); + section.classList.add(ACTIVE_TAB_CLASS); + section.focus({ preventScroll: true }); + $('html, body').animate( + { + scrollTop: $('.alm-tabbed-wrapper--sections').offset().top - 120, + }, + 400, + function () { + history.replaceState({}, '', '#' + id); + } + ); + } + } + } + + const almTabbedWrapper = document.querySelector('.alm-tabbed-wrapper'); + if (almTabbedWrapper) { + const current = almTabbedWrapper.querySelector('.alm-tabbed-wrapper--section'); + if (current) { + current.classList.add(ACTIVE_TAB_CLASS); + } + const tabbedNav = almTabbedWrapper.querySelectorAll('.alm-tabbed-wrapper--nav button'); + if (tabbedNav) { + tabbedNav.forEach(function (item, index) { + item.addEventListener('click', function () { + openTabbedItem(this, almTabbedWrapper); + }); + }); + } + + // Open section from hash. + let hash = window.location.hash; + if (hash) { + hash = hash.replace('#', ''); + const targetBtn = document.querySelector('.alm-tabbed-wrapper--nav button[data-id="' + hash + '"]'); + if (targetBtn) { + targetBtn.click(); + } + } else { + document.querySelector('.alm-tabbed-wrapper--nav button').classList.add(ACTIVE_TAB_CLASS); + } + } + + /** + * Save Repeater Templates with cmd + s and ctrl + s + * + * @since 5.1 + */ + document.addEventListener( + 'keydown', + function (e) { + if ((window.navigator.platform.match('Mac') ? e.metaKey : e.ctrlKey) && e.keyCode === 83) { + if (e.target.nodeName === 'TEXTAREA' && $(e.target).closest('.repeater-wrap')) { + var btn = $(e.target).closest('.repeater-wrap').find('input.save-repeater'); + if (btn) { + btn.click(); + } + } + + e.preventDefault(); + } + }, + false + ); + + /* + * Set focus in code mirror editor + * @since 5.1 + */ + $('label.trigger-codemirror').on('click', function () { + var el = $(this); + var id = el.data('id'); + var cm = window['editor_' + id]; + if (cm) { + cm.focus(); + cm.setCursor(cm.lineCount(), 0); + } + }); + + /** + * Setting panel save actions. + * + * @since 3.2.0 + */ + let almSettings = $('#alm_OptionsForm'), + savingSettings = false, + settingsForm = document.querySelector('#alm_OptionsForm'), + settingsTarget = document.querySelector('.alm-settings-feedback'); + + if (settingsForm) { + document.body.appendChild(settingsTarget); + } + + ajax_load_more.saveSettings = function () { + if (savingSettings) { + return false; + } + + savingSettings = true; + settingsForm.classList.add('--saving'); + settingsTarget.classList.add('--saving'); + settingsTarget.innerHTML = alm_admin_localize.settings_saving; + + almSettings.ajaxSubmit({ + // Success + success: function () { + // Delay for effect + setTimeout(function () { + settingsTarget.classList.remove('--saving'); + settingsTarget.classList.add('--saved'); + settingsTarget.innerHTML = alm_admin_localize.settings_saved; + settingsForm.classList.remove('--saving'); + //console.log(alm_admin_localize.ajax_load_more +' - '+ alm_admin_localize.settings_saved); + savingSettings = false; + + setTimeout(function () { + settingsTarget.classList.remove('--saved'); + }, 2500); + }, 500); + }, + + // Error + error: function () { + // Delay for effect + setTimeout(function () { + settingsTarget.classList.remove('--saving'); + settingsTarget.classList.add('--error'); + settingsTarget.innerHTML = alm_admin_localize.settings_error; + settingsForm.classList.remove('--saving'); + console.log(alm_admin_localize.ajax_load_more + ' - ' + alm_admin_localize.settings_error); + savingSettings = false; + + setTimeout(function () { + settingsTarget.classList.remove('--error'); + }, 2500); + }, 500); + }, + }); + return false; + }; + + // On Change, save the settings + let settingsTimer; + $(document).on('change', '#alm_OptionsForm input, #alm_OptionsForm textarea, #alm_OptionsForm select', function () { + // Set a timer to avoid updating settings to frequently + if (settingsTimer) clearTimeout(settingsTimer); + settingsTimer = setTimeout(function () { + ajax_load_more.saveSettings(); + }, 500); + }); + + /** + * Download Repeater Template + * Trigger the download of a repeater template from the admin + * + * @since 3.6 + */ + $('.download-repeater').on('click', function () { + this.closest('form').submit(); + }); + + /** + * Tooltipster + * + * @see http://iamceege.github.io/tooltipster/ + * @since 2.8.4 + */ + $('.ajax-load-more-inner-wrapper').on('mouseenter', '.tooltip:not(.tooltipstered)', function () { + $(this) + .tooltipster({ + delay: 125, + speed: 125, + maxWidth: 325, + }) + .tooltipster('show'); + }); + + /** + * Button preview pane + * Found on Settings and Shortcode Builder. + * + * @since 2.8.4 + */ + $('select#alm_settings_btn_color').on('change', function () { + var color = jQuery(this).val(); + // Remove other colors + var wrap = $('.ajax-load-more-wrap'); + wrap.attr('class', ''); + wrap.addClass('ajax-load-more-wrap'); + wrap.addClass(color); + $('#test-alm-button', wrap).removeClass('loading'); + + // Add loading class if Infinite loading style + if (color.indexOf('infinite') >= 0) { + $('#test-alm-button', wrap).addClass('loading'); + } + }); + + $('select#alm_settings_btn_color').click(function (e) { + e.preventDefault(); + }); + + $('.alm-template-listing li a').click(function (e) { + e.preventDefault(); + var el = $(this), + val = el.data('path'); + el.parent().parent().next('.template-selection').val(val); + }); + + $('.alm-template-section-nav li a').click(function (e) { + e.preventDefault(); + var el = $(this), + index = el.parent().index(), + parent = el.parent().parent().parent('.repeater-wrap'); + + if (!el.hasClass('active')) { + el.parent().addClass('active').siblings().removeClass('active'); + $('.alm-template-toggle', parent).hide(); + $('.alm-template-toggle', parent).eq(index).show(); + } + }); + + // Copy to Clipboard + $('.copy-to-clipboard').on('click', function () { + var btn = $(this).get(0); + var input = document.querySelector('#shortcode_output'); + + if (input && btn) { + var old_txt = btn.innerHTML; + var copied_txt = btn.dataset.copied ? btn.dataset.copied : old_txt; + + input.select(); + document.execCommand('copy'); + input.disabled = true; + btn.disabled = true; + input.focus(); + + // Set Text of Button + btn.innerHTML = copied_txt; + + setTimeout(function () { + btn.innerHTML = old_txt; + input.disabled = false; + btn.disabled = false; + }, 2500); + } + }); + + ajax_load_more.copyToClipboard = function (text) { + window.prompt('Copy link to your clipboard: Press Ctrl + C then hit Enter to copy.', text); + }; + + // Copy link on repeater templates + $('.alm-dropdown button.copy').click(function () { + var container = $(this).closest('.repeater-wrap'), // find closet wrap + el = container.data('name'); // get template name + + if (el === 'default') el = 'template-default'; + var c = $('#' + el).val(); // Get textarea val() + ajax_load_more.copyToClipboard(c); + }); + + /* + * Expand/Collapse shortcode headings + * + * @since 2.0.0 + */ + + $(document).on('click', 'h3.heading', function () { + var el = $(this); + if ($(el).hasClass('open')) { + $(el) + .next('.expand-wrap') + .slideDown(ajax_load_more.options.speed, 'alm_easeInOutQuad', function () { + $(el).removeClass('open'); + }); + } else { + $(el) + .next('.expand-wrap') + .slideUp(ajax_load_more.options.speed, 'alm_easeInOutQuad', function () { + $(el).addClass('open'); + }); + } + }); + + // Toggle Links. + $(document).on('click', '.toggle-all', function () { + var el = $(this); + if (el.hasClass('closed')) { + el.removeClass('closed'); + + $('h3.heading, h2.shortcode-title').removeClass('open'); + $('.section-wrap').slideDown(ajax_load_more.options.speed, 'alm_easeInOutQuad'); + $('.expand-wrap').slideDown(ajax_load_more.options.speed, 'alm_easeInOutQuad'); + } else { + el.addClass('closed'); + + $('h3.heading, h2.shortcode-title').addClass('open'); + $('.section-wrap').slideUp(ajax_load_more.options.speed, 'alm_easeInOutQuad'); + $('.expand-wrap').slideUp(ajax_load_more.options.speed, 'alm_easeInOutQuad'); + } + }); + + // Trigger click events on enter/return + $('h3.heading, h2.shortcode-title').on('keypress', function (e) { + var key = e.which; + if (key == 13) { + // the enter key code + $(this).click(); + return false; + } + }); + + /** + * Activate License. + * + * @since 2.8.3 + */ + var almActivating = false; + $(document).on('click', '.license-btn', function (e) { + e.preventDefault(); + if (!almActivating) { + $('.license-btn-wrap .msg').remove(); + almActivating = true; + + var el = $(this), + wrap = el.closest('.license-btn-wrap'), + parent = el.closest('.license'), + type = el.data('type'), + item = wrap.data('name'), + url = wrap.data('url'), + upgrade = wrap.data('upgrade-url'), + status = wrap.data('option-status'), + key = wrap.data('option-key'), + license = parent.find('input[type=text]').val(); + + $('.loading', parent).fadeIn(300); + + // Get value from Ajax + $.ajax({ + type: 'GET', + url: alm_admin_localize.ajax_admin_url, + dataType: 'json', + + data: { + action: 'alm_license_activation', + nonce: alm_admin_localize.alm_admin_nonce, + type: type, + item: item, + status: status, + url: url, + upgrade: upgrade, + key: key, + license: license, + }, + + success: function (data) { + if (data.msg) { + $('.license-btn-wrap', parent).append('
    ' + data.msg + '
    '); + } + + if (data.license === 'valid') { + $('.license-key-field .status', parent).addClass('active').removeClass('inactive').text(alm_admin_localize.active); + $('.license-title .status', parent).addClass('valid').removeClass('invalid'); + $('.activate.license-btn', parent).addClass('hide'); + $('.check-licence.license-btn', parent).addClass('hide'); + $('.deactivate.license-btn', parent).removeClass('hide'); + $('.renew-btn', parent).addClass('hide'); + $('.no-license', parent).slideUp(200); + } else { + $('.license-key-field .status', parent).removeClass('active').addClass('inactive').text(alm_admin_localize.inactive); + $('.license-title .status', parent).removeClass('valid').addClass('invalid'); + $('.activate.license-btn', parent).removeClass('hide'); + $('.check-licence.license-btn', parent).addClass('hide'); + $('.deactivate.license-btn', parent).addClass('hide'); + $('.no-license', parent).slideDown(200); + } + + $('.loading', parent).delay(250).fadeOut(300); + almActivating = false; + }, + + error: function (status, error) { + console.log(status, error); + $('.loading', parent).delay(250).fadeOut(300); + almActivating = false; + }, + }); + } + }); + + /** + * Get layout value via Ajax and inject into template. + * + * @since 2.8.7 + */ + $(document).on('click', '.alm-layout-selection li .layout', function (e) { + e.preventDefault(); + var el = $(this), + type = el.data('type'), + custom = el.hasClass('custom') ? 'true' : 'false', + textarea = el.closest('.repeater-wrap').find('.CodeMirror'), + layout_btn_text = el.html(), + name = el.closest('.repeater-wrap').data('name'); + + if (!el.hasClass('updating')) { + el.addClass('updating'); + $('span', el).text(alm_admin_localize.applying_layout + '...'); + textarea.addClass('loading'); + + // Get Codemirror Editor ID + var eid = ''; + if (name === 'default') { + // Default Template + eid = window.editor_default; + } else { + // Repeater Templates + eid = window['editor_' + name]; + } + + // Get value from Ajax + $.ajax({ + type: 'GET', + url: alm_admin_localize.ajax_admin_url, + data: { + action: 'alm_get_layout', + type: type, + custom: custom, + nonce: alm_admin_localize.alm_admin_nonce, + }, + dataType: 'JSON', + success: function (data) { + eid.setValue(data.value); + + // Clear button styles + setTimeout(function () { + $('span', el).text(alm_admin_localize.template_updated).blur(); + setTimeout(function () { + el.removeClass('updating').html(layout_btn_text).blur(); // Close drop menu. + el.closest('.alm-drop-btn').trigger('click'); + textarea.removeClass('loading'); + }, 400); + }, 400); + }, + error: function (status) { + console.log(status); + textarea.removeClass('loading'); + }, + }); + } + }); + + /** + * Set Transient (Transient). + * + * @since 4.0 + */ + $(document).on('click', '.alm-transient button.notice-dismiss', function (e) { + e.preventDefault(); + var el = $(this), + container = el.parent('.alm-transient'), + transient_name = container.data('transient'), + duration = container.data('duration'); + + // Get value from Ajax + $.ajax({ + type: 'POST', + url: alm_admin_localize.ajax_admin_url, + data: { + action: 'alm_set_transient', + nonce: alm_admin_localize.alm_admin_nonce, + transient_name: transient_name, + duration: duration, + }, + success: function (data) { + container.fadeOut(); + }, + error: function (xhr, status, error) { + console.log(status); + }, + }); + }); + + /** + * Scroll to setting section. + * + * @since 2.7.3 + */ + $(document).on('change', '#alm-settings-nav', function (e) { + e.preventDefault(); + var el = $(this), + index = $('option:selected', el).index(); + if (index !== '#') { + index = index - 1; + $('html, body').animate( + { + scrollTop: $('#alm_OptionsForm h2').eq(index).offset().top - 40, + }, + 500 + ); + } + }); +}); + +}(); +ajaxloadmore = __webpack_exports__; /******/ })() ; \ No newline at end of file diff --git a/build/frontend/ajax-load-more.asset.php b/build/frontend/ajax-load-more.asset.php index 1e40725..3436b96 100644 --- a/build/frontend/ajax-load-more.asset.php +++ b/build/frontend/ajax-load-more.asset.php @@ -1 +1 @@ - array(), 'version' => 'a195282fab662d7d1368'); + array(), 'version' => '122f090a5bb6b5034c93'); diff --git a/build/frontend/ajax-load-more.css b/build/frontend/ajax-load-more.css index 973d1ec..9ec1df8 100644 --- a/build/frontend/ajax-load-more.css +++ b/build/frontend/ajax-load-more.css @@ -1,535 +1 @@ -/*!************************************************************************************************************************************************************!*\ - !*** css ./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].use[3]!./src/frontend/scss/ajax-load-more.scss ***! - \************************************************************************************************************************************************************/ -.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; - content: ""; -} -.alm-btn-wrap .alm-load-more-btn { - font-size: 15px; - font-weight: 500; - width: auto; - height: 43px; - line-height: 1; - background: #ed7070; - box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04); - color: #fff; - border: none; - border-radius: 4px; - margin: 0; - padding: 0 20px; - display: inline-block; - position: relative; - transition: all 0.3s ease; - text-align: center; - text-decoration: none; - appearance: none; - user-select: none; - cursor: pointer; - /* Loading */ - /* Loaded / Done */ - /* Loading Icon */ - /* Loading :before */ -} -.alm-btn-wrap .alm-load-more-btn:hover, .alm-btn-wrap .alm-load-more-btn.loading { - background-color: #e06161; - box-shadow: 0 1px 3px rgba(0, 0, 0, 0.09); - color: #fff; - text-decoration: none; -} -.alm-btn-wrap .alm-load-more-btn:active { - box-shadow: none; - text-decoration: none; -} -.alm-btn-wrap .alm-load-more-btn.loading { - cursor: wait; - outline: none; - padding-left: 44px; -} -.alm-btn-wrap .alm-load-more-btn.done { - cursor: default; - opacity: 0.15; - background-color: #ed7070; - outline: none !important; - box-shadow: none !important; -} -.alm-btn-wrap .alm-load-more-btn::before, .alm-btn-wrap .alm-load-more-btn.done::before { - background: none; - width: 0; -} -.alm-btn-wrap .alm-load-more-btn.loading::before { - background: #fff url(../frontend/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; - transition: width 0.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%; - transform: translateY(-50%); - margin: 0; - } -} - -/* white */ -.ajax-load-more-wrap.white .alm-load-more-btn { - background-color: #fff; - color: #787878; - border: 1px solid #e0e0e0; - overflow: hidden; - transition: none; - outline: none; -} -.ajax-load-more-wrap.white .alm-load-more-btn:focus, .ajax-load-more-wrap.white .alm-load-more-btn:hover, .ajax-load-more-wrap.white .alm-load-more-btn.loading { - background-color: #fff; - color: #333; - border-color: #aaaaaa; -} -.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: none !important; - background-color: transparent; - border-color: transparent !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(../frontend/img/ajax-loader-lg.gif); - background-size: 25px 25px; - background-position: center center; -} - -/* light grey */ -.ajax-load-more-wrap.light-grey .alm-load-more-btn { - background-color: #efefef; - color: #787878; - border: 1px solid #e0e0e0; - overflow: hidden; - transition: all 0.075s ease; - outline: none; -} -.ajax-load-more-wrap.light-grey .alm-load-more-btn:focus, .ajax-load-more-wrap.light-grey .alm-load-more-btn:hover, .ajax-load-more-wrap.light-grey .alm-load-more-btn.loading, .ajax-load-more-wrap.light-grey .alm-load-more-btn.done { - background-color: #f1f1f1; - color: #222; - border-color: #aaaaaa; -} -.ajax-load-more-wrap.light-grey .alm-load-more-btn.loading { - color: rgba(255, 255, 255, 0) !important; - outline: none !important; - background-color: transparent; - border-color: transparent !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(../frontend/img/ajax-loader-lg.gif); - background-size: 25px 25px; - background-position: center center; -} - -/* Blue */ -.ajax-load-more-wrap.blue .alm-load-more-btn { - background-color: #1b91ca; -} -.ajax-load-more-wrap.blue .alm-load-more-btn:hover, .ajax-load-more-wrap.blue .alm-load-more-btn.loading, .ajax-load-more-wrap.blue .alm-load-more-btn.done { - background-color: #1b84b7; -} - -/* green */ -.ajax-load-more-wrap.green .alm-load-more-btn { - background-color: #80ca7a; -} -.ajax-load-more-wrap.green .alm-load-more-btn:hover, .ajax-load-more-wrap.green .alm-load-more-btn.loading, .ajax-load-more-wrap.green .alm-load-more-btn.done { - background-color: #81c17b; -} - -/* purple */ -.ajax-load-more-wrap.purple .alm-load-more-btn { - background-color: #b97eca; -} -.ajax-load-more-wrap.purple .alm-load-more-btn:hover, .ajax-load-more-wrap.purple .alm-load-more-btn.loading, .ajax-load-more-wrap.purple .alm-load-more-btn.done { - background-color: #a477b1; -} - -/* grey */ -.ajax-load-more-wrap.grey .alm-load-more-btn { - background-color: #a09e9e; -} -.ajax-load-more-wrap.grey .alm-load-more-btn:hover, .ajax-load-more-wrap.grey .alm-load-more-btn.loading, .ajax-load-more-wrap.grey .alm-load-more-btn.done { - background-color: #888; -} - -/* Infinite */ -.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(../frontend/img/spinner.gif); - border: none !important; - opacity: 0; - transition: opacity 0.2s ease; - box-shadow: none !important; - overflow: hidden; - text-indent: -9999px; - cursor: default !important; - outline: none !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:focus, .ajax-load-more-wrap.infinite > .alm-btn-wrap .alm-load-more-btn:active { - outline: none; -} -.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(../frontend/img/spinner-skype.gif); -} -.ajax-load-more-wrap.infinite.ring > .alm-btn-wrap .alm-load-more-btn { - background-image: url(../frontend/img/spinner-ring.gif); -} -.ajax-load-more-wrap.infinite.fading-blocks > .alm-btn-wrap .alm-load-more-btn { - background-image: url(../frontend/img/loader-fading-blocks.gif); -} -.ajax-load-more-wrap.infinite.fading-circles > .alm-btn-wrap .alm-load-more-btn { - background-image: url(../frontend/img/loader-fading-circles.gif); -} -.ajax-load-more-wrap.infinite.chasing-arrows > .alm-btn-wrap .alm-load-more-btn { - background-image: url(../frontend/img/spinner-chasing-arrows.gif); -} - -.ajax-load-more-wrap.alm-horizontal .alm-btn-wrap { - display: flex; - 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-btn-wrap--prev { - display: flex; - width: 100%; - justify-content: center; - clear: both; - padding: 0; - margin: 0; -} -.alm-btn-wrap--prev::after { - display: table; - clear: both; - height: 0; - content: ""; -} -.alm-btn-wrap--prev a.alm-load-more-btn--prev { - line-height: 1; - font-size: 14px; - font-weight: 500; - padding: 5px; - display: inline-block; - position: relative; - margin: 0 0 15px; - text-decoration: none; -} -.alm-btn-wrap--prev a.alm-load-more-btn--prev:hover, .alm-btn-wrap--prev a.alm-load-more-btn--prev:focus { - text-decoration: underline; -} -.alm-btn-wrap--prev a.alm-load-more-btn--prev.loading, .alm-btn-wrap--prev a.alm-load-more-btn--prev.loading:focus { - cursor: wait; - text-decoration: none; -} -.alm-btn-wrap--prev a.alm-load-more-btn--prev.loading::before, .alm-btn-wrap--prev a.alm-load-more-btn--prev.loading:focus::before { - content: ""; - display: block; - position: absolute; - left: -18px; - top: 50%; - transform: translateY(-50%); - width: 16px; - height: 16px; - background: url(../frontend/img/ajax-loader-lg.gif) no-repeat left center; - background-size: 16px 16px; -} -.alm-btn-wrap--prev a.alm-load-more-btn--prev.skype.loading::before { - background-image: url(../frontend/img/spinner-skype.gif); -} -.alm-btn-wrap--prev a.alm-load-more-btn--prev.ring.loading::before { - background-image: url(../frontend/img/spinner-ring.gif); -} -.alm-btn-wrap--prev a.alm-load-more-btn--prev.fading-blocks.loading::before { - background-image: url(../frontend/img/loader-fading-blocks.gif); -} -.alm-btn-wrap--prev a.alm-load-more-btn--prev.chasing-arrows.loading::before { - background-image: url(../frontend/img/spinner-chasing-arrows.gif); -} -.alm-btn-wrap--prev a.alm-load-more-btn--prev:not(.disabled), -.alm-btn-wrap--prev a.alm-load-more-btn--prev button:not([disabled]) { - cursor: pointer; -} -.alm-btn-wrap--prev a.alm-load-more-btn--prev.done { - display: none !important; -} - -.alm-listing .alm-reveal { - outline: none; -} -.alm-listing .alm-reveal::after { - display: table; - clear: both; - height: 0; - content: ""; -} - -.alm-listing { - margin: 0; - padding: 0; -} -.alm-listing .alm-reveal > li, -.alm-listing .alm-paging-content > li, -.alm-listing > li { - position: relative; -} -.alm-listing .alm-reveal > li.alm-item, -.alm-listing .alm-paging-content > li.alm-item, -.alm-listing > li.alm-item { - background: none; - margin: 0 0 30px; - padding: 0 0 0 80px; - position: relative; - list-style: none; -} -@media screen and (min-width: 480px) { - .alm-listing .alm-reveal > li.alm-item, - .alm-listing .alm-paging-content > li.alm-item, - .alm-listing > li.alm-item { - padding: 0 0 0 100px; - } -} -@media screen and (min-width: 768px) { - .alm-listing .alm-reveal > li.alm-item, - .alm-listing .alm-paging-content > li.alm-item, - .alm-listing > li.alm-item { - padding: 0 0 0 135px; - } -} -@media screen and (min-width: 1024px) { - .alm-listing .alm-reveal > li.alm-item, - .alm-listing .alm-paging-content > li.alm-item, - .alm-listing > li.alm-item { - padding: 0 0 0 160px; - } -} -.alm-listing .alm-reveal > li.alm-item h3, -.alm-listing .alm-paging-content > li.alm-item h3, -.alm-listing > li.alm-item h3 { - margin: 0; -} -.alm-listing .alm-reveal > li.alm-item p, -.alm-listing .alm-paging-content > li.alm-item p, -.alm-listing > li.alm-item p { - margin: 10px 0 0; -} -.alm-listing .alm-reveal > li.alm-item p.entry-meta, -.alm-listing .alm-paging-content > li.alm-item p.entry-meta, -.alm-listing > li.alm-item p.entry-meta { - opacity: 0.75; -} -.alm-listing .alm-reveal > li.alm-item img, -.alm-listing .alm-paging-content > 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-reveal > li.alm-item img, - .alm-listing .alm-paging-content > li.alm-item img, - .alm-listing > li.alm-item img { - max-width: 85px; - } -} -@media screen and (min-width: 768px) { - .alm-listing .alm-reveal > li.alm-item img, - .alm-listing .alm-paging-content > li.alm-item img, - .alm-listing > li.alm-item img { - max-width: 115px; - } -} -@media screen and (min-width: 1024px) { - .alm-listing .alm-reveal > li.alm-item img, - .alm-listing .alm-paging-content > li.alm-item img, - .alm-listing > li.alm-item img { - max-width: 140px; - } -} -.alm-listing .alm-reveal > li.no-img, -.alm-listing .alm-paging-content > 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-reveal > li, -.alm-listing.stylefree .alm-paging-content > li, -.alm-listing.stylefree > li { - padding: inherit; - margin: inherit; -} -.alm-listing.stylefree .alm-reveal > li img, -.alm-listing.stylefree .alm-paging-content > li img, -.alm-listing.stylefree > li img { - padding: inherit; - margin: inherit; - position: static; - border-radius: inherit; -} - -.alm-listing.rtl .alm-reveal > li, -.alm-listing.rtl .alm-paging-content > li { - padding: 0 170px 0 0; - text-align: right; -} -.alm-listing.rtl .alm-reveal > li img, -.alm-listing.rtl .alm-paging-content > 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; - transition: opacity 0.2s ease; - display: none; -} - -.ajax-load-more-wrap.alm-horizontal { - display: flex; - flex-wrap: nowrap; - width: 100%; -} -.ajax-load-more-wrap.alm-horizontal .alm-listing, -.ajax-load-more-wrap.alm-horizontal .alm-listing .alm-reveal { - display: flex; - flex-wrap: nowrap; - flex-direction: row; -} -.ajax-load-more-wrap.alm-horizontal .alm-listing > li.alm-item, -.ajax-load-more-wrap.alm-horizontal .alm-listing .alm-reveal > li.alm-item { - 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 > li.alm-item img, -.ajax-load-more-wrap.alm-horizontal .alm-listing .alm-reveal > li.alm-item img { - position: static; - max-width: 125px; - margin: 0 auto 15px; - border-radius: 4px; - box-shadow: 0 2px 10px rgba(0, 0, 0, 0.075); -} -.ajax-load-more-wrap.alm-horizontal .alm-listing .alm-reveal::after { - display: none; -} - -.alm-toc { - display: flex; - width: auto; - padding: 10px 0; -} -.alm-toc button { - background: #f7f7f7; - border-radius: 4px; - transition: all 0.15s ease; - outline: none; - border: 1px solid #efefef; - 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:hover, .alm-toc button:focus { - border-color: #ccc; - color: #222; -} -.alm-toc button:hover { - text-decoration: underline; -} -.alm-toc button:focus { - box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05); -} +.alm-btn-wrap{display:block;margin:0 0 15px;padding:10px 0;position:relative;text-align:center}.alm-btn-wrap:after{clear:both;content:"";display:table;height:0}.alm-btn-wrap .alm-load-more-btn{appearance:none;background:#ed7070;border:none;border-radius:4px;box-shadow:0 1px 1px rgba(0,0,0,.04);color:#fff;cursor:pointer;display:inline-block;font-size:15px;font-weight:500;height:43px;line-height:1;margin:0;padding:0 20px;position:relative;text-align:center;text-decoration:none;transition:all .3s ease;user-select:none;width:auto}.alm-btn-wrap .alm-load-more-btn.loading,.alm-btn-wrap .alm-load-more-btn:hover{background-color:#e06161;box-shadow:0 1px 3px rgba(0,0,0,.09);color:#fff;text-decoration:none}.alm-btn-wrap .alm-load-more-btn:active{box-shadow:none;text-decoration:none}.alm-btn-wrap .alm-load-more-btn.loading{cursor:wait;outline:none;padding-left:44px}.alm-btn-wrap .alm-load-more-btn.done{background-color:#ed7070;box-shadow:none!important;cursor:default;opacity:.15;outline:none!important}.alm-btn-wrap .alm-load-more-btn.done:before,.alm-btn-wrap .alm-load-more-btn:before{background:none;width:0}.alm-btn-wrap .alm-load-more-btn.loading:before{background:#fff url(../frontend/img/ajax-loader.gif) no-repeat 50%;border-radius:3px;content:"";display:inline-block;height:31px;left:0;margin:6px;overflow:hidden;position:absolute;top:0;transition:width .5s ease-in-out;width:30px;z-index:0}.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{left:0;margin:0;position:absolute;top:50%;transform:translateY(-50%)}}.ajax-load-more-wrap.white .alm-load-more-btn{background-color:#fff;border:1px solid #e0e0e0;color:#787878;outline:none;overflow:hidden;transition:none}.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;border-color:#aaa;color:#333}.ajax-load-more-wrap.white .alm-load-more-btn.done{background-color:#fff;border-color:#ccc;color:#444}.ajax-load-more-wrap.white .alm-load-more-btn.loading{background-color:rgba(0,0,0,0);border-color:rgba(0,0,0,0)!important;box-shadow:none!important;color:hsla(0,0%,100%,0)!important;outline:none!important;padding-left:20px}.ajax-load-more-wrap.white .alm-load-more-btn.loading:before{background-color:rgba(0,0,0,0);background-image:url(../frontend/img/ajax-loader-lg.gif);background-position:50%;background-size:25px 25px;height:100%;left:0;margin:0;top:0;width:100%}.ajax-load-more-wrap.light-grey .alm-load-more-btn{background-color:#efefef;border:1px solid #e0e0e0;color:#787878;outline:none;overflow:hidden;transition:all 75ms ease}.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;border-color:#aaa;color:#222}.ajax-load-more-wrap.light-grey .alm-load-more-btn.loading{background-color:rgba(0,0,0,0);border-color:rgba(0,0,0,0)!important;box-shadow:none!important;color:hsla(0,0%,100%,0)!important;outline:none!important;padding-left:20px}.ajax-load-more-wrap.light-grey .alm-load-more-btn.loading:before{background-color:rgba(0,0,0,0);background-image:url(../frontend/img/ajax-loader-lg.gif);background-position:50%;background-size:25px 25px;height:100%;left:0;margin:0;top:0;width:100%}.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{background-color:rgba(0,0,0,0)!important;background-image:url(../frontend/img/spinner.gif);background-position:50%;background-repeat:no-repeat;border:none!important;box-shadow:none!important;cursor:default!important;opacity:0;outline:none!important;overflow:hidden;text-indent:-9999px;transition:opacity .2s ease;width:100%}.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:none}.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(../frontend/img/spinner-skype.gif)}.ajax-load-more-wrap.infinite.ring>.alm-btn-wrap .alm-load-more-btn{background-image:url(../frontend/img/spinner-ring.gif)}.ajax-load-more-wrap.infinite.fading-blocks>.alm-btn-wrap .alm-load-more-btn{background-image:url(../frontend/img/loader-fading-blocks.gif)}.ajax-load-more-wrap.infinite.fading-circles>.alm-btn-wrap .alm-load-more-btn{background-image:url(../frontend/img/loader-fading-circles.gif)}.ajax-load-more-wrap.infinite.chasing-arrows>.alm-btn-wrap .alm-load-more-btn{background-image:url(../frontend/img/spinner-chasing-arrows.gif)}.ajax-load-more-wrap.alm-horizontal .alm-btn-wrap{align-items:center;display:flex;margin:0;padding: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-btn-wrap--prev{clear:both;display:flex;justify-content:center;margin:0;padding:0;width:100%}.alm-btn-wrap--prev:after{clear:both;content:"";display:table;height:0}.alm-btn-wrap--prev a.alm-load-more-btn--prev{display:inline-block;font-size:14px;font-weight:500;line-height:1;margin:0 0 15px;padding:5px;position:relative;text-decoration:none}.alm-btn-wrap--prev a.alm-load-more-btn--prev:focus,.alm-btn-wrap--prev a.alm-load-more-btn--prev:hover{text-decoration:underline}.alm-btn-wrap--prev a.alm-load-more-btn--prev.loading,.alm-btn-wrap--prev a.alm-load-more-btn--prev.loading:focus{cursor:wait;text-decoration:none}.alm-btn-wrap--prev a.alm-load-more-btn--prev.loading:before,.alm-btn-wrap--prev a.alm-load-more-btn--prev.loading:focus:before{background:url(../frontend/img/ajax-loader-lg.gif) no-repeat 0;background-size:16px 16px;content:"";display:block;height:16px;left:-18px;position:absolute;top:50%;transform:translateY(-50%);width:16px}.alm-btn-wrap--prev a.alm-load-more-btn--prev.skype.loading:before{background-image:url(../frontend/img/spinner-skype.gif)}.alm-btn-wrap--prev a.alm-load-more-btn--prev.ring.loading:before{background-image:url(../frontend/img/spinner-ring.gif)}.alm-btn-wrap--prev a.alm-load-more-btn--prev.fading-blocks.loading:before{background-image:url(../frontend/img/loader-fading-blocks.gif)}.alm-btn-wrap--prev a.alm-load-more-btn--prev.chasing-arrows.loading:before{background-image:url(../frontend/img/spinner-chasing-arrows.gif)}.alm-btn-wrap--prev a.alm-load-more-btn--prev button:not([disabled]),.alm-btn-wrap--prev a.alm-load-more-btn--prev:not(.disabled){cursor:pointer}.alm-btn-wrap--prev a.alm-load-more-btn--prev.done{display:none!important}.alm-listing .alm-reveal{outline:none}.alm-listing .alm-reveal:after{clear:both;content:"";display:table;height:0}.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:none;list-style:none;margin:0 0 30px;padding:0 0 0 80px;position:relative}@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{border-radius:2px;left:0;max-width:65px;position:absolute;top:0}@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{border-radius:inherit;position:static}.alm-listing.stylefree .alm-paging-content>li,.alm-listing.stylefree .alm-reveal>li,.alm-listing.stylefree>li{margin:inherit;padding:inherit}.alm-listing.stylefree .alm-paging-content>li img,.alm-listing.stylefree .alm-reveal>li img,.alm-listing.stylefree>li img{border-radius:inherit;margin:inherit;padding:inherit;position:static}.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{clear:both;display:block;overflow:hidden}.alm-placeholder{display:none;opacity:0;transition:opacity .2s ease}.ajax-load-more-wrap.alm-horizontal{display:flex;flex-wrap:nowrap;width:100%}.ajax-load-more-wrap.alm-horizontal .alm-listing,.ajax-load-more-wrap.alm-horizontal .alm-listing .alm-reveal{display:flex;flex-direction:row;flex-wrap:nowrap}.ajax-load-more-wrap.alm-horizontal .alm-listing .alm-reveal>li.alm-item,.ajax-load-more-wrap.alm-horizontal .alm-listing>li.alm-item{background-color:#fff;border:1px solid #efefef;border-radius:4px;height:auto;margin:0 2px;padding:20px 20px 30px;text-align:center;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{border-radius:4px;box-shadow:0 2px 10px rgba(0,0,0,.075);margin:0 auto 15px;max-width:125px;position:static}.ajax-load-more-wrap.alm-horizontal .alm-listing .alm-reveal:after{display:none}.alm-toc{display:flex;padding:10px 0;width:auto}.alm-toc button{background:#f7f7f7;border:1px solid #efefef;border-radius:4px;box-shadow:none;color:#454545;cursor:pointer;font-size:14px;font-weight:500;height:auto;line-height:1;margin:0 5px 0 0;outline:none;padding:7px 10px;transition:all .15s ease}.alm-toc button:focus,.alm-toc button:hover{border-color:#ccc;color:#222}.alm-toc button:hover{text-decoration:underline}.alm-toc button:focus{box-shadow:0 0 0 3px rgba(0,0,0,.05)} \ No newline at end of file diff --git a/build/frontend/ajax-load-more.js b/build/frontend/ajax-load-more.js index 3d02df7..c86ab35 100644 --- a/build/frontend/ajax-load-more.js +++ b/build/frontend/ajax-load-more.js @@ -1,1202 +1,4497 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ var ajaxloadmore; /******/ (function() { // webpackBootstrap /******/ var __webpack_modules__ = ({ -/***/ "./node_modules/call-bind/callBound.js": -/*!*********************************************!*\ - !*** ./node_modules/call-bind/callBound.js ***! - \*********************************************/ -/***/ (function(module, __unused_webpack_exports, __webpack_require__) { - -"use strict"; -eval("\n\nvar GetIntrinsic = __webpack_require__(/*! get-intrinsic */ \"./node_modules/get-intrinsic/index.js\");\n\nvar callBind = __webpack_require__(/*! ./ */ \"./node_modules/call-bind/index.js\");\n\nvar $indexOf = callBind(GetIntrinsic('String.prototype.indexOf'));\n\nmodule.exports = function callBoundIntrinsic(name, allowMissing) {\n\tvar intrinsic = GetIntrinsic(name, !!allowMissing);\n\tif (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) {\n\t\treturn callBind(intrinsic);\n\t}\n\treturn intrinsic;\n};\n\n\n//# sourceURL=webpack://ajaxloadmore/./node_modules/call-bind/callBound.js?"); - -/***/ }), - -/***/ "./node_modules/call-bind/index.js": -/*!*****************************************!*\ - !*** ./node_modules/call-bind/index.js ***! - \*****************************************/ +/***/ 924: /***/ (function(module, __unused_webpack_exports, __webpack_require__) { "use strict"; -eval("\n\nvar bind = __webpack_require__(/*! function-bind */ \"./node_modules/function-bind/index.js\");\nvar GetIntrinsic = __webpack_require__(/*! get-intrinsic */ \"./node_modules/get-intrinsic/index.js\");\n\nvar $apply = GetIntrinsic('%Function.prototype.apply%');\nvar $call = GetIntrinsic('%Function.prototype.call%');\nvar $reflectApply = GetIntrinsic('%Reflect.apply%', true) || bind.call($call, $apply);\n\nvar $gOPD = GetIntrinsic('%Object.getOwnPropertyDescriptor%', true);\nvar $defineProperty = GetIntrinsic('%Object.defineProperty%', true);\nvar $max = GetIntrinsic('%Math.max%');\n\nif ($defineProperty) {\n\ttry {\n\t\t$defineProperty({}, 'a', { value: 1 });\n\t} catch (e) {\n\t\t// IE 8 has a broken defineProperty\n\t\t$defineProperty = null;\n\t}\n}\n\nmodule.exports = function callBind(originalFunction) {\n\tvar func = $reflectApply(bind, $call, arguments);\n\tif ($gOPD && $defineProperty) {\n\t\tvar desc = $gOPD(func, 'length');\n\t\tif (desc.configurable) {\n\t\t\t// original length, plus the receiver, minus any additional arguments (after the receiver)\n\t\t\t$defineProperty(\n\t\t\t\tfunc,\n\t\t\t\t'length',\n\t\t\t\t{ value: 1 + $max(0, originalFunction.length - (arguments.length - 1)) }\n\t\t\t);\n\t\t}\n\t}\n\treturn func;\n};\n\nvar applyBind = function applyBind() {\n\treturn $reflectApply(bind, $apply, arguments);\n};\n\nif ($defineProperty) {\n\t$defineProperty(module.exports, 'apply', { value: applyBind });\n} else {\n\tmodule.exports.apply = applyBind;\n}\n\n\n//# sourceURL=webpack://ajaxloadmore/./node_modules/call-bind/index.js?"); - -/***/ }), - -/***/ "./node_modules/crypto-js/core.js": -/*!****************************************!*\ - !*** ./node_modules/crypto-js/core.js ***! - \****************************************/ -/***/ (function(module, exports, __webpack_require__) { - -eval(";(function (root, factory) {\n\tif (true) {\n\t\t// CommonJS\n\t\tmodule.exports = exports = factory();\n\t}\n\telse {}\n}(this, function () {\n\n\t/*globals window, global, require*/\n\n\t/**\n\t * CryptoJS core components.\n\t */\n\tvar CryptoJS = CryptoJS || (function (Math, undefined) {\n\n\t var crypto;\n\n\t // Native crypto from window (Browser)\n\t if (typeof window !== 'undefined' && window.crypto) {\n\t crypto = window.crypto;\n\t }\n\n\t // Native crypto in web worker (Browser)\n\t if (typeof self !== 'undefined' && self.crypto) {\n\t crypto = self.crypto;\n\t }\n\n\t // Native crypto from worker\n\t if (typeof globalThis !== 'undefined' && globalThis.crypto) {\n\t crypto = globalThis.crypto;\n\t }\n\n\t // Native (experimental IE 11) crypto from window (Browser)\n\t if (!crypto && typeof window !== 'undefined' && window.msCrypto) {\n\t crypto = window.msCrypto;\n\t }\n\n\t // Native crypto from global (NodeJS)\n\t if (!crypto && typeof __webpack_require__.g !== 'undefined' && __webpack_require__.g.crypto) {\n\t crypto = __webpack_require__.g.crypto;\n\t }\n\n\t // Native crypto import via require (NodeJS)\n\t if (!crypto && \"function\" === 'function') {\n\t try {\n\t crypto = __webpack_require__(/*! crypto */ \"?9157\");\n\t } catch (err) {}\n\t }\n\n\t /*\n\t * Cryptographically secure pseudorandom number generator\n\t *\n\t * As Math.random() is cryptographically not safe to use\n\t */\n\t var cryptoSecureRandomInt = function () {\n\t if (crypto) {\n\t // Use getRandomValues method (Browser)\n\t if (typeof crypto.getRandomValues === 'function') {\n\t try {\n\t return crypto.getRandomValues(new Uint32Array(1))[0];\n\t } catch (err) {}\n\t }\n\n\t // Use randomBytes method (NodeJS)\n\t if (typeof crypto.randomBytes === 'function') {\n\t try {\n\t return crypto.randomBytes(4).readInt32LE();\n\t } catch (err) {}\n\t }\n\t }\n\n\t throw new Error('Native crypto module could not be used to get secure random number.');\n\t };\n\n\t /*\n\t * Local polyfill of Object.create\n\n\t */\n\t var create = Object.create || (function () {\n\t function F() {}\n\n\t return function (obj) {\n\t var subtype;\n\n\t F.prototype = obj;\n\n\t subtype = new F();\n\n\t F.prototype = null;\n\n\t return subtype;\n\t };\n\t }());\n\n\t /**\n\t * CryptoJS namespace.\n\t */\n\t var C = {};\n\n\t /**\n\t * Library namespace.\n\t */\n\t var C_lib = C.lib = {};\n\n\t /**\n\t * Base object for prototypal inheritance.\n\t */\n\t var Base = C_lib.Base = (function () {\n\n\n\t return {\n\t /**\n\t * Creates a new object that inherits from this object.\n\t *\n\t * @param {Object} overrides Properties to copy into the new object.\n\t *\n\t * @return {Object} The new object.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var MyType = CryptoJS.lib.Base.extend({\n\t * field: 'value',\n\t *\n\t * method: function () {\n\t * }\n\t * });\n\t */\n\t extend: function (overrides) {\n\t // Spawn\n\t var subtype = create(this);\n\n\t // Augment\n\t if (overrides) {\n\t subtype.mixIn(overrides);\n\t }\n\n\t // Create default initializer\n\t if (!subtype.hasOwnProperty('init') || this.init === subtype.init) {\n\t subtype.init = function () {\n\t subtype.$super.init.apply(this, arguments);\n\t };\n\t }\n\n\t // Initializer's prototype is the subtype object\n\t subtype.init.prototype = subtype;\n\n\t // Reference supertype\n\t subtype.$super = this;\n\n\t return subtype;\n\t },\n\n\t /**\n\t * Extends this object and runs the init method.\n\t * Arguments to create() will be passed to init().\n\t *\n\t * @return {Object} The new object.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var instance = MyType.create();\n\t */\n\t create: function () {\n\t var instance = this.extend();\n\t instance.init.apply(instance, arguments);\n\n\t return instance;\n\t },\n\n\t /**\n\t * Initializes a newly created object.\n\t * Override this method to add some logic when your objects are created.\n\t *\n\t * @example\n\t *\n\t * var MyType = CryptoJS.lib.Base.extend({\n\t * init: function () {\n\t * // ...\n\t * }\n\t * });\n\t */\n\t init: function () {\n\t },\n\n\t /**\n\t * Copies properties into this object.\n\t *\n\t * @param {Object} properties The properties to mix in.\n\t *\n\t * @example\n\t *\n\t * MyType.mixIn({\n\t * field: 'value'\n\t * });\n\t */\n\t mixIn: function (properties) {\n\t for (var propertyName in properties) {\n\t if (properties.hasOwnProperty(propertyName)) {\n\t this[propertyName] = properties[propertyName];\n\t }\n\t }\n\n\t // IE won't copy toString using the loop above\n\t if (properties.hasOwnProperty('toString')) {\n\t this.toString = properties.toString;\n\t }\n\t },\n\n\t /**\n\t * Creates a copy of this object.\n\t *\n\t * @return {Object} The clone.\n\t *\n\t * @example\n\t *\n\t * var clone = instance.clone();\n\t */\n\t clone: function () {\n\t return this.init.prototype.extend(this);\n\t }\n\t };\n\t }());\n\n\t /**\n\t * An array of 32-bit words.\n\t *\n\t * @property {Array} words The array of 32-bit words.\n\t * @property {number} sigBytes The number of significant bytes in this word array.\n\t */\n\t var WordArray = C_lib.WordArray = Base.extend({\n\t /**\n\t * Initializes a newly created word array.\n\t *\n\t * @param {Array} words (Optional) An array of 32-bit words.\n\t * @param {number} sigBytes (Optional) The number of significant bytes in the words.\n\t *\n\t * @example\n\t *\n\t * var wordArray = CryptoJS.lib.WordArray.create();\n\t * var wordArray = CryptoJS.lib.WordArray.create([0x00010203, 0x04050607]);\n\t * var wordArray = CryptoJS.lib.WordArray.create([0x00010203, 0x04050607], 6);\n\t */\n\t init: function (words, sigBytes) {\n\t words = this.words = words || [];\n\n\t if (sigBytes != undefined) {\n\t this.sigBytes = sigBytes;\n\t } else {\n\t this.sigBytes = words.length * 4;\n\t }\n\t },\n\n\t /**\n\t * Converts this word array to a string.\n\t *\n\t * @param {Encoder} encoder (Optional) The encoding strategy to use. Default: CryptoJS.enc.Hex\n\t *\n\t * @return {string} The stringified word array.\n\t *\n\t * @example\n\t *\n\t * var string = wordArray + '';\n\t * var string = wordArray.toString();\n\t * var string = wordArray.toString(CryptoJS.enc.Utf8);\n\t */\n\t toString: function (encoder) {\n\t return (encoder || Hex).stringify(this);\n\t },\n\n\t /**\n\t * Concatenates a word array to this word array.\n\t *\n\t * @param {WordArray} wordArray The word array to append.\n\t *\n\t * @return {WordArray} This word array.\n\t *\n\t * @example\n\t *\n\t * wordArray1.concat(wordArray2);\n\t */\n\t concat: function (wordArray) {\n\t // Shortcuts\n\t var thisWords = this.words;\n\t var thatWords = wordArray.words;\n\t var thisSigBytes = this.sigBytes;\n\t var thatSigBytes = wordArray.sigBytes;\n\n\t // Clamp excess bits\n\t this.clamp();\n\n\t // Concat\n\t if (thisSigBytes % 4) {\n\t // Copy one byte at a time\n\t for (var i = 0; i < thatSigBytes; i++) {\n\t var thatByte = (thatWords[i >>> 2] >>> (24 - (i % 4) * 8)) & 0xff;\n\t thisWords[(thisSigBytes + i) >>> 2] |= thatByte << (24 - ((thisSigBytes + i) % 4) * 8);\n\t }\n\t } else {\n\t // Copy one word at a time\n\t for (var j = 0; j < thatSigBytes; j += 4) {\n\t thisWords[(thisSigBytes + j) >>> 2] = thatWords[j >>> 2];\n\t }\n\t }\n\t this.sigBytes += thatSigBytes;\n\n\t // Chainable\n\t return this;\n\t },\n\n\t /**\n\t * Removes insignificant bits.\n\t *\n\t * @example\n\t *\n\t * wordArray.clamp();\n\t */\n\t clamp: function () {\n\t // Shortcuts\n\t var words = this.words;\n\t var sigBytes = this.sigBytes;\n\n\t // Clamp\n\t words[sigBytes >>> 2] &= 0xffffffff << (32 - (sigBytes % 4) * 8);\n\t words.length = Math.ceil(sigBytes / 4);\n\t },\n\n\t /**\n\t * Creates a copy of this word array.\n\t *\n\t * @return {WordArray} The clone.\n\t *\n\t * @example\n\t *\n\t * var clone = wordArray.clone();\n\t */\n\t clone: function () {\n\t var clone = Base.clone.call(this);\n\t clone.words = this.words.slice(0);\n\n\t return clone;\n\t },\n\n\t /**\n\t * Creates a word array filled with random bytes.\n\t *\n\t * @param {number} nBytes The number of random bytes to generate.\n\t *\n\t * @return {WordArray} The random word array.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var wordArray = CryptoJS.lib.WordArray.random(16);\n\t */\n\t random: function (nBytes) {\n\t var words = [];\n\n\t for (var i = 0; i < nBytes; i += 4) {\n\t words.push(cryptoSecureRandomInt());\n\t }\n\n\t return new WordArray.init(words, nBytes);\n\t }\n\t });\n\n\t /**\n\t * Encoder namespace.\n\t */\n\t var C_enc = C.enc = {};\n\n\t /**\n\t * Hex encoding strategy.\n\t */\n\t var Hex = C_enc.Hex = {\n\t /**\n\t * Converts a word array to a hex string.\n\t *\n\t * @param {WordArray} wordArray The word array.\n\t *\n\t * @return {string} The hex string.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var hexString = CryptoJS.enc.Hex.stringify(wordArray);\n\t */\n\t stringify: function (wordArray) {\n\t // Shortcuts\n\t var words = wordArray.words;\n\t var sigBytes = wordArray.sigBytes;\n\n\t // Convert\n\t var hexChars = [];\n\t for (var i = 0; i < sigBytes; i++) {\n\t var bite = (words[i >>> 2] >>> (24 - (i % 4) * 8)) & 0xff;\n\t hexChars.push((bite >>> 4).toString(16));\n\t hexChars.push((bite & 0x0f).toString(16));\n\t }\n\n\t return hexChars.join('');\n\t },\n\n\t /**\n\t * Converts a hex string to a word array.\n\t *\n\t * @param {string} hexStr The hex string.\n\t *\n\t * @return {WordArray} The word array.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var wordArray = CryptoJS.enc.Hex.parse(hexString);\n\t */\n\t parse: function (hexStr) {\n\t // Shortcut\n\t var hexStrLength = hexStr.length;\n\n\t // Convert\n\t var words = [];\n\t for (var i = 0; i < hexStrLength; i += 2) {\n\t words[i >>> 3] |= parseInt(hexStr.substr(i, 2), 16) << (24 - (i % 8) * 4);\n\t }\n\n\t return new WordArray.init(words, hexStrLength / 2);\n\t }\n\t };\n\n\t /**\n\t * Latin1 encoding strategy.\n\t */\n\t var Latin1 = C_enc.Latin1 = {\n\t /**\n\t * Converts a word array to a Latin1 string.\n\t *\n\t * @param {WordArray} wordArray The word array.\n\t *\n\t * @return {string} The Latin1 string.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var latin1String = CryptoJS.enc.Latin1.stringify(wordArray);\n\t */\n\t stringify: function (wordArray) {\n\t // Shortcuts\n\t var words = wordArray.words;\n\t var sigBytes = wordArray.sigBytes;\n\n\t // Convert\n\t var latin1Chars = [];\n\t for (var i = 0; i < sigBytes; i++) {\n\t var bite = (words[i >>> 2] >>> (24 - (i % 4) * 8)) & 0xff;\n\t latin1Chars.push(String.fromCharCode(bite));\n\t }\n\n\t return latin1Chars.join('');\n\t },\n\n\t /**\n\t * Converts a Latin1 string to a word array.\n\t *\n\t * @param {string} latin1Str The Latin1 string.\n\t *\n\t * @return {WordArray} The word array.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var wordArray = CryptoJS.enc.Latin1.parse(latin1String);\n\t */\n\t parse: function (latin1Str) {\n\t // Shortcut\n\t var latin1StrLength = latin1Str.length;\n\n\t // Convert\n\t var words = [];\n\t for (var i = 0; i < latin1StrLength; i++) {\n\t words[i >>> 2] |= (latin1Str.charCodeAt(i) & 0xff) << (24 - (i % 4) * 8);\n\t }\n\n\t return new WordArray.init(words, latin1StrLength);\n\t }\n\t };\n\n\t /**\n\t * UTF-8 encoding strategy.\n\t */\n\t var Utf8 = C_enc.Utf8 = {\n\t /**\n\t * Converts a word array to a UTF-8 string.\n\t *\n\t * @param {WordArray} wordArray The word array.\n\t *\n\t * @return {string} The UTF-8 string.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var utf8String = CryptoJS.enc.Utf8.stringify(wordArray);\n\t */\n\t stringify: function (wordArray) {\n\t try {\n\t return decodeURIComponent(escape(Latin1.stringify(wordArray)));\n\t } catch (e) {\n\t throw new Error('Malformed UTF-8 data');\n\t }\n\t },\n\n\t /**\n\t * Converts a UTF-8 string to a word array.\n\t *\n\t * @param {string} utf8Str The UTF-8 string.\n\t *\n\t * @return {WordArray} The word array.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var wordArray = CryptoJS.enc.Utf8.parse(utf8String);\n\t */\n\t parse: function (utf8Str) {\n\t return Latin1.parse(unescape(encodeURIComponent(utf8Str)));\n\t }\n\t };\n\n\t /**\n\t * Abstract buffered block algorithm template.\n\t *\n\t * The property blockSize must be implemented in a concrete subtype.\n\t *\n\t * @property {number} _minBufferSize The number of blocks that should be kept unprocessed in the buffer. Default: 0\n\t */\n\t var BufferedBlockAlgorithm = C_lib.BufferedBlockAlgorithm = Base.extend({\n\t /**\n\t * Resets this block algorithm's data buffer to its initial state.\n\t *\n\t * @example\n\t *\n\t * bufferedBlockAlgorithm.reset();\n\t */\n\t reset: function () {\n\t // Initial values\n\t this._data = new WordArray.init();\n\t this._nDataBytes = 0;\n\t },\n\n\t /**\n\t * Adds new data to this block algorithm's buffer.\n\t *\n\t * @param {WordArray|string} data The data to append. Strings are converted to a WordArray using UTF-8.\n\t *\n\t * @example\n\t *\n\t * bufferedBlockAlgorithm._append('data');\n\t * bufferedBlockAlgorithm._append(wordArray);\n\t */\n\t _append: function (data) {\n\t // Convert string to WordArray, else assume WordArray already\n\t if (typeof data == 'string') {\n\t data = Utf8.parse(data);\n\t }\n\n\t // Append\n\t this._data.concat(data);\n\t this._nDataBytes += data.sigBytes;\n\t },\n\n\t /**\n\t * Processes available data blocks.\n\t *\n\t * This method invokes _doProcessBlock(offset), which must be implemented by a concrete subtype.\n\t *\n\t * @param {boolean} doFlush Whether all blocks and partial blocks should be processed.\n\t *\n\t * @return {WordArray} The processed data.\n\t *\n\t * @example\n\t *\n\t * var processedData = bufferedBlockAlgorithm._process();\n\t * var processedData = bufferedBlockAlgorithm._process(!!'flush');\n\t */\n\t _process: function (doFlush) {\n\t var processedWords;\n\n\t // Shortcuts\n\t var data = this._data;\n\t var dataWords = data.words;\n\t var dataSigBytes = data.sigBytes;\n\t var blockSize = this.blockSize;\n\t var blockSizeBytes = blockSize * 4;\n\n\t // Count blocks ready\n\t var nBlocksReady = dataSigBytes / blockSizeBytes;\n\t if (doFlush) {\n\t // Round up to include partial blocks\n\t nBlocksReady = Math.ceil(nBlocksReady);\n\t } else {\n\t // Round down to include only full blocks,\n\t // less the number of blocks that must remain in the buffer\n\t nBlocksReady = Math.max((nBlocksReady | 0) - this._minBufferSize, 0);\n\t }\n\n\t // Count words ready\n\t var nWordsReady = nBlocksReady * blockSize;\n\n\t // Count bytes ready\n\t var nBytesReady = Math.min(nWordsReady * 4, dataSigBytes);\n\n\t // Process blocks\n\t if (nWordsReady) {\n\t for (var offset = 0; offset < nWordsReady; offset += blockSize) {\n\t // Perform concrete-algorithm logic\n\t this._doProcessBlock(dataWords, offset);\n\t }\n\n\t // Remove processed words\n\t processedWords = dataWords.splice(0, nWordsReady);\n\t data.sigBytes -= nBytesReady;\n\t }\n\n\t // Return processed words\n\t return new WordArray.init(processedWords, nBytesReady);\n\t },\n\n\t /**\n\t * Creates a copy of this object.\n\t *\n\t * @return {Object} The clone.\n\t *\n\t * @example\n\t *\n\t * var clone = bufferedBlockAlgorithm.clone();\n\t */\n\t clone: function () {\n\t var clone = Base.clone.call(this);\n\t clone._data = this._data.clone();\n\n\t return clone;\n\t },\n\n\t _minBufferSize: 0\n\t });\n\n\t /**\n\t * Abstract hasher template.\n\t *\n\t * @property {number} blockSize The number of 32-bit words this hasher operates on. Default: 16 (512 bits)\n\t */\n\t var Hasher = C_lib.Hasher = BufferedBlockAlgorithm.extend({\n\t /**\n\t * Configuration options.\n\t */\n\t cfg: Base.extend(),\n\n\t /**\n\t * Initializes a newly created hasher.\n\t *\n\t * @param {Object} cfg (Optional) The configuration options to use for this hash computation.\n\t *\n\t * @example\n\t *\n\t * var hasher = CryptoJS.algo.SHA256.create();\n\t */\n\t init: function (cfg) {\n\t // Apply config defaults\n\t this.cfg = this.cfg.extend(cfg);\n\n\t // Set initial values\n\t this.reset();\n\t },\n\n\t /**\n\t * Resets this hasher to its initial state.\n\t *\n\t * @example\n\t *\n\t * hasher.reset();\n\t */\n\t reset: function () {\n\t // Reset data buffer\n\t BufferedBlockAlgorithm.reset.call(this);\n\n\t // Perform concrete-hasher logic\n\t this._doReset();\n\t },\n\n\t /**\n\t * Updates this hasher with a message.\n\t *\n\t * @param {WordArray|string} messageUpdate The message to append.\n\t *\n\t * @return {Hasher} This hasher.\n\t *\n\t * @example\n\t *\n\t * hasher.update('message');\n\t * hasher.update(wordArray);\n\t */\n\t update: function (messageUpdate) {\n\t // Append\n\t this._append(messageUpdate);\n\n\t // Update the hash\n\t this._process();\n\n\t // Chainable\n\t return this;\n\t },\n\n\t /**\n\t * Finalizes the hash computation.\n\t * Note that the finalize operation is effectively a destructive, read-once operation.\n\t *\n\t * @param {WordArray|string} messageUpdate (Optional) A final message update.\n\t *\n\t * @return {WordArray} The hash.\n\t *\n\t * @example\n\t *\n\t * var hash = hasher.finalize();\n\t * var hash = hasher.finalize('message');\n\t * var hash = hasher.finalize(wordArray);\n\t */\n\t finalize: function (messageUpdate) {\n\t // Final message update\n\t if (messageUpdate) {\n\t this._append(messageUpdate);\n\t }\n\n\t // Perform concrete-hasher logic\n\t var hash = this._doFinalize();\n\n\t return hash;\n\t },\n\n\t blockSize: 512/32,\n\n\t /**\n\t * Creates a shortcut function to a hasher's object interface.\n\t *\n\t * @param {Hasher} hasher The hasher to create a helper for.\n\t *\n\t * @return {Function} The shortcut function.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var SHA256 = CryptoJS.lib.Hasher._createHelper(CryptoJS.algo.SHA256);\n\t */\n\t _createHelper: function (hasher) {\n\t return function (message, cfg) {\n\t return new hasher.init(cfg).finalize(message);\n\t };\n\t },\n\n\t /**\n\t * Creates a shortcut function to the HMAC's object interface.\n\t *\n\t * @param {Hasher} hasher The hasher to use in this HMAC helper.\n\t *\n\t * @return {Function} The shortcut function.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var HmacSHA256 = CryptoJS.lib.Hasher._createHmacHelper(CryptoJS.algo.SHA256);\n\t */\n\t _createHmacHelper: function (hasher) {\n\t return function (message, key) {\n\t return new C_algo.HMAC.init(hasher, key).finalize(message);\n\t };\n\t }\n\t });\n\n\t /**\n\t * Algorithm namespace.\n\t */\n\t var C_algo = C.algo = {};\n\n\t return C;\n\t}(Math));\n\n\n\treturn CryptoJS;\n\n}));\n\n//# sourceURL=webpack://ajaxloadmore/./node_modules/crypto-js/core.js?"); - -/***/ }), - -/***/ "./node_modules/crypto-js/md5.js": -/*!***************************************!*\ - !*** ./node_modules/crypto-js/md5.js ***! - \***************************************/ -/***/ (function(module, exports, __webpack_require__) { - -eval(";(function (root, factory) {\n\tif (true) {\n\t\t// CommonJS\n\t\tmodule.exports = exports = factory(__webpack_require__(/*! ./core */ \"./node_modules/crypto-js/core.js\"));\n\t}\n\telse {}\n}(this, function (CryptoJS) {\n\n\t(function (Math) {\n\t // Shortcuts\n\t var C = CryptoJS;\n\t var C_lib = C.lib;\n\t var WordArray = C_lib.WordArray;\n\t var Hasher = C_lib.Hasher;\n\t var C_algo = C.algo;\n\n\t // Constants table\n\t var T = [];\n\n\t // Compute constants\n\t (function () {\n\t for (var i = 0; i < 64; i++) {\n\t T[i] = (Math.abs(Math.sin(i + 1)) * 0x100000000) | 0;\n\t }\n\t }());\n\n\t /**\n\t * MD5 hash algorithm.\n\t */\n\t var MD5 = C_algo.MD5 = Hasher.extend({\n\t _doReset: function () {\n\t this._hash = new WordArray.init([\n\t 0x67452301, 0xefcdab89,\n\t 0x98badcfe, 0x10325476\n\t ]);\n\t },\n\n\t _doProcessBlock: function (M, offset) {\n\t // Swap endian\n\t for (var i = 0; i < 16; i++) {\n\t // Shortcuts\n\t var offset_i = offset + i;\n\t var M_offset_i = M[offset_i];\n\n\t M[offset_i] = (\n\t (((M_offset_i << 8) | (M_offset_i >>> 24)) & 0x00ff00ff) |\n\t (((M_offset_i << 24) | (M_offset_i >>> 8)) & 0xff00ff00)\n\t );\n\t }\n\n\t // Shortcuts\n\t var H = this._hash.words;\n\n\t var M_offset_0 = M[offset + 0];\n\t var M_offset_1 = M[offset + 1];\n\t var M_offset_2 = M[offset + 2];\n\t var M_offset_3 = M[offset + 3];\n\t var M_offset_4 = M[offset + 4];\n\t var M_offset_5 = M[offset + 5];\n\t var M_offset_6 = M[offset + 6];\n\t var M_offset_7 = M[offset + 7];\n\t var M_offset_8 = M[offset + 8];\n\t var M_offset_9 = M[offset + 9];\n\t var M_offset_10 = M[offset + 10];\n\t var M_offset_11 = M[offset + 11];\n\t var M_offset_12 = M[offset + 12];\n\t var M_offset_13 = M[offset + 13];\n\t var M_offset_14 = M[offset + 14];\n\t var M_offset_15 = M[offset + 15];\n\n\t // Working varialbes\n\t var a = H[0];\n\t var b = H[1];\n\t var c = H[2];\n\t var d = H[3];\n\n\t // Computation\n\t a = FF(a, b, c, d, M_offset_0, 7, T[0]);\n\t d = FF(d, a, b, c, M_offset_1, 12, T[1]);\n\t c = FF(c, d, a, b, M_offset_2, 17, T[2]);\n\t b = FF(b, c, d, a, M_offset_3, 22, T[3]);\n\t a = FF(a, b, c, d, M_offset_4, 7, T[4]);\n\t d = FF(d, a, b, c, M_offset_5, 12, T[5]);\n\t c = FF(c, d, a, b, M_offset_6, 17, T[6]);\n\t b = FF(b, c, d, a, M_offset_7, 22, T[7]);\n\t a = FF(a, b, c, d, M_offset_8, 7, T[8]);\n\t d = FF(d, a, b, c, M_offset_9, 12, T[9]);\n\t c = FF(c, d, a, b, M_offset_10, 17, T[10]);\n\t b = FF(b, c, d, a, M_offset_11, 22, T[11]);\n\t a = FF(a, b, c, d, M_offset_12, 7, T[12]);\n\t d = FF(d, a, b, c, M_offset_13, 12, T[13]);\n\t c = FF(c, d, a, b, M_offset_14, 17, T[14]);\n\t b = FF(b, c, d, a, M_offset_15, 22, T[15]);\n\n\t a = GG(a, b, c, d, M_offset_1, 5, T[16]);\n\t d = GG(d, a, b, c, M_offset_6, 9, T[17]);\n\t c = GG(c, d, a, b, M_offset_11, 14, T[18]);\n\t b = GG(b, c, d, a, M_offset_0, 20, T[19]);\n\t a = GG(a, b, c, d, M_offset_5, 5, T[20]);\n\t d = GG(d, a, b, c, M_offset_10, 9, T[21]);\n\t c = GG(c, d, a, b, M_offset_15, 14, T[22]);\n\t b = GG(b, c, d, a, M_offset_4, 20, T[23]);\n\t a = GG(a, b, c, d, M_offset_9, 5, T[24]);\n\t d = GG(d, a, b, c, M_offset_14, 9, T[25]);\n\t c = GG(c, d, a, b, M_offset_3, 14, T[26]);\n\t b = GG(b, c, d, a, M_offset_8, 20, T[27]);\n\t a = GG(a, b, c, d, M_offset_13, 5, T[28]);\n\t d = GG(d, a, b, c, M_offset_2, 9, T[29]);\n\t c = GG(c, d, a, b, M_offset_7, 14, T[30]);\n\t b = GG(b, c, d, a, M_offset_12, 20, T[31]);\n\n\t a = HH(a, b, c, d, M_offset_5, 4, T[32]);\n\t d = HH(d, a, b, c, M_offset_8, 11, T[33]);\n\t c = HH(c, d, a, b, M_offset_11, 16, T[34]);\n\t b = HH(b, c, d, a, M_offset_14, 23, T[35]);\n\t a = HH(a, b, c, d, M_offset_1, 4, T[36]);\n\t d = HH(d, a, b, c, M_offset_4, 11, T[37]);\n\t c = HH(c, d, a, b, M_offset_7, 16, T[38]);\n\t b = HH(b, c, d, a, M_offset_10, 23, T[39]);\n\t a = HH(a, b, c, d, M_offset_13, 4, T[40]);\n\t d = HH(d, a, b, c, M_offset_0, 11, T[41]);\n\t c = HH(c, d, a, b, M_offset_3, 16, T[42]);\n\t b = HH(b, c, d, a, M_offset_6, 23, T[43]);\n\t a = HH(a, b, c, d, M_offset_9, 4, T[44]);\n\t d = HH(d, a, b, c, M_offset_12, 11, T[45]);\n\t c = HH(c, d, a, b, M_offset_15, 16, T[46]);\n\t b = HH(b, c, d, a, M_offset_2, 23, T[47]);\n\n\t a = II(a, b, c, d, M_offset_0, 6, T[48]);\n\t d = II(d, a, b, c, M_offset_7, 10, T[49]);\n\t c = II(c, d, a, b, M_offset_14, 15, T[50]);\n\t b = II(b, c, d, a, M_offset_5, 21, T[51]);\n\t a = II(a, b, c, d, M_offset_12, 6, T[52]);\n\t d = II(d, a, b, c, M_offset_3, 10, T[53]);\n\t c = II(c, d, a, b, M_offset_10, 15, T[54]);\n\t b = II(b, c, d, a, M_offset_1, 21, T[55]);\n\t a = II(a, b, c, d, M_offset_8, 6, T[56]);\n\t d = II(d, a, b, c, M_offset_15, 10, T[57]);\n\t c = II(c, d, a, b, M_offset_6, 15, T[58]);\n\t b = II(b, c, d, a, M_offset_13, 21, T[59]);\n\t a = II(a, b, c, d, M_offset_4, 6, T[60]);\n\t d = II(d, a, b, c, M_offset_11, 10, T[61]);\n\t c = II(c, d, a, b, M_offset_2, 15, T[62]);\n\t b = II(b, c, d, a, M_offset_9, 21, T[63]);\n\n\t // Intermediate hash value\n\t H[0] = (H[0] + a) | 0;\n\t H[1] = (H[1] + b) | 0;\n\t H[2] = (H[2] + c) | 0;\n\t H[3] = (H[3] + d) | 0;\n\t },\n\n\t _doFinalize: function () {\n\t // Shortcuts\n\t var data = this._data;\n\t var dataWords = data.words;\n\n\t var nBitsTotal = this._nDataBytes * 8;\n\t var nBitsLeft = data.sigBytes * 8;\n\n\t // Add padding\n\t dataWords[nBitsLeft >>> 5] |= 0x80 << (24 - nBitsLeft % 32);\n\n\t var nBitsTotalH = Math.floor(nBitsTotal / 0x100000000);\n\t var nBitsTotalL = nBitsTotal;\n\t dataWords[(((nBitsLeft + 64) >>> 9) << 4) + 15] = (\n\t (((nBitsTotalH << 8) | (nBitsTotalH >>> 24)) & 0x00ff00ff) |\n\t (((nBitsTotalH << 24) | (nBitsTotalH >>> 8)) & 0xff00ff00)\n\t );\n\t dataWords[(((nBitsLeft + 64) >>> 9) << 4) + 14] = (\n\t (((nBitsTotalL << 8) | (nBitsTotalL >>> 24)) & 0x00ff00ff) |\n\t (((nBitsTotalL << 24) | (nBitsTotalL >>> 8)) & 0xff00ff00)\n\t );\n\n\t data.sigBytes = (dataWords.length + 1) * 4;\n\n\t // Hash final blocks\n\t this._process();\n\n\t // Shortcuts\n\t var hash = this._hash;\n\t var H = hash.words;\n\n\t // Swap endian\n\t for (var i = 0; i < 4; i++) {\n\t // Shortcut\n\t var H_i = H[i];\n\n\t H[i] = (((H_i << 8) | (H_i >>> 24)) & 0x00ff00ff) |\n\t (((H_i << 24) | (H_i >>> 8)) & 0xff00ff00);\n\t }\n\n\t // Return final computed hash\n\t return hash;\n\t },\n\n\t clone: function () {\n\t var clone = Hasher.clone.call(this);\n\t clone._hash = this._hash.clone();\n\n\t return clone;\n\t }\n\t });\n\n\t function FF(a, b, c, d, x, s, t) {\n\t var n = a + ((b & c) | (~b & d)) + x + t;\n\t return ((n << s) | (n >>> (32 - s))) + b;\n\t }\n\n\t function GG(a, b, c, d, x, s, t) {\n\t var n = a + ((b & d) | (c & ~d)) + x + t;\n\t return ((n << s) | (n >>> (32 - s))) + b;\n\t }\n\n\t function HH(a, b, c, d, x, s, t) {\n\t var n = a + (b ^ c ^ d) + x + t;\n\t return ((n << s) | (n >>> (32 - s))) + b;\n\t }\n\n\t function II(a, b, c, d, x, s, t) {\n\t var n = a + (c ^ (b | ~d)) + x + t;\n\t return ((n << s) | (n >>> (32 - s))) + b;\n\t }\n\n\t /**\n\t * Shortcut function to the hasher's object interface.\n\t *\n\t * @param {WordArray|string} message The message to hash.\n\t *\n\t * @return {WordArray} The hash.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var hash = CryptoJS.MD5('message');\n\t * var hash = CryptoJS.MD5(wordArray);\n\t */\n\t C.MD5 = Hasher._createHelper(MD5);\n\n\t /**\n\t * Shortcut function to the HMAC's object interface.\n\t *\n\t * @param {WordArray|string} message The message to hash.\n\t * @param {WordArray|string} key The secret key.\n\t *\n\t * @return {WordArray} The HMAC.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var hmac = CryptoJS.HmacMD5(message, key);\n\t */\n\t C.HmacMD5 = Hasher._createHmacHelper(MD5);\n\t}(Math));\n\n\n\treturn CryptoJS.MD5;\n\n}));\n\n//# sourceURL=webpack://ajaxloadmore/./node_modules/crypto-js/md5.js?"); - -/***/ }), -/***/ "./node_modules/ev-emitter/ev-emitter.js": -/*!***********************************************!*\ - !*** ./node_modules/ev-emitter/ev-emitter.js ***! - \***********************************************/ -/***/ (function(module, exports, __webpack_require__) { - -eval("var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;/**\n * EvEmitter v1.1.0\n * Lil' event emitter\n * MIT License\n */\n\n/* jshint unused: true, undef: true, strict: true */\n\n( function( global, factory ) {\n // universal module definition\n /* jshint strict: false */ /* globals define, module, window */\n if ( true ) {\n // AMD - RequireJS\n !(__WEBPACK_AMD_DEFINE_FACTORY__ = (factory),\n\t\t__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?\n\t\t(__WEBPACK_AMD_DEFINE_FACTORY__.call(exports, __webpack_require__, exports, module)) :\n\t\t__WEBPACK_AMD_DEFINE_FACTORY__),\n\t\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n } else {}\n\n}( typeof window != 'undefined' ? window : this, function() {\n\n\"use strict\";\n\nfunction EvEmitter() {}\n\nvar proto = EvEmitter.prototype;\n\nproto.on = function( eventName, listener ) {\n if ( !eventName || !listener ) {\n return;\n }\n // set events hash\n var events = this._events = this._events || {};\n // set listeners array\n var listeners = events[ eventName ] = events[ eventName ] || [];\n // only add once\n if ( listeners.indexOf( listener ) == -1 ) {\n listeners.push( listener );\n }\n\n return this;\n};\n\nproto.once = function( eventName, listener ) {\n if ( !eventName || !listener ) {\n return;\n }\n // add event\n this.on( eventName, listener );\n // set once flag\n // set onceEvents hash\n var onceEvents = this._onceEvents = this._onceEvents || {};\n // set onceListeners object\n var onceListeners = onceEvents[ eventName ] = onceEvents[ eventName ] || {};\n // set flag\n onceListeners[ listener ] = true;\n\n return this;\n};\n\nproto.off = function( eventName, listener ) {\n var listeners = this._events && this._events[ eventName ];\n if ( !listeners || !listeners.length ) {\n return;\n }\n var index = listeners.indexOf( listener );\n if ( index != -1 ) {\n listeners.splice( index, 1 );\n }\n\n return this;\n};\n\nproto.emitEvent = function( eventName, args ) {\n var listeners = this._events && this._events[ eventName ];\n if ( !listeners || !listeners.length ) {\n return;\n }\n // copy over to avoid interference if .off() in listener\n listeners = listeners.slice(0);\n args = args || [];\n // once stuff\n var onceListeners = this._onceEvents && this._onceEvents[ eventName ];\n\n for ( var i=0; i < listeners.length; i++ ) {\n var listener = listeners[i]\n var isOnce = onceListeners && onceListeners[ listener ];\n if ( isOnce ) {\n // remove listener\n // remove before trigger to prevent recursion\n this.off( eventName, listener );\n // unset once flag\n delete onceListeners[ listener ];\n }\n // trigger listener\n listener.apply( this, args );\n }\n\n return this;\n};\n\nproto.allOff = function() {\n delete this._events;\n delete this._onceEvents;\n};\n\nreturn EvEmitter;\n\n}));\n\n\n//# sourceURL=webpack://ajaxloadmore/./node_modules/ev-emitter/ev-emitter.js?"); - -/***/ }), -/***/ "./node_modules/focus-options-polyfill/index.js": -/*!******************************************************!*\ - !*** ./node_modules/focus-options-polyfill/index.js ***! - \******************************************************/ -/***/ (function() { +var GetIntrinsic = __webpack_require__(210); -eval("// focus - focusOptions - preventScroll polyfill\n(function() {\n if (\n typeof window === \"undefined\" ||\n typeof document === \"undefined\" ||\n typeof HTMLElement === \"undefined\"\n ) {\n return;\n }\n\n var supportsPreventScrollOption = false;\n try {\n var focusElem = document.createElement(\"div\");\n focusElem.addEventListener(\n \"focus\",\n function(event) {\n event.preventDefault();\n event.stopPropagation();\n },\n true\n );\n focusElem.focus(\n Object.defineProperty({}, \"preventScroll\", {\n get: function() {\n // Edge v18 gives a false positive for supporting inputs\n if (\n navigator &&\n typeof navigator.userAgent !== 'undefined' &&\n navigator.userAgent &&\n navigator.userAgent.match(/Edge\\/1[7-8]/)) {\n return supportsPreventScrollOption = false\n }\n\n supportsPreventScrollOption = true;\n }\n })\n );\n } catch (e) {}\n\n if (\n HTMLElement.prototype.nativeFocus === undefined &&\n !supportsPreventScrollOption\n ) {\n HTMLElement.prototype.nativeFocus = HTMLElement.prototype.focus;\n\n var calcScrollableElements = function(element) {\n var parent = element.parentNode;\n var scrollableElements = [];\n var rootScrollingElement =\n document.scrollingElement || document.documentElement;\n\n while (parent && parent !== rootScrollingElement) {\n if (\n parent.offsetHeight < parent.scrollHeight ||\n parent.offsetWidth < parent.scrollWidth\n ) {\n scrollableElements.push([\n parent,\n parent.scrollTop,\n parent.scrollLeft\n ]);\n }\n parent = parent.parentNode;\n }\n parent = rootScrollingElement;\n scrollableElements.push([parent, parent.scrollTop, parent.scrollLeft]);\n\n return scrollableElements;\n };\n\n var restoreScrollPosition = function(scrollableElements) {\n for (var i = 0; i < scrollableElements.length; i++) {\n scrollableElements[i][0].scrollTop = scrollableElements[i][1];\n scrollableElements[i][0].scrollLeft = scrollableElements[i][2];\n }\n scrollableElements = [];\n };\n\n var patchedFocus = function(args) {\n if (args && args.preventScroll) {\n var evScrollableElements = calcScrollableElements(this);\n if (typeof setTimeout === 'function') {\n var thisElem = this;\n setTimeout(function () {\n thisElem.nativeFocus();\n restoreScrollPosition(evScrollableElements);\n }, 0);\n } else {\n this.nativeFocus();\n restoreScrollPosition(evScrollableElements);\n }\n }\n else {\n this.nativeFocus();\n }\n };\n\n HTMLElement.prototype.focus = patchedFocus;\n }\n})();\n\n\n//# sourceURL=webpack://ajaxloadmore/./node_modules/focus-options-polyfill/index.js?"); +var callBind = __webpack_require__(559); -/***/ }), +var $indexOf = callBind(GetIntrinsic('String.prototype.indexOf')); -/***/ "./node_modules/function-bind/implementation.js": -/*!******************************************************!*\ - !*** ./node_modules/function-bind/implementation.js ***! - \******************************************************/ -/***/ (function(module) { +module.exports = function callBoundIntrinsic(name, allowMissing) { + var intrinsic = GetIntrinsic(name, !!allowMissing); + if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) { + return callBind(intrinsic); + } + return intrinsic; +}; -"use strict"; -eval("\n\n/* eslint no-invalid-this: 1 */\n\nvar ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';\nvar slice = Array.prototype.slice;\nvar toStr = Object.prototype.toString;\nvar funcType = '[object Function]';\n\nmodule.exports = function bind(that) {\n var target = this;\n if (typeof target !== 'function' || toStr.call(target) !== funcType) {\n throw new TypeError(ERROR_MESSAGE + target);\n }\n var args = slice.call(arguments, 1);\n\n var bound;\n var binder = function () {\n if (this instanceof bound) {\n var result = target.apply(\n this,\n args.concat(slice.call(arguments))\n );\n if (Object(result) === result) {\n return result;\n }\n return this;\n } else {\n return target.apply(\n that,\n args.concat(slice.call(arguments))\n );\n }\n };\n\n var boundLength = Math.max(0, target.length - args.length);\n var boundArgs = [];\n for (var i = 0; i < boundLength; i++) {\n boundArgs.push('$' + i);\n }\n\n bound = Function('binder', 'return function (' + boundArgs.join(',') + '){ return binder.apply(this,arguments); }')(binder);\n\n if (target.prototype) {\n var Empty = function Empty() {};\n Empty.prototype = target.prototype;\n bound.prototype = new Empty();\n Empty.prototype = null;\n }\n\n return bound;\n};\n\n\n//# sourceURL=webpack://ajaxloadmore/./node_modules/function-bind/implementation.js?"); /***/ }), -/***/ "./node_modules/function-bind/index.js": -/*!*********************************************!*\ - !*** ./node_modules/function-bind/index.js ***! - \*********************************************/ +/***/ 559: /***/ (function(module, __unused_webpack_exports, __webpack_require__) { "use strict"; -eval("\n\nvar implementation = __webpack_require__(/*! ./implementation */ \"./node_modules/function-bind/implementation.js\");\n\nmodule.exports = Function.prototype.bind || implementation;\n\n\n//# sourceURL=webpack://ajaxloadmore/./node_modules/function-bind/index.js?"); -/***/ }), -/***/ "./node_modules/get-intrinsic/index.js": -/*!*********************************************!*\ - !*** ./node_modules/get-intrinsic/index.js ***! - \*********************************************/ -/***/ (function(module, __unused_webpack_exports, __webpack_require__) { +var bind = __webpack_require__(612); +var GetIntrinsic = __webpack_require__(210); + +var $apply = GetIntrinsic('%Function.prototype.apply%'); +var $call = GetIntrinsic('%Function.prototype.call%'); +var $reflectApply = GetIntrinsic('%Reflect.apply%', true) || bind.call($call, $apply); + +var $gOPD = GetIntrinsic('%Object.getOwnPropertyDescriptor%', true); +var $defineProperty = GetIntrinsic('%Object.defineProperty%', true); +var $max = GetIntrinsic('%Math.max%'); + +if ($defineProperty) { + try { + $defineProperty({}, 'a', { value: 1 }); + } catch (e) { + // IE 8 has a broken defineProperty + $defineProperty = null; + } +} + +module.exports = function callBind(originalFunction) { + var func = $reflectApply(bind, $call, arguments); + if ($gOPD && $defineProperty) { + var desc = $gOPD(func, 'length'); + if (desc.configurable) { + // original length, plus the receiver, minus any additional arguments (after the receiver) + $defineProperty( + func, + 'length', + { value: 1 + $max(0, originalFunction.length - (arguments.length - 1)) } + ); + } + } + return func; +}; + +var applyBind = function applyBind() { + return $reflectApply(bind, $apply, arguments); +}; + +if ($defineProperty) { + $defineProperty(module.exports, 'apply', { value: applyBind }); +} else { + module.exports.apply = applyBind; +} -"use strict"; -eval("\n\nvar undefined;\n\nvar $SyntaxError = SyntaxError;\nvar $Function = Function;\nvar $TypeError = TypeError;\n\n// eslint-disable-next-line consistent-return\nvar getEvalledConstructor = function (expressionSyntax) {\n\ttry {\n\t\treturn $Function('\"use strict\"; return (' + expressionSyntax + ').constructor;')();\n\t} catch (e) {}\n};\n\nvar $gOPD = Object.getOwnPropertyDescriptor;\nif ($gOPD) {\n\ttry {\n\t\t$gOPD({}, '');\n\t} catch (e) {\n\t\t$gOPD = null; // this is IE 8, which has a broken gOPD\n\t}\n}\n\nvar throwTypeError = function () {\n\tthrow new $TypeError();\n};\nvar ThrowTypeError = $gOPD\n\t? (function () {\n\t\ttry {\n\t\t\t// eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties\n\t\t\targuments.callee; // IE 8 does not throw here\n\t\t\treturn throwTypeError;\n\t\t} catch (calleeThrows) {\n\t\t\ttry {\n\t\t\t\t// IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '')\n\t\t\t\treturn $gOPD(arguments, 'callee').get;\n\t\t\t} catch (gOPDthrows) {\n\t\t\t\treturn throwTypeError;\n\t\t\t}\n\t\t}\n\t}())\n\t: throwTypeError;\n\nvar hasSymbols = __webpack_require__(/*! has-symbols */ \"./node_modules/has-symbols/index.js\")();\nvar hasProto = __webpack_require__(/*! has-proto */ \"./node_modules/has-proto/index.js\")();\n\nvar getProto = Object.getPrototypeOf || (\n\thasProto\n\t\t? function (x) { return x.__proto__; } // eslint-disable-line no-proto\n\t\t: null\n);\n\nvar needsEval = {};\n\nvar TypedArray = typeof Uint8Array === 'undefined' || !getProto ? undefined : getProto(Uint8Array);\n\nvar INTRINSICS = {\n\t'%AggregateError%': typeof AggregateError === 'undefined' ? undefined : AggregateError,\n\t'%Array%': Array,\n\t'%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined : ArrayBuffer,\n\t'%ArrayIteratorPrototype%': hasSymbols && getProto ? getProto([][Symbol.iterator]()) : undefined,\n\t'%AsyncFromSyncIteratorPrototype%': undefined,\n\t'%AsyncFunction%': needsEval,\n\t'%AsyncGenerator%': needsEval,\n\t'%AsyncGeneratorFunction%': needsEval,\n\t'%AsyncIteratorPrototype%': needsEval,\n\t'%Atomics%': typeof Atomics === 'undefined' ? undefined : Atomics,\n\t'%BigInt%': typeof BigInt === 'undefined' ? undefined : BigInt,\n\t'%BigInt64Array%': typeof BigInt64Array === 'undefined' ? undefined : BigInt64Array,\n\t'%BigUint64Array%': typeof BigUint64Array === 'undefined' ? undefined : BigUint64Array,\n\t'%Boolean%': Boolean,\n\t'%DataView%': typeof DataView === 'undefined' ? undefined : DataView,\n\t'%Date%': Date,\n\t'%decodeURI%': decodeURI,\n\t'%decodeURIComponent%': decodeURIComponent,\n\t'%encodeURI%': encodeURI,\n\t'%encodeURIComponent%': encodeURIComponent,\n\t'%Error%': Error,\n\t'%eval%': eval, // eslint-disable-line no-eval\n\t'%EvalError%': EvalError,\n\t'%Float32Array%': typeof Float32Array === 'undefined' ? undefined : Float32Array,\n\t'%Float64Array%': typeof Float64Array === 'undefined' ? undefined : Float64Array,\n\t'%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined : FinalizationRegistry,\n\t'%Function%': $Function,\n\t'%GeneratorFunction%': needsEval,\n\t'%Int8Array%': typeof Int8Array === 'undefined' ? undefined : Int8Array,\n\t'%Int16Array%': typeof Int16Array === 'undefined' ? undefined : Int16Array,\n\t'%Int32Array%': typeof Int32Array === 'undefined' ? undefined : Int32Array,\n\t'%isFinite%': isFinite,\n\t'%isNaN%': isNaN,\n\t'%IteratorPrototype%': hasSymbols && getProto ? getProto(getProto([][Symbol.iterator]())) : undefined,\n\t'%JSON%': typeof JSON === 'object' ? JSON : undefined,\n\t'%Map%': typeof Map === 'undefined' ? undefined : Map,\n\t'%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols || !getProto ? undefined : getProto(new Map()[Symbol.iterator]()),\n\t'%Math%': Math,\n\t'%Number%': Number,\n\t'%Object%': Object,\n\t'%parseFloat%': parseFloat,\n\t'%parseInt%': parseInt,\n\t'%Promise%': typeof Promise === 'undefined' ? undefined : Promise,\n\t'%Proxy%': typeof Proxy === 'undefined' ? undefined : Proxy,\n\t'%RangeError%': RangeError,\n\t'%ReferenceError%': ReferenceError,\n\t'%Reflect%': typeof Reflect === 'undefined' ? undefined : Reflect,\n\t'%RegExp%': RegExp,\n\t'%Set%': typeof Set === 'undefined' ? undefined : Set,\n\t'%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols || !getProto ? undefined : getProto(new Set()[Symbol.iterator]()),\n\t'%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined : SharedArrayBuffer,\n\t'%String%': String,\n\t'%StringIteratorPrototype%': hasSymbols && getProto ? getProto(''[Symbol.iterator]()) : undefined,\n\t'%Symbol%': hasSymbols ? Symbol : undefined,\n\t'%SyntaxError%': $SyntaxError,\n\t'%ThrowTypeError%': ThrowTypeError,\n\t'%TypedArray%': TypedArray,\n\t'%TypeError%': $TypeError,\n\t'%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined : Uint8Array,\n\t'%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined : Uint8ClampedArray,\n\t'%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined : Uint16Array,\n\t'%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined : Uint32Array,\n\t'%URIError%': URIError,\n\t'%WeakMap%': typeof WeakMap === 'undefined' ? undefined : WeakMap,\n\t'%WeakRef%': typeof WeakRef === 'undefined' ? undefined : WeakRef,\n\t'%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet\n};\n\nif (getProto) {\n\ttry {\n\t\tnull.error; // eslint-disable-line no-unused-expressions\n\t} catch (e) {\n\t\t// https://github.com/tc39/proposal-shadowrealm/pull/384#issuecomment-1364264229\n\t\tvar errorProto = getProto(getProto(e));\n\t\tINTRINSICS['%Error.prototype%'] = errorProto;\n\t}\n}\n\nvar doEval = function doEval(name) {\n\tvar value;\n\tif (name === '%AsyncFunction%') {\n\t\tvalue = getEvalledConstructor('async function () {}');\n\t} else if (name === '%GeneratorFunction%') {\n\t\tvalue = getEvalledConstructor('function* () {}');\n\t} else if (name === '%AsyncGeneratorFunction%') {\n\t\tvalue = getEvalledConstructor('async function* () {}');\n\t} else if (name === '%AsyncGenerator%') {\n\t\tvar fn = doEval('%AsyncGeneratorFunction%');\n\t\tif (fn) {\n\t\t\tvalue = fn.prototype;\n\t\t}\n\t} else if (name === '%AsyncIteratorPrototype%') {\n\t\tvar gen = doEval('%AsyncGenerator%');\n\t\tif (gen && getProto) {\n\t\t\tvalue = getProto(gen.prototype);\n\t\t}\n\t}\n\n\tINTRINSICS[name] = value;\n\n\treturn value;\n};\n\nvar LEGACY_ALIASES = {\n\t'%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],\n\t'%ArrayPrototype%': ['Array', 'prototype'],\n\t'%ArrayProto_entries%': ['Array', 'prototype', 'entries'],\n\t'%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'],\n\t'%ArrayProto_keys%': ['Array', 'prototype', 'keys'],\n\t'%ArrayProto_values%': ['Array', 'prototype', 'values'],\n\t'%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'],\n\t'%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'],\n\t'%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'],\n\t'%BooleanPrototype%': ['Boolean', 'prototype'],\n\t'%DataViewPrototype%': ['DataView', 'prototype'],\n\t'%DatePrototype%': ['Date', 'prototype'],\n\t'%ErrorPrototype%': ['Error', 'prototype'],\n\t'%EvalErrorPrototype%': ['EvalError', 'prototype'],\n\t'%Float32ArrayPrototype%': ['Float32Array', 'prototype'],\n\t'%Float64ArrayPrototype%': ['Float64Array', 'prototype'],\n\t'%FunctionPrototype%': ['Function', 'prototype'],\n\t'%Generator%': ['GeneratorFunction', 'prototype'],\n\t'%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'],\n\t'%Int8ArrayPrototype%': ['Int8Array', 'prototype'],\n\t'%Int16ArrayPrototype%': ['Int16Array', 'prototype'],\n\t'%Int32ArrayPrototype%': ['Int32Array', 'prototype'],\n\t'%JSONParse%': ['JSON', 'parse'],\n\t'%JSONStringify%': ['JSON', 'stringify'],\n\t'%MapPrototype%': ['Map', 'prototype'],\n\t'%NumberPrototype%': ['Number', 'prototype'],\n\t'%ObjectPrototype%': ['Object', 'prototype'],\n\t'%ObjProto_toString%': ['Object', 'prototype', 'toString'],\n\t'%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'],\n\t'%PromisePrototype%': ['Promise', 'prototype'],\n\t'%PromiseProto_then%': ['Promise', 'prototype', 'then'],\n\t'%Promise_all%': ['Promise', 'all'],\n\t'%Promise_reject%': ['Promise', 'reject'],\n\t'%Promise_resolve%': ['Promise', 'resolve'],\n\t'%RangeErrorPrototype%': ['RangeError', 'prototype'],\n\t'%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'],\n\t'%RegExpPrototype%': ['RegExp', 'prototype'],\n\t'%SetPrototype%': ['Set', 'prototype'],\n\t'%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'],\n\t'%StringPrototype%': ['String', 'prototype'],\n\t'%SymbolPrototype%': ['Symbol', 'prototype'],\n\t'%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'],\n\t'%TypedArrayPrototype%': ['TypedArray', 'prototype'],\n\t'%TypeErrorPrototype%': ['TypeError', 'prototype'],\n\t'%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'],\n\t'%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'],\n\t'%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'],\n\t'%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'],\n\t'%URIErrorPrototype%': ['URIError', 'prototype'],\n\t'%WeakMapPrototype%': ['WeakMap', 'prototype'],\n\t'%WeakSetPrototype%': ['WeakSet', 'prototype']\n};\n\nvar bind = __webpack_require__(/*! function-bind */ \"./node_modules/function-bind/index.js\");\nvar hasOwn = __webpack_require__(/*! has */ \"./node_modules/has/src/index.js\");\nvar $concat = bind.call(Function.call, Array.prototype.concat);\nvar $spliceApply = bind.call(Function.apply, Array.prototype.splice);\nvar $replace = bind.call(Function.call, String.prototype.replace);\nvar $strSlice = bind.call(Function.call, String.prototype.slice);\nvar $exec = bind.call(Function.call, RegExp.prototype.exec);\n\n/* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */\nvar rePropName = /[^%.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|%$))/g;\nvar reEscapeChar = /\\\\(\\\\)?/g; /** Used to match backslashes in property paths. */\nvar stringToPath = function stringToPath(string) {\n\tvar first = $strSlice(string, 0, 1);\n\tvar last = $strSlice(string, -1);\n\tif (first === '%' && last !== '%') {\n\t\tthrow new $SyntaxError('invalid intrinsic syntax, expected closing `%`');\n\t} else if (last === '%' && first !== '%') {\n\t\tthrow new $SyntaxError('invalid intrinsic syntax, expected opening `%`');\n\t}\n\tvar result = [];\n\t$replace(string, rePropName, function (match, number, quote, subString) {\n\t\tresult[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match;\n\t});\n\treturn result;\n};\n/* end adaptation */\n\nvar getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) {\n\tvar intrinsicName = name;\n\tvar alias;\n\tif (hasOwn(LEGACY_ALIASES, intrinsicName)) {\n\t\talias = LEGACY_ALIASES[intrinsicName];\n\t\tintrinsicName = '%' + alias[0] + '%';\n\t}\n\n\tif (hasOwn(INTRINSICS, intrinsicName)) {\n\t\tvar value = INTRINSICS[intrinsicName];\n\t\tif (value === needsEval) {\n\t\t\tvalue = doEval(intrinsicName);\n\t\t}\n\t\tif (typeof value === 'undefined' && !allowMissing) {\n\t\t\tthrow new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!');\n\t\t}\n\n\t\treturn {\n\t\t\talias: alias,\n\t\t\tname: intrinsicName,\n\t\t\tvalue: value\n\t\t};\n\t}\n\n\tthrow new $SyntaxError('intrinsic ' + name + ' does not exist!');\n};\n\nmodule.exports = function GetIntrinsic(name, allowMissing) {\n\tif (typeof name !== 'string' || name.length === 0) {\n\t\tthrow new $TypeError('intrinsic name must be a non-empty string');\n\t}\n\tif (arguments.length > 1 && typeof allowMissing !== 'boolean') {\n\t\tthrow new $TypeError('\"allowMissing\" argument must be a boolean');\n\t}\n\n\tif ($exec(/^%?[^%]*%?$/, name) === null) {\n\t\tthrow new $SyntaxError('`%` may not be present anywhere but at the beginning and end of the intrinsic name');\n\t}\n\tvar parts = stringToPath(name);\n\tvar intrinsicBaseName = parts.length > 0 ? parts[0] : '';\n\n\tvar intrinsic = getBaseIntrinsic('%' + intrinsicBaseName + '%', allowMissing);\n\tvar intrinsicRealName = intrinsic.name;\n\tvar value = intrinsic.value;\n\tvar skipFurtherCaching = false;\n\n\tvar alias = intrinsic.alias;\n\tif (alias) {\n\t\tintrinsicBaseName = alias[0];\n\t\t$spliceApply(parts, $concat([0, 1], alias));\n\t}\n\n\tfor (var i = 1, isOwn = true; i < parts.length; i += 1) {\n\t\tvar part = parts[i];\n\t\tvar first = $strSlice(part, 0, 1);\n\t\tvar last = $strSlice(part, -1);\n\t\tif (\n\t\t\t(\n\t\t\t\t(first === '\"' || first === \"'\" || first === '`')\n\t\t\t\t|| (last === '\"' || last === \"'\" || last === '`')\n\t\t\t)\n\t\t\t&& first !== last\n\t\t) {\n\t\t\tthrow new $SyntaxError('property names with quotes must have matching quotes');\n\t\t}\n\t\tif (part === 'constructor' || !isOwn) {\n\t\t\tskipFurtherCaching = true;\n\t\t}\n\n\t\tintrinsicBaseName += '.' + part;\n\t\tintrinsicRealName = '%' + intrinsicBaseName + '%';\n\n\t\tif (hasOwn(INTRINSICS, intrinsicRealName)) {\n\t\t\tvalue = INTRINSICS[intrinsicRealName];\n\t\t} else if (value != null) {\n\t\t\tif (!(part in value)) {\n\t\t\t\tif (!allowMissing) {\n\t\t\t\t\tthrow new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.');\n\t\t\t\t}\n\t\t\t\treturn void undefined;\n\t\t\t}\n\t\t\tif ($gOPD && (i + 1) >= parts.length) {\n\t\t\t\tvar desc = $gOPD(value, part);\n\t\t\t\tisOwn = !!desc;\n\n\t\t\t\t// By convention, when a data property is converted to an accessor\n\t\t\t\t// property to emulate a data property that does not suffer from\n\t\t\t\t// the override mistake, that accessor's getter is marked with\n\t\t\t\t// an `originalValue` property. Here, when we detect this, we\n\t\t\t\t// uphold the illusion by pretending to see that original data\n\t\t\t\t// property, i.e., returning the value rather than the getter\n\t\t\t\t// itself.\n\t\t\t\tif (isOwn && 'get' in desc && !('originalValue' in desc.get)) {\n\t\t\t\t\tvalue = desc.get;\n\t\t\t\t} else {\n\t\t\t\t\tvalue = value[part];\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tisOwn = hasOwn(value, part);\n\t\t\t\tvalue = value[part];\n\t\t\t}\n\n\t\t\tif (isOwn && !skipFurtherCaching) {\n\t\t\t\tINTRINSICS[intrinsicRealName] = value;\n\t\t\t}\n\t\t}\n\t}\n\treturn value;\n};\n\n\n//# sourceURL=webpack://ajaxloadmore/./node_modules/get-intrinsic/index.js?"); /***/ }), -/***/ "./node_modules/has-proto/index.js": -/*!*****************************************!*\ - !*** ./node_modules/has-proto/index.js ***! - \*****************************************/ -/***/ (function(module) { +/***/ 249: +/***/ (function(module, exports, __webpack_require__) { -"use strict"; -eval("\n\nvar test = {\n\tfoo: {}\n};\n\nvar $Object = Object;\n\nmodule.exports = function hasProto() {\n\treturn { __proto__: test }.foo === test.foo && !({ __proto__: null } instanceof $Object);\n};\n\n\n//# sourceURL=webpack://ajaxloadmore/./node_modules/has-proto/index.js?"); +;(function (root, factory) { + if (true) { + // CommonJS + module.exports = exports = factory(); + } + else {} +}(this, function () { + + /*globals window, global, require*/ + + /** + * CryptoJS core components. + */ + var CryptoJS = CryptoJS || (function (Math, undefined) { + + var crypto; + + // Native crypto from window (Browser) + if (typeof window !== 'undefined' && window.crypto) { + crypto = window.crypto; + } + + // Native crypto in web worker (Browser) + if (typeof self !== 'undefined' && self.crypto) { + crypto = self.crypto; + } + + // Native crypto from worker + if (typeof globalThis !== 'undefined' && globalThis.crypto) { + crypto = globalThis.crypto; + } + + // Native (experimental IE 11) crypto from window (Browser) + if (!crypto && typeof window !== 'undefined' && window.msCrypto) { + crypto = window.msCrypto; + } + + // Native crypto from global (NodeJS) + if (!crypto && typeof __webpack_require__.g !== 'undefined' && __webpack_require__.g.crypto) { + crypto = __webpack_require__.g.crypto; + } + + // Native crypto import via require (NodeJS) + if (!crypto && "function" === 'function') { + try { + crypto = __webpack_require__(480); + } catch (err) {} + } + + /* + * Cryptographically secure pseudorandom number generator + * + * As Math.random() is cryptographically not safe to use + */ + var cryptoSecureRandomInt = function () { + if (crypto) { + // Use getRandomValues method (Browser) + if (typeof crypto.getRandomValues === 'function') { + try { + return crypto.getRandomValues(new Uint32Array(1))[0]; + } catch (err) {} + } + + // Use randomBytes method (NodeJS) + if (typeof crypto.randomBytes === 'function') { + try { + return crypto.randomBytes(4).readInt32LE(); + } catch (err) {} + } + } + + throw new Error('Native crypto module could not be used to get secure random number.'); + }; + + /* + * Local polyfill of Object.create + + */ + var create = Object.create || (function () { + function F() {} + + return function (obj) { + var subtype; + + F.prototype = obj; + + subtype = new F(); + + F.prototype = null; + + return subtype; + }; + }()); + + /** + * CryptoJS namespace. + */ + var C = {}; + + /** + * Library namespace. + */ + var C_lib = C.lib = {}; + + /** + * Base object for prototypal inheritance. + */ + var Base = C_lib.Base = (function () { + + + return { + /** + * Creates a new object that inherits from this object. + * + * @param {Object} overrides Properties to copy into the new object. + * + * @return {Object} The new object. + * + * @static + * + * @example + * + * var MyType = CryptoJS.lib.Base.extend({ + * field: 'value', + * + * method: function () { + * } + * }); + */ + extend: function (overrides) { + // Spawn + var subtype = create(this); + + // Augment + if (overrides) { + subtype.mixIn(overrides); + } + + // Create default initializer + if (!subtype.hasOwnProperty('init') || this.init === subtype.init) { + subtype.init = function () { + subtype.$super.init.apply(this, arguments); + }; + } + + // Initializer's prototype is the subtype object + subtype.init.prototype = subtype; + + // Reference supertype + subtype.$super = this; + + return subtype; + }, + + /** + * Extends this object and runs the init method. + * Arguments to create() will be passed to init(). + * + * @return {Object} The new object. + * + * @static + * + * @example + * + * var instance = MyType.create(); + */ + create: function () { + var instance = this.extend(); + instance.init.apply(instance, arguments); + + return instance; + }, + + /** + * Initializes a newly created object. + * Override this method to add some logic when your objects are created. + * + * @example + * + * var MyType = CryptoJS.lib.Base.extend({ + * init: function () { + * // ... + * } + * }); + */ + init: function () { + }, + + /** + * Copies properties into this object. + * + * @param {Object} properties The properties to mix in. + * + * @example + * + * MyType.mixIn({ + * field: 'value' + * }); + */ + mixIn: function (properties) { + for (var propertyName in properties) { + if (properties.hasOwnProperty(propertyName)) { + this[propertyName] = properties[propertyName]; + } + } + + // IE won't copy toString using the loop above + if (properties.hasOwnProperty('toString')) { + this.toString = properties.toString; + } + }, + + /** + * Creates a copy of this object. + * + * @return {Object} The clone. + * + * @example + * + * var clone = instance.clone(); + */ + clone: function () { + return this.init.prototype.extend(this); + } + }; + }()); + + /** + * An array of 32-bit words. + * + * @property {Array} words The array of 32-bit words. + * @property {number} sigBytes The number of significant bytes in this word array. + */ + var WordArray = C_lib.WordArray = Base.extend({ + /** + * Initializes a newly created word array. + * + * @param {Array} words (Optional) An array of 32-bit words. + * @param {number} sigBytes (Optional) The number of significant bytes in the words. + * + * @example + * + * var wordArray = CryptoJS.lib.WordArray.create(); + * var wordArray = CryptoJS.lib.WordArray.create([0x00010203, 0x04050607]); + * var wordArray = CryptoJS.lib.WordArray.create([0x00010203, 0x04050607], 6); + */ + init: function (words, sigBytes) { + words = this.words = words || []; + + if (sigBytes != undefined) { + this.sigBytes = sigBytes; + } else { + this.sigBytes = words.length * 4; + } + }, + + /** + * Converts this word array to a string. + * + * @param {Encoder} encoder (Optional) The encoding strategy to use. Default: CryptoJS.enc.Hex + * + * @return {string} The stringified word array. + * + * @example + * + * var string = wordArray + ''; + * var string = wordArray.toString(); + * var string = wordArray.toString(CryptoJS.enc.Utf8); + */ + toString: function (encoder) { + return (encoder || Hex).stringify(this); + }, + + /** + * Concatenates a word array to this word array. + * + * @param {WordArray} wordArray The word array to append. + * + * @return {WordArray} This word array. + * + * @example + * + * wordArray1.concat(wordArray2); + */ + concat: function (wordArray) { + // Shortcuts + var thisWords = this.words; + var thatWords = wordArray.words; + var thisSigBytes = this.sigBytes; + var thatSigBytes = wordArray.sigBytes; + + // Clamp excess bits + this.clamp(); + + // Concat + if (thisSigBytes % 4) { + // Copy one byte at a time + for (var i = 0; i < thatSigBytes; i++) { + var thatByte = (thatWords[i >>> 2] >>> (24 - (i % 4) * 8)) & 0xff; + thisWords[(thisSigBytes + i) >>> 2] |= thatByte << (24 - ((thisSigBytes + i) % 4) * 8); + } + } else { + // Copy one word at a time + for (var j = 0; j < thatSigBytes; j += 4) { + thisWords[(thisSigBytes + j) >>> 2] = thatWords[j >>> 2]; + } + } + this.sigBytes += thatSigBytes; + + // Chainable + return this; + }, + + /** + * Removes insignificant bits. + * + * @example + * + * wordArray.clamp(); + */ + clamp: function () { + // Shortcuts + var words = this.words; + var sigBytes = this.sigBytes; + + // Clamp + words[sigBytes >>> 2] &= 0xffffffff << (32 - (sigBytes % 4) * 8); + words.length = Math.ceil(sigBytes / 4); + }, + + /** + * Creates a copy of this word array. + * + * @return {WordArray} The clone. + * + * @example + * + * var clone = wordArray.clone(); + */ + clone: function () { + var clone = Base.clone.call(this); + clone.words = this.words.slice(0); + + return clone; + }, + + /** + * Creates a word array filled with random bytes. + * + * @param {number} nBytes The number of random bytes to generate. + * + * @return {WordArray} The random word array. + * + * @static + * + * @example + * + * var wordArray = CryptoJS.lib.WordArray.random(16); + */ + random: function (nBytes) { + var words = []; + + for (var i = 0; i < nBytes; i += 4) { + words.push(cryptoSecureRandomInt()); + } + + return new WordArray.init(words, nBytes); + } + }); + + /** + * Encoder namespace. + */ + var C_enc = C.enc = {}; + + /** + * Hex encoding strategy. + */ + var Hex = C_enc.Hex = { + /** + * Converts a word array to a hex string. + * + * @param {WordArray} wordArray The word array. + * + * @return {string} The hex string. + * + * @static + * + * @example + * + * var hexString = CryptoJS.enc.Hex.stringify(wordArray); + */ + stringify: function (wordArray) { + // Shortcuts + var words = wordArray.words; + var sigBytes = wordArray.sigBytes; + + // Convert + var hexChars = []; + for (var i = 0; i < sigBytes; i++) { + var bite = (words[i >>> 2] >>> (24 - (i % 4) * 8)) & 0xff; + hexChars.push((bite >>> 4).toString(16)); + hexChars.push((bite & 0x0f).toString(16)); + } + + return hexChars.join(''); + }, + + /** + * Converts a hex string to a word array. + * + * @param {string} hexStr The hex string. + * + * @return {WordArray} The word array. + * + * @static + * + * @example + * + * var wordArray = CryptoJS.enc.Hex.parse(hexString); + */ + parse: function (hexStr) { + // Shortcut + var hexStrLength = hexStr.length; + + // Convert + var words = []; + for (var i = 0; i < hexStrLength; i += 2) { + words[i >>> 3] |= parseInt(hexStr.substr(i, 2), 16) << (24 - (i % 8) * 4); + } + + return new WordArray.init(words, hexStrLength / 2); + } + }; + + /** + * Latin1 encoding strategy. + */ + var Latin1 = C_enc.Latin1 = { + /** + * Converts a word array to a Latin1 string. + * + * @param {WordArray} wordArray The word array. + * + * @return {string} The Latin1 string. + * + * @static + * + * @example + * + * var latin1String = CryptoJS.enc.Latin1.stringify(wordArray); + */ + stringify: function (wordArray) { + // Shortcuts + var words = wordArray.words; + var sigBytes = wordArray.sigBytes; + + // Convert + var latin1Chars = []; + for (var i = 0; i < sigBytes; i++) { + var bite = (words[i >>> 2] >>> (24 - (i % 4) * 8)) & 0xff; + latin1Chars.push(String.fromCharCode(bite)); + } + + return latin1Chars.join(''); + }, + + /** + * Converts a Latin1 string to a word array. + * + * @param {string} latin1Str The Latin1 string. + * + * @return {WordArray} The word array. + * + * @static + * + * @example + * + * var wordArray = CryptoJS.enc.Latin1.parse(latin1String); + */ + parse: function (latin1Str) { + // Shortcut + var latin1StrLength = latin1Str.length; + + // Convert + var words = []; + for (var i = 0; i < latin1StrLength; i++) { + words[i >>> 2] |= (latin1Str.charCodeAt(i) & 0xff) << (24 - (i % 4) * 8); + } + + return new WordArray.init(words, latin1StrLength); + } + }; + + /** + * UTF-8 encoding strategy. + */ + var Utf8 = C_enc.Utf8 = { + /** + * Converts a word array to a UTF-8 string. + * + * @param {WordArray} wordArray The word array. + * + * @return {string} The UTF-8 string. + * + * @static + * + * @example + * + * var utf8String = CryptoJS.enc.Utf8.stringify(wordArray); + */ + stringify: function (wordArray) { + try { + return decodeURIComponent(escape(Latin1.stringify(wordArray))); + } catch (e) { + throw new Error('Malformed UTF-8 data'); + } + }, + + /** + * Converts a UTF-8 string to a word array. + * + * @param {string} utf8Str The UTF-8 string. + * + * @return {WordArray} The word array. + * + * @static + * + * @example + * + * var wordArray = CryptoJS.enc.Utf8.parse(utf8String); + */ + parse: function (utf8Str) { + return Latin1.parse(unescape(encodeURIComponent(utf8Str))); + } + }; + + /** + * Abstract buffered block algorithm template. + * + * The property blockSize must be implemented in a concrete subtype. + * + * @property {number} _minBufferSize The number of blocks that should be kept unprocessed in the buffer. Default: 0 + */ + var BufferedBlockAlgorithm = C_lib.BufferedBlockAlgorithm = Base.extend({ + /** + * Resets this block algorithm's data buffer to its initial state. + * + * @example + * + * bufferedBlockAlgorithm.reset(); + */ + reset: function () { + // Initial values + this._data = new WordArray.init(); + this._nDataBytes = 0; + }, + + /** + * Adds new data to this block algorithm's buffer. + * + * @param {WordArray|string} data The data to append. Strings are converted to a WordArray using UTF-8. + * + * @example + * + * bufferedBlockAlgorithm._append('data'); + * bufferedBlockAlgorithm._append(wordArray); + */ + _append: function (data) { + // Convert string to WordArray, else assume WordArray already + if (typeof data == 'string') { + data = Utf8.parse(data); + } + + // Append + this._data.concat(data); + this._nDataBytes += data.sigBytes; + }, + + /** + * Processes available data blocks. + * + * This method invokes _doProcessBlock(offset), which must be implemented by a concrete subtype. + * + * @param {boolean} doFlush Whether all blocks and partial blocks should be processed. + * + * @return {WordArray} The processed data. + * + * @example + * + * var processedData = bufferedBlockAlgorithm._process(); + * var processedData = bufferedBlockAlgorithm._process(!!'flush'); + */ + _process: function (doFlush) { + var processedWords; + + // Shortcuts + var data = this._data; + var dataWords = data.words; + var dataSigBytes = data.sigBytes; + var blockSize = this.blockSize; + var blockSizeBytes = blockSize * 4; + + // Count blocks ready + var nBlocksReady = dataSigBytes / blockSizeBytes; + if (doFlush) { + // Round up to include partial blocks + nBlocksReady = Math.ceil(nBlocksReady); + } else { + // Round down to include only full blocks, + // less the number of blocks that must remain in the buffer + nBlocksReady = Math.max((nBlocksReady | 0) - this._minBufferSize, 0); + } + + // Count words ready + var nWordsReady = nBlocksReady * blockSize; + + // Count bytes ready + var nBytesReady = Math.min(nWordsReady * 4, dataSigBytes); + + // Process blocks + if (nWordsReady) { + for (var offset = 0; offset < nWordsReady; offset += blockSize) { + // Perform concrete-algorithm logic + this._doProcessBlock(dataWords, offset); + } + + // Remove processed words + processedWords = dataWords.splice(0, nWordsReady); + data.sigBytes -= nBytesReady; + } + + // Return processed words + return new WordArray.init(processedWords, nBytesReady); + }, + + /** + * Creates a copy of this object. + * + * @return {Object} The clone. + * + * @example + * + * var clone = bufferedBlockAlgorithm.clone(); + */ + clone: function () { + var clone = Base.clone.call(this); + clone._data = this._data.clone(); + + return clone; + }, + + _minBufferSize: 0 + }); + + /** + * Abstract hasher template. + * + * @property {number} blockSize The number of 32-bit words this hasher operates on. Default: 16 (512 bits) + */ + var Hasher = C_lib.Hasher = BufferedBlockAlgorithm.extend({ + /** + * Configuration options. + */ + cfg: Base.extend(), + + /** + * Initializes a newly created hasher. + * + * @param {Object} cfg (Optional) The configuration options to use for this hash computation. + * + * @example + * + * var hasher = CryptoJS.algo.SHA256.create(); + */ + init: function (cfg) { + // Apply config defaults + this.cfg = this.cfg.extend(cfg); + + // Set initial values + this.reset(); + }, + + /** + * Resets this hasher to its initial state. + * + * @example + * + * hasher.reset(); + */ + reset: function () { + // Reset data buffer + BufferedBlockAlgorithm.reset.call(this); + + // Perform concrete-hasher logic + this._doReset(); + }, + + /** + * Updates this hasher with a message. + * + * @param {WordArray|string} messageUpdate The message to append. + * + * @return {Hasher} This hasher. + * + * @example + * + * hasher.update('message'); + * hasher.update(wordArray); + */ + update: function (messageUpdate) { + // Append + this._append(messageUpdate); + + // Update the hash + this._process(); + + // Chainable + return this; + }, + + /** + * Finalizes the hash computation. + * Note that the finalize operation is effectively a destructive, read-once operation. + * + * @param {WordArray|string} messageUpdate (Optional) A final message update. + * + * @return {WordArray} The hash. + * + * @example + * + * var hash = hasher.finalize(); + * var hash = hasher.finalize('message'); + * var hash = hasher.finalize(wordArray); + */ + finalize: function (messageUpdate) { + // Final message update + if (messageUpdate) { + this._append(messageUpdate); + } + + // Perform concrete-hasher logic + var hash = this._doFinalize(); + + return hash; + }, + + blockSize: 512/32, + + /** + * Creates a shortcut function to a hasher's object interface. + * + * @param {Hasher} hasher The hasher to create a helper for. + * + * @return {Function} The shortcut function. + * + * @static + * + * @example + * + * var SHA256 = CryptoJS.lib.Hasher._createHelper(CryptoJS.algo.SHA256); + */ + _createHelper: function (hasher) { + return function (message, cfg) { + return new hasher.init(cfg).finalize(message); + }; + }, + + /** + * Creates a shortcut function to the HMAC's object interface. + * + * @param {Hasher} hasher The hasher to use in this HMAC helper. + * + * @return {Function} The shortcut function. + * + * @static + * + * @example + * + * var HmacSHA256 = CryptoJS.lib.Hasher._createHmacHelper(CryptoJS.algo.SHA256); + */ + _createHmacHelper: function (hasher) { + return function (message, key) { + return new C_algo.HMAC.init(hasher, key).finalize(message); + }; + } + }); + + /** + * Algorithm namespace. + */ + var C_algo = C.algo = {}; + + return C; + }(Math)); + + + return CryptoJS; + +})); /***/ }), -/***/ "./node_modules/has-symbols/index.js": -/*!*******************************************!*\ - !*** ./node_modules/has-symbols/index.js ***! - \*******************************************/ -/***/ (function(module, __unused_webpack_exports, __webpack_require__) { +/***/ 214: +/***/ (function(module, exports, __webpack_require__) { -"use strict"; -eval("\n\nvar origSymbol = typeof Symbol !== 'undefined' && Symbol;\nvar hasSymbolSham = __webpack_require__(/*! ./shams */ \"./node_modules/has-symbols/shams.js\");\n\nmodule.exports = function hasNativeSymbols() {\n\tif (typeof origSymbol !== 'function') { return false; }\n\tif (typeof Symbol !== 'function') { return false; }\n\tif (typeof origSymbol('foo') !== 'symbol') { return false; }\n\tif (typeof Symbol('bar') !== 'symbol') { return false; }\n\n\treturn hasSymbolSham();\n};\n\n\n//# sourceURL=webpack://ajaxloadmore/./node_modules/has-symbols/index.js?"); +;(function (root, factory) { + if (true) { + // CommonJS + module.exports = exports = factory(__webpack_require__(249)); + } + else {} +}(this, function (CryptoJS) { + + (function (Math) { + // Shortcuts + var C = CryptoJS; + var C_lib = C.lib; + var WordArray = C_lib.WordArray; + var Hasher = C_lib.Hasher; + var C_algo = C.algo; + + // Constants table + var T = []; + + // Compute constants + (function () { + for (var i = 0; i < 64; i++) { + T[i] = (Math.abs(Math.sin(i + 1)) * 0x100000000) | 0; + } + }()); + + /** + * MD5 hash algorithm. + */ + var MD5 = C_algo.MD5 = Hasher.extend({ + _doReset: function () { + this._hash = new WordArray.init([ + 0x67452301, 0xefcdab89, + 0x98badcfe, 0x10325476 + ]); + }, + + _doProcessBlock: function (M, offset) { + // Swap endian + for (var i = 0; i < 16; i++) { + // Shortcuts + var offset_i = offset + i; + var M_offset_i = M[offset_i]; + + M[offset_i] = ( + (((M_offset_i << 8) | (M_offset_i >>> 24)) & 0x00ff00ff) | + (((M_offset_i << 24) | (M_offset_i >>> 8)) & 0xff00ff00) + ); + } + + // Shortcuts + var H = this._hash.words; + + var M_offset_0 = M[offset + 0]; + var M_offset_1 = M[offset + 1]; + var M_offset_2 = M[offset + 2]; + var M_offset_3 = M[offset + 3]; + var M_offset_4 = M[offset + 4]; + var M_offset_5 = M[offset + 5]; + var M_offset_6 = M[offset + 6]; + var M_offset_7 = M[offset + 7]; + var M_offset_8 = M[offset + 8]; + var M_offset_9 = M[offset + 9]; + var M_offset_10 = M[offset + 10]; + var M_offset_11 = M[offset + 11]; + var M_offset_12 = M[offset + 12]; + var M_offset_13 = M[offset + 13]; + var M_offset_14 = M[offset + 14]; + var M_offset_15 = M[offset + 15]; + + // Working varialbes + var a = H[0]; + var b = H[1]; + var c = H[2]; + var d = H[3]; + + // Computation + a = FF(a, b, c, d, M_offset_0, 7, T[0]); + d = FF(d, a, b, c, M_offset_1, 12, T[1]); + c = FF(c, d, a, b, M_offset_2, 17, T[2]); + b = FF(b, c, d, a, M_offset_3, 22, T[3]); + a = FF(a, b, c, d, M_offset_4, 7, T[4]); + d = FF(d, a, b, c, M_offset_5, 12, T[5]); + c = FF(c, d, a, b, M_offset_6, 17, T[6]); + b = FF(b, c, d, a, M_offset_7, 22, T[7]); + a = FF(a, b, c, d, M_offset_8, 7, T[8]); + d = FF(d, a, b, c, M_offset_9, 12, T[9]); + c = FF(c, d, a, b, M_offset_10, 17, T[10]); + b = FF(b, c, d, a, M_offset_11, 22, T[11]); + a = FF(a, b, c, d, M_offset_12, 7, T[12]); + d = FF(d, a, b, c, M_offset_13, 12, T[13]); + c = FF(c, d, a, b, M_offset_14, 17, T[14]); + b = FF(b, c, d, a, M_offset_15, 22, T[15]); + + a = GG(a, b, c, d, M_offset_1, 5, T[16]); + d = GG(d, a, b, c, M_offset_6, 9, T[17]); + c = GG(c, d, a, b, M_offset_11, 14, T[18]); + b = GG(b, c, d, a, M_offset_0, 20, T[19]); + a = GG(a, b, c, d, M_offset_5, 5, T[20]); + d = GG(d, a, b, c, M_offset_10, 9, T[21]); + c = GG(c, d, a, b, M_offset_15, 14, T[22]); + b = GG(b, c, d, a, M_offset_4, 20, T[23]); + a = GG(a, b, c, d, M_offset_9, 5, T[24]); + d = GG(d, a, b, c, M_offset_14, 9, T[25]); + c = GG(c, d, a, b, M_offset_3, 14, T[26]); + b = GG(b, c, d, a, M_offset_8, 20, T[27]); + a = GG(a, b, c, d, M_offset_13, 5, T[28]); + d = GG(d, a, b, c, M_offset_2, 9, T[29]); + c = GG(c, d, a, b, M_offset_7, 14, T[30]); + b = GG(b, c, d, a, M_offset_12, 20, T[31]); + + a = HH(a, b, c, d, M_offset_5, 4, T[32]); + d = HH(d, a, b, c, M_offset_8, 11, T[33]); + c = HH(c, d, a, b, M_offset_11, 16, T[34]); + b = HH(b, c, d, a, M_offset_14, 23, T[35]); + a = HH(a, b, c, d, M_offset_1, 4, T[36]); + d = HH(d, a, b, c, M_offset_4, 11, T[37]); + c = HH(c, d, a, b, M_offset_7, 16, T[38]); + b = HH(b, c, d, a, M_offset_10, 23, T[39]); + a = HH(a, b, c, d, M_offset_13, 4, T[40]); + d = HH(d, a, b, c, M_offset_0, 11, T[41]); + c = HH(c, d, a, b, M_offset_3, 16, T[42]); + b = HH(b, c, d, a, M_offset_6, 23, T[43]); + a = HH(a, b, c, d, M_offset_9, 4, T[44]); + d = HH(d, a, b, c, M_offset_12, 11, T[45]); + c = HH(c, d, a, b, M_offset_15, 16, T[46]); + b = HH(b, c, d, a, M_offset_2, 23, T[47]); + + a = II(a, b, c, d, M_offset_0, 6, T[48]); + d = II(d, a, b, c, M_offset_7, 10, T[49]); + c = II(c, d, a, b, M_offset_14, 15, T[50]); + b = II(b, c, d, a, M_offset_5, 21, T[51]); + a = II(a, b, c, d, M_offset_12, 6, T[52]); + d = II(d, a, b, c, M_offset_3, 10, T[53]); + c = II(c, d, a, b, M_offset_10, 15, T[54]); + b = II(b, c, d, a, M_offset_1, 21, T[55]); + a = II(a, b, c, d, M_offset_8, 6, T[56]); + d = II(d, a, b, c, M_offset_15, 10, T[57]); + c = II(c, d, a, b, M_offset_6, 15, T[58]); + b = II(b, c, d, a, M_offset_13, 21, T[59]); + a = II(a, b, c, d, M_offset_4, 6, T[60]); + d = II(d, a, b, c, M_offset_11, 10, T[61]); + c = II(c, d, a, b, M_offset_2, 15, T[62]); + b = II(b, c, d, a, M_offset_9, 21, T[63]); + + // Intermediate hash value + H[0] = (H[0] + a) | 0; + H[1] = (H[1] + b) | 0; + H[2] = (H[2] + c) | 0; + H[3] = (H[3] + d) | 0; + }, + + _doFinalize: function () { + // Shortcuts + var data = this._data; + var dataWords = data.words; + + var nBitsTotal = this._nDataBytes * 8; + var nBitsLeft = data.sigBytes * 8; + + // Add padding + dataWords[nBitsLeft >>> 5] |= 0x80 << (24 - nBitsLeft % 32); + + var nBitsTotalH = Math.floor(nBitsTotal / 0x100000000); + var nBitsTotalL = nBitsTotal; + dataWords[(((nBitsLeft + 64) >>> 9) << 4) + 15] = ( + (((nBitsTotalH << 8) | (nBitsTotalH >>> 24)) & 0x00ff00ff) | + (((nBitsTotalH << 24) | (nBitsTotalH >>> 8)) & 0xff00ff00) + ); + dataWords[(((nBitsLeft + 64) >>> 9) << 4) + 14] = ( + (((nBitsTotalL << 8) | (nBitsTotalL >>> 24)) & 0x00ff00ff) | + (((nBitsTotalL << 24) | (nBitsTotalL >>> 8)) & 0xff00ff00) + ); + + data.sigBytes = (dataWords.length + 1) * 4; + + // Hash final blocks + this._process(); + + // Shortcuts + var hash = this._hash; + var H = hash.words; + + // Swap endian + for (var i = 0; i < 4; i++) { + // Shortcut + var H_i = H[i]; + + H[i] = (((H_i << 8) | (H_i >>> 24)) & 0x00ff00ff) | + (((H_i << 24) | (H_i >>> 8)) & 0xff00ff00); + } + + // Return final computed hash + return hash; + }, + + clone: function () { + var clone = Hasher.clone.call(this); + clone._hash = this._hash.clone(); + + return clone; + } + }); + + function FF(a, b, c, d, x, s, t) { + var n = a + ((b & c) | (~b & d)) + x + t; + return ((n << s) | (n >>> (32 - s))) + b; + } + + function GG(a, b, c, d, x, s, t) { + var n = a + ((b & d) | (c & ~d)) + x + t; + return ((n << s) | (n >>> (32 - s))) + b; + } + + function HH(a, b, c, d, x, s, t) { + var n = a + (b ^ c ^ d) + x + t; + return ((n << s) | (n >>> (32 - s))) + b; + } + + function II(a, b, c, d, x, s, t) { + var n = a + (c ^ (b | ~d)) + x + t; + return ((n << s) | (n >>> (32 - s))) + b; + } + + /** + * Shortcut function to the hasher's object interface. + * + * @param {WordArray|string} message The message to hash. + * + * @return {WordArray} The hash. + * + * @static + * + * @example + * + * var hash = CryptoJS.MD5('message'); + * var hash = CryptoJS.MD5(wordArray); + */ + C.MD5 = Hasher._createHelper(MD5); + + /** + * Shortcut function to the HMAC's object interface. + * + * @param {WordArray|string} message The message to hash. + * @param {WordArray|string} key The secret key. + * + * @return {WordArray} The HMAC. + * + * @static + * + * @example + * + * var hmac = CryptoJS.HmacMD5(message, key); + */ + C.HmacMD5 = Hasher._createHmacHelper(MD5); + }(Math)); + + + return CryptoJS.MD5; + +})); /***/ }), -/***/ "./node_modules/has-symbols/shams.js": -/*!*******************************************!*\ - !*** ./node_modules/has-symbols/shams.js ***! - \*******************************************/ -/***/ (function(module) { +/***/ 158: +/***/ (function(module, exports, __webpack_require__) { -"use strict"; -eval("\n\n/* eslint complexity: [2, 18], max-statements: [2, 33] */\nmodule.exports = function hasSymbols() {\n\tif (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }\n\tif (typeof Symbol.iterator === 'symbol') { return true; }\n\n\tvar obj = {};\n\tvar sym = Symbol('test');\n\tvar symObj = Object(sym);\n\tif (typeof sym === 'string') { return false; }\n\n\tif (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; }\n\tif (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; }\n\n\t// temp disabled per https://github.com/ljharb/object.assign/issues/17\n\t// if (sym instanceof Symbol) { return false; }\n\t// temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4\n\t// if (!(symObj instanceof Symbol)) { return false; }\n\n\t// if (typeof Symbol.prototype.toString !== 'function') { return false; }\n\t// if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }\n\n\tvar symVal = 42;\n\tobj[sym] = symVal;\n\tfor (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop\n\tif (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }\n\n\tif (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }\n\n\tvar syms = Object.getOwnPropertySymbols(obj);\n\tif (syms.length !== 1 || syms[0] !== sym) { return false; }\n\n\tif (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; }\n\n\tif (typeof Object.getOwnPropertyDescriptor === 'function') {\n\t\tvar descriptor = Object.getOwnPropertyDescriptor(obj, sym);\n\t\tif (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; }\n\t}\n\n\treturn true;\n};\n\n\n//# sourceURL=webpack://ajaxloadmore/./node_modules/has-symbols/shams.js?"); +var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;/** + * EvEmitter v1.1.0 + * Lil' event emitter + * MIT License + */ -/***/ }), +/* jshint unused: true, undef: true, strict: true */ -/***/ "./node_modules/has/src/index.js": -/*!***************************************!*\ - !*** ./node_modules/has/src/index.js ***! - \***************************************/ -/***/ (function(module, __unused_webpack_exports, __webpack_require__) { +( function( global, factory ) { + // universal module definition + /* jshint strict: false */ /* globals define, module, window */ + if ( true ) { + // AMD - RequireJS + !(__WEBPACK_AMD_DEFINE_FACTORY__ = (factory), + __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? + (__WEBPACK_AMD_DEFINE_FACTORY__.call(exports, __webpack_require__, exports, module)) : + __WEBPACK_AMD_DEFINE_FACTORY__), + __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); + } else {} -"use strict"; -eval("\n\nvar bind = __webpack_require__(/*! function-bind */ \"./node_modules/function-bind/index.js\");\n\nmodule.exports = bind.call(Function.call, Object.prototype.hasOwnProperty);\n\n\n//# sourceURL=webpack://ajaxloadmore/./node_modules/has/src/index.js?"); +}( typeof window != 'undefined' ? window : this, function() { -/***/ }), +"use strict"; -/***/ "./node_modules/imagesloaded/imagesloaded.js": -/*!***************************************************!*\ - !*** ./node_modules/imagesloaded/imagesloaded.js ***! - \***************************************************/ -/***/ (function(module, exports, __webpack_require__) { +function EvEmitter() {} + +var proto = EvEmitter.prototype; + +proto.on = function( eventName, listener ) { + if ( !eventName || !listener ) { + return; + } + // set events hash + var events = this._events = this._events || {}; + // set listeners array + var listeners = events[ eventName ] = events[ eventName ] || []; + // only add once + if ( listeners.indexOf( listener ) == -1 ) { + listeners.push( listener ); + } + + return this; +}; + +proto.once = function( eventName, listener ) { + if ( !eventName || !listener ) { + return; + } + // add event + this.on( eventName, listener ); + // set once flag + // set onceEvents hash + var onceEvents = this._onceEvents = this._onceEvents || {}; + // set onceListeners object + var onceListeners = onceEvents[ eventName ] = onceEvents[ eventName ] || {}; + // set flag + onceListeners[ listener ] = true; + + return this; +}; + +proto.off = function( eventName, listener ) { + var listeners = this._events && this._events[ eventName ]; + if ( !listeners || !listeners.length ) { + return; + } + var index = listeners.indexOf( listener ); + if ( index != -1 ) { + listeners.splice( index, 1 ); + } + + return this; +}; + +proto.emitEvent = function( eventName, args ) { + var listeners = this._events && this._events[ eventName ]; + if ( !listeners || !listeners.length ) { + return; + } + // copy over to avoid interference if .off() in listener + listeners = listeners.slice(0); + args = args || []; + // once stuff + var onceListeners = this._onceEvents && this._onceEvents[ eventName ]; + + for ( var i=0; i < listeners.length; i++ ) { + var listener = listeners[i] + var isOnce = onceListeners && onceListeners[ listener ]; + if ( isOnce ) { + // remove listener + // remove before trigger to prevent recursion + this.off( eventName, listener ); + // unset once flag + delete onceListeners[ listener ]; + } + // trigger listener + listener.apply( this, args ); + } + + return this; +}; + +proto.allOff = function() { + delete this._events; + delete this._onceEvents; +}; + +return EvEmitter; + +})); -eval("var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!\n * imagesLoaded v4.1.4\n * JavaScript is all like \"You images are done yet or what?\"\n * MIT License\n */\n\n( function( window, factory ) { 'use strict';\n // universal module definition\n\n /*global define: false, module: false, require: false */\n\n if ( true ) {\n // AMD\n !(__WEBPACK_AMD_DEFINE_ARRAY__ = [\n __webpack_require__(/*! ev-emitter/ev-emitter */ \"./node_modules/ev-emitter/ev-emitter.js\")\n ], __WEBPACK_AMD_DEFINE_RESULT__ = (function( EvEmitter ) {\n return factory( window, EvEmitter );\n }).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__),\n\t\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n } else {}\n\n})( typeof window !== 'undefined' ? window : this,\n\n// -------------------------- factory -------------------------- //\n\nfunction factory( window, EvEmitter ) {\n\n'use strict';\n\nvar $ = window.jQuery;\nvar console = window.console;\n\n// -------------------------- helpers -------------------------- //\n\n// extend objects\nfunction extend( a, b ) {\n for ( var prop in b ) {\n a[ prop ] = b[ prop ];\n }\n return a;\n}\n\nvar arraySlice = Array.prototype.slice;\n\n// turn element or nodeList into an array\nfunction makeArray( obj ) {\n if ( Array.isArray( obj ) ) {\n // use object if already an array\n return obj;\n }\n\n var isArrayLike = typeof obj == 'object' && typeof obj.length == 'number';\n if ( isArrayLike ) {\n // convert nodeList to array\n return arraySlice.call( obj );\n }\n\n // array of single index\n return [ obj ];\n}\n\n// -------------------------- imagesLoaded -------------------------- //\n\n/**\n * @param {Array, Element, NodeList, String} elem\n * @param {Object or Function} options - if function, use as callback\n * @param {Function} onAlways - callback function\n */\nfunction ImagesLoaded( elem, options, onAlways ) {\n // coerce ImagesLoaded() without new, to be new ImagesLoaded()\n if ( !( this instanceof ImagesLoaded ) ) {\n return new ImagesLoaded( elem, options, onAlways );\n }\n // use elem as selector string\n var queryElem = elem;\n if ( typeof elem == 'string' ) {\n queryElem = document.querySelectorAll( elem );\n }\n // bail if bad element\n if ( !queryElem ) {\n console.error( 'Bad element for imagesLoaded ' + ( queryElem || elem ) );\n return;\n }\n\n this.elements = makeArray( queryElem );\n this.options = extend( {}, this.options );\n // shift arguments if no options set\n if ( typeof options == 'function' ) {\n onAlways = options;\n } else {\n extend( this.options, options );\n }\n\n if ( onAlways ) {\n this.on( 'always', onAlways );\n }\n\n this.getImages();\n\n if ( $ ) {\n // add jQuery Deferred object\n this.jqDeferred = new $.Deferred();\n }\n\n // HACK check async to allow time to bind listeners\n setTimeout( this.check.bind( this ) );\n}\n\nImagesLoaded.prototype = Object.create( EvEmitter.prototype );\n\nImagesLoaded.prototype.options = {};\n\nImagesLoaded.prototype.getImages = function() {\n this.images = [];\n\n // filter & find items if we have an item selector\n this.elements.forEach( this.addElementImages, this );\n};\n\n/**\n * @param {Node} element\n */\nImagesLoaded.prototype.addElementImages = function( elem ) {\n // filter siblings\n if ( elem.nodeName == 'IMG' ) {\n this.addImage( elem );\n }\n // get background image on element\n if ( this.options.background === true ) {\n this.addElementBackgroundImages( elem );\n }\n\n // find children\n // no non-element nodes, #143\n var nodeType = elem.nodeType;\n if ( !nodeType || !elementNodeTypes[ nodeType ] ) {\n return;\n }\n var childImgs = elem.querySelectorAll('img');\n // concat childElems to filterFound array\n for ( var i=0; i < childImgs.length; i++ ) {\n var img = childImgs[i];\n this.addImage( img );\n }\n\n // get child background images\n if ( typeof this.options.background == 'string' ) {\n var children = elem.querySelectorAll( this.options.background );\n for ( i=0; i < children.length; i++ ) {\n var child = children[i];\n this.addElementBackgroundImages( child );\n }\n }\n};\n\nvar elementNodeTypes = {\n 1: true,\n 9: true,\n 11: true\n};\n\nImagesLoaded.prototype.addElementBackgroundImages = function( elem ) {\n var style = getComputedStyle( elem );\n if ( !style ) {\n // Firefox returns null if in a hidden iframe https://bugzil.la/548397\n return;\n }\n // get url inside url(\"...\")\n var reURL = /url\\((['\"])?(.*?)\\1\\)/gi;\n var matches = reURL.exec( style.backgroundImage );\n while ( matches !== null ) {\n var url = matches && matches[2];\n if ( url ) {\n this.addBackground( url, elem );\n }\n matches = reURL.exec( style.backgroundImage );\n }\n};\n\n/**\n * @param {Image} img\n */\nImagesLoaded.prototype.addImage = function( img ) {\n var loadingImage = new LoadingImage( img );\n this.images.push( loadingImage );\n};\n\nImagesLoaded.prototype.addBackground = function( url, elem ) {\n var background = new Background( url, elem );\n this.images.push( background );\n};\n\nImagesLoaded.prototype.check = function() {\n var _this = this;\n this.progressedCount = 0;\n this.hasAnyBroken = false;\n // complete if no images\n if ( !this.images.length ) {\n this.complete();\n return;\n }\n\n function onProgress( image, elem, message ) {\n // HACK - Chrome triggers event before object properties have changed. #83\n setTimeout( function() {\n _this.progress( image, elem, message );\n });\n }\n\n this.images.forEach( function( loadingImage ) {\n loadingImage.once( 'progress', onProgress );\n loadingImage.check();\n });\n};\n\nImagesLoaded.prototype.progress = function( image, elem, message ) {\n this.progressedCount++;\n this.hasAnyBroken = this.hasAnyBroken || !image.isLoaded;\n // progress event\n this.emitEvent( 'progress', [ this, image, elem ] );\n if ( this.jqDeferred && this.jqDeferred.notify ) {\n this.jqDeferred.notify( this, image );\n }\n // check if completed\n if ( this.progressedCount == this.images.length ) {\n this.complete();\n }\n\n if ( this.options.debug && console ) {\n console.log( 'progress: ' + message, image, elem );\n }\n};\n\nImagesLoaded.prototype.complete = function() {\n var eventName = this.hasAnyBroken ? 'fail' : 'done';\n this.isComplete = true;\n this.emitEvent( eventName, [ this ] );\n this.emitEvent( 'always', [ this ] );\n if ( this.jqDeferred ) {\n var jqMethod = this.hasAnyBroken ? 'reject' : 'resolve';\n this.jqDeferred[ jqMethod ]( this );\n }\n};\n\n// -------------------------- -------------------------- //\n\nfunction LoadingImage( img ) {\n this.img = img;\n}\n\nLoadingImage.prototype = Object.create( EvEmitter.prototype );\n\nLoadingImage.prototype.check = function() {\n // If complete is true and browser supports natural sizes,\n // try to check for image status manually.\n var isComplete = this.getIsImageComplete();\n if ( isComplete ) {\n // report based on naturalWidth\n this.confirm( this.img.naturalWidth !== 0, 'naturalWidth' );\n return;\n }\n\n // If none of the checks above matched, simulate loading on detached element.\n this.proxyImage = new Image();\n this.proxyImage.addEventListener( 'load', this );\n this.proxyImage.addEventListener( 'error', this );\n // bind to image as well for Firefox. #191\n this.img.addEventListener( 'load', this );\n this.img.addEventListener( 'error', this );\n this.proxyImage.src = this.img.src;\n};\n\nLoadingImage.prototype.getIsImageComplete = function() {\n // check for non-zero, non-undefined naturalWidth\n // fixes Safari+InfiniteScroll+Masonry bug infinite-scroll#671\n return this.img.complete && this.img.naturalWidth;\n};\n\nLoadingImage.prototype.confirm = function( isLoaded, message ) {\n this.isLoaded = isLoaded;\n this.emitEvent( 'progress', [ this, this.img, message ] );\n};\n\n// ----- events ----- //\n\n// trigger specified handler for event type\nLoadingImage.prototype.handleEvent = function( event ) {\n var method = 'on' + event.type;\n if ( this[ method ] ) {\n this[ method ]( event );\n }\n};\n\nLoadingImage.prototype.onload = function() {\n this.confirm( true, 'onload' );\n this.unbindEvents();\n};\n\nLoadingImage.prototype.onerror = function() {\n this.confirm( false, 'onerror' );\n this.unbindEvents();\n};\n\nLoadingImage.prototype.unbindEvents = function() {\n this.proxyImage.removeEventListener( 'load', this );\n this.proxyImage.removeEventListener( 'error', this );\n this.img.removeEventListener( 'load', this );\n this.img.removeEventListener( 'error', this );\n};\n\n// -------------------------- Background -------------------------- //\n\nfunction Background( url, element ) {\n this.url = url;\n this.element = element;\n this.img = new Image();\n}\n\n// inherit LoadingImage prototype\nBackground.prototype = Object.create( LoadingImage.prototype );\n\nBackground.prototype.check = function() {\n this.img.addEventListener( 'load', this );\n this.img.addEventListener( 'error', this );\n this.img.src = this.url;\n // check if image is already complete\n var isComplete = this.getIsImageComplete();\n if ( isComplete ) {\n this.confirm( this.img.naturalWidth !== 0, 'naturalWidth' );\n this.unbindEvents();\n }\n};\n\nBackground.prototype.unbindEvents = function() {\n this.img.removeEventListener( 'load', this );\n this.img.removeEventListener( 'error', this );\n};\n\nBackground.prototype.confirm = function( isLoaded, message ) {\n this.isLoaded = isLoaded;\n this.emitEvent( 'progress', [ this, this.element, message ] );\n};\n\n// -------------------------- jQuery -------------------------- //\n\nImagesLoaded.makeJQueryPlugin = function( jQuery ) {\n jQuery = jQuery || window.jQuery;\n if ( !jQuery ) {\n return;\n }\n // set local variable\n $ = jQuery;\n // $().imagesLoaded()\n $.fn.imagesLoaded = function( options, callback ) {\n var instance = new ImagesLoaded( this, options, callback );\n return instance.jqDeferred.promise( $(this) );\n };\n};\n// try making plugin\nImagesLoaded.makeJQueryPlugin();\n\n// -------------------------- -------------------------- //\n\nreturn ImagesLoaded;\n\n});\n\n\n//# sourceURL=webpack://ajaxloadmore/./node_modules/imagesloaded/imagesloaded.js?"); /***/ }), -/***/ "./node_modules/mini-css-extract-plugin/dist/loader.js??ruleSet[1].rules[1].use[1]!./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].use[3]!./src/frontend/scss/ajax-load-more.scss": -/*!******************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/mini-css-extract-plugin/dist/loader.js??ruleSet[1].rules[1].use[1]!./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].use[3]!./src/frontend/scss/ajax-load-more.scss ***! - \******************************************************************************************************************************************************************************************************************************************/ +/***/ 334: /***/ (function() { -eval("// extracted by mini-css-extract-plugin\n\n//# sourceURL=webpack://ajaxloadmore/./src/frontend/scss/ajax-load-more.scss?./node_modules/mini-css-extract-plugin/dist/loader.js??ruleSet%5B1%5D.rules%5B1%5D.use%5B1%5D!./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js??ruleSet%5B1%5D.rules%5B1%5D.use%5B3%5D"); - -/***/ }), - -/***/ "./node_modules/object-inspect/index.js": -/*!**********************************************!*\ - !*** ./node_modules/object-inspect/index.js ***! - \**********************************************/ -/***/ (function(module, __unused_webpack_exports, __webpack_require__) { +// focus - focusOptions - preventScroll polyfill +(function() { + if ( + typeof window === "undefined" || + typeof document === "undefined" || + typeof HTMLElement === "undefined" + ) { + return; + } + + var supportsPreventScrollOption = false; + try { + var focusElem = document.createElement("div"); + focusElem.addEventListener( + "focus", + function(event) { + event.preventDefault(); + event.stopPropagation(); + }, + true + ); + focusElem.focus( + Object.defineProperty({}, "preventScroll", { + get: function() { + // Edge v18 gives a false positive for supporting inputs + if ( + navigator && + typeof navigator.userAgent !== 'undefined' && + navigator.userAgent && + navigator.userAgent.match(/Edge\/1[7-8]/)) { + return supportsPreventScrollOption = false + } + + supportsPreventScrollOption = true; + } + }) + ); + } catch (e) {} + + if ( + HTMLElement.prototype.nativeFocus === undefined && + !supportsPreventScrollOption + ) { + HTMLElement.prototype.nativeFocus = HTMLElement.prototype.focus; + + var calcScrollableElements = function(element) { + var parent = element.parentNode; + var scrollableElements = []; + var rootScrollingElement = + document.scrollingElement || document.documentElement; + + while (parent && parent !== rootScrollingElement) { + if ( + parent.offsetHeight < parent.scrollHeight || + parent.offsetWidth < parent.scrollWidth + ) { + scrollableElements.push([ + parent, + parent.scrollTop, + parent.scrollLeft + ]); + } + parent = parent.parentNode; + } + parent = rootScrollingElement; + scrollableElements.push([parent, parent.scrollTop, parent.scrollLeft]); + + return scrollableElements; + }; + + var restoreScrollPosition = function(scrollableElements) { + for (var i = 0; i < scrollableElements.length; i++) { + scrollableElements[i][0].scrollTop = scrollableElements[i][1]; + scrollableElements[i][0].scrollLeft = scrollableElements[i][2]; + } + scrollableElements = []; + }; + + var patchedFocus = function(args) { + if (args && args.preventScroll) { + var evScrollableElements = calcScrollableElements(this); + if (typeof setTimeout === 'function') { + var thisElem = this; + setTimeout(function () { + thisElem.nativeFocus(); + restoreScrollPosition(evScrollableElements); + }, 0); + } else { + this.nativeFocus(); + restoreScrollPosition(evScrollableElements); + } + } + else { + this.nativeFocus(); + } + }; + + HTMLElement.prototype.focus = patchedFocus; + } +})(); -eval("var hasMap = typeof Map === 'function' && Map.prototype;\nvar mapSizeDescriptor = Object.getOwnPropertyDescriptor && hasMap ? Object.getOwnPropertyDescriptor(Map.prototype, 'size') : null;\nvar mapSize = hasMap && mapSizeDescriptor && typeof mapSizeDescriptor.get === 'function' ? mapSizeDescriptor.get : null;\nvar mapForEach = hasMap && Map.prototype.forEach;\nvar hasSet = typeof Set === 'function' && Set.prototype;\nvar setSizeDescriptor = Object.getOwnPropertyDescriptor && hasSet ? Object.getOwnPropertyDescriptor(Set.prototype, 'size') : null;\nvar setSize = hasSet && setSizeDescriptor && typeof setSizeDescriptor.get === 'function' ? setSizeDescriptor.get : null;\nvar setForEach = hasSet && Set.prototype.forEach;\nvar hasWeakMap = typeof WeakMap === 'function' && WeakMap.prototype;\nvar weakMapHas = hasWeakMap ? WeakMap.prototype.has : null;\nvar hasWeakSet = typeof WeakSet === 'function' && WeakSet.prototype;\nvar weakSetHas = hasWeakSet ? WeakSet.prototype.has : null;\nvar hasWeakRef = typeof WeakRef === 'function' && WeakRef.prototype;\nvar weakRefDeref = hasWeakRef ? WeakRef.prototype.deref : null;\nvar booleanValueOf = Boolean.prototype.valueOf;\nvar objectToString = Object.prototype.toString;\nvar functionToString = Function.prototype.toString;\nvar $match = String.prototype.match;\nvar $slice = String.prototype.slice;\nvar $replace = String.prototype.replace;\nvar $toUpperCase = String.prototype.toUpperCase;\nvar $toLowerCase = String.prototype.toLowerCase;\nvar $test = RegExp.prototype.test;\nvar $concat = Array.prototype.concat;\nvar $join = Array.prototype.join;\nvar $arrSlice = Array.prototype.slice;\nvar $floor = Math.floor;\nvar bigIntValueOf = typeof BigInt === 'function' ? BigInt.prototype.valueOf : null;\nvar gOPS = Object.getOwnPropertySymbols;\nvar symToString = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol' ? Symbol.prototype.toString : null;\nvar hasShammedSymbols = typeof Symbol === 'function' && typeof Symbol.iterator === 'object';\n// ie, `has-tostringtag/shams\nvar toStringTag = typeof Symbol === 'function' && Symbol.toStringTag && (typeof Symbol.toStringTag === hasShammedSymbols ? 'object' : 'symbol')\n ? Symbol.toStringTag\n : null;\nvar isEnumerable = Object.prototype.propertyIsEnumerable;\n\nvar gPO = (typeof Reflect === 'function' ? Reflect.getPrototypeOf : Object.getPrototypeOf) || (\n [].__proto__ === Array.prototype // eslint-disable-line no-proto\n ? function (O) {\n return O.__proto__; // eslint-disable-line no-proto\n }\n : null\n);\n\nfunction addNumericSeparator(num, str) {\n if (\n num === Infinity\n || num === -Infinity\n || num !== num\n || (num && num > -1000 && num < 1000)\n || $test.call(/e/, str)\n ) {\n return str;\n }\n var sepRegex = /[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;\n if (typeof num === 'number') {\n var int = num < 0 ? -$floor(-num) : $floor(num); // trunc(num)\n if (int !== num) {\n var intStr = String(int);\n var dec = $slice.call(str, intStr.length + 1);\n return $replace.call(intStr, sepRegex, '$&_') + '.' + $replace.call($replace.call(dec, /([0-9]{3})/g, '$&_'), /_$/, '');\n }\n }\n return $replace.call(str, sepRegex, '$&_');\n}\n\nvar utilInspect = __webpack_require__(/*! ./util.inspect */ \"?4f7e\");\nvar inspectCustom = utilInspect.custom;\nvar inspectSymbol = isSymbol(inspectCustom) ? inspectCustom : null;\n\nmodule.exports = function inspect_(obj, options, depth, seen) {\n var opts = options || {};\n\n if (has(opts, 'quoteStyle') && (opts.quoteStyle !== 'single' && opts.quoteStyle !== 'double')) {\n throw new TypeError('option \"quoteStyle\" must be \"single\" or \"double\"');\n }\n if (\n has(opts, 'maxStringLength') && (typeof opts.maxStringLength === 'number'\n ? opts.maxStringLength < 0 && opts.maxStringLength !== Infinity\n : opts.maxStringLength !== null\n )\n ) {\n throw new TypeError('option \"maxStringLength\", if provided, must be a positive integer, Infinity, or `null`');\n }\n var customInspect = has(opts, 'customInspect') ? opts.customInspect : true;\n if (typeof customInspect !== 'boolean' && customInspect !== 'symbol') {\n throw new TypeError('option \"customInspect\", if provided, must be `true`, `false`, or `\\'symbol\\'`');\n }\n\n if (\n has(opts, 'indent')\n && opts.indent !== null\n && opts.indent !== '\\t'\n && !(parseInt(opts.indent, 10) === opts.indent && opts.indent > 0)\n ) {\n throw new TypeError('option \"indent\" must be \"\\\\t\", an integer > 0, or `null`');\n }\n if (has(opts, 'numericSeparator') && typeof opts.numericSeparator !== 'boolean') {\n throw new TypeError('option \"numericSeparator\", if provided, must be `true` or `false`');\n }\n var numericSeparator = opts.numericSeparator;\n\n if (typeof obj === 'undefined') {\n return 'undefined';\n }\n if (obj === null) {\n return 'null';\n }\n if (typeof obj === 'boolean') {\n return obj ? 'true' : 'false';\n }\n\n if (typeof obj === 'string') {\n return inspectString(obj, opts);\n }\n if (typeof obj === 'number') {\n if (obj === 0) {\n return Infinity / obj > 0 ? '0' : '-0';\n }\n var str = String(obj);\n return numericSeparator ? addNumericSeparator(obj, str) : str;\n }\n if (typeof obj === 'bigint') {\n var bigIntStr = String(obj) + 'n';\n return numericSeparator ? addNumericSeparator(obj, bigIntStr) : bigIntStr;\n }\n\n var maxDepth = typeof opts.depth === 'undefined' ? 5 : opts.depth;\n if (typeof depth === 'undefined') { depth = 0; }\n if (depth >= maxDepth && maxDepth > 0 && typeof obj === 'object') {\n return isArray(obj) ? '[Array]' : '[Object]';\n }\n\n var indent = getIndent(opts, depth);\n\n if (typeof seen === 'undefined') {\n seen = [];\n } else if (indexOf(seen, obj) >= 0) {\n return '[Circular]';\n }\n\n function inspect(value, from, noIndent) {\n if (from) {\n seen = $arrSlice.call(seen);\n seen.push(from);\n }\n if (noIndent) {\n var newOpts = {\n depth: opts.depth\n };\n if (has(opts, 'quoteStyle')) {\n newOpts.quoteStyle = opts.quoteStyle;\n }\n return inspect_(value, newOpts, depth + 1, seen);\n }\n return inspect_(value, opts, depth + 1, seen);\n }\n\n if (typeof obj === 'function' && !isRegExp(obj)) { // in older engines, regexes are callable\n var name = nameOf(obj);\n var keys = arrObjKeys(obj, inspect);\n return '[Function' + (name ? ': ' + name : ' (anonymous)') + ']' + (keys.length > 0 ? ' { ' + $join.call(keys, ', ') + ' }' : '');\n }\n if (isSymbol(obj)) {\n var symString = hasShammedSymbols ? $replace.call(String(obj), /^(Symbol\\(.*\\))_[^)]*$/, '$1') : symToString.call(obj);\n return typeof obj === 'object' && !hasShammedSymbols ? markBoxed(symString) : symString;\n }\n if (isElement(obj)) {\n var s = '<' + $toLowerCase.call(String(obj.nodeName));\n var attrs = obj.attributes || [];\n for (var i = 0; i < attrs.length; i++) {\n s += ' ' + attrs[i].name + '=' + wrapQuotes(quote(attrs[i].value), 'double', opts);\n }\n s += '>';\n if (obj.childNodes && obj.childNodes.length) { s += '...'; }\n s += '';\n return s;\n }\n if (isArray(obj)) {\n if (obj.length === 0) { return '[]'; }\n var xs = arrObjKeys(obj, inspect);\n if (indent && !singleLineValues(xs)) {\n return '[' + indentedJoin(xs, indent) + ']';\n }\n return '[ ' + $join.call(xs, ', ') + ' ]';\n }\n if (isError(obj)) {\n var parts = arrObjKeys(obj, inspect);\n if (!('cause' in Error.prototype) && 'cause' in obj && !isEnumerable.call(obj, 'cause')) {\n return '{ [' + String(obj) + '] ' + $join.call($concat.call('[cause]: ' + inspect(obj.cause), parts), ', ') + ' }';\n }\n if (parts.length === 0) { return '[' + String(obj) + ']'; }\n return '{ [' + String(obj) + '] ' + $join.call(parts, ', ') + ' }';\n }\n if (typeof obj === 'object' && customInspect) {\n if (inspectSymbol && typeof obj[inspectSymbol] === 'function' && utilInspect) {\n return utilInspect(obj, { depth: maxDepth - depth });\n } else if (customInspect !== 'symbol' && typeof obj.inspect === 'function') {\n return obj.inspect();\n }\n }\n if (isMap(obj)) {\n var mapParts = [];\n if (mapForEach) {\n mapForEach.call(obj, function (value, key) {\n mapParts.push(inspect(key, obj, true) + ' => ' + inspect(value, obj));\n });\n }\n return collectionOf('Map', mapSize.call(obj), mapParts, indent);\n }\n if (isSet(obj)) {\n var setParts = [];\n if (setForEach) {\n setForEach.call(obj, function (value) {\n setParts.push(inspect(value, obj));\n });\n }\n return collectionOf('Set', setSize.call(obj), setParts, indent);\n }\n if (isWeakMap(obj)) {\n return weakCollectionOf('WeakMap');\n }\n if (isWeakSet(obj)) {\n return weakCollectionOf('WeakSet');\n }\n if (isWeakRef(obj)) {\n return weakCollectionOf('WeakRef');\n }\n if (isNumber(obj)) {\n return markBoxed(inspect(Number(obj)));\n }\n if (isBigInt(obj)) {\n return markBoxed(inspect(bigIntValueOf.call(obj)));\n }\n if (isBoolean(obj)) {\n return markBoxed(booleanValueOf.call(obj));\n }\n if (isString(obj)) {\n return markBoxed(inspect(String(obj)));\n }\n if (!isDate(obj) && !isRegExp(obj)) {\n var ys = arrObjKeys(obj, inspect);\n var isPlainObject = gPO ? gPO(obj) === Object.prototype : obj instanceof Object || obj.constructor === Object;\n var protoTag = obj instanceof Object ? '' : 'null prototype';\n var stringTag = !isPlainObject && toStringTag && Object(obj) === obj && toStringTag in obj ? $slice.call(toStr(obj), 8, -1) : protoTag ? 'Object' : '';\n var constructorTag = isPlainObject || typeof obj.constructor !== 'function' ? '' : obj.constructor.name ? obj.constructor.name + ' ' : '';\n var tag = constructorTag + (stringTag || protoTag ? '[' + $join.call($concat.call([], stringTag || [], protoTag || []), ': ') + '] ' : '');\n if (ys.length === 0) { return tag + '{}'; }\n if (indent) {\n return tag + '{' + indentedJoin(ys, indent) + '}';\n }\n return tag + '{ ' + $join.call(ys, ', ') + ' }';\n }\n return String(obj);\n};\n\nfunction wrapQuotes(s, defaultStyle, opts) {\n var quoteChar = (opts.quoteStyle || defaultStyle) === 'double' ? '\"' : \"'\";\n return quoteChar + s + quoteChar;\n}\n\nfunction quote(s) {\n return $replace.call(String(s), /\"/g, '"');\n}\n\nfunction isArray(obj) { return toStr(obj) === '[object Array]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\nfunction isDate(obj) { return toStr(obj) === '[object Date]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\nfunction isRegExp(obj) { return toStr(obj) === '[object RegExp]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\nfunction isError(obj) { return toStr(obj) === '[object Error]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\nfunction isString(obj) { return toStr(obj) === '[object String]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\nfunction isNumber(obj) { return toStr(obj) === '[object Number]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\nfunction isBoolean(obj) { return toStr(obj) === '[object Boolean]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\n\n// Symbol and BigInt do have Symbol.toStringTag by spec, so that can't be used to eliminate false positives\nfunction isSymbol(obj) {\n if (hasShammedSymbols) {\n return obj && typeof obj === 'object' && obj instanceof Symbol;\n }\n if (typeof obj === 'symbol') {\n return true;\n }\n if (!obj || typeof obj !== 'object' || !symToString) {\n return false;\n }\n try {\n symToString.call(obj);\n return true;\n } catch (e) {}\n return false;\n}\n\nfunction isBigInt(obj) {\n if (!obj || typeof obj !== 'object' || !bigIntValueOf) {\n return false;\n }\n try {\n bigIntValueOf.call(obj);\n return true;\n } catch (e) {}\n return false;\n}\n\nvar hasOwn = Object.prototype.hasOwnProperty || function (key) { return key in this; };\nfunction has(obj, key) {\n return hasOwn.call(obj, key);\n}\n\nfunction toStr(obj) {\n return objectToString.call(obj);\n}\n\nfunction nameOf(f) {\n if (f.name) { return f.name; }\n var m = $match.call(functionToString.call(f), /^function\\s*([\\w$]+)/);\n if (m) { return m[1]; }\n return null;\n}\n\nfunction indexOf(xs, x) {\n if (xs.indexOf) { return xs.indexOf(x); }\n for (var i = 0, l = xs.length; i < l; i++) {\n if (xs[i] === x) { return i; }\n }\n return -1;\n}\n\nfunction isMap(x) {\n if (!mapSize || !x || typeof x !== 'object') {\n return false;\n }\n try {\n mapSize.call(x);\n try {\n setSize.call(x);\n } catch (s) {\n return true;\n }\n return x instanceof Map; // core-js workaround, pre-v2.5.0\n } catch (e) {}\n return false;\n}\n\nfunction isWeakMap(x) {\n if (!weakMapHas || !x || typeof x !== 'object') {\n return false;\n }\n try {\n weakMapHas.call(x, weakMapHas);\n try {\n weakSetHas.call(x, weakSetHas);\n } catch (s) {\n return true;\n }\n return x instanceof WeakMap; // core-js workaround, pre-v2.5.0\n } catch (e) {}\n return false;\n}\n\nfunction isWeakRef(x) {\n if (!weakRefDeref || !x || typeof x !== 'object') {\n return false;\n }\n try {\n weakRefDeref.call(x);\n return true;\n } catch (e) {}\n return false;\n}\n\nfunction isSet(x) {\n if (!setSize || !x || typeof x !== 'object') {\n return false;\n }\n try {\n setSize.call(x);\n try {\n mapSize.call(x);\n } catch (m) {\n return true;\n }\n return x instanceof Set; // core-js workaround, pre-v2.5.0\n } catch (e) {}\n return false;\n}\n\nfunction isWeakSet(x) {\n if (!weakSetHas || !x || typeof x !== 'object') {\n return false;\n }\n try {\n weakSetHas.call(x, weakSetHas);\n try {\n weakMapHas.call(x, weakMapHas);\n } catch (s) {\n return true;\n }\n return x instanceof WeakSet; // core-js workaround, pre-v2.5.0\n } catch (e) {}\n return false;\n}\n\nfunction isElement(x) {\n if (!x || typeof x !== 'object') { return false; }\n if (typeof HTMLElement !== 'undefined' && x instanceof HTMLElement) {\n return true;\n }\n return typeof x.nodeName === 'string' && typeof x.getAttribute === 'function';\n}\n\nfunction inspectString(str, opts) {\n if (str.length > opts.maxStringLength) {\n var remaining = str.length - opts.maxStringLength;\n var trailer = '... ' + remaining + ' more character' + (remaining > 1 ? 's' : '');\n return inspectString($slice.call(str, 0, opts.maxStringLength), opts) + trailer;\n }\n // eslint-disable-next-line no-control-regex\n var s = $replace.call($replace.call(str, /(['\\\\])/g, '\\\\$1'), /[\\x00-\\x1f]/g, lowbyte);\n return wrapQuotes(s, 'single', opts);\n}\n\nfunction lowbyte(c) {\n var n = c.charCodeAt(0);\n var x = {\n 8: 'b',\n 9: 't',\n 10: 'n',\n 12: 'f',\n 13: 'r'\n }[n];\n if (x) { return '\\\\' + x; }\n return '\\\\x' + (n < 0x10 ? '0' : '') + $toUpperCase.call(n.toString(16));\n}\n\nfunction markBoxed(str) {\n return 'Object(' + str + ')';\n}\n\nfunction weakCollectionOf(type) {\n return type + ' { ? }';\n}\n\nfunction collectionOf(type, size, entries, indent) {\n var joinedEntries = indent ? indentedJoin(entries, indent) : $join.call(entries, ', ');\n return type + ' (' + size + ') {' + joinedEntries + '}';\n}\n\nfunction singleLineValues(xs) {\n for (var i = 0; i < xs.length; i++) {\n if (indexOf(xs[i], '\\n') >= 0) {\n return false;\n }\n }\n return true;\n}\n\nfunction getIndent(opts, depth) {\n var baseIndent;\n if (opts.indent === '\\t') {\n baseIndent = '\\t';\n } else if (typeof opts.indent === 'number' && opts.indent > 0) {\n baseIndent = $join.call(Array(opts.indent + 1), ' ');\n } else {\n return null;\n }\n return {\n base: baseIndent,\n prev: $join.call(Array(depth + 1), baseIndent)\n };\n}\n\nfunction indentedJoin(xs, indent) {\n if (xs.length === 0) { return ''; }\n var lineJoiner = '\\n' + indent.prev + indent.base;\n return lineJoiner + $join.call(xs, ',' + lineJoiner) + '\\n' + indent.prev;\n}\n\nfunction arrObjKeys(obj, inspect) {\n var isArr = isArray(obj);\n var xs = [];\n if (isArr) {\n xs.length = obj.length;\n for (var i = 0; i < obj.length; i++) {\n xs[i] = has(obj, i) ? inspect(obj[i], obj) : '';\n }\n }\n var syms = typeof gOPS === 'function' ? gOPS(obj) : [];\n var symMap;\n if (hasShammedSymbols) {\n symMap = {};\n for (var k = 0; k < syms.length; k++) {\n symMap['$' + syms[k]] = syms[k];\n }\n }\n\n for (var key in obj) { // eslint-disable-line no-restricted-syntax\n if (!has(obj, key)) { continue; } // eslint-disable-line no-restricted-syntax, no-continue\n if (isArr && String(Number(key)) === key && key < obj.length) { continue; } // eslint-disable-line no-restricted-syntax, no-continue\n if (hasShammedSymbols && symMap['$' + key] instanceof Symbol) {\n // this is to prevent shammed Symbols, which are stored as strings, from being included in the string key section\n continue; // eslint-disable-line no-restricted-syntax, no-continue\n } else if ($test.call(/[^\\w$]/, key)) {\n xs.push(inspect(key, obj) + ': ' + inspect(obj[key], obj));\n } else {\n xs.push(key + ': ' + inspect(obj[key], obj));\n }\n }\n if (typeof gOPS === 'function') {\n for (var j = 0; j < syms.length; j++) {\n if (isEnumerable.call(obj, syms[j])) {\n xs.push('[' + inspect(syms[j]) + ']: ' + inspect(obj[syms[j]], obj));\n }\n }\n }\n return xs;\n}\n\n\n//# sourceURL=webpack://ajaxloadmore/./node_modules/object-inspect/index.js?"); /***/ }), -/***/ "./node_modules/qs/lib/formats.js": -/*!****************************************!*\ - !*** ./node_modules/qs/lib/formats.js ***! - \****************************************/ +/***/ 648: /***/ (function(module) { "use strict"; -eval("\n\nvar replace = String.prototype.replace;\nvar percentTwenties = /%20/g;\n\nvar Format = {\n RFC1738: 'RFC1738',\n RFC3986: 'RFC3986'\n};\n\nmodule.exports = {\n 'default': Format.RFC3986,\n formatters: {\n RFC1738: function (value) {\n return replace.call(value, percentTwenties, '+');\n },\n RFC3986: function (value) {\n return String(value);\n }\n },\n RFC1738: Format.RFC1738,\n RFC3986: Format.RFC3986\n};\n\n\n//# sourceURL=webpack://ajaxloadmore/./node_modules/qs/lib/formats.js?"); -/***/ }), -/***/ "./node_modules/qs/lib/index.js": -/*!**************************************!*\ - !*** ./node_modules/qs/lib/index.js ***! - \**************************************/ -/***/ (function(module, __unused_webpack_exports, __webpack_require__) { +/* eslint no-invalid-this: 1 */ + +var ERROR_MESSAGE = 'Function.prototype.bind called on incompatible '; +var slice = Array.prototype.slice; +var toStr = Object.prototype.toString; +var funcType = '[object Function]'; + +module.exports = function bind(that) { + var target = this; + if (typeof target !== 'function' || toStr.call(target) !== funcType) { + throw new TypeError(ERROR_MESSAGE + target); + } + var args = slice.call(arguments, 1); + + var bound; + var binder = function () { + if (this instanceof bound) { + var result = target.apply( + this, + args.concat(slice.call(arguments)) + ); + if (Object(result) === result) { + return result; + } + return this; + } else { + return target.apply( + that, + args.concat(slice.call(arguments)) + ); + } + }; + + var boundLength = Math.max(0, target.length - args.length); + var boundArgs = []; + for (var i = 0; i < boundLength; i++) { + boundArgs.push('$' + i); + } + + bound = Function('binder', 'return function (' + boundArgs.join(',') + '){ return binder.apply(this,arguments); }')(binder); + + if (target.prototype) { + var Empty = function Empty() {}; + Empty.prototype = target.prototype; + bound.prototype = new Empty(); + Empty.prototype = null; + } + + return bound; +}; -"use strict"; -eval("\n\nvar stringify = __webpack_require__(/*! ./stringify */ \"./node_modules/qs/lib/stringify.js\");\nvar parse = __webpack_require__(/*! ./parse */ \"./node_modules/qs/lib/parse.js\");\nvar formats = __webpack_require__(/*! ./formats */ \"./node_modules/qs/lib/formats.js\");\n\nmodule.exports = {\n formats: formats,\n parse: parse,\n stringify: stringify\n};\n\n\n//# sourceURL=webpack://ajaxloadmore/./node_modules/qs/lib/index.js?"); /***/ }), -/***/ "./node_modules/qs/lib/parse.js": -/*!**************************************!*\ - !*** ./node_modules/qs/lib/parse.js ***! - \**************************************/ +/***/ 612: /***/ (function(module, __unused_webpack_exports, __webpack_require__) { "use strict"; -eval("\n\nvar utils = __webpack_require__(/*! ./utils */ \"./node_modules/qs/lib/utils.js\");\n\nvar has = Object.prototype.hasOwnProperty;\nvar isArray = Array.isArray;\n\nvar defaults = {\n allowDots: false,\n allowPrototypes: false,\n allowSparse: false,\n arrayLimit: 20,\n charset: 'utf-8',\n charsetSentinel: false,\n comma: false,\n decoder: utils.decode,\n delimiter: '&',\n depth: 5,\n ignoreQueryPrefix: false,\n interpretNumericEntities: false,\n parameterLimit: 1000,\n parseArrays: true,\n plainObjects: false,\n strictNullHandling: false\n};\n\nvar interpretNumericEntities = function (str) {\n return str.replace(/&#(\\d+);/g, function ($0, numberStr) {\n return String.fromCharCode(parseInt(numberStr, 10));\n });\n};\n\nvar parseArrayValue = function (val, options) {\n if (val && typeof val === 'string' && options.comma && val.indexOf(',') > -1) {\n return val.split(',');\n }\n\n return val;\n};\n\n// This is what browsers will submit when the ✓ character occurs in an\n// application/x-www-form-urlencoded body and the encoding of the page containing\n// the form is iso-8859-1, or when the submitted form has an accept-charset\n// attribute of iso-8859-1. Presumably also with other charsets that do not contain\n// the ✓ character, such as us-ascii.\nvar isoSentinel = 'utf8=%26%2310003%3B'; // encodeURIComponent('✓')\n\n// These are the percent-encoded utf-8 octets representing a checkmark, indicating that the request actually is utf-8 encoded.\nvar charsetSentinel = 'utf8=%E2%9C%93'; // encodeURIComponent('✓')\n\nvar parseValues = function parseQueryStringValues(str, options) {\n var obj = { __proto__: null };\n\n var cleanStr = options.ignoreQueryPrefix ? str.replace(/^\\?/, '') : str;\n var limit = options.parameterLimit === Infinity ? undefined : options.parameterLimit;\n var parts = cleanStr.split(options.delimiter, limit);\n var skipIndex = -1; // Keep track of where the utf8 sentinel was found\n var i;\n\n var charset = options.charset;\n if (options.charsetSentinel) {\n for (i = 0; i < parts.length; ++i) {\n if (parts[i].indexOf('utf8=') === 0) {\n if (parts[i] === charsetSentinel) {\n charset = 'utf-8';\n } else if (parts[i] === isoSentinel) {\n charset = 'iso-8859-1';\n }\n skipIndex = i;\n i = parts.length; // The eslint settings do not allow break;\n }\n }\n }\n\n for (i = 0; i < parts.length; ++i) {\n if (i === skipIndex) {\n continue;\n }\n var part = parts[i];\n\n var bracketEqualsPos = part.indexOf(']=');\n var pos = bracketEqualsPos === -1 ? part.indexOf('=') : bracketEqualsPos + 1;\n\n var key, val;\n if (pos === -1) {\n key = options.decoder(part, defaults.decoder, charset, 'key');\n val = options.strictNullHandling ? null : '';\n } else {\n key = options.decoder(part.slice(0, pos), defaults.decoder, charset, 'key');\n val = utils.maybeMap(\n parseArrayValue(part.slice(pos + 1), options),\n function (encodedVal) {\n return options.decoder(encodedVal, defaults.decoder, charset, 'value');\n }\n );\n }\n\n if (val && options.interpretNumericEntities && charset === 'iso-8859-1') {\n val = interpretNumericEntities(val);\n }\n\n if (part.indexOf('[]=') > -1) {\n val = isArray(val) ? [val] : val;\n }\n\n if (has.call(obj, key)) {\n obj[key] = utils.combine(obj[key], val);\n } else {\n obj[key] = val;\n }\n }\n\n return obj;\n};\n\nvar parseObject = function (chain, val, options, valuesParsed) {\n var leaf = valuesParsed ? val : parseArrayValue(val, options);\n\n for (var i = chain.length - 1; i >= 0; --i) {\n var obj;\n var root = chain[i];\n\n if (root === '[]' && options.parseArrays) {\n obj = [].concat(leaf);\n } else {\n obj = options.plainObjects ? Object.create(null) : {};\n var cleanRoot = root.charAt(0) === '[' && root.charAt(root.length - 1) === ']' ? root.slice(1, -1) : root;\n var index = parseInt(cleanRoot, 10);\n if (!options.parseArrays && cleanRoot === '') {\n obj = { 0: leaf };\n } else if (\n !isNaN(index)\n && root !== cleanRoot\n && String(index) === cleanRoot\n && index >= 0\n && (options.parseArrays && index <= options.arrayLimit)\n ) {\n obj = [];\n obj[index] = leaf;\n } else if (cleanRoot !== '__proto__') {\n obj[cleanRoot] = leaf;\n }\n }\n\n leaf = obj;\n }\n\n return leaf;\n};\n\nvar parseKeys = function parseQueryStringKeys(givenKey, val, options, valuesParsed) {\n if (!givenKey) {\n return;\n }\n\n // Transform dot notation to bracket notation\n var key = options.allowDots ? givenKey.replace(/\\.([^.[]+)/g, '[$1]') : givenKey;\n\n // The regex chunks\n\n var brackets = /(\\[[^[\\]]*])/;\n var child = /(\\[[^[\\]]*])/g;\n\n // Get the parent\n\n var segment = options.depth > 0 && brackets.exec(key);\n var parent = segment ? key.slice(0, segment.index) : key;\n\n // Stash the parent if it exists\n\n var keys = [];\n if (parent) {\n // If we aren't using plain objects, optionally prefix keys that would overwrite object prototype properties\n if (!options.plainObjects && has.call(Object.prototype, parent)) {\n if (!options.allowPrototypes) {\n return;\n }\n }\n\n keys.push(parent);\n }\n\n // Loop through children appending to the array until we hit depth\n\n var i = 0;\n while (options.depth > 0 && (segment = child.exec(key)) !== null && i < options.depth) {\n i += 1;\n if (!options.plainObjects && has.call(Object.prototype, segment[1].slice(1, -1))) {\n if (!options.allowPrototypes) {\n return;\n }\n }\n keys.push(segment[1]);\n }\n\n // If there's a remainder, just add whatever is left\n\n if (segment) {\n keys.push('[' + key.slice(segment.index) + ']');\n }\n\n return parseObject(keys, val, options, valuesParsed);\n};\n\nvar normalizeParseOptions = function normalizeParseOptions(opts) {\n if (!opts) {\n return defaults;\n }\n\n if (opts.decoder !== null && opts.decoder !== undefined && typeof opts.decoder !== 'function') {\n throw new TypeError('Decoder has to be a function.');\n }\n\n if (typeof opts.charset !== 'undefined' && opts.charset !== 'utf-8' && opts.charset !== 'iso-8859-1') {\n throw new TypeError('The charset option must be either utf-8, iso-8859-1, or undefined');\n }\n var charset = typeof opts.charset === 'undefined' ? defaults.charset : opts.charset;\n\n return {\n allowDots: typeof opts.allowDots === 'undefined' ? defaults.allowDots : !!opts.allowDots,\n allowPrototypes: typeof opts.allowPrototypes === 'boolean' ? opts.allowPrototypes : defaults.allowPrototypes,\n allowSparse: typeof opts.allowSparse === 'boolean' ? opts.allowSparse : defaults.allowSparse,\n arrayLimit: typeof opts.arrayLimit === 'number' ? opts.arrayLimit : defaults.arrayLimit,\n charset: charset,\n charsetSentinel: typeof opts.charsetSentinel === 'boolean' ? opts.charsetSentinel : defaults.charsetSentinel,\n comma: typeof opts.comma === 'boolean' ? opts.comma : defaults.comma,\n decoder: typeof opts.decoder === 'function' ? opts.decoder : defaults.decoder,\n delimiter: typeof opts.delimiter === 'string' || utils.isRegExp(opts.delimiter) ? opts.delimiter : defaults.delimiter,\n // eslint-disable-next-line no-implicit-coercion, no-extra-parens\n depth: (typeof opts.depth === 'number' || opts.depth === false) ? +opts.depth : defaults.depth,\n ignoreQueryPrefix: opts.ignoreQueryPrefix === true,\n interpretNumericEntities: typeof opts.interpretNumericEntities === 'boolean' ? opts.interpretNumericEntities : defaults.interpretNumericEntities,\n parameterLimit: typeof opts.parameterLimit === 'number' ? opts.parameterLimit : defaults.parameterLimit,\n parseArrays: opts.parseArrays !== false,\n plainObjects: typeof opts.plainObjects === 'boolean' ? opts.plainObjects : defaults.plainObjects,\n strictNullHandling: typeof opts.strictNullHandling === 'boolean' ? opts.strictNullHandling : defaults.strictNullHandling\n };\n};\n\nmodule.exports = function (str, opts) {\n var options = normalizeParseOptions(opts);\n\n if (str === '' || str === null || typeof str === 'undefined') {\n return options.plainObjects ? Object.create(null) : {};\n }\n\n var tempObj = typeof str === 'string' ? parseValues(str, options) : str;\n var obj = options.plainObjects ? Object.create(null) : {};\n\n // Iterate over the keys and setup the new object\n\n var keys = Object.keys(tempObj);\n for (var i = 0; i < keys.length; ++i) {\n var key = keys[i];\n var newObj = parseKeys(key, tempObj[key], options, typeof str === 'string');\n obj = utils.merge(obj, newObj, options);\n }\n\n if (options.allowSparse === true) {\n return obj;\n }\n\n return utils.compact(obj);\n};\n\n\n//# sourceURL=webpack://ajaxloadmore/./node_modules/qs/lib/parse.js?"); - -/***/ }), -/***/ "./node_modules/qs/lib/stringify.js": -/*!******************************************!*\ - !*** ./node_modules/qs/lib/stringify.js ***! - \******************************************/ -/***/ (function(module, __unused_webpack_exports, __webpack_require__) { - -"use strict"; -eval("\n\nvar getSideChannel = __webpack_require__(/*! side-channel */ \"./node_modules/side-channel/index.js\");\nvar utils = __webpack_require__(/*! ./utils */ \"./node_modules/qs/lib/utils.js\");\nvar formats = __webpack_require__(/*! ./formats */ \"./node_modules/qs/lib/formats.js\");\nvar has = Object.prototype.hasOwnProperty;\n\nvar arrayPrefixGenerators = {\n brackets: function brackets(prefix) {\n return prefix + '[]';\n },\n comma: 'comma',\n indices: function indices(prefix, key) {\n return prefix + '[' + key + ']';\n },\n repeat: function repeat(prefix) {\n return prefix;\n }\n};\n\nvar isArray = Array.isArray;\nvar push = Array.prototype.push;\nvar pushToArray = function (arr, valueOrArray) {\n push.apply(arr, isArray(valueOrArray) ? valueOrArray : [valueOrArray]);\n};\n\nvar toISO = Date.prototype.toISOString;\n\nvar defaultFormat = formats['default'];\nvar defaults = {\n addQueryPrefix: false,\n allowDots: false,\n charset: 'utf-8',\n charsetSentinel: false,\n delimiter: '&',\n encode: true,\n encoder: utils.encode,\n encodeValuesOnly: false,\n format: defaultFormat,\n formatter: formats.formatters[defaultFormat],\n // deprecated\n indices: false,\n serializeDate: function serializeDate(date) {\n return toISO.call(date);\n },\n skipNulls: false,\n strictNullHandling: false\n};\n\nvar isNonNullishPrimitive = function isNonNullishPrimitive(v) {\n return typeof v === 'string'\n || typeof v === 'number'\n || typeof v === 'boolean'\n || typeof v === 'symbol'\n || typeof v === 'bigint';\n};\n\nvar sentinel = {};\n\nvar stringify = function stringify(\n object,\n prefix,\n generateArrayPrefix,\n commaRoundTrip,\n strictNullHandling,\n skipNulls,\n encoder,\n filter,\n sort,\n allowDots,\n serializeDate,\n format,\n formatter,\n encodeValuesOnly,\n charset,\n sideChannel\n) {\n var obj = object;\n\n var tmpSc = sideChannel;\n var step = 0;\n var findFlag = false;\n while ((tmpSc = tmpSc.get(sentinel)) !== void undefined && !findFlag) {\n // Where object last appeared in the ref tree\n var pos = tmpSc.get(object);\n step += 1;\n if (typeof pos !== 'undefined') {\n if (pos === step) {\n throw new RangeError('Cyclic object value');\n } else {\n findFlag = true; // Break while\n }\n }\n if (typeof tmpSc.get(sentinel) === 'undefined') {\n step = 0;\n }\n }\n\n if (typeof filter === 'function') {\n obj = filter(prefix, obj);\n } else if (obj instanceof Date) {\n obj = serializeDate(obj);\n } else if (generateArrayPrefix === 'comma' && isArray(obj)) {\n obj = utils.maybeMap(obj, function (value) {\n if (value instanceof Date) {\n return serializeDate(value);\n }\n return value;\n });\n }\n\n if (obj === null) {\n if (strictNullHandling) {\n return encoder && !encodeValuesOnly ? encoder(prefix, defaults.encoder, charset, 'key', format) : prefix;\n }\n\n obj = '';\n }\n\n if (isNonNullishPrimitive(obj) || utils.isBuffer(obj)) {\n if (encoder) {\n var keyValue = encodeValuesOnly ? prefix : encoder(prefix, defaults.encoder, charset, 'key', format);\n return [formatter(keyValue) + '=' + formatter(encoder(obj, defaults.encoder, charset, 'value', format))];\n }\n return [formatter(prefix) + '=' + formatter(String(obj))];\n }\n\n var values = [];\n\n if (typeof obj === 'undefined') {\n return values;\n }\n\n var objKeys;\n if (generateArrayPrefix === 'comma' && isArray(obj)) {\n // we need to join elements in\n if (encodeValuesOnly && encoder) {\n obj = utils.maybeMap(obj, encoder);\n }\n objKeys = [{ value: obj.length > 0 ? obj.join(',') || null : void undefined }];\n } else if (isArray(filter)) {\n objKeys = filter;\n } else {\n var keys = Object.keys(obj);\n objKeys = sort ? keys.sort(sort) : keys;\n }\n\n var adjustedPrefix = commaRoundTrip && isArray(obj) && obj.length === 1 ? prefix + '[]' : prefix;\n\n for (var j = 0; j < objKeys.length; ++j) {\n var key = objKeys[j];\n var value = typeof key === 'object' && typeof key.value !== 'undefined' ? key.value : obj[key];\n\n if (skipNulls && value === null) {\n continue;\n }\n\n var keyPrefix = isArray(obj)\n ? typeof generateArrayPrefix === 'function' ? generateArrayPrefix(adjustedPrefix, key) : adjustedPrefix\n : adjustedPrefix + (allowDots ? '.' + key : '[' + key + ']');\n\n sideChannel.set(object, step);\n var valueSideChannel = getSideChannel();\n valueSideChannel.set(sentinel, sideChannel);\n pushToArray(values, stringify(\n value,\n keyPrefix,\n generateArrayPrefix,\n commaRoundTrip,\n strictNullHandling,\n skipNulls,\n generateArrayPrefix === 'comma' && encodeValuesOnly && isArray(obj) ? null : encoder,\n filter,\n sort,\n allowDots,\n serializeDate,\n format,\n formatter,\n encodeValuesOnly,\n charset,\n valueSideChannel\n ));\n }\n\n return values;\n};\n\nvar normalizeStringifyOptions = function normalizeStringifyOptions(opts) {\n if (!opts) {\n return defaults;\n }\n\n if (opts.encoder !== null && typeof opts.encoder !== 'undefined' && typeof opts.encoder !== 'function') {\n throw new TypeError('Encoder has to be a function.');\n }\n\n var charset = opts.charset || defaults.charset;\n if (typeof opts.charset !== 'undefined' && opts.charset !== 'utf-8' && opts.charset !== 'iso-8859-1') {\n throw new TypeError('The charset option must be either utf-8, iso-8859-1, or undefined');\n }\n\n var format = formats['default'];\n if (typeof opts.format !== 'undefined') {\n if (!has.call(formats.formatters, opts.format)) {\n throw new TypeError('Unknown format option provided.');\n }\n format = opts.format;\n }\n var formatter = formats.formatters[format];\n\n var filter = defaults.filter;\n if (typeof opts.filter === 'function' || isArray(opts.filter)) {\n filter = opts.filter;\n }\n\n return {\n addQueryPrefix: typeof opts.addQueryPrefix === 'boolean' ? opts.addQueryPrefix : defaults.addQueryPrefix,\n allowDots: typeof opts.allowDots === 'undefined' ? defaults.allowDots : !!opts.allowDots,\n charset: charset,\n charsetSentinel: typeof opts.charsetSentinel === 'boolean' ? opts.charsetSentinel : defaults.charsetSentinel,\n delimiter: typeof opts.delimiter === 'undefined' ? defaults.delimiter : opts.delimiter,\n encode: typeof opts.encode === 'boolean' ? opts.encode : defaults.encode,\n encoder: typeof opts.encoder === 'function' ? opts.encoder : defaults.encoder,\n encodeValuesOnly: typeof opts.encodeValuesOnly === 'boolean' ? opts.encodeValuesOnly : defaults.encodeValuesOnly,\n filter: filter,\n format: format,\n formatter: formatter,\n serializeDate: typeof opts.serializeDate === 'function' ? opts.serializeDate : defaults.serializeDate,\n skipNulls: typeof opts.skipNulls === 'boolean' ? opts.skipNulls : defaults.skipNulls,\n sort: typeof opts.sort === 'function' ? opts.sort : null,\n strictNullHandling: typeof opts.strictNullHandling === 'boolean' ? opts.strictNullHandling : defaults.strictNullHandling\n };\n};\n\nmodule.exports = function (object, opts) {\n var obj = object;\n var options = normalizeStringifyOptions(opts);\n\n var objKeys;\n var filter;\n\n if (typeof options.filter === 'function') {\n filter = options.filter;\n obj = filter('', obj);\n } else if (isArray(options.filter)) {\n filter = options.filter;\n objKeys = filter;\n }\n\n var keys = [];\n\n if (typeof obj !== 'object' || obj === null) {\n return '';\n }\n\n var arrayFormat;\n if (opts && opts.arrayFormat in arrayPrefixGenerators) {\n arrayFormat = opts.arrayFormat;\n } else if (opts && 'indices' in opts) {\n arrayFormat = opts.indices ? 'indices' : 'repeat';\n } else {\n arrayFormat = 'indices';\n }\n\n var generateArrayPrefix = arrayPrefixGenerators[arrayFormat];\n if (opts && 'commaRoundTrip' in opts && typeof opts.commaRoundTrip !== 'boolean') {\n throw new TypeError('`commaRoundTrip` must be a boolean, or absent');\n }\n var commaRoundTrip = generateArrayPrefix === 'comma' && opts && opts.commaRoundTrip;\n\n if (!objKeys) {\n objKeys = Object.keys(obj);\n }\n\n if (options.sort) {\n objKeys.sort(options.sort);\n }\n\n var sideChannel = getSideChannel();\n for (var i = 0; i < objKeys.length; ++i) {\n var key = objKeys[i];\n\n if (options.skipNulls && obj[key] === null) {\n continue;\n }\n pushToArray(keys, stringify(\n obj[key],\n key,\n generateArrayPrefix,\n commaRoundTrip,\n options.strictNullHandling,\n options.skipNulls,\n options.encode ? options.encoder : null,\n options.filter,\n options.sort,\n options.allowDots,\n options.serializeDate,\n options.format,\n options.formatter,\n options.encodeValuesOnly,\n options.charset,\n sideChannel\n ));\n }\n\n var joined = keys.join(options.delimiter);\n var prefix = options.addQueryPrefix === true ? '?' : '';\n\n if (options.charsetSentinel) {\n if (options.charset === 'iso-8859-1') {\n // encodeURIComponent('✓'), the \"numeric entity\" representation of a checkmark\n prefix += 'utf8=%26%2310003%3B&';\n } else {\n // encodeURIComponent('✓')\n prefix += 'utf8=%E2%9C%93&';\n }\n }\n\n return joined.length > 0 ? prefix + joined : '';\n};\n\n\n//# sourceURL=webpack://ajaxloadmore/./node_modules/qs/lib/stringify.js?"); -/***/ }), +var implementation = __webpack_require__(648); -/***/ "./node_modules/qs/lib/utils.js": -/*!**************************************!*\ - !*** ./node_modules/qs/lib/utils.js ***! - \**************************************/ -/***/ (function(module, __unused_webpack_exports, __webpack_require__) { +module.exports = Function.prototype.bind || implementation; -"use strict"; -eval("\n\nvar formats = __webpack_require__(/*! ./formats */ \"./node_modules/qs/lib/formats.js\");\n\nvar has = Object.prototype.hasOwnProperty;\nvar isArray = Array.isArray;\n\nvar hexTable = (function () {\n var array = [];\n for (var i = 0; i < 256; ++i) {\n array.push('%' + ((i < 16 ? '0' : '') + i.toString(16)).toUpperCase());\n }\n\n return array;\n}());\n\nvar compactQueue = function compactQueue(queue) {\n while (queue.length > 1) {\n var item = queue.pop();\n var obj = item.obj[item.prop];\n\n if (isArray(obj)) {\n var compacted = [];\n\n for (var j = 0; j < obj.length; ++j) {\n if (typeof obj[j] !== 'undefined') {\n compacted.push(obj[j]);\n }\n }\n\n item.obj[item.prop] = compacted;\n }\n }\n};\n\nvar arrayToObject = function arrayToObject(source, options) {\n var obj = options && options.plainObjects ? Object.create(null) : {};\n for (var i = 0; i < source.length; ++i) {\n if (typeof source[i] !== 'undefined') {\n obj[i] = source[i];\n }\n }\n\n return obj;\n};\n\nvar merge = function merge(target, source, options) {\n /* eslint no-param-reassign: 0 */\n if (!source) {\n return target;\n }\n\n if (typeof source !== 'object') {\n if (isArray(target)) {\n target.push(source);\n } else if (target && typeof target === 'object') {\n if ((options && (options.plainObjects || options.allowPrototypes)) || !has.call(Object.prototype, source)) {\n target[source] = true;\n }\n } else {\n return [target, source];\n }\n\n return target;\n }\n\n if (!target || typeof target !== 'object') {\n return [target].concat(source);\n }\n\n var mergeTarget = target;\n if (isArray(target) && !isArray(source)) {\n mergeTarget = arrayToObject(target, options);\n }\n\n if (isArray(target) && isArray(source)) {\n source.forEach(function (item, i) {\n if (has.call(target, i)) {\n var targetItem = target[i];\n if (targetItem && typeof targetItem === 'object' && item && typeof item === 'object') {\n target[i] = merge(targetItem, item, options);\n } else {\n target.push(item);\n }\n } else {\n target[i] = item;\n }\n });\n return target;\n }\n\n return Object.keys(source).reduce(function (acc, key) {\n var value = source[key];\n\n if (has.call(acc, key)) {\n acc[key] = merge(acc[key], value, options);\n } else {\n acc[key] = value;\n }\n return acc;\n }, mergeTarget);\n};\n\nvar assign = function assignSingleSource(target, source) {\n return Object.keys(source).reduce(function (acc, key) {\n acc[key] = source[key];\n return acc;\n }, target);\n};\n\nvar decode = function (str, decoder, charset) {\n var strWithoutPlus = str.replace(/\\+/g, ' ');\n if (charset === 'iso-8859-1') {\n // unescape never throws, no try...catch needed:\n return strWithoutPlus.replace(/%[0-9a-f]{2}/gi, unescape);\n }\n // utf-8\n try {\n return decodeURIComponent(strWithoutPlus);\n } catch (e) {\n return strWithoutPlus;\n }\n};\n\nvar encode = function encode(str, defaultEncoder, charset, kind, format) {\n // This code was originally written by Brian White (mscdex) for the io.js core querystring library.\n // It has been adapted here for stricter adherence to RFC 3986\n if (str.length === 0) {\n return str;\n }\n\n var string = str;\n if (typeof str === 'symbol') {\n string = Symbol.prototype.toString.call(str);\n } else if (typeof str !== 'string') {\n string = String(str);\n }\n\n if (charset === 'iso-8859-1') {\n return escape(string).replace(/%u[0-9a-f]{4}/gi, function ($0) {\n return '%26%23' + parseInt($0.slice(2), 16) + '%3B';\n });\n }\n\n var out = '';\n for (var i = 0; i < string.length; ++i) {\n var c = string.charCodeAt(i);\n\n if (\n c === 0x2D // -\n || c === 0x2E // .\n || c === 0x5F // _\n || c === 0x7E // ~\n || (c >= 0x30 && c <= 0x39) // 0-9\n || (c >= 0x41 && c <= 0x5A) // a-z\n || (c >= 0x61 && c <= 0x7A) // A-Z\n || (format === formats.RFC1738 && (c === 0x28 || c === 0x29)) // ( )\n ) {\n out += string.charAt(i);\n continue;\n }\n\n if (c < 0x80) {\n out = out + hexTable[c];\n continue;\n }\n\n if (c < 0x800) {\n out = out + (hexTable[0xC0 | (c >> 6)] + hexTable[0x80 | (c & 0x3F)]);\n continue;\n }\n\n if (c < 0xD800 || c >= 0xE000) {\n out = out + (hexTable[0xE0 | (c >> 12)] + hexTable[0x80 | ((c >> 6) & 0x3F)] + hexTable[0x80 | (c & 0x3F)]);\n continue;\n }\n\n i += 1;\n c = 0x10000 + (((c & 0x3FF) << 10) | (string.charCodeAt(i) & 0x3FF));\n /* eslint operator-linebreak: [2, \"before\"] */\n out += hexTable[0xF0 | (c >> 18)]\n + hexTable[0x80 | ((c >> 12) & 0x3F)]\n + hexTable[0x80 | ((c >> 6) & 0x3F)]\n + hexTable[0x80 | (c & 0x3F)];\n }\n\n return out;\n};\n\nvar compact = function compact(value) {\n var queue = [{ obj: { o: value }, prop: 'o' }];\n var refs = [];\n\n for (var i = 0; i < queue.length; ++i) {\n var item = queue[i];\n var obj = item.obj[item.prop];\n\n var keys = Object.keys(obj);\n for (var j = 0; j < keys.length; ++j) {\n var key = keys[j];\n var val = obj[key];\n if (typeof val === 'object' && val !== null && refs.indexOf(val) === -1) {\n queue.push({ obj: obj, prop: key });\n refs.push(val);\n }\n }\n }\n\n compactQueue(queue);\n\n return value;\n};\n\nvar isRegExp = function isRegExp(obj) {\n return Object.prototype.toString.call(obj) === '[object RegExp]';\n};\n\nvar isBuffer = function isBuffer(obj) {\n if (!obj || typeof obj !== 'object') {\n return false;\n }\n\n return !!(obj.constructor && obj.constructor.isBuffer && obj.constructor.isBuffer(obj));\n};\n\nvar combine = function combine(a, b) {\n return [].concat(a, b);\n};\n\nvar maybeMap = function maybeMap(val, fn) {\n if (isArray(val)) {\n var mapped = [];\n for (var i = 0; i < val.length; i += 1) {\n mapped.push(fn(val[i]));\n }\n return mapped;\n }\n return fn(val);\n};\n\nmodule.exports = {\n arrayToObject: arrayToObject,\n assign: assign,\n combine: combine,\n compact: compact,\n decode: decode,\n encode: encode,\n isBuffer: isBuffer,\n isRegExp: isRegExp,\n maybeMap: maybeMap,\n merge: merge\n};\n\n\n//# sourceURL=webpack://ajaxloadmore/./node_modules/qs/lib/utils.js?"); /***/ }), -/***/ "./node_modules/side-channel/index.js": -/*!********************************************!*\ - !*** ./node_modules/side-channel/index.js ***! - \********************************************/ +/***/ 210: /***/ (function(module, __unused_webpack_exports, __webpack_require__) { "use strict"; -eval("\n\nvar GetIntrinsic = __webpack_require__(/*! get-intrinsic */ \"./node_modules/get-intrinsic/index.js\");\nvar callBound = __webpack_require__(/*! call-bind/callBound */ \"./node_modules/call-bind/callBound.js\");\nvar inspect = __webpack_require__(/*! object-inspect */ \"./node_modules/object-inspect/index.js\");\n\nvar $TypeError = GetIntrinsic('%TypeError%');\nvar $WeakMap = GetIntrinsic('%WeakMap%', true);\nvar $Map = GetIntrinsic('%Map%', true);\n\nvar $weakMapGet = callBound('WeakMap.prototype.get', true);\nvar $weakMapSet = callBound('WeakMap.prototype.set', true);\nvar $weakMapHas = callBound('WeakMap.prototype.has', true);\nvar $mapGet = callBound('Map.prototype.get', true);\nvar $mapSet = callBound('Map.prototype.set', true);\nvar $mapHas = callBound('Map.prototype.has', true);\n\n/*\n * This function traverses the list returning the node corresponding to the\n * given key.\n *\n * That node is also moved to the head of the list, so that if it's accessed\n * again we don't need to traverse the whole list. By doing so, all the recently\n * used nodes can be accessed relatively quickly.\n */\nvar listGetNode = function (list, key) { // eslint-disable-line consistent-return\n\tfor (var prev = list, curr; (curr = prev.next) !== null; prev = curr) {\n\t\tif (curr.key === key) {\n\t\t\tprev.next = curr.next;\n\t\t\tcurr.next = list.next;\n\t\t\tlist.next = curr; // eslint-disable-line no-param-reassign\n\t\t\treturn curr;\n\t\t}\n\t}\n};\n\nvar listGet = function (objects, key) {\n\tvar node = listGetNode(objects, key);\n\treturn node && node.value;\n};\nvar listSet = function (objects, key, value) {\n\tvar node = listGetNode(objects, key);\n\tif (node) {\n\t\tnode.value = value;\n\t} else {\n\t\t// Prepend the new node to the beginning of the list\n\t\tobjects.next = { // eslint-disable-line no-param-reassign\n\t\t\tkey: key,\n\t\t\tnext: objects.next,\n\t\t\tvalue: value\n\t\t};\n\t}\n};\nvar listHas = function (objects, key) {\n\treturn !!listGetNode(objects, key);\n};\n\nmodule.exports = function getSideChannel() {\n\tvar $wm;\n\tvar $m;\n\tvar $o;\n\tvar channel = {\n\t\tassert: function (key) {\n\t\t\tif (!channel.has(key)) {\n\t\t\t\tthrow new $TypeError('Side channel does not contain ' + inspect(key));\n\t\t\t}\n\t\t},\n\t\tget: function (key) { // eslint-disable-line consistent-return\n\t\t\tif ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {\n\t\t\t\tif ($wm) {\n\t\t\t\t\treturn $weakMapGet($wm, key);\n\t\t\t\t}\n\t\t\t} else if ($Map) {\n\t\t\t\tif ($m) {\n\t\t\t\t\treturn $mapGet($m, key);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tif ($o) { // eslint-disable-line no-lonely-if\n\t\t\t\t\treturn listGet($o, key);\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\thas: function (key) {\n\t\t\tif ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {\n\t\t\t\tif ($wm) {\n\t\t\t\t\treturn $weakMapHas($wm, key);\n\t\t\t\t}\n\t\t\t} else if ($Map) {\n\t\t\t\tif ($m) {\n\t\t\t\t\treturn $mapHas($m, key);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tif ($o) { // eslint-disable-line no-lonely-if\n\t\t\t\t\treturn listHas($o, key);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn false;\n\t\t},\n\t\tset: function (key, value) {\n\t\t\tif ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {\n\t\t\t\tif (!$wm) {\n\t\t\t\t\t$wm = new $WeakMap();\n\t\t\t\t}\n\t\t\t\t$weakMapSet($wm, key, value);\n\t\t\t} else if ($Map) {\n\t\t\t\tif (!$m) {\n\t\t\t\t\t$m = new $Map();\n\t\t\t\t}\n\t\t\t\t$mapSet($m, key, value);\n\t\t\t} else {\n\t\t\t\tif (!$o) {\n\t\t\t\t\t/*\n\t\t\t\t\t * Initialize the linked list as an empty node, so that we don't have\n\t\t\t\t\t * to special-case handling of the first node: we can always refer to\n\t\t\t\t\t * it as (previous node).next, instead of something like (list).head\n\t\t\t\t\t */\n\t\t\t\t\t$o = { key: {}, next: null };\n\t\t\t\t}\n\t\t\t\tlistSet($o, key, value);\n\t\t\t}\n\t\t}\n\t};\n\treturn channel;\n};\n\n\n//# sourceURL=webpack://ajaxloadmore/./node_modules/side-channel/index.js?"); -/***/ }), -/***/ "./src/frontend/scss/ajax-load-more.scss": -/*!***********************************************!*\ - !*** ./src/frontend/scss/ajax-load-more.scss ***! - \***********************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { +var undefined; + +var $SyntaxError = SyntaxError; +var $Function = Function; +var $TypeError = TypeError; + +// eslint-disable-next-line consistent-return +var getEvalledConstructor = function (expressionSyntax) { + try { + return $Function('"use strict"; return (' + expressionSyntax + ').constructor;')(); + } catch (e) {} +}; + +var $gOPD = Object.getOwnPropertyDescriptor; +if ($gOPD) { + try { + $gOPD({}, ''); + } catch (e) { + $gOPD = null; // this is IE 8, which has a broken gOPD + } +} + +var throwTypeError = function () { + throw new $TypeError(); +}; +var ThrowTypeError = $gOPD + ? (function () { + try { + // eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties + arguments.callee; // IE 8 does not throw here + return throwTypeError; + } catch (calleeThrows) { + try { + // IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '') + return $gOPD(arguments, 'callee').get; + } catch (gOPDthrows) { + return throwTypeError; + } + } + }()) + : throwTypeError; + +var hasSymbols = __webpack_require__(405)(); +var hasProto = __webpack_require__(185)(); + +var getProto = Object.getPrototypeOf || ( + hasProto + ? function (x) { return x.__proto__; } // eslint-disable-line no-proto + : null +); + +var needsEval = {}; + +var TypedArray = typeof Uint8Array === 'undefined' || !getProto ? undefined : getProto(Uint8Array); + +var INTRINSICS = { + '%AggregateError%': typeof AggregateError === 'undefined' ? undefined : AggregateError, + '%Array%': Array, + '%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined : ArrayBuffer, + '%ArrayIteratorPrototype%': hasSymbols && getProto ? getProto([][Symbol.iterator]()) : undefined, + '%AsyncFromSyncIteratorPrototype%': undefined, + '%AsyncFunction%': needsEval, + '%AsyncGenerator%': needsEval, + '%AsyncGeneratorFunction%': needsEval, + '%AsyncIteratorPrototype%': needsEval, + '%Atomics%': typeof Atomics === 'undefined' ? undefined : Atomics, + '%BigInt%': typeof BigInt === 'undefined' ? undefined : BigInt, + '%BigInt64Array%': typeof BigInt64Array === 'undefined' ? undefined : BigInt64Array, + '%BigUint64Array%': typeof BigUint64Array === 'undefined' ? undefined : BigUint64Array, + '%Boolean%': Boolean, + '%DataView%': typeof DataView === 'undefined' ? undefined : DataView, + '%Date%': Date, + '%decodeURI%': decodeURI, + '%decodeURIComponent%': decodeURIComponent, + '%encodeURI%': encodeURI, + '%encodeURIComponent%': encodeURIComponent, + '%Error%': Error, + '%eval%': eval, // eslint-disable-line no-eval + '%EvalError%': EvalError, + '%Float32Array%': typeof Float32Array === 'undefined' ? undefined : Float32Array, + '%Float64Array%': typeof Float64Array === 'undefined' ? undefined : Float64Array, + '%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined : FinalizationRegistry, + '%Function%': $Function, + '%GeneratorFunction%': needsEval, + '%Int8Array%': typeof Int8Array === 'undefined' ? undefined : Int8Array, + '%Int16Array%': typeof Int16Array === 'undefined' ? undefined : Int16Array, + '%Int32Array%': typeof Int32Array === 'undefined' ? undefined : Int32Array, + '%isFinite%': isFinite, + '%isNaN%': isNaN, + '%IteratorPrototype%': hasSymbols && getProto ? getProto(getProto([][Symbol.iterator]())) : undefined, + '%JSON%': typeof JSON === 'object' ? JSON : undefined, + '%Map%': typeof Map === 'undefined' ? undefined : Map, + '%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols || !getProto ? undefined : getProto(new Map()[Symbol.iterator]()), + '%Math%': Math, + '%Number%': Number, + '%Object%': Object, + '%parseFloat%': parseFloat, + '%parseInt%': parseInt, + '%Promise%': typeof Promise === 'undefined' ? undefined : Promise, + '%Proxy%': typeof Proxy === 'undefined' ? undefined : Proxy, + '%RangeError%': RangeError, + '%ReferenceError%': ReferenceError, + '%Reflect%': typeof Reflect === 'undefined' ? undefined : Reflect, + '%RegExp%': RegExp, + '%Set%': typeof Set === 'undefined' ? undefined : Set, + '%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols || !getProto ? undefined : getProto(new Set()[Symbol.iterator]()), + '%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined : SharedArrayBuffer, + '%String%': String, + '%StringIteratorPrototype%': hasSymbols && getProto ? getProto(''[Symbol.iterator]()) : undefined, + '%Symbol%': hasSymbols ? Symbol : undefined, + '%SyntaxError%': $SyntaxError, + '%ThrowTypeError%': ThrowTypeError, + '%TypedArray%': TypedArray, + '%TypeError%': $TypeError, + '%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined : Uint8Array, + '%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined : Uint8ClampedArray, + '%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined : Uint16Array, + '%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined : Uint32Array, + '%URIError%': URIError, + '%WeakMap%': typeof WeakMap === 'undefined' ? undefined : WeakMap, + '%WeakRef%': typeof WeakRef === 'undefined' ? undefined : WeakRef, + '%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet +}; + +if (getProto) { + try { + null.error; // eslint-disable-line no-unused-expressions + } catch (e) { + // https://github.com/tc39/proposal-shadowrealm/pull/384#issuecomment-1364264229 + var errorProto = getProto(getProto(e)); + INTRINSICS['%Error.prototype%'] = errorProto; + } +} + +var doEval = function doEval(name) { + var value; + if (name === '%AsyncFunction%') { + value = getEvalledConstructor('async function () {}'); + } else if (name === '%GeneratorFunction%') { + value = getEvalledConstructor('function* () {}'); + } else if (name === '%AsyncGeneratorFunction%') { + value = getEvalledConstructor('async function* () {}'); + } else if (name === '%AsyncGenerator%') { + var fn = doEval('%AsyncGeneratorFunction%'); + if (fn) { + value = fn.prototype; + } + } else if (name === '%AsyncIteratorPrototype%') { + var gen = doEval('%AsyncGenerator%'); + if (gen && getProto) { + value = getProto(gen.prototype); + } + } + + INTRINSICS[name] = value; + + return value; +}; + +var LEGACY_ALIASES = { + '%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'], + '%ArrayPrototype%': ['Array', 'prototype'], + '%ArrayProto_entries%': ['Array', 'prototype', 'entries'], + '%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'], + '%ArrayProto_keys%': ['Array', 'prototype', 'keys'], + '%ArrayProto_values%': ['Array', 'prototype', 'values'], + '%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'], + '%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'], + '%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'], + '%BooleanPrototype%': ['Boolean', 'prototype'], + '%DataViewPrototype%': ['DataView', 'prototype'], + '%DatePrototype%': ['Date', 'prototype'], + '%ErrorPrototype%': ['Error', 'prototype'], + '%EvalErrorPrototype%': ['EvalError', 'prototype'], + '%Float32ArrayPrototype%': ['Float32Array', 'prototype'], + '%Float64ArrayPrototype%': ['Float64Array', 'prototype'], + '%FunctionPrototype%': ['Function', 'prototype'], + '%Generator%': ['GeneratorFunction', 'prototype'], + '%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'], + '%Int8ArrayPrototype%': ['Int8Array', 'prototype'], + '%Int16ArrayPrototype%': ['Int16Array', 'prototype'], + '%Int32ArrayPrototype%': ['Int32Array', 'prototype'], + '%JSONParse%': ['JSON', 'parse'], + '%JSONStringify%': ['JSON', 'stringify'], + '%MapPrototype%': ['Map', 'prototype'], + '%NumberPrototype%': ['Number', 'prototype'], + '%ObjectPrototype%': ['Object', 'prototype'], + '%ObjProto_toString%': ['Object', 'prototype', 'toString'], + '%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'], + '%PromisePrototype%': ['Promise', 'prototype'], + '%PromiseProto_then%': ['Promise', 'prototype', 'then'], + '%Promise_all%': ['Promise', 'all'], + '%Promise_reject%': ['Promise', 'reject'], + '%Promise_resolve%': ['Promise', 'resolve'], + '%RangeErrorPrototype%': ['RangeError', 'prototype'], + '%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'], + '%RegExpPrototype%': ['RegExp', 'prototype'], + '%SetPrototype%': ['Set', 'prototype'], + '%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'], + '%StringPrototype%': ['String', 'prototype'], + '%SymbolPrototype%': ['Symbol', 'prototype'], + '%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'], + '%TypedArrayPrototype%': ['TypedArray', 'prototype'], + '%TypeErrorPrototype%': ['TypeError', 'prototype'], + '%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'], + '%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'], + '%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'], + '%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'], + '%URIErrorPrototype%': ['URIError', 'prototype'], + '%WeakMapPrototype%': ['WeakMap', 'prototype'], + '%WeakSetPrototype%': ['WeakSet', 'prototype'] +}; + +var bind = __webpack_require__(612); +var hasOwn = __webpack_require__(642); +var $concat = bind.call(Function.call, Array.prototype.concat); +var $spliceApply = bind.call(Function.apply, Array.prototype.splice); +var $replace = bind.call(Function.call, String.prototype.replace); +var $strSlice = bind.call(Function.call, String.prototype.slice); +var $exec = bind.call(Function.call, RegExp.prototype.exec); + +/* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */ +var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g; +var reEscapeChar = /\\(\\)?/g; /** Used to match backslashes in property paths. */ +var stringToPath = function stringToPath(string) { + var first = $strSlice(string, 0, 1); + var last = $strSlice(string, -1); + if (first === '%' && last !== '%') { + throw new $SyntaxError('invalid intrinsic syntax, expected closing `%`'); + } else if (last === '%' && first !== '%') { + throw new $SyntaxError('invalid intrinsic syntax, expected opening `%`'); + } + var result = []; + $replace(string, rePropName, function (match, number, quote, subString) { + result[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match; + }); + return result; +}; +/* end adaptation */ + +var getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) { + var intrinsicName = name; + var alias; + if (hasOwn(LEGACY_ALIASES, intrinsicName)) { + alias = LEGACY_ALIASES[intrinsicName]; + intrinsicName = '%' + alias[0] + '%'; + } + + if (hasOwn(INTRINSICS, intrinsicName)) { + var value = INTRINSICS[intrinsicName]; + if (value === needsEval) { + value = doEval(intrinsicName); + } + if (typeof value === 'undefined' && !allowMissing) { + throw new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!'); + } + + return { + alias: alias, + name: intrinsicName, + value: value + }; + } + + throw new $SyntaxError('intrinsic ' + name + ' does not exist!'); +}; + +module.exports = function GetIntrinsic(name, allowMissing) { + if (typeof name !== 'string' || name.length === 0) { + throw new $TypeError('intrinsic name must be a non-empty string'); + } + if (arguments.length > 1 && typeof allowMissing !== 'boolean') { + throw new $TypeError('"allowMissing" argument must be a boolean'); + } + + if ($exec(/^%?[^%]*%?$/, name) === null) { + throw new $SyntaxError('`%` may not be present anywhere but at the beginning and end of the intrinsic name'); + } + var parts = stringToPath(name); + var intrinsicBaseName = parts.length > 0 ? parts[0] : ''; + + var intrinsic = getBaseIntrinsic('%' + intrinsicBaseName + '%', allowMissing); + var intrinsicRealName = intrinsic.name; + var value = intrinsic.value; + var skipFurtherCaching = false; + + var alias = intrinsic.alias; + if (alias) { + intrinsicBaseName = alias[0]; + $spliceApply(parts, $concat([0, 1], alias)); + } + + for (var i = 1, isOwn = true; i < parts.length; i += 1) { + var part = parts[i]; + var first = $strSlice(part, 0, 1); + var last = $strSlice(part, -1); + if ( + ( + (first === '"' || first === "'" || first === '`') + || (last === '"' || last === "'" || last === '`') + ) + && first !== last + ) { + throw new $SyntaxError('property names with quotes must have matching quotes'); + } + if (part === 'constructor' || !isOwn) { + skipFurtherCaching = true; + } + + intrinsicBaseName += '.' + part; + intrinsicRealName = '%' + intrinsicBaseName + '%'; + + if (hasOwn(INTRINSICS, intrinsicRealName)) { + value = INTRINSICS[intrinsicRealName]; + } else if (value != null) { + if (!(part in value)) { + if (!allowMissing) { + throw new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.'); + } + return void undefined; + } + if ($gOPD && (i + 1) >= parts.length) { + var desc = $gOPD(value, part); + isOwn = !!desc; + + // By convention, when a data property is converted to an accessor + // property to emulate a data property that does not suffer from + // the override mistake, that accessor's getter is marked with + // an `originalValue` property. Here, when we detect this, we + // uphold the illusion by pretending to see that original data + // property, i.e., returning the value rather than the getter + // itself. + if (isOwn && 'get' in desc && !('originalValue' in desc.get)) { + value = desc.get; + } else { + value = value[part]; + } + } else { + isOwn = hasOwn(value, part); + value = value[part]; + } + + if (isOwn && !skipFurtherCaching) { + INTRINSICS[intrinsicRealName] = value; + } + } + } + return value; +}; -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ \"./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\");\n/* harmony import */ var _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../node_modules/style-loader/dist/runtime/styleDomAPI.js */ \"./node_modules/style-loader/dist/runtime/styleDomAPI.js\");\n/* harmony import */ var _node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../node_modules/style-loader/dist/runtime/insertBySelector.js */ \"./node_modules/style-loader/dist/runtime/insertBySelector.js\");\n/* harmony import */ var _node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ \"./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\");\n/* harmony import */ var _node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../node_modules/style-loader/dist/runtime/insertStyleElement.js */ \"./node_modules/style-loader/dist/runtime/insertStyleElement.js\");\n/* harmony import */ var _node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../node_modules/style-loader/dist/runtime/styleTagTransform.js */ \"./node_modules/style-loader/dist/runtime/styleTagTransform.js\");\n/* harmony import */ var _node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ruleSet_1_rules_1_use_1_node_modules_css_loader_dist_cjs_js_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_1_use_3_ajax_load_more_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ruleSet[1].rules[1].use[1]!../../../node_modules/css-loader/dist/cjs.js!../../../node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].use[3]!./ajax-load-more.scss */ \"./node_modules/mini-css-extract-plugin/dist/loader.js??ruleSet[1].rules[1].use[1]!./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].use[3]!./src/frontend/scss/ajax-load-more.scss\");\n/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ruleSet_1_rules_1_use_1_node_modules_css_loader_dist_cjs_js_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_1_use_3_ajax_load_more_scss__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ruleSet_1_rules_1_use_1_node_modules_css_loader_dist_cjs_js_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_1_use_3_ajax_load_more_scss__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony reexport (unknown) */ var __WEBPACK_REEXPORT_OBJECT__ = {};\n/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _node_modules_mini_css_extract_plugin_dist_loader_js_ruleSet_1_rules_1_use_1_node_modules_css_loader_dist_cjs_js_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_1_use_3_ajax_load_more_scss__WEBPACK_IMPORTED_MODULE_6__) if(__WEBPACK_IMPORT_KEY__ !== \"default\") __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = function(key) { return _node_modules_mini_css_extract_plugin_dist_loader_js_ruleSet_1_rules_1_use_1_node_modules_css_loader_dist_cjs_js_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_1_use_3_ajax_load_more_scss__WEBPACK_IMPORTED_MODULE_6__[key]; }.bind(0, __WEBPACK_IMPORT_KEY__)\n/* harmony reexport (unknown) */ __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);\n\n \n \n \n \n \n \n \n \n \n\nvar options = {};\n\noptions.styleTagTransform = (_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());\noptions.setAttributes = (_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());\n\n options.insert = _node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, \"head\");\n \noptions.domAPI = (_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());\noptions.insertStyleElement = (_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());\n\nvar update = _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()((_node_modules_mini_css_extract_plugin_dist_loader_js_ruleSet_1_rules_1_use_1_node_modules_css_loader_dist_cjs_js_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_1_use_3_ajax_load_more_scss__WEBPACK_IMPORTED_MODULE_6___default()), options);\n\n\n\n\n /* harmony default export */ __webpack_exports__[\"default\"] = ((_node_modules_mini_css_extract_plugin_dist_loader_js_ruleSet_1_rules_1_use_1_node_modules_css_loader_dist_cjs_js_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_1_use_3_ajax_load_more_scss__WEBPACK_IMPORTED_MODULE_6___default()) && (_node_modules_mini_css_extract_plugin_dist_loader_js_ruleSet_1_rules_1_use_1_node_modules_css_loader_dist_cjs_js_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_1_use_3_ajax_load_more_scss__WEBPACK_IMPORTED_MODULE_6___default().locals) ? (_node_modules_mini_css_extract_plugin_dist_loader_js_ruleSet_1_rules_1_use_1_node_modules_css_loader_dist_cjs_js_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_1_use_3_ajax_load_more_scss__WEBPACK_IMPORTED_MODULE_6___default().locals) : undefined);\n\n\n//# sourceURL=webpack://ajaxloadmore/./src/frontend/scss/ajax-load-more.scss?"); /***/ }), -/***/ "./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js": -/*!****************************************************************************!*\ - !*** ./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js ***! - \****************************************************************************/ +/***/ 185: /***/ (function(module) { "use strict"; -eval("\n\nvar stylesInDOM = [];\nfunction getIndexByIdentifier(identifier) {\n var result = -1;\n for (var i = 0; i < stylesInDOM.length; i++) {\n if (stylesInDOM[i].identifier === identifier) {\n result = i;\n break;\n }\n }\n return result;\n}\nfunction modulesToDom(list, options) {\n var idCountMap = {};\n var identifiers = [];\n for (var i = 0; i < list.length; i++) {\n var item = list[i];\n var id = options.base ? item[0] + options.base : item[0];\n var count = idCountMap[id] || 0;\n var identifier = \"\".concat(id, \" \").concat(count);\n idCountMap[id] = count + 1;\n var indexByIdentifier = getIndexByIdentifier(identifier);\n var obj = {\n css: item[1],\n media: item[2],\n sourceMap: item[3],\n supports: item[4],\n layer: item[5]\n };\n if (indexByIdentifier !== -1) {\n stylesInDOM[indexByIdentifier].references++;\n stylesInDOM[indexByIdentifier].updater(obj);\n } else {\n var updater = addElementStyle(obj, options);\n options.byIndex = i;\n stylesInDOM.splice(i, 0, {\n identifier: identifier,\n updater: updater,\n references: 1\n });\n }\n identifiers.push(identifier);\n }\n return identifiers;\n}\nfunction addElementStyle(obj, options) {\n var api = options.domAPI(options);\n api.update(obj);\n var updater = function updater(newObj) {\n if (newObj) {\n if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap && newObj.supports === obj.supports && newObj.layer === obj.layer) {\n return;\n }\n api.update(obj = newObj);\n } else {\n api.remove();\n }\n };\n return updater;\n}\nmodule.exports = function (list, options) {\n options = options || {};\n list = list || [];\n var lastIdentifiers = modulesToDom(list, options);\n return function update(newList) {\n newList = newList || [];\n for (var i = 0; i < lastIdentifiers.length; i++) {\n var identifier = lastIdentifiers[i];\n var index = getIndexByIdentifier(identifier);\n stylesInDOM[index].references--;\n }\n var newLastIdentifiers = modulesToDom(newList, options);\n for (var _i = 0; _i < lastIdentifiers.length; _i++) {\n var _identifier = lastIdentifiers[_i];\n var _index = getIndexByIdentifier(_identifier);\n if (stylesInDOM[_index].references === 0) {\n stylesInDOM[_index].updater();\n stylesInDOM.splice(_index, 1);\n }\n }\n lastIdentifiers = newLastIdentifiers;\n };\n};\n\n//# sourceURL=webpack://ajaxloadmore/./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js?"); -/***/ }), - -/***/ "./node_modules/style-loader/dist/runtime/insertBySelector.js": -/*!********************************************************************!*\ - !*** ./node_modules/style-loader/dist/runtime/insertBySelector.js ***! - \********************************************************************/ -/***/ (function(module) { -"use strict"; -eval("\n\nvar memo = {};\n\n/* istanbul ignore next */\nfunction getTarget(target) {\n if (typeof memo[target] === \"undefined\") {\n var styleTarget = document.querySelector(target);\n\n // Special case to return head of iframe instead of iframe itself\n if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) {\n try {\n // This will throw an exception if access to iframe is blocked\n // due to cross-origin restrictions\n styleTarget = styleTarget.contentDocument.head;\n } catch (e) {\n // istanbul ignore next\n styleTarget = null;\n }\n }\n memo[target] = styleTarget;\n }\n return memo[target];\n}\n\n/* istanbul ignore next */\nfunction insertBySelector(insert, style) {\n var target = getTarget(insert);\n if (!target) {\n throw new Error(\"Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.\");\n }\n target.appendChild(style);\n}\nmodule.exports = insertBySelector;\n\n//# sourceURL=webpack://ajaxloadmore/./node_modules/style-loader/dist/runtime/insertBySelector.js?"); +var test = { + foo: {} +}; -/***/ }), +var $Object = Object; -/***/ "./node_modules/style-loader/dist/runtime/insertStyleElement.js": -/*!**********************************************************************!*\ - !*** ./node_modules/style-loader/dist/runtime/insertStyleElement.js ***! - \**********************************************************************/ -/***/ (function(module) { +module.exports = function hasProto() { + return { __proto__: test }.foo === test.foo && !({ __proto__: null } instanceof $Object); +}; -"use strict"; -eval("\n\n/* istanbul ignore next */\nfunction insertStyleElement(options) {\n var element = document.createElement(\"style\");\n options.setAttributes(element, options.attributes);\n options.insert(element, options.options);\n return element;\n}\nmodule.exports = insertStyleElement;\n\n//# sourceURL=webpack://ajaxloadmore/./node_modules/style-loader/dist/runtime/insertStyleElement.js?"); /***/ }), -/***/ "./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js": -/*!**********************************************************************************!*\ - !*** ./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js ***! - \**********************************************************************************/ +/***/ 405: /***/ (function(module, __unused_webpack_exports, __webpack_require__) { "use strict"; -eval("\n\n/* istanbul ignore next */\nfunction setAttributesWithoutAttributes(styleElement) {\n var nonce = true ? __webpack_require__.nc : 0;\n if (nonce) {\n styleElement.setAttribute(\"nonce\", nonce);\n }\n}\nmodule.exports = setAttributesWithoutAttributes;\n\n//# sourceURL=webpack://ajaxloadmore/./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js?"); - -/***/ }), - -/***/ "./node_modules/style-loader/dist/runtime/styleDomAPI.js": -/*!***************************************************************!*\ - !*** ./node_modules/style-loader/dist/runtime/styleDomAPI.js ***! - \***************************************************************/ -/***/ (function(module) { - -"use strict"; -eval("\n\n/* istanbul ignore next */\nfunction apply(styleElement, options, obj) {\n var css = \"\";\n if (obj.supports) {\n css += \"@supports (\".concat(obj.supports, \") {\");\n }\n if (obj.media) {\n css += \"@media \".concat(obj.media, \" {\");\n }\n var needLayer = typeof obj.layer !== \"undefined\";\n if (needLayer) {\n css += \"@layer\".concat(obj.layer.length > 0 ? \" \".concat(obj.layer) : \"\", \" {\");\n }\n css += obj.css;\n if (needLayer) {\n css += \"}\";\n }\n if (obj.media) {\n css += \"}\";\n }\n if (obj.supports) {\n css += \"}\";\n }\n var sourceMap = obj.sourceMap;\n if (sourceMap && typeof btoa !== \"undefined\") {\n css += \"\\n/*# sourceMappingURL=data:application/json;base64,\".concat(btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))), \" */\");\n }\n\n // For old IE\n /* istanbul ignore if */\n options.styleTagTransform(css, styleElement, options.options);\n}\nfunction removeStyleElement(styleElement) {\n // istanbul ignore if\n if (styleElement.parentNode === null) {\n return false;\n }\n styleElement.parentNode.removeChild(styleElement);\n}\n\n/* istanbul ignore next */\nfunction domAPI(options) {\n if (typeof document === \"undefined\") {\n return {\n update: function update() {},\n remove: function remove() {}\n };\n }\n var styleElement = options.insertStyleElement(options);\n return {\n update: function update(obj) {\n apply(styleElement, options, obj);\n },\n remove: function remove() {\n removeStyleElement(styleElement);\n }\n };\n}\nmodule.exports = domAPI;\n\n//# sourceURL=webpack://ajaxloadmore/./node_modules/style-loader/dist/runtime/styleDomAPI.js?"); - -/***/ }), -/***/ "./node_modules/style-loader/dist/runtime/styleTagTransform.js": -/*!*********************************************************************!*\ - !*** ./node_modules/style-loader/dist/runtime/styleTagTransform.js ***! - \*********************************************************************/ -/***/ (function(module) { -"use strict"; -eval("\n\n/* istanbul ignore next */\nfunction styleTagTransform(css, styleElement) {\n if (styleElement.styleSheet) {\n styleElement.styleSheet.cssText = css;\n } else {\n while (styleElement.firstChild) {\n styleElement.removeChild(styleElement.firstChild);\n }\n styleElement.appendChild(document.createTextNode(css));\n }\n}\nmodule.exports = styleTagTransform;\n\n//# sourceURL=webpack://ajaxloadmore/./node_modules/style-loader/dist/runtime/styleTagTransform.js?"); +var origSymbol = typeof Symbol !== 'undefined' && Symbol; +var hasSymbolSham = __webpack_require__(419); -/***/ }), +module.exports = function hasNativeSymbols() { + if (typeof origSymbol !== 'function') { return false; } + if (typeof Symbol !== 'function') { return false; } + if (typeof origSymbol('foo') !== 'symbol') { return false; } + if (typeof Symbol('bar') !== 'symbol') { return false; } -/***/ "./src/frontend/js/addons/cache.js": -/*!*****************************************!*\ - !*** ./src/frontend/js/addons/cache.js ***! - \*****************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + return hasSymbolSham(); +}; -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ createCache: function() { return /* binding */ createCache; },\n/* harmony export */ getCache: function() { return /* binding */ getCache; },\n/* harmony export */ getCacheSlug: function() { return /* binding */ getCacheSlug; }\n/* harmony export */ });\n/* harmony import */ var crypto_js_md5__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! crypto-js/md5 */ \"./node_modules/crypto-js/md5.js\");\n/* harmony import */ var crypto_js_md5__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(crypto_js_md5__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _helpers_api__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../helpers/api */ \"./src/frontend/js/helpers/api.js\");\n\n\n\n/**\n * Create unique cache slug from query params.\n *\n * @param {Object} alm The ALM object.\n * @param {Object} data The data object.\n * @return {string} The cache file slug.\n */\nfunction getCacheSlug(alm, data) {\n\tconst { addons, pagePrev, page, rel = 'next' } = alm;\n\tif (addons.nextpage) {\n\t\treturn `page-${page + addons.nextpage_startpage}`; // Nextpage.\n\t} else if (addons.single_post) {\n\t\treturn addons.single_post_id; // Single Post.\n\t} else if (addons.woocommerce || addons.elementor) {\n\t\treturn rel === 'prev' ? `page-${pagePrev}` : `page-${page + 1}`; // WooCommerce || Elementor.\n\t}\n\treturn crypto_js_md5__WEBPACK_IMPORTED_MODULE_0___default()(JSON.stringify(data)).toString(); // Standard.\n}\n\n/**\n * Create a cache file.\n *\n * @param {Object} alm The ALM object.\n * @param {string} data Content to cache.\n * @param {string} name The cache slug\n * @since 5.3.1\n */\nasync function createCache(alm, data, name) {\n\tconst { html = '', meta = {} } = data;\n\n\tif (!html || !alm.addons.cache) {\n\t\treturn;\n\t}\n\n\tconst params = {\n\t\tcache_id: alm.addons.cache_id,\n\t\tcache_logged_in: alm.addons.cache_logged_in,\n\t\tcanonical_url: alm.canonical_url,\n\t\tname,\n\t\thtml: html.trim(),\n\t\tpostcount: meta.postcount,\n\t\ttotalposts: meta.totalposts,\n\t};\n\n\t// Create the cache file via REST API.\n\tconst res = await _helpers_api__WEBPACK_IMPORTED_MODULE_1__.api.post('ajax-load-more/cache/create', params);\n\tif (res.status === 200 && res.data && res.data.success) {\n\t\tconsole.log(res.data.msg); // eslint-disable-line no-console\n\t}\n}\n\n/**\n * Get cache data file.\n *\n * @param {Object} alm The ALM object.\n * @param {Object} params Query params.\n * @return {Promise} Cache data or false.\n */\nasync function getCache(alm, params) {\n\tif (!alm.addons.cache || (alm.addons.cache && alm.addons.cache_logged_in)) {\n\t\t// Exit if not cache or cache is enabled but user is logged in with the no-cache setting checked.\n\t\treturn false;\n\t}\n\n\tconst restParams = {\n\t\tid: alm.addons.cache_id,\n\t\tname: params.cache_slug,\n\t};\n\n\tconst res = await _helpers_api__WEBPACK_IMPORTED_MODULE_1__.api.get('ajax-load-more/cache/get', { params: restParams });\n\tif (res.status === 200 && res.data) {\n\t\treturn res.data;\n\t}\n\n\treturn false;\n}\n\n\n//# sourceURL=webpack://ajaxloadmore/./src/frontend/js/addons/cache.js?"); /***/ }), -/***/ "./src/frontend/js/addons/elementor.js": -/*!*********************************************!*\ - !*** ./src/frontend/js/addons/elementor.js ***! - \*********************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { +/***/ 419: +/***/ (function(module) { "use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ elementor: function() { return /* binding */ elementor; },\n/* harmony export */ elementorCreateParams: function() { return /* binding */ elementorCreateParams; },\n/* harmony export */ elementorGetContent: function() { return /* binding */ elementorGetContent; },\n/* harmony export */ elementorGetNextUrl: function() { return /* binding */ elementorGetNextUrl; },\n/* harmony export */ elementorInit: function() { return /* binding */ elementorInit; },\n/* harmony export */ elementorLoaded: function() { return /* binding */ elementorLoaded; }\n/* harmony export */ });\n/* harmony import */ var _helpers_getButtonURL__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../helpers/getButtonURL */ \"./src/frontend/js/helpers/getButtonURL.js\");\n/* harmony import */ var _modules_lazyImages__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../modules/lazyImages */ \"./src/frontend/js/modules/lazyImages.js\");\n/* harmony import */ var _modules_loadItems__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../modules/loadItems */ \"./src/frontend/js/modules/loadItems.js\");\n/* harmony import */ var _cache__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./cache */ \"./src/frontend/js/addons/cache.js\");\n\n\n\n\n\n/**\n * Set up the instance on Elementor\n *\n * @param {Object} alm\n * @since 5.3.0\n */\nfunction elementorInit(alm) {\n\tif (!alm.addons.elementor || !alm.addons.elementor_type || !alm.addons.elementor_type === 'posts') {\n\t\treturn false;\n\t}\n\tconst target = alm.addons.elementor_element;\n\n\tif (target) {\n\t\t// Set button data attributes\n\t\talm.button.dataset.page = alm.addons.elementor_paged;\n\n\t\t// Set button URL\n\t\tconst nextPage = alm.addons.elementor_next_page;\n\t\talm.button.dataset.url = nextPage ? nextPage : '';\n\n\t\t// Set a11y attributes\n\t\ttarget.setAttribute('aria-live', 'polite');\n\t\ttarget.setAttribute('aria-atomic', 'true');\n\t\talm.listing.removeAttribute('aria-live');\n\t\talm.listing.removeAttribute('aria-atomic');\n\n\t\t// Set data atts on 1st grid item\n\t\tconst item = target.querySelector(`.${alm.addons.elementor_item_class}`); // Get first `.product` item\n\t\tif (item) {\n\t\t\titem.classList.add('alm-elementor');\n\t\t\titem.dataset.url = window.location;\n\t\t\titem.dataset.page = alm.addons.elementor_paged;\n\t\t\titem.dataset.pageTitle = document.title;\n\t\t}\n\n\t\t// Masonry Window Resize. Delay for masonry to be added via Elementor.\n\t\tif (alm.addons.elementor_masonry) {\n\t\t\tlet resizeTimeout;\n\t\t\tsetTimeout(function () {\n\t\t\t\twindow.addEventListener('resize', function () {\n\t\t\t\t\tclearTimeout(resizeTimeout);\n\t\t\t\t\tresizeTimeout = setTimeout(function () {\n\t\t\t\t\t\tpositionMasonryItems(alm, `.${alm.addons.elementor_container_class}`, `.${alm.addons.elementor_item_class}`);\n\t\t\t\t\t}, 100);\n\t\t\t\t});\n\t\t\t}, 250);\n\t\t}\n\t}\n}\n\n/**\n * Get the content, title and results text from the Ajax response.\n *\n * @param {Object} alm The alm object.\n * @param {string} url The request URL.\n * @param {Object} response Query response.\n * @param {string} cache_slug The cache slug.\n * @return {Object} Results data.\n * @since 5.4.0\n */\nfunction elementorGetContent(alm, url, response, cache_slug) {\n\t// Default data object.\n\tconst data = {\n\t\thtml: '',\n\t\tmeta: {\n\t\t\tpostcount: 0,\n\t\t\ttotalposts: 0,\n\t\t},\n\t};\n\n\t// Successful response.\n\tif (response.status === 200 && response.data) {\n\t\tconst { addons, page, button } = alm;\n\n\t\t// Create temp div to hold response data.\n\t\tconst content = document.createElement('div');\n\t\tcontent.innerHTML = response.data;\n\n\t\t// Set button URL.\n\t\tconst nextURL = elementorGetNextUrl(alm, content);\n\t\tif (nextURL) {\n\t\t\t(0,_helpers_getButtonURL__WEBPACK_IMPORTED_MODULE_0__.setButtonAtts)(button, page + 1, nextURL);\n\t\t} else {\n\t\t\t// Disable button if no next page.\n\t\t\talm.AjaxLoadMore.triggerDone();\n\t\t}\n\n\t\t// Get Page Title\n\t\tconst title = content.querySelector('title').innerHTML;\n\t\tdata.pageTitle = title;\n\n\t\t// Get Elementor Items container.\n\t\tconst container = content.querySelector(`${addons.elementor_target} .${addons.elementor_container_class}`);\n\t\tif (!container) {\n\t\t\tconsole.warn(`Ajax Load More Elementor: Unable to find Elementor container element.`);\n\t\t\treturn data;\n\t\t}\n\n\t\t// Get the first item and append data attributes.\n\t\tconst item = container ? container.querySelector(`.${addons.elementor_item_class}`) : null;\n\t\tif (item) {\n\t\t\titem.classList.add('alm-elementor');\n\t\t\titem.dataset.url = url;\n\t\t\titem.dataset.page = addons.elementor_paged;\n\t\t\titem.dataset.pageTitle = title;\n\t\t}\n\n\t\t// Count the number of returned items.\n\t\tconst items = container.querySelectorAll(`.${addons.elementor_item_class}`);\n\t\tif (items) {\n\t\t\t// Set the html to the elementor container data.\n\t\t\tdata.html = container ? container.innerHTML : '';\n\t\t\tdata.meta.postcount = items.length;\n\t\t\tdata.meta.totalposts = items.length;\n\n\t\t\t// Create cache file.\n\t\t\t(0,_cache__WEBPACK_IMPORTED_MODULE_3__.createCache)(alm, data, cache_slug);\n\t\t}\n\t}\n\treturn data;\n}\n\n/**\n * Core ALM Elementor loader.\n *\n * @param {HTMLElement} content The HTML data.\n * @param {Object} alm The alm object.\n * @since 5.3.0\n */\nfunction elementor(content, alm) {\n\tif (!content || !alm) {\n\t\talm.AjaxLoadMore.triggerDone();\n\t\treturn false;\n\t}\n\n\treturn new Promise((resolve) => {\n\t\tconst { addons } = alm;\n\t\tconst container = alm.addons.elementor_element.querySelector(`.${addons.elementor_container_class}`); // Get post container\n\t\tconst items = content.querySelectorAll(`.${addons.elementor_item_class}`); // Get all items in container\n\n\t\tif (container && items) {\n\t\t\tconst ElementorItems = Array.prototype.slice.call(items); // Convert NodeList to Array\n\n\t\t\t// Trigger almElementorLoaded callback.\n\t\t\tif (typeof almElementorLoaded === 'function') {\n\t\t\t\twindow.almElementorLoaded(ElementorItems);\n\t\t\t}\n\n\t\t\t(async function () {\n\t\t\t\t// Load the items.\n\t\t\t\tawait (0,_modules_loadItems__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(container, ElementorItems, alm);\n\t\t\t\tif (addons.elementor_masonry) {\n\t\t\t\t\tsetTimeout(function () {\n\t\t\t\t\t\tpositionMasonryItems(alm, `.${addons.elementor_container_class}`, `.${addons.elementor_item_class}`);\n\t\t\t\t\t}, 125);\n\t\t\t\t}\n\n\t\t\t\tresolve(true);\n\t\t\t})().catch((e) => {\n\t\t\t\tconsole.warn(e, 'There was an error with Elementor'); // eslint-disable-line no-console\n\t\t\t});\n\t\t} else {\n\t\t\tresolve(false);\n\t\t}\n\t});\n}\n\n/**\n * Elementor loaded and dispatch actions.\n *\n * @param {Object} alm The alm object.\n * @since 5.5.0\n */\nfunction elementorLoaded(alm) {\n\tconst { page, AjaxLoadMore, addons } = alm;\n\tconst nextPage = page + 1;\n\n\tconst max_pages = addons.elementor_max_pages;\n\n\t// Lazy load images if necessary.\n\t(0,_modules_lazyImages__WEBPACK_IMPORTED_MODULE_1__.lazyImages)(alm);\n\n\t// Trigger almComplete.\n\tif (typeof almComplete === 'function' && alm.transition !== 'masonry') {\n\t\twindow.almComplete(alm);\n\t}\n\n\t// End transitions.\n\tAjaxLoadMore.transitionEnd();\n\n\t// ALM Done.\n\tif (nextPage >= max_pages) {\n\t\tAjaxLoadMore.triggerDone();\n\t}\n}\n\n/**\n * Create Elementor params for ALM.\n *\n * @param {Object} alm The alm object.\n * @return {Object} The modified object.\n */\nfunction elementorCreateParams(alm) {\n\t// Get Settings\n\talm.addons.elementor_type = 'posts';\n\talm.addons.elementor_settings = JSON.parse(alm.listing.dataset.elementorSettings);\n\n\t// Parse Container Settings\n\talm.addons.elementor_target = alm.addons.elementor_settings.target;\n\talm.addons.elementor_element = alm.addons.elementor_settings.target\n\t\t? document.querySelector(`.elementor-element ${alm.addons.elementor_settings.target}`)\n\t\t: '';\n\talm.addons.elementor_widget = elementorGetWidgetType(alm.addons.elementor_element);\n\n\t// Masonry\n\talm = setElementorClasses(alm, alm.addons.elementor_widget);\n\n\t// Pagination Element\n\talm.addons.elementor_controls = alm.addons.elementor_settings.controls;\n\talm.addons.elementor_controls = alm.addons.elementor_controls === 'true' ? true : false;\n\talm.addons.elementor_scrolltop = parseInt(alm.addons.elementor_settings.scrolltop);\n\n\t// Get next page URL.\n\talm.addons.elementor_next_page = elementorGetNextUrl(alm, alm.addons.elementor_element);\n\n\t// Get the max pages.\n\talm.addons.elementor_max_pages = alm.addons.elementor_element.querySelector('.e-load-more-anchor');\n\talm.addons.elementor_max_pages = alm.addons.elementor_max_pages ? parseInt(alm.addons.elementor_max_pages.dataset.maxPage) : 999;\n\n\talm.addons.elementor_paged = alm.addons.elementor_settings.paged ? parseInt(alm.addons.elementor_settings.paged) : 1;\n\talm.page = parseInt(alm.page) + alm.addons.elementor_paged;\n\n\t// Masonry\n\talm = parseMasonryConfig(alm);\n\n\tif (!alm.addons.elementor_element) {\n\t\tconsole.warn(\"Ajax Load More: Unable to locate Elementor Widget. Are you sure you've set up your target parameter correctly?\");\n\t}\n\tif (!alm.addons.elementor_next_page) {\n\t\tconsole.warn(\n\t\t\t'Ajax Load More: Unable to locate Elementor pagination. There are either no results or Ajax Load More is unable to locate the pagination widget?'\n\t\t);\n\t}\n\treturn alm;\n}\n\n/**\n * Set the required classnames for parsing data and injecting content into the Elementor listing\n *\n * @param {Object} alm The alm object.\n * @param {string} type The Elementor type.\n * @return {Object} The modified object.\n */\nfunction setElementorClasses(alm, type = 'posts') {\n\t// Container Class\n\talm.addons.elementor_container_class =\n\t\ttype === 'woocommerce' ? alm.addons.elementor_settings.woo_container_class : alm.addons.elementor_settings.posts_container_class;\n\n\t// Item Class\n\talm.addons.elementor_item_class = type === 'woocommerce' ? alm.addons.elementor_settings.woo_item_class : alm.addons.elementor_settings.posts_item_class;\n\n\t// Pagination Class\n\talm.addons.elementor_pagination_class =\n\t\ttype === 'woocommerce' ? `.${alm.addons.elementor_settings.woo_pagination_class}` : `.${alm.addons.elementor_settings.posts_pagination_class}`;\n\n\treturn alm;\n}\n\n/**\n * Parse Masonry Settings from Elementor Data atts\n *\n * @param {Object} alm The alm object.\n * @return {Object} The modified object.\n */\nfunction parseMasonryConfig(alm) {\n\tif (!alm.addons.elementor_element) {\n\t\treturn alm; // Exit if not found.\n\t}\n\n\tconst target = alm.addons.elementor_element;\n\n\tconst settings = target.dataset.settings ? JSON.parse(target.dataset.settings) : '';\n\tif (!settings) {\n\t\treturn alm; // Exit if not found.\n\t}\n\n\talm.addons.elementor_masonry = settings.hasOwnProperty('cards_masonry') || settings.hasOwnProperty('classic_masonry');\n\tif (alm.addons.elementor_masonry) {\n\t\talm.addons.elementor_masonry_columns = parseInt(settings.cards_columns) || parseInt(settings.classic_columns);\n\t\talm.addons.elementor_masonry_columns_mobile = parseInt(settings.cards_columns_mobile) || parseInt(settings.classic_columns_mobile);\n\t\talm.addons.elementor_masonry_columns_tablet = parseInt(settings.cards_columns_tablet) || parseInt(settings.classic_columns_tablet);\n\t\talm.addons.elementor_masonry_gap = parseInt(settings.cards_row_gap.size);\n\t}\n\n\treturn alm;\n}\n\n/**\n * Position Elementor Masonry Items\n *\n * @param {Object} alm The alm object.\n * @param {string} container_class The container classname.\n * @param {string} item_class The item classname.\n */\nfunction positionMasonryItems(alm, container_class, item_class) {\n\tconst heights = [];\n\n\t// Get Elementor Settings\n\tconst columnsCount = alm.addons.elementor_masonry_columns;\n\tconst columnsCountTablet = alm.addons.elementor_masonry_columns_tablet;\n\tconst columnsCountMobile = alm.addons.elementor_masonry_columns_mobile;\n\tconst verticalSpaceBetween = alm.addons.elementor_masonry_gap;\n\tlet columns = columnsCount;\n\n\t// Get Elementor Breakpoints\n\tconst breakpoints = window.elementorFrontendConfig && window.elementorFrontendConfig.breakpoints ? window.elementorFrontendConfig.breakpoints : 0;\n\tconst windowW = window.innerWidth;\n\n\t// Set Columns\n\tif (windowW > breakpoints.lg) {\n\t\tcolumns = columnsCount;\n\t} else if (windowW > breakpoints.md) {\n\t\tcolumns = columnsCountTablet;\n\t} else {\n\t\tcolumns = columnsCountMobile;\n\t}\n\n\t// Get Containers\n\tconst container = document.querySelector(container_class);\n\tif (!container) {\n\t\treturn false;\n\t}\n\tconst items = container.querySelectorAll(item_class);\n\tif (!items) {\n\t\treturn false;\n\t}\n\n\t// Loop items\n\titems.forEach((item, index) => {\n\t\tconst row = Math.floor(index / columns);\n\t\tconst itemHeight = item.getBoundingClientRect().height + verticalSpaceBetween;\n\n\t\tif (row) {\n\t\t\tconst itemPosition = jQuery(item).position();\n\t\t\tconst indexAtRow = index % columns;\n\t\t\tlet pullHeight = Math.round(itemPosition.top) - heights[indexAtRow];\n\n\t\t\tpullHeight *= -1;\n\t\t\titem.style.marginTop = `${Math.round(pullHeight)}px`;\n\t\t\theights[indexAtRow] += itemHeight;\n\t\t} else {\n\t\t\theights.push(itemHeight);\n\t\t}\n\t});\n}\n\n/**\n * Determine the type of elementor widget (woocommerce || posts)\n *\n * @param {HTMLElement} target The target element.\n * @return {string} The Elementor type.\n */\nfunction elementorGetWidgetType(target) {\n\tif (!target) {\n\t\treturn false;\n\t}\n\t// If container contains the woocommerce elementor class\n\tconst type = target.classList.contains('elementor-wc-products') ? 'woocommerce' : 'posts';\n\treturn type;\n}\n\n/**\n * Get the pagination container for the Elementor pagination.\n *\n * @param {Object} alm The alm object.\n * @param {Element} content The HTML content to search.\n * @return {HTMLElement} The pagination element.\n */\nfunction elementorGetNextUrl(alm, content) {\n\tconst { addons = {} } = alm;\n\n\t// Locate the pagination container.\n\tconst element = content?.querySelector(addons?.elementor_pagination_class) || content?.querySelector(`.${addons?.elementor_settings?.pagination_class}`);\n\n\t// Get the next page URL from the pagination element.\n\tconst nextpage = element?.querySelector('a.next')?.href;\n\n\t// Return the next page URL.\n\treturn nextpage ? nextpage : false;\n}\n\n\n//# sourceURL=webpack://ajaxloadmore/./src/frontend/js/addons/elementor.js?"); -/***/ }), - -/***/ "./src/frontend/js/addons/filters.js": -/*!*******************************************!*\ - !*** ./src/frontend/js/addons/filters.js ***! - \*******************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ buildFilterURL: function() { return /* binding */ buildFilterURL; },\n/* harmony export */ createMasonryFiltersPage: function() { return /* binding */ createMasonryFiltersPage; },\n/* harmony export */ createMasonryFiltersPages: function() { return /* binding */ createMasonryFiltersPages; },\n/* harmony export */ parseQuerystring: function() { return /* binding */ parseQuerystring; }\n/* harmony export */ });\n/* harmony import */ var _helpers_getQueryVariable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../helpers/getQueryVariable */ \"./src/frontend/js/helpers/getQueryVariable.js\");\n\nconst FILTERS_CLASSNAME = 'alm-filters';\n\n/**\n * Parse a filter querystring for returning caches directories.\n *\n * @param {string} path The URL path.\n * @since 5.3.1\n */\nfunction parseQuerystring(path) {\n\t// Get querystring\n\tconst query = window.location.search.substring(1);\n\n\tlet obj = '';\n\tlet cache_dir = '';\n\n\t// Parse querystring into object\n\tif (query) {\n\t\tobj = JSON.parse('{\"' + query.replace(/&/g, '\",\"').replace(/=/g, '\":\"') + '\"}', function (key, value) {\n\t\t\t// Replace + with - in URL\n\t\t\treturn key === '' ? value : decodeURIComponent(value.replace(/\\+/g, '-'));\n\t\t});\n\n\t\t// Remove the following properties from the object as they should not be included in the cache ID\n\n\t\tif (obj.pg) {\n\t\t\t// `pg` object prop\n\t\t\tdelete obj.pg;\n\t\t}\n\n\t\tif (obj.auto) {\n\t\t\t// `auto` object prop\n\t\t\tdelete obj.auto;\n\t\t}\n\t}\n\n\tif (obj) {\n\t\tcache_dir += '/';\n\t\tObject.keys(obj).forEach((key, index) => {\n\t\t\tcache_dir += index > 0 ? '--' : '';\n\t\t\tcache_dir += `${key}--${obj[key]}`;\n\t\t});\n\t}\n\n\treturn path + cache_dir;\n}\n\n/**\n * Build new paging URL for filters.\n *\n * @param {Object} alm The ALM object.\n * @param {string} querystring The current querystring.\n * @param {number} page The page number.\n * @since 5.3.5\n */\nfunction buildFilterURL(alm, querystring = '', page = 0) {\n\tlet qs = querystring;\n\n\tif (alm.addons.filters_paging) {\n\t\tif (page > 1) {\n\t\t\t// Paged\n\t\t\tif (qs) {\n\t\t\t\t// If already has `pg` in querystring\n\t\t\t\tif ((0,_helpers_getQueryVariable__WEBPACK_IMPORTED_MODULE_0__[\"default\"])('pg')) {\n\t\t\t\t\tqs = querystring.replace(/(pg=)[^\\&]+/, '$1' + page);\n\t\t\t\t} else {\n\t\t\t\t\tqs = querystring + '&pg=' + page;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tqs = '?pg=' + page;\n\t\t\t}\n\t\t} else {\n\t\t\t// Not Paged\n\t\t\tqs = querystring.replace(/(pg=)[^\\&]+/, '');\n\t\t\tqs = qs === '?' ? '' : qs; // Remove `?` if only symbol in querystring\n\t\t\tqs = qs[qs.length - 1] === '&' ? qs.slice(0, -1) : qs; // Remove trailing `&` symbols\n\t\t}\n\t}\n\n\treturn qs;\n}\n\n/**\n * Create data attributes for Filters paged results.\n *\n * @param {Object} alm The ALM object.\n * @param {Array} element An array of filter elements.\n * @since 5.3.1\n */\nfunction createMasonryFiltersPage(alm, element) {\n\tif (!alm.addons.filters) {\n\t\treturn element;\n\t}\n\n\tconst querystring = window.location.search;\n\tlet page = alm.page + 1;\n\tpage = alm.addons.preloaded === 'true' ? page + 1 : page;\n\telement = masonryFiltersAtts(alm, element, querystring, page);\n\n\treturn element;\n}\n\n/**\n * Create data attributes for Filters - used when ?pg=2, ?pg=3 etc are hit on page load\n *\n * @param {Object} alm The ALM object.\n * @param {Array} elements An array of filter elements.\n * @since 5.3.1\n */\nfunction createMasonryFiltersPages(alm, elements) {\n\tif (!alm.addons.filters) {\n\t\treturn elements;\n\t}\n\n\tlet pagenum = 1;\n\tconst page = alm.page;\n\tconst querystring = window.location.search;\n\n\tif (alm.addons.filters_startpage > 1) {\n\t\t// Create pages\n\t\tconst posts_per_page = parseInt(alm.posts_per_page);\n\t\tconst return_data = [];\n\n\t\t// Slice data array into individual pages\n\t\tfor (let i = 0; i < elements.length; i += posts_per_page) {\n\t\t\treturn_data.push(elements.slice(i, posts_per_page + i));\n\t\t}\n\n\t\t// Loop new data array\n\t\tfor (let k = 0; k < return_data.length; k++) {\n\t\t\tconst target = k > 0 ? k * posts_per_page : 0;\n\t\t\tpagenum = k + 1;\n\n\t\t\tif (elements[target]) {\n\t\t\t\telements[target] = masonryFiltersAtts(alm, elements[target], querystring, pagenum);\n\t\t\t}\n\t\t}\n\t} else {\n\t\tpagenum = page;\n\t\tif (elements && elements[0]) {\n\t\t\telements[0] = masonryFiltersAtts(alm, elements[0], querystring, pagenum);\n\t\t}\n\t}\n\n\treturn elements;\n}\n\n/**\n * Create the attributes (page, url, classes) for the masonry items.\n *\n * @param {Object} alm The ALM object.\n * @param {Element} element The container element.\n * @param {string} querystring The current querystring.\n * @param {number} pagenum The page number.\n * @return {Element} Modified HTML element.\n */\nfunction masonryFiltersAtts(alm, element, querystring, pagenum) {\n\telement.classList.add(FILTERS_CLASSNAME);\n\telement.dataset.page = pagenum;\n\tif (pagenum > 1) {\n\t\telement.dataset.url = alm.canonical_url + buildFilterURL(alm, querystring, pagenum);\n\t} else {\n\t\tlet updatedQS = querystring.replace(/(pg=)[^\\&]+/, ''); // Remove `pg` from querysting\n\t\tupdatedQS = updatedQS === '?' ? '' : updatedQS; // Remove empty querysting\n\n\t\telement.dataset.url = alm.canonical_url + updatedQS;\n\t}\n\n\treturn element;\n}\n\n\n//# sourceURL=webpack://ajaxloadmore/./src/frontend/js/addons/filters.js?"); -/***/ }), +/* eslint complexity: [2, 18], max-statements: [2, 33] */ +module.exports = function hasSymbols() { + if (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; } + if (typeof Symbol.iterator === 'symbol') { return true; } -/***/ "./src/frontend/js/addons/seo.js": -/*!***************************************!*\ - !*** ./src/frontend/js/addons/seo.js ***! - \***************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + var obj = {}; + var sym = Symbol('test'); + var symObj = Object(sym); + if (typeof sym === 'string') { return false; } -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ createMasonrySEOPage: function() { return /* binding */ createMasonrySEOPage; },\n/* harmony export */ createMasonrySEOPages: function() { return /* binding */ createMasonrySEOPages; },\n/* harmony export */ createSEOAttributes: function() { return /* binding */ createSEOAttributes; },\n/* harmony export */ getSEOPageNum: function() { return /* binding */ getSEOPageNum; }\n/* harmony export */ });\n/**\n * Create data attributes for SEO paged results.\n *\n * @param {Object} alm\n * @param {Array} element\n * @since 5.3.1\n */\nfunction createMasonrySEOPage(alm, element) {\n\tif (!alm.addons.seo) {\n\t\treturn element;\n\t}\n\n\tconst querystring = window.location.search;\n\tconst seo_class = 'alm-seo';\n\tlet page = alm.page + 1;\n\tpage = alm.addons.preloaded === 'true' ? page + 1 : page;\n\telement = masonrySEOAtts(alm, element, querystring, seo_class, page);\n\n\treturn element;\n}\n\n/**\n * Create data attributes for SEO - used when /page/2/, /page/3/ etc are hit on page load.\n *\n * @param {Object} alm\n * @param {Array} elements\n * @since 5.3.1\n */\nfunction createMasonrySEOPages(alm, elements) {\n\tif (!alm.addons.seo) {\n\t\treturn elements;\n\t}\n\n\tlet pagenum = 1;\n\tconst page = alm.page;\n\tconst seo_class = 'alm-seo';\n\tconst querystring = window.location.search;\n\n\tif (alm.start_page > 1) {\n\t\t// Create pages\n\t\tconst posts_per_page = parseInt(alm.posts_per_page);\n\t\tconst return_data = [];\n\n\t\t// Slice data array into individual pages\n\t\tfor (let i = 0; i < elements.length; i += posts_per_page) {\n\t\t\treturn_data.push(elements.slice(i, posts_per_page + i));\n\t\t}\n\n\t\t// Loop new data array\n\t\tfor (let k = 0; k < return_data.length; k++) {\n\t\t\tconst target = k > 0 ? k * posts_per_page : 0;\n\t\t\tpagenum = k + 1;\n\t\t\tif (elements[target]) {\n\t\t\t\telements[target] = masonrySEOAtts(alm, elements[target], querystring, seo_class, pagenum);\n\t\t\t}\n\t\t}\n\t} else {\n\t\tpagenum = page;\n\t\telements[0] = masonrySEOAtts(alm, elements[0], querystring, seo_class, pagenum);\n\t}\n\n\treturn elements;\n}\n\n/**\n * Create the attributes (page, url, classes) for the masonry items.\n *\n * @param {Object} alm\n * @param {Object} element\n * @param {string} querystring\n * @param {string} seo_class\n * @param {number} pagenum\n * @return {HTMLElement} Modified HTML element.\n */\nfunction masonrySEOAtts(alm, element, querystring, seo_class, pagenum) {\n\telement.classList.add(seo_class);\n\telement.dataset.page = pagenum;\n\n\tif (alm.addons.seo_permalink === 'default') {\n\t\t// Default Permalinks\n\t\tif (pagenum > 1) {\n\t\t\telement.dataset.url = alm.canonical_url + querystring + '&paged=' + pagenum;\n\t\t} else {\n\t\t\telement.dataset.url = alm.canonical_url + querystring;\n\t\t}\n\t} else {\n\t\t// Pretty Permalinks\n\t\tif (pagenum > 1) {\n\t\t\telement.dataset.url = alm.canonical_url + alm.addons.seo_leading_slash + 'page/' + pagenum + alm.addons.seo_trailing_slash + querystring;\n\t\t} else {\n\t\t\telement.dataset.url = alm.canonical_url + querystring;\n\t\t}\n\t}\n\n\treturn element;\n}\n\n/**\n * Create data attributes for SEO - used when /page/2/, /page/3/ etc are hit on page load.\n *\n * @param {Object} alm ALM object.\n * @param {HTMLElement} element Div element.\n * @param {string} querystring Current querystring.\n * @param {string} seo_class Classname to add to element.\n * @param {number} pagenum Current page number.\n * @return {HTMLElement} Modified HTML element.\n * @since 5.3.1\n */\nfunction createSEOAttributes(alm, element, querystring, seo_class, pagenum) {\n\telement.setAttribute('class', 'alm-reveal' + seo_class + alm.tcc);\n\telement.dataset.page = pagenum;\n\n\tif (alm.addons.seo_permalink === 'default') {\n\t\t// Default Permalinks\n\t\telement.dataset.url = pagenum > 1 ? alm.canonical_url + querystring + '&paged=' + pagenum : alm.canonical_url + querystring;\n\t} else {\n\t\t// Pretty Permalinks\n\t\telement.dataset.url =\n\t\t\tpagenum > 1\n\t\t\t\t? alm.canonical_url + alm.addons.seo_leading_slash + 'page/' + pagenum + alm.addons.seo_trailing_slash + querystring\n\t\t\t\t: alm.canonical_url + querystring;\n\t}\n\n\treturn element;\n}\n\n/**\n * Get the current page number.\n *\n * @param {string} seo_offset Is this an SEO offset.\n * @param {number} page The page number,\n * @return {number} The page number.\n */\nfunction getSEOPageNum(seo_offset, page) {\n\tif (seo_offset === 'true') {\n\t\treturn parseInt(page) + 1;\n\t}\n\treturn page;\n}\n\n\n//# sourceURL=webpack://ajaxloadmore/./src/frontend/js/addons/seo.js?"); + if (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; } + if (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; } -/***/ }), + // temp disabled per https://github.com/ljharb/object.assign/issues/17 + // if (sym instanceof Symbol) { return false; } + // temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4 + // if (!(symObj instanceof Symbol)) { return false; } -/***/ "./src/frontend/js/addons/singleposts.js": -/*!***********************************************!*\ - !*** ./src/frontend/js/addons/singleposts.js ***! - \***********************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + // if (typeof Symbol.prototype.toString !== 'function') { return false; } + // if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; } -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ singlePostHTML: function() { return /* binding */ singlePostHTML; }\n/* harmony export */ });\n/* harmony import */ var _cache__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./cache */ \"./src/frontend/js/addons/cache.js\");\n\n\n/**\n * Create the HTML for loading Single Posts.\n *\n * @param {Object} alm The alm object.\n * @param {Object} response Query response.\n * @param {string} cache_slug The cache slug.\n * @return {Object} Results data.\n * @since 5.1.8.1\n */\nfunction singlePostHTML(alm, response, cache_slug) {\n\tconst data = {\n\t\thtml: '',\n\t\tmeta: {\n\t\t\tpostcount: 0,\n\t\t\ttotalposts: 0,\n\t\t},\n\t};\n\n\t// Get target element.\n\tconst { single_post_target } = alm.addons;\n\n\tif (response.status === 200 && response.data && single_post_target) {\n\t\t// Create temp div to hold response data.\n\t\tconst div = document.createElement('div');\n\t\tdiv.innerHTML = response.data;\n\n\t\t// Get target element.\n\t\tconst html = div.querySelector(single_post_target);\n\n\t\tif (!html) {\n\t\t\tconsole.warn(`Ajax Load More: Unable to find ${single_post_target} element.`);\n\t\t\treturn data;\n\t\t}\n\n\t\t// Get any custom target elements.\n\t\tconst customElements = window && window.almSinglePostsCustomElements;\n\t\tif (customElements) {\n\t\t\thtml.appendChild(singlePostsGetCustomElements(div, customElements));\n\t\t}\n\n\t\tdata.html = html.innerHTML;\n\t\tdata.meta = {\n\t\t\tpostcount: 1,\n\t\t\ttotalposts: 1,\n\t\t};\n\n\t\t// Create cache file.\n\t\t(0,_cache__WEBPACK_IMPORTED_MODULE_0__.createCache)(alm, data, cache_slug);\n\t}\n\treturn data;\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (singlePostHTML);\n\n/**\n * Collect custom target elements and append them to the returned HTML.\n *\n * This function is useful to get elements from outside the ALM target and bring them into the returned HTML.\n * Useful for when CSS or JS may be loaded in the and we need it brought into the HTML for Single Posts.\n *\n * e.g. window.almSinglePostsCustomElements = ['#woocommerce-inline-inline-css', '#wc-block-style-css'];\n *\n * @param {HTMLElement} content The HTML element.\n * @param {Array} customElements The elements to search for in content.\n * @return {HTMLElement} The HTML elements.\n */\nfunction singlePostsGetCustomElements(content = '', customElements = []) {\n\t// Create container element to hold elements.\n\tconst container = document.createElement('div');\n\tcontainer.classList.add('alm-custom-elements');\n\n\t// Exit if empty.\n\tif (!content || !customElements) {\n\t\treturn container;\n\t}\n\n\t// Convert customElements to an Array.\n\tcustomElements = !Array.isArray(customElements) ? [customElements] : customElements;\n\n\t// Loop Array to extract elements and append to container.\n\tfor (let i = 0; i < customElements.length; i++) {\n\t\tconst element = content.querySelector(customElements[i]);\n\t\tif (element) {\n\t\t\tcontainer.appendChild(element);\n\t\t}\n\t}\n\n\treturn container;\n}\n\n\n//# sourceURL=webpack://ajaxloadmore/./src/frontend/js/addons/singleposts.js?"); + var symVal = 42; + obj[sym] = symVal; + for (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop + if (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; } -/***/ }), + if (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; } -/***/ "./src/frontend/js/addons/woocommerce.js": -/*!***********************************************!*\ - !*** ./src/frontend/js/addons/woocommerce.js ***! - \***********************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + var syms = Object.getOwnPropertySymbols(obj); + if (syms.length !== 1 || syms[0] !== sym) { return false; } -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ almWooCommerceResultsTextInit: function() { return /* binding */ almWooCommerceResultsTextInit; },\n/* harmony export */ wooGetContent: function() { return /* binding */ wooGetContent; },\n/* harmony export */ wooInit: function() { return /* binding */ wooInit; },\n/* harmony export */ wooReset: function() { return /* binding */ wooReset; },\n/* harmony export */ woocommerce: function() { return /* binding */ woocommerce; },\n/* harmony export */ woocommerceLoaded: function() { return /* binding */ woocommerceLoaded; }\n/* harmony export */ });\n/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! axios */ \"./node_modules/axios/lib/axios.js\");\n/* harmony import */ var _helpers_dispatchScrollEvent__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../helpers/dispatchScrollEvent */ \"./src/frontend/js/helpers/dispatchScrollEvent.js\");\n/* harmony import */ var _helpers_getButtonURL__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../helpers/getButtonURL */ \"./src/frontend/js/helpers/getButtonURL.js\");\n/* harmony import */ var _modules_lazyImages__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../modules/lazyImages */ \"./src/frontend/js/modules/lazyImages.js\");\n/* harmony import */ var _modules_loadItems__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../modules/loadItems */ \"./src/frontend/js/modules/loadItems.js\");\n/* harmony import */ var _modules_loadPrevious__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../modules/loadPrevious */ \"./src/frontend/js/modules/loadPrevious.js\");\n/* harmony import */ var _cache__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./cache */ \"./src/frontend/js/addons/cache.js\");\n\n\n\n\n\n\n\n\n/**\n * Set up instance of ALM WooCommerce\n *\n * @param {Object} alm ALM object.\n * @since 5.3.0\n */\nfunction wooInit(alm) {\n\tif (!alm || !alm.addons.woocommerce) {\n\t\treturn false;\n\t}\n\n\talm.button.dataset.page = alm.addons.woocommerce_settings.paged + 1; // Page\n\n\t// Get upcoming URL.\n\tconst nextPage = alm.addons.woocommerce_settings.paged_urls[alm.addons.woocommerce_settings.paged];\n\tif (nextPage) {\n\t\talm.button.dataset.url = nextPage;\n\t} else {\n\t\talm.button.dataset.url = '';\n\t}\n\n\t// Set up URL and class parameters on first item in product listing\n\tconst container = document.querySelector(alm.addons.woocommerce_settings.container); // Get `ul.products`\n\tif (container) {\n\t\tconst count = getContainerCount(alm.addons.woocommerce_settings.container);\n\t\tconst currentPage = alm.addons.woocommerce_settings.paged;\n\n\t\tif (count > 1) {\n\t\t\t// Display warning if multiple containers were found.\n\t\t\tconsole.warn(\n\t\t\t\t'ALM WooCommerce: Multiple containers with the same classname or ID found. The WooCommerce add-on requires a single container to be defined. Get more information -> https://connekthq.com/plugins/ajax-load-more/docs/add-ons/woocommerce/'\n\t\t\t);\n\t\t}\n\n\t\tcontainer.setAttribute('aria-live', 'polite');\n\t\tcontainer.setAttribute('aria-atomic', 'true');\n\n\t\talm.listing.removeAttribute('aria-live');\n\t\talm.listing.removeAttribute('aria-atomic');\n\n\t\tconst products = container.querySelector(alm.addons.woocommerce_settings.products); // Get first `.product` item\n\t\tif (products) {\n\t\t\tproducts.classList.add('alm-woocommerce');\n\t\t\tproducts.dataset.url = alm.addons.woocommerce_settings.paged_urls[alm.addons.woocommerce_settings.paged - 1];\n\t\t\tproducts.dataset.page = alm.page;\n\t\t\tproducts.dataset.pageTitle = document.title;\n\t\t} else {\n\t\t\tconsole.warn(\n\t\t\t\t'ALM WooCommerce: Unable to locate products. Get more information -> https://connekthq.com/plugins/ajax-load-more/docs/add-ons/woocommerce/#alm_woocommerce_products'\n\t\t\t);\n\t\t}\n\n\t\t// Paged URL: Create previous button.\n\t\tif (currentPage > 1) {\n\t\t\tif (alm.addons.woocommerce_settings.settings.previous_products) {\n\t\t\t\tconst prevURL = alm.addons.woocommerce_settings.paged_urls[currentPage - 2];\n\t\t\t\tconst label = alm.addons.woocommerce_settings.settings.previous_products;\n\t\t\t\t(0,_modules_loadPrevious__WEBPACK_IMPORTED_MODULE_4__.createLoadPreviousButton)(alm, container, currentPage - 1, prevURL, label);\n\t\t\t}\n\t\t}\n\t} else {\n\t\tconsole.warn(\n\t\t\t'ALM WooCommerce: Unable to locate container element. Get more information -> https://connekthq.com/plugins/ajax-load-more/docs/add-ons/woocommerce/#alm_woocommerce_container'\n\t\t);\n\t}\n}\n\n/**\n * Core ALM WooCommerce product loader\n *\n * @param {Element} content WooCommerce content container.\n * @param {Object} alm ALM object.\n * @since 5.3.0\n */\nfunction woocommerce(content, alm) {\n\tif (!content || !alm) {\n\t\treturn false;\n\t}\n\n\treturn new Promise((resolve) => {\n\t\tconst { woocommerce_settings = {} } = alm.addons;\n\t\tconst { settings = {} } = woocommerce_settings;\n\n\t\tconst container = document.querySelector(woocommerce_settings.container); // Get `ul.products`\n\t\tconst products = content.querySelectorAll(woocommerce_settings.products); // Get all `.products`\n\t\tconst waitForImages = settings && settings.images_loaded === 'true' ? true : false;\n\n\t\tif (container && products) {\n\t\t\tconst wooProducts = Array.prototype.slice.call(products); // Convert NodeList to Array.\n\n\t\t\t(async function () {\n\t\t\t\t// Load the Products.\n\t\t\t\tawait (0,_modules_loadItems__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(container, wooProducts, alm, waitForImages);\n\t\t\t\tresolve(true);\n\t\t\t})().catch((e) => {\n\t\t\t\tconsole.warn(e, 'There was an error with WooCommerce'); // eslint-disable-line no-console\n\t\t\t});\n\n\t\t\t// Trigger almWooCommerceLoaded callback.\n\t\t\tif (typeof almWooCommerceLoaded === 'function') {\n\t\t\t\twindow.almWooCommerceLoaded(products);\n\t\t\t}\n\t\t}\n\t});\n}\n\n/**\n * Get the content, title and results from the Ajax request.\n *\n * @param {Object} alm The alm object.\n * @param {string} url The request URL.\n * @param {Object} response Query response.\n * @param {string} cache_slug The cache slug.\n * @return {Object} Results data.\n * @since 5.3.0\n */\nfunction wooGetContent(alm, url, response, cache_slug) {\n\t// Default data object.\n\tconst data = {\n\t\thtml: '',\n\t\tmeta: {\n\t\t\tpostcount: 0,\n\t\t\ttotalposts: 0,\n\t\t},\n\t};\n\n\t// Successful response.\n\tif (response.status === 200 && response.data) {\n\t\tconst { addons, pagePrev, rel = 'next', page, localize } = alm;\n\t\tconst { total_posts } = localize;\n\t\tconst { woocommerce_settings = {} } = addons;\n\t\tconst currentPage = rel === 'prev' ? pagePrev : page + 1; // Get the page number.\n\n\t\t// Create temp div to hold response data.\n\t\tconst div = document.createElement('div');\n\t\tdiv.innerHTML = response.data;\n\n\t\t// Get Page Title\n\t\tconst title = div.querySelector('title').innerHTML;\n\t\tdata.pageTitle = title;\n\n\t\t// Get WooCommerce products container.\n\t\tconst container = div.querySelector(woocommerce_settings.container);\n\t\tif (!container) {\n\t\t\tconsole.warn(`Ajax Load More WooCommerce: Unable to find WooCommerce ${woocommerce_settings.container} element.`);\n\t\t\treturn data;\n\t\t}\n\n\t\t// Get the first item and append data attributes.\n\t\tconst item = container ? container.querySelector(woocommerce_settings.products) : null;\n\t\tif (item) {\n\t\t\titem.classList.add('alm-woocommerce');\n\t\t\titem.dataset.url = url;\n\t\t\titem.dataset.page = currentPage;\n\t\t\titem.dataset.pageTitle = title;\n\t\t}\n\n\t\t// Count the number of returned items.\n\t\tconst items = container.querySelectorAll(woocommerce_settings.products);\n\t\tif (items) {\n\t\t\t// Set the html to the elementor container data.\n\t\t\tdata.html = container ? container.innerHTML : '';\n\t\t\tdata.meta.postcount = items.length;\n\t\t\tdata.meta.totalposts = total_posts;\n\n\t\t\t// Create cache file.\n\t\t\t(0,_cache__WEBPACK_IMPORTED_MODULE_5__.createCache)(alm, data, cache_slug);\n\t\t}\n\n\t\t// Results Text\n\t\talmWooCommerceResultsText(div, alm);\n\t}\n\n\treturn data;\n}\n\n/**\n * Handle WooCommerce loaded functionality and dispatch actions.\n *\n * @param {Object} alm ALM object.\n * @since 5.5.0\n */\nfunction woocommerceLoaded(alm) {\n\tconst nextPageNum = alm.page + 2;\n\tconst nextPage = alm.addons.woocommerce_settings.paged_urls[nextPageNum - 1]; // Get URL.\n\n\t// Set button data attributes.\n\tif (alm.rel === 'prev' && alm.buttonPrev) {\n\t\tconst prevPageNum = alm.pagePrev - 1;\n\t\tconst prevPage = alm.addons.woocommerce_settings.paged_urls[alm.pagePrev - 2];\n\t\t(0,_helpers_getButtonURL__WEBPACK_IMPORTED_MODULE_1__.setButtonAtts)(alm.buttonPrev, prevPageNum, prevPage);\n\t\t(0,_helpers_dispatchScrollEvent__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(true);\n\t} else {\n\t\t(0,_helpers_getButtonURL__WEBPACK_IMPORTED_MODULE_1__.setButtonAtts)(alm.button, nextPageNum, nextPage);\n\t}\n\n\t// Lazy load images if necessary.\n\t(0,_modules_lazyImages__WEBPACK_IMPORTED_MODULE_2__.lazyImages)(alm);\n\n\t// Trigger almComplete.\n\tif (typeof almComplete === 'function' && alm.transition !== 'masonry') {\n\t\twindow.almComplete(alm);\n\t}\n\n\t// End transitions.\n\talm.AjaxLoadMore.transitionEnd();\n\n\t// ALM Done.\n\tif (alm.rel === 'prev' && alm.pagePrev <= 1) {\n\t\talm.AjaxLoadMore.triggerDonePrev();\n\t}\n\tif (alm.rel === 'next' && nextPageNum > parseInt(alm.addons.woocommerce_settings.pages)) {\n\t\talm.AjaxLoadMore.triggerDone();\n\t}\n}\n\n/**\n * Reset a WooCommerce Instance by hitting the updated site URL.\n *\n * @since 5.3.8\n */\nfunction wooReset() {\n\treturn new Promise((resolve) => {\n\t\tconst url = window.location;\n\t\taxios__WEBPACK_IMPORTED_MODULE_6__[\"default\"]\n\t\t\t.get(url)\n\t\t\t.then((response) => {\n\t\t\t\tif (response.status === 200 && response.data) {\n\t\t\t\t\tconst div = document.createElement('div');\n\t\t\t\t\tdiv.innerHTML = response.data; // Add data to div\n\n\t\t\t\t\tconst alm = div.querySelector('.ajax-load-more-wrap .alm-listing[data-woo=\"true\"]'); // Get ALM instance\n\t\t\t\t\tconst settings = alm ? alm.dataset.wooSettings : ''; // Get settings data\n\t\t\t\t\tresolve(settings);\n\t\t\t\t} else {\n\t\t\t\t\tresolve(false);\n\t\t\t\t}\n\t\t\t})\n\t\t\t.catch(function () {\n\t\t\t\tresolve(false);\n\t\t\t});\n\t});\n}\n\n/**\n * Set results text for WooCommerce Add-on.\n *\n * @param {Element} target The target HTML element.\n * @param {Object} alm ALM object.\n * @since 5.3\n */\nfunction almWooCommerceResultsText(target = '', alm) {\n\tif (target && alm && alm.addons.woocommerce_settings.results_text) {\n\t\tconst currentResults = target.querySelector(alm.addons.woocommerce_settings.results);\n\n\t\tif (alm.addons.woocommerce_settings.results_text) {\n\t\t\t//let link = alm.addons.woocommerce_settings.settings.previous_page_link;\n\t\t\t//let label = alm.addons.woocommerce_settings.settings.previous_page_label;\n\t\t\t//let sep = alm.addons.woocommerce_settings.settings.previous_page_sep;\n\t\t\talm.addons.woocommerce_settings.results_text.forEach((element) => {\n\t\t\t\telement.innerHTML = currentResults.innerHTML;\n\t\t\t\t// if (link && label) {\n\t\t\t\t// \telement.innerHTML = returnButton(currentResults, link, label, sep);\n\t\t\t\t// } else {\n\t\t\t\t// \telement.innerHTML = currentResults.innerHTML;\n\t\t\t\t// }\n\t\t\t});\n\t\t}\n\t}\n}\n\n/**\n * Initiate Results text.\n *\n * @param {Object} alm ALM object.\n * @since 5.3\n * @deprecated 5.5\n */\nfunction almWooCommerceResultsTextInit(alm) {\n\tif (alm && alm.addons.woocommerce_settings.results_text) {\n\t\tconst results = document.querySelectorAll(alm.addons.woocommerce_settings.results);\n\t\tif (results.length < 1) {\n\t\t\treturn false;\n\t\t}\n\t\tconst link = alm.addons.woocommerce_settings.settings.previous_page_link;\n\t\tconst label = alm.addons.woocommerce_settings.settings.previous_page_label;\n\t\tconst sep = alm.addons.woocommerce_settings.settings.previous_page_sep;\n\t\t// Loop all result text elements\n\t\tresults.forEach((element) => {\n\t\t\tif (link && label) {\n\t\t\t\telement.innerHTML = returnButton(element, link, label, sep);\n\t\t\t}\n\t\t});\n\t}\n}\n\n/**\n * Create button text for returning to the first page\n *\n * @param {Element} text The button text.\n * @param {string} link Link URL.\n * @param {string} label Button label.\n * @param {string} seperator HTML separator.\n */\nfunction returnButton(text, link, label, seperator) {\n\tconst button = ` ${seperator} ${label}`;\n\treturn text.innerHTML + button;\n}\n\n/**\n * Get total count of WooCommerce containers.\n *\n * @param {string} container The container class.\n * @return {number} The total umber of containers.\n */\nfunction getContainerCount(container) {\n\tif (!container) {\n\t\treturn 0;\n\t}\n\tconst containers = document.querySelectorAll(container); // Get all containers.\n\tif (containers) {\n\t\treturn containers.length;\n\t}\n\treturn 0;\n}\n\n\n//# sourceURL=webpack://ajaxloadmore/./src/frontend/js/addons/woocommerce.js?"); + if (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; } -/***/ }), + if (typeof Object.getOwnPropertyDescriptor === 'function') { + var descriptor = Object.getOwnPropertyDescriptor(obj, sym); + if (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; } + } -/***/ "./src/frontend/js/ajax-load-more.js": -/*!*******************************************!*\ - !*** ./src/frontend/js/ajax-load-more.js ***! - \*******************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + return true; +}; -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ almScroll: function() { return /* binding */ almScroll; },\n/* harmony export */ analytics: function() { return /* binding */ analytics; },\n/* harmony export */ click: function() { return /* binding */ click; },\n/* harmony export */ filter: function() { return /* binding */ filter; },\n/* harmony export */ getOffset: function() { return /* binding */ getOffset; },\n/* harmony export */ getPostCount: function() { return /* binding */ getPostCount; },\n/* harmony export */ getTotalPosts: function() { return /* binding */ getTotalPosts; },\n/* harmony export */ getTotalRemaining: function() { return /* binding */ getTotalRemaining; },\n/* harmony export */ reset: function() { return /* binding */ reset; },\n/* harmony export */ start: function() { return /* binding */ start; }\n/* harmony export */ });\n/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! axios */ \"./node_modules/axios/lib/axios.js\");\n/* harmony import */ var _addons_cache__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./addons/cache */ \"./src/frontend/js/addons/cache.js\");\n/* harmony import */ var _addons_elementor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./addons/elementor */ \"./src/frontend/js/addons/elementor.js\");\n/* harmony import */ var _addons_filters__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./addons/filters */ \"./src/frontend/js/addons/filters.js\");\n/* harmony import */ var _addons_seo__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./addons/seo */ \"./src/frontend/js/addons/seo.js\");\n/* harmony import */ var _addons_singleposts__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./addons/singleposts */ \"./src/frontend/js/addons/singleposts.js\");\n/* harmony import */ var _addons_woocommerce__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./addons/woocommerce */ \"./src/frontend/js/addons/woocommerce.js\");\n/* harmony import */ var _helpers_almAppendChildren__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./helpers/almAppendChildren */ \"./src/frontend/js/helpers/almAppendChildren.js\");\n/* harmony import */ var _helpers_almDomParser__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./helpers/almDomParser */ \"./src/frontend/js/helpers/almDomParser.js\");\n/* harmony import */ var _helpers_getButtonURL__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./helpers/getButtonURL */ \"./src/frontend/js/helpers/getButtonURL.js\");\n/* harmony import */ var _helpers_getParameterByName__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./helpers/getParameterByName */ \"./src/frontend/js/helpers/getParameterByName.js\");\n/* harmony import */ var _helpers_getScrollPercentage__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./helpers/getScrollPercentage */ \"./src/frontend/js/helpers/getScrollPercentage.js\");\n/* harmony import */ var _helpers_getTotals__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./helpers/getTotals */ \"./src/frontend/js/helpers/getTotals.js\");\n/* harmony import */ var _helpers_helpers__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./helpers/helpers */ \"./src/frontend/js/helpers/helpers.js\");\n/* harmony import */ var _helpers_helpers__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(_helpers_helpers__WEBPACK_IMPORTED_MODULE_12__);\n/* harmony import */ var _helpers_queryParams__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./helpers/queryParams */ \"./src/frontend/js/helpers/queryParams.js\");\n/* harmony import */ var _helpers_srcsetPolyfill__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./helpers/srcsetPolyfill */ \"./src/frontend/js/helpers/srcsetPolyfill.js\");\n/* harmony import */ var _helpers_stripEmptyNodes__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./helpers/stripEmptyNodes */ \"./src/frontend/js/helpers/stripEmptyNodes.js\");\n/* harmony import */ var _helpers_tableWrap__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./helpers/tableWrap */ \"./src/frontend/js/helpers/tableWrap.js\");\n/* harmony import */ var _modules_almDebug__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./modules/almDebug */ \"./src/frontend/js/modules/almDebug.js\");\n/* harmony import */ var _modules_fade__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./modules/fade */ \"./src/frontend/js/modules/fade.js\");\n/* harmony import */ var _modules_filtering__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./modules/filtering */ \"./src/frontend/js/modules/filtering.js\");\n/* harmony import */ var _modules_insertScript__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./modules/insertScript */ \"./src/frontend/js/modules/insertScript.js\");\n/* harmony import */ var _modules_lazyImages__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./modules/lazyImages */ \"./src/frontend/js/modules/lazyImages.js\");\n/* harmony import */ var _modules_masonry__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./modules/masonry */ \"./src/frontend/js/modules/masonry.js\");\n/* harmony import */ var _modules_noResults__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./modules/noResults */ \"./src/frontend/js/modules/noResults.js\");\n/* harmony import */ var _modules_placeholder__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./modules/placeholder */ \"./src/frontend/js/modules/placeholder.js\");\n/* harmony import */ var _modules_resultsText__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./modules/resultsText */ \"./src/frontend/js/modules/resultsText.js\");\n/* harmony import */ var _modules_setFocus__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./modules/setFocus */ \"./src/frontend/js/modules/setFocus.js\");\n/* harmony import */ var _modules_setLocalizedVars__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./modules/setLocalizedVars */ \"./src/frontend/js/modules/setLocalizedVars.js\");\n/* harmony import */ var _modules_tableofcontents__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./modules/tableofcontents */ \"./src/frontend/js/modules/tableofcontents.js\");\n/* harmony import */ var _scss_ajax_load_more_scss__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ../scss/ajax-load-more.scss */ \"./src/frontend/scss/ajax-load-more.scss\");\n// ALM Modules\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n// External packages.\nconst qs = __webpack_require__(/*! qs */ \"./node_modules/qs/lib/index.js\");\nconst imagesLoaded = __webpack_require__(/*! imagesloaded */ \"./node_modules/imagesloaded/imagesloaded.js\");\n\n// Axios Config.\naxios__WEBPACK_IMPORTED_MODULE_30__[\"default\"].defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest';\n\n// Axios Interceptor for nested data objects\naxios__WEBPACK_IMPORTED_MODULE_30__[\"default\"].interceptors.request.use((config) => {\n\tconfig.paramsSerializer = (params) => {\n\t\t// Qs is already included in the Axios package\n\t\treturn qs.stringify(params, {\n\t\t\tarrayFormat: 'brackets',\n\t\t\tencode: false,\n\t\t});\n\t};\n\treturn config;\n});\n\n// Polyfills\n__webpack_require__(/*! focus-options-polyfill */ \"./node_modules/focus-options-polyfill/index.js\");\n__webpack_require__(/*! ./helpers/polyfills.js */ \"./src/frontend/js/helpers/polyfills.js\");\n\n// Global filtering state.\nlet alm_is_filtering = false;\n\n// Start ALM\n(function () {\n\t'use strict';\n\n\t/**\n\t * Initiate Ajax Load More.\n\t *\n\t * @param {Element} el The Ajax Load More DOM element/container.\n\t * @param {number} index The current index number of the Ajax Load More instance.\n\t */\n\tconst ajaxloadmore = function (el, index) {\n\t\t// Move user to top of page to prevent loading of unnessasry posts\n\t\tif (alm_localize && alm_localize.scrolltop === 'true') {\n\t\t\twindow.scrollTo(0, 0);\n\t\t}\n\n\t\t// Set ALM Variables\n\t\tlet alm = this;\n\t\talm.AjaxLoadMore = {};\n\t\talm.addons = {};\n\t\talm.extensions = {};\n\t\talm.integration = {};\n\t\talm.window = window;\n\t\talm.page = 0;\n\t\talm.postcount = 0;\n\t\talm.totalposts = 0;\n\t\talm.proceed = false;\n\t\talm.disable_ajax = false;\n\t\talm.init = true;\n\t\talm.loading = true;\n\t\talm.finished = false;\n\t\talm.timer = null;\n\t\talm.rel = 'next';\n\n\t\talm.ua = window.navigator.userAgent ? window.navigator.userAgent : ''; // Browser User Agent\n\t\talm.vendor = window.navigator.vendor ? window.navigator.vendor : ''; // Browser Vendor\n\t\talm.isSafari = /Safari/i.test(alm.ua) && /Apple Computer/.test(alm.vendor) && !/Mobi|Android/i.test(alm.ua);\n\n\t\tel.classList.add('alm-' + index); // Add unique classname.\n\t\tel.setAttribute('data-alm-id', index); // Add unique data id.\n\n\t\t// The defined or generated ID for the ALM instance.\n\t\talm.master_id = el.dataset.id ? `ajax_load_more_${el.dataset.id}` : el.id;\n\t\talm.master_id = alm.master_id.replace(/-/g, '_');\n\n\t\t// Localized