Version Description
- Fixed - AJAX add to cart was not adhering to quantity field.
- Fixed - Undefined index: action error.
Download this release
Release Info
Developer | vinod dalvi |
Plugin | Ivory Search – WordPress Search Plugin |
Version | 5.4.3 |
Comparing to | |
See all releases |
Code changes from version 5.4.2 to 5.4.3
- add-search-to-menu.php +2 -2
- includes/class-is.php +2 -2
- languages/add-search-to-menu.pot +1 -1
- public/js/ivory-ajax-search.js +4 -0
- public/js/ivory-ajax-search.min.js +1 -1
- readme.txt +5 -1
add-search-to-menu.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* Plugin Name: Ivory Search
|
5 |
* Plugin URI: https://ivorysearch.com
|
6 |
* Description: The WordPress Search plugin that includes Search Form Customizer, WooCommerce Search, Image Search, Search Shortcode, AJAX Search & Live Search support!
|
7 |
-
* Version: 5.4.
|
8 |
* Author: Ivory Search
|
9 |
* Author URI: https://ivorysearch.com/
|
10 |
* License: GPL2+
|
@@ -110,7 +110,7 @@ final class Ivory_Search
|
|
110 |
public function define_constants()
|
111 |
{
|
112 |
if ( !defined( 'IS_VERSION' ) ) {
|
113 |
-
define( 'IS_VERSION', '5.4.
|
114 |
}
|
115 |
if ( !defined( 'IS_PLUGIN_FILE' ) ) {
|
116 |
define( 'IS_PLUGIN_FILE', __FILE__ );
|
4 |
* Plugin Name: Ivory Search
|
5 |
* Plugin URI: https://ivorysearch.com
|
6 |
* Description: The WordPress Search plugin that includes Search Form Customizer, WooCommerce Search, Image Search, Search Shortcode, AJAX Search & Live Search support!
|
7 |
+
* Version: 5.4.3
|
8 |
* Author: Ivory Search
|
9 |
* Author URI: https://ivorysearch.com/
|
10 |
* License: GPL2+
|
110 |
public function define_constants()
|
111 |
{
|
112 |
if ( !defined( 'IS_VERSION' ) ) {
|
113 |
+
define( 'IS_VERSION', '5.4.3' );
|
114 |
}
|
115 |
if ( !defined( 'IS_PLUGIN_FILE' ) ) {
|
116 |
define( 'IS_PLUGIN_FILE', __FILE__ );
|
includes/class-is.php
CHANGED
@@ -60,10 +60,10 @@ class IS_Loader {
|
|
60 |
|
61 |
$this->admin_public_hooks();
|
62 |
|
63 |
-
if ( is_admin() || ( defined( 'DOING_AJAX' ) && DOING_AJAX && 'is_ajax_load_posts' == $_POST['action'] ) ) {
|
64 |
$this->admin_hooks();
|
65 |
}
|
66 |
-
if ( ! is_admin() || ( defined( 'DOING_AJAX' ) && DOING_AJAX && 'is_ajax_load_posts' == $_POST['action'] ) ) {
|
67 |
$this->public_hooks();
|
68 |
}
|
69 |
}
|
60 |
|
61 |
$this->admin_public_hooks();
|
62 |
|
63 |
+
if ( is_admin() || ( defined( 'DOING_AJAX' ) && DOING_AJAX && isset( $_POST['action'] ) && 'is_ajax_load_posts' == $_POST['action'] ) ) {
|
64 |
$this->admin_hooks();
|
65 |
}
|
66 |
+
if ( ! is_admin() || ( defined( 'DOING_AJAX' ) && DOING_AJAX && isset( $_POST['action'] ) && 'is_ajax_load_posts' == $_POST['action'] ) ) {
|
67 |
$this->public_hooks();
|
68 |
}
|
69 |
}
|
languages/add-search-to-menu.pot
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
msgid ""
|
3 |
msgstr ""
|
4 |
"Project-Id-Version: Ivory Search\n"
|
5 |
-
"POT-Creation-Date: 2022-02-
|
6 |
"PO-Revision-Date: 2020-03-17 21:05+0530\n"
|
7 |
"Last-Translator: \n"
|
8 |
"Language-Team: Ivory Search <admin@ivorysearch.com>\n"
|
2 |
msgid ""
|
3 |
msgstr ""
|
4 |
"Project-Id-Version: Ivory Search\n"
|
5 |
+
"POT-Creation-Date: 2022-02-22 11:33+0530\n"
|
6 |
"PO-Revision-Date: 2020-03-17 21:05+0530\n"
|
7 |
"Last-Translator: \n"
|
8 |
"Language-Team: Ivory Search <admin@ivorysearch.com>\n"
|
public/js/ivory-ajax-search.js
CHANGED
@@ -336,6 +336,10 @@
|
|
336 |
$( '.is-ajax-search-result .is-ajax-search-post a' ).on( 'click', function( e ) {
|
337 |
$( '#is-popup-wrapper, .is-ajax-search-result, .is-ajax-search-details' ).fadeOut('slow');
|
338 |
});
|
|
|
|
|
|
|
|
|
339 |
},
|
340 |
error: function( XMLHttpRequest, textStatus, errorThrown ) {
|
341 |
console.log(XMLHttpRequest.statusText);
|
336 |
$( '.is-ajax-search-result .is-ajax-search-post a' ).on( 'click', function( e ) {
|
337 |
$( '#is-popup-wrapper, .is-ajax-search-result, .is-ajax-search-details' ).fadeOut('slow');
|
338 |
});
|
339 |
+
|
340 |
+
$( '.is-ajax-woocommerce-actions .qty' ).on( 'change', function() {
|
341 |
+
$( this ).parent().next().find( '.add_to_cart_button' ).attr( 'data-quantity', $( this ).val() );
|
342 |
+
});
|
343 |
},
|
344 |
error: function( XMLHttpRequest, textStatus, errorThrown ) {
|
345 |
console.log(XMLHttpRequest.statusText);
|
public/js/ivory-ajax-search.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
!function(t){"use strict";t(document).ready(function(){var e,r=null,i="",n=-1,s=t(document.activeElement).closest("form");function a(r,s){s||(s=1);var a=t(r),o=a.val()||"",c=a.parents(".is-ajax-search"),l=c.attr("data-min-no-for-search")||"",u=c.attr("data-result-box-max-height")||"400",h=t(c).attr("data-form-id");if(t(".is-form-id-"+h+" .is-search-input").val(o),""===i||i!==o.trim()||n!==h)i=o.trim(),n=h;else if(1===s)return void t("#is-ajax-search-result-"+h).show();if(1===s&&c.addClass("processing"),o.length>=l){if(1===s){if(t("#is-ajax-search-result-"+h+", #is-ajax-search-details-"+h).hide(),c.hasClass("is-form-style-1")){var f=c.find(".is-search-submit").outerWidth()+5;c.find(".is-loader-image").css("right",f+"px")}c.find(".is-loader-image").show()}var d={action:"is_ajax_load_posts",page:s,security:IvoryAjaxVars.ajax_nonce},p=c.serialize()+"&"+t.param(d);0===c.find('input[name="id"]').length&&(p+="&id="+h),e&&4!==e.readystate&&e.abort(),e=t.ajax({url:IvoryAjaxVars.ajaxurl,data:p,type:"POST",success:function(e){if("undefined"!=typeof IvorySearchVars&&void 0!==IvorySearchVars.is_analytics_enabled){var r=t(e).find(".is-ajax-search-no-result").length?"Nothing Found":"Results Found";ivory_search_analytics(h,o,r)}if(c.find(".is-loader-image").hide(),c.removeClass("processing"),1===s){var i=c.offset(),n=c.innerHeight(),a=c.outerWidth();a=a<500?500:a,0===t("#is-ajax-search-result-"+h).length&&t("body").append('<div id="is-ajax-search-result-'+h+'" class="is-ajax-search-result"></div>'),t("#is-ajax-search-result-"+h).css({width:a-10+"px"});var l=t("#is-ajax-search-result-"+h).outerWidth(),f=t(window).width(),d=0;if(i.left+l>f&&(d=i.left+l-f),t("#is-ajax-search-result-"+h).css({top:i.top+n+"px",left:i.left-d+"px",width:a-10+"px"}),t("#is-ajax-search-result-"+h).show().html(e),0!==t("#is-ajax-search-details-"+h).length&&t("body > #is-ajax-search-details-"+h).remove(),0!==t("#is-ajax-search-result-"+h+" .is-ajax-search-details").length){t("body").append('<div id="is-ajax-search-details-'+h+'" class="is-ajax-search-details">'+t("#is-ajax-search-result-"+h+" .is-ajax-search-details").html()+"</div>"),t("#is-ajax-search-result-"+h+" .is-ajax-search-details").remove();var p=t("#is-ajax-search-details-"+h).outerWidth(),v=i.left+l;if(i.left+l+p>f+30){var g=i.left-(d+p);g>-30&&(v=g)}t("#is-ajax-search-details-"+h).css({top:i.top+n+"px",left:v+"px"})}}else t("#is-ajax-search-result-"+h+" .is-show-more-results").remove(),t("#is-ajax-search-result-"+h+" .is-ajax-search-posts").append(e),0!==t("#is-ajax-search-result-"+h+" .is-ajax-search-posts .is-show-more-results").length&&(t("#is-ajax-search-result-"+h).append(t("#is-ajax-search-result-"+h+" .is-ajax-search-posts .is-show-more-results")[0].outerHTML),t("#is-ajax-search-result-"+h+" .is-ajax-search-posts .is-show-more-results").remove()),t("#is-ajax-search-details-"+h+" .is-ajax-search-posts-details").append(t("#is-ajax-search-result-"+h+" .is-ajax-search-items .is-ajax-search-posts-details").html()),t("#is-ajax-search-result-"+h+" .is-ajax-search-items .is-ajax-search-details").remove();var x=o.trim().split(" ");if(0!=x.length&&t.isFunction(t.fn.is_highlight)){var m,b,y,w=[".is-ajax-search-result"],E=jQuery.support.opacity?"mark":"span";for(y in w)if(0!=(m=t(w[y])).length){for(b in x)m.is_highlight(x[b],E,"is-highlight term-"+b),m.find("*").is_highlight(x[b],E,"is-highlight term-"+b);break}}t("#is-ajax-search-result-"+h+" .is-ajax-search-items, #is-ajax-search-details-"+h+" .is-ajax-search-items").css("max-height",u+"px"),t(".is-ajax-search-items").each(function(t,e){new SimpleBar(e)}),t(".is-ajax-search-result .is-ajax-search-post a").on("click",function(e){t("#is-popup-wrapper, .is-ajax-search-result, .is-ajax-search-details").fadeOut("slow")})},error:function(t,e,r){console.log(t.statusText),"abort"!==t.statusText&&console.log("AJAX request aborted")}})}else t("#is-ajax-search-result-"+h).hide(),c.removeClass("processing")}t("body").on("mouseover",".is-ajax-search-tags > div, .is-ajax-search-categories > div, .is-ajax-search-post.is-product",function(e){var r=t(window).outerWidth();if(parseInt(r)>=910){var i=t(this).attr("data-id")||"",n=t(e.target).closest(".is-ajax-search-result").attr("id").split(/[-]+/).pop(),s=t("#is-ajax-search-result-"+n).offset(),a=t(".is-form-id-"+n).attr("data-result-box-max-height")||"400";t("#is-ajax-search-details-"+n).css({top:s.top+"px"}),t("#is-ajax-search-details-"+n+" .is-ajax-search-items").css("height",a+"px"),t("#is-ajax-search-details-"+n+" .is-ajax-search-items > div").css("min-height",a+"px"),t(this).parents("div").hasClass("is-ajax-search-tags")&&t("#is-ajax-search-details-"+n+" .is-ajax-search-tags-details").length&&t("#is-ajax-search-details-"+n+' .is-ajax-search-tags-details > div[data-id="'+i+'"]').length?(t("#is-ajax-search-details-"+n+" .is-ajax-search-tags-details, #is-ajax-search-details-"+n).show(),t("#is-ajax-search-details-"+n+" .is-ajax-search-categories-details, #is-ajax-search-details-"+n+" .is-ajax-search-posts-details").hide(),t("#is-ajax-search-details-"+n+" .is-ajax-search-tags-details").find(" > div ").hide(),t("#is-ajax-search-details-"+n+" .is-ajax-search-tags-details").find(' > div[data-id="'+i+'"] ').show()):t(this).parents("div").hasClass("is-ajax-search-categories")&&t("#is-ajax-search-details-"+n+" .is-ajax-search-categories-details").length&&t("#is-ajax-search-details-"+n+' .is-ajax-search-categories-details > div[data-id="'+i+'"]').length?(t("#is-ajax-search-details-"+n+" .is-ajax-search-categories-details, #is-ajax-search-details-"+n).show(),t("#is-ajax-search-details-"+n+" .is-ajax-search-tags-details, #is-ajax-search-details-"+n+" .is-ajax-search-posts-details").hide(),t("#is-ajax-search-details-"+n+" .is-ajax-search-categories-details").find("> div ").hide(),t("#is-ajax-search-details-"+n+" .is-ajax-search-categories-details").find('> div[data-id="'+i+'"] ').show()):t(this).parents("div").hasClass("is-ajax-search-posts")&&(t("#is-ajax-search-details-"+n+" .is-ajax-search-tags-details, #is-ajax-search-details-"+n+" .is-ajax-search-categories-details").hide(),t("#is-ajax-search-details-"+n+" .is-ajax-search-posts-details").find("> div ").hide(),t("#is-ajax-search-details-"+n+" .is-ajax-search-posts-details, #is-ajax-search-details-"+n).show(),t("#is-ajax-search-details-"+n+" .is-ajax-search-posts-details").find('> div[data-id="'+i+'"] ').show())}}),t(".is-ajax-search .is-search-input").on("focusin, click",function(e){if(s=t(this).closest("form"),""!==t(this).val()&&0===t(e.target).closest("form.processing").length){var r=t(e.target).closest(".is-ajax-search").attr("data-form-id"),i=t(e.target).closest(".is-ajax-search").outerWidth();i=i<500?500:i,t("#is-ajax-search-result-"+r).css({width:i-10+"px"});var n=t(e.target).closest(".is-ajax-search").offset(),a=t(e.target).closest(".is-ajax-search").innerHeight(),o=t("#is-ajax-search-result-"+r).outerWidth(),c=t(window).width(),l=0;if(n.left+o>c&&(l=n.left+o-c),t("#is-ajax-search-result-"+r).css({top:n.top+a+"px",left:n.left-l+"px"}),t(".is-ajax-search-result, .is-ajax-search-details").hide(),t("#is-ajax-search-result-"+r).show(),0!==t("#is-ajax-search-details-"+r).length){var u=t("#is-ajax-search-details-"+r).outerWidth(),h=n.left+o;if(n.left+o+u>c+30){var f=n.left-(l+u);f>-30&&(h=f)}t("#is-ajax-search-details-"+r).css({top:n.top+a+"px",left:h+"px"})}}}),t("body").on("mousedown",function(e){0===e.button&&"s"!==t(e.target).attr("name")&&0===t(e.target).closest(".is-ajax-search-result").length&&0===t(e.target).closest(".is-ajax-search-details").length&&(t(".is-ajax-search-result, .is-ajax-search-details").hide(),s=!1)}),t(".is-disable-submit .is-search-submit").on("click",function(e){return t(this).parent().find(".is-search-input").trigger("keyup"),e.stopPropagation(),e.preventDefault(),!1}),t(document).on("click",".is-show-more-results",function(e){var r=t(e.target).closest(".is-ajax-search-result").attr("id").split(/[-]+/).pop();t(this).hasClass("redirect-tosr")?t(".is-form-id-"+r).submit():(t(this).find(".is-show-more-results-text").hide(),t(this).find(".is-load-more-image").show(),a(t(".is-form-id-"+r+" .is-search-input"),t(this).attr("data-page")||""))}),t(window).on("resize scroll",function(){if(t(s).hasClass("is-ajax-search")&&""!==t(s).find(".is-search-input").val()){var e=t(s).attr("data-form-id");if(0!==t("#is-ajax-search-result-"+e).length){var r=t(s).offset(),i=t(s).innerHeight(),n=t("#is-ajax-search-result-"+e).outerWidth(),a=t(window).width(),o=0;if(r.left+n>a&&(o=r.left+n-a),t("#is-ajax-search-result-"+e).css({top:r.top+i+"px",left:r.left-o+"px"}),t("#is-ajax-search-result-"+e).show(),0!==t("#is-ajax-search-details-"+e).length){var c=t("#is-ajax-search-details-"+e).outerWidth(),l=r.left+n;if(r.left+n+c>a+30){var u=r.left-(o+c);u>-30&&(l=u)}t("#is-ajax-search-details-"+e).css({top:r.top+i+"px",left:l+"px"})}}}}),t(".is-ajax-search .is-search-input").on("paste",function(){t(this).trigger("keyup")}),t(".is-ajax-search").each(function(e,i){t(i).find(".is-search-input").on("keyup",function(e){if(s=t(this).closest("form"),32!==e.which){var i=this;window.clearTimeout(r),r=window.setTimeout(function(){r=null,a(i)},500)}if(13===e.which)return e.stopPropagation(),e.preventDefault(),!1})}),t("form.is-ajax-search.is-disable-submit").on("submit",function(e){if(!t(".is-show-more-results.redirect-tosr").length)return e.stopPropagation(),e.preventDefault(),!1})})}(jQuery),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t=t||self).SimpleBar=e()}(this,function(){"use strict";var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function e(t,e){return t(e={exports:{}},e.exports),e.exports}var r,i,n,s="object",a=function(t){return t&&t.Math==Math&&t},o=a(typeof globalThis==s&&globalThis)||a(typeof window==s&&window)||a(typeof self==s&&self)||a(typeof t==s&&t)||Function("return this")(),c=function(t){try{return!!t()}catch(t){return!0}},l=!c(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}),u={}.propertyIsEnumerable,h=Object.getOwnPropertyDescriptor,f={f:h&&!u.call({1:2},1)?function(t){var e=h(this,t);return!!e&&e.enumerable}:u},d=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},p={}.toString,v=function(t){return p.call(t).slice(8,-1)},g="".split,x=c(function(){return!Object("z").propertyIsEnumerable(0)})?function(t){return"String"==v(t)?g.call(t,""):Object(t)}:Object,m=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},b=function(t){return x(m(t))},y=function(t){return"object"==typeof t?null!==t:"function"==typeof t},w=function(t,e){if(!y(t))return t;var r,i;if(e&&"function"==typeof(r=t.toString)&&!y(i=r.call(t)))return i;if("function"==typeof(r=t.valueOf)&&!y(i=r.call(t)))return i;if(!e&&"function"==typeof(r=t.toString)&&!y(i=r.call(t)))return i;throw TypeError("Can't convert object to primitive value")},E={}.hasOwnProperty,j=function(t,e){return E.call(t,e)},S=o.document,O=y(S)&&y(S.createElement),k=function(t){return O?S.createElement(t):{}},A=!l&&!c(function(){return 7!=Object.defineProperty(k("div"),"a",{get:function(){return 7}}).a}),T=Object.getOwnPropertyDescriptor,L={f:l?T:function(t,e){if(t=b(t),e=w(e,!0),A)try{return T(t,e)}catch(t){}if(j(t,e))return d(!f.f.call(t,e),t[e])}},z=function(t){if(!y(t))throw TypeError(String(t)+" is not an object");return t},_=Object.defineProperty,R={f:l?_:function(t,e,r){if(z(t),e=w(e,!0),z(r),A)try{return _(t,e,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},M=l?function(t,e,r){return R.f(t,e,d(1,r))}:function(t,e,r){return t[e]=r,t},C=function(t,e){try{M(o,t,e)}catch(r){o[t]=e}return e},W=e(function(t){var e=o["__core-js_shared__"]||C("__core-js_shared__",{});(t.exports=function(t,r){return e[t]||(e[t]=void 0!==r?r:{})})("versions",[]).push({version:"3.2.1",mode:"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})}),N=W("native-function-to-string",Function.toString),I=o.WeakMap,D="function"==typeof I&&/native code/.test(N.call(I)),B=0,P=Math.random(),V=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++B+P).toString(36)},F=W("keys"),H=function(t){return F[t]||(F[t]=V(t))},X={},q=o.WeakMap;if(D){var $=new q,Y=$.get,G=$.has,U=$.set;r=function(t,e){return U.call($,t,e),e},i=function(t){return Y.call($,t)||{}},n=function(t){return G.call($,t)}}else{var Q=H("state");X[Q]=!0,r=function(t,e){return M(t,Q,e),e},i=function(t){return j(t,Q)?t[Q]:{}},n=function(t){return j(t,Q)}}var J={set:r,get:i,has:n,enforce:function(t){return n(t)?i(t):r(t,{})},getterFor:function(t){return function(e){var r;if(!y(e)||(r=i(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return r}}},K=e(function(t){var e=J.get,r=J.enforce,i=String(N).split("toString");W("inspectSource",function(t){return N.call(t)}),(t.exports=function(t,e,n,s){var a=!!s&&!!s.unsafe,c=!!s&&!!s.enumerable,l=!!s&&!!s.noTargetGet;"function"==typeof n&&("string"!=typeof e||j(n,"name")||M(n,"name",e),r(n).source=i.join("string"==typeof e?e:"")),t!==o?(a?!l&&t[e]&&(c=!0):delete t[e],c?t[e]=n:M(t,e,n)):c?t[e]=n:C(e,n)})(Function.prototype,"toString",function(){return"function"==typeof this&&e(this).source||N.call(this)})}),Z=o,tt=function(t){return"function"==typeof t?t:void 0},et=function(t,e){return arguments.length<2?tt(Z[t])||tt(o[t]):Z[t]&&Z[t][e]||o[t]&&o[t][e]},rt=Math.ceil,it=Math.floor,nt=function(t){return isNaN(t=+t)?0:(t>0?it:rt)(t)},st=Math.min,at=function(t){return t>0?st(nt(t),9007199254740991):0},ot=Math.max,ct=Math.min,lt=function(t){return function(e,r,i){var n,s=b(e),a=at(s.length),o=function(t,e){var r=nt(i);return r<0?ot(r+e,0):ct(r,e)}(0,a);if(t&&r!=r){for(;a>o;)if((n=s[o++])!=n)return!0}else for(;a>o;o++)if((t||o in s)&&s[o]===r)return t||o||0;return!t&&-1}},ut=(lt(!0),lt(!1)),ht=function(t,e){var r,i=b(t),n=0,s=[];for(r in i)!j(X,r)&&j(i,r)&&s.push(r);for(;e.length>n;)j(i,r=e[n++])&&(~ut(s,r)||s.push(r));return s},ft=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],dt=ft.concat("length","prototype"),pt={f:Object.getOwnPropertyNames||function(t){return ht(t,dt)}},vt={f:Object.getOwnPropertySymbols},gt=et("Reflect","ownKeys")||function(t){var e=pt.f(z(t)),r=vt.f;return r?e.concat(r(t)):e},xt=function(t,e){for(var r=gt(e),i=R.f,n=L.f,s=0;s<r.length;s++){var a=r[s];j(t,a)||i(t,a,n(e,a))}},mt=/#|\.prototype\./,bt=function(t,e){var r=wt[yt(t)];return r==jt||r!=Et&&("function"==typeof e?c(e):!!e)},yt=bt.normalize=function(t){return String(t).replace(mt,".").toLowerCase()},wt=bt.data={},Et=bt.NATIVE="N",jt=bt.POLYFILL="P",St=bt,Ot=L.f,kt=function(t,e){var r,i,n,s,a,c=t.target,l=t.global,u=t.stat;if(r=l?o:u?o[c]||C(c,{}):(o[c]||{}).prototype)for(i in e){if(s=e[i],n=t.noTargetGet?(a=Ot(r,i))&&a.value:r[i],!St(l?i:c+(u?".":"#")+i,t.forced)&&void 0!==n){if(typeof s==typeof n)continue;xt(s,n)}(t.sham||n&&n.sham)&&M(s,"sham",!0),K(r,i,s,t)}},At=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t},Tt=function(t,e,r){if(At(t),void 0===e)return t;switch(r){case 0:return function(){return t.call(e)};case 1:return function(r){return t.call(e,r)};case 2:return function(r,i){return t.call(e,r,i)};case 3:return function(r,i,n){return t.call(e,r,i,n)}}return function(){return t.apply(e,arguments)}},Lt=function(t){return Object(m(t))},zt=Array.isArray||function(t){return"Array"==v(t)},_t=!!Object.getOwnPropertySymbols&&!c(function(){return!String(Symbol())}),Rt=o.Symbol,Mt=W("wks"),Ct=function(t){return Mt[t]||(Mt[t]=_t&&Rt[t]||(_t?Rt:V)("Symbol."+t))},Wt=Ct("species"),Nt=function(t,e){var r;return zt(t)&&("function"!=typeof(r=t.constructor)||r!==Array&&!zt(r.prototype)?y(r)&&null===(r=r[Wt])&&(r=void 0):r=void 0),new(void 0===r?Array:r)(0===e?0:e)},It=[].push,Dt=function(t){var e=1==t,r=2==t,i=3==t,n=4==t,s=6==t,a=5==t||s;return function(o,c,l,u){for(var h,f,d=Lt(o),p=x(d),v=Tt(c,l,3),g=at(p.length),m=0,b=u||Nt,y=e?b(o,g):r?b(o,0):void 0;g>m;m++)if((a||m in p)&&(f=v(h=p[m],m,d),t))if(e)y[m]=f;else if(f)switch(t){case 3:return!0;case 5:return h;case 6:return m;case 2:It.call(y,h)}else if(n)return!1;return s?-1:i||n?n:y}},Bt={forEach:Dt(0),map:Dt(1),filter:Dt(2),some:Dt(3),every:Dt(4),find:Dt(5),findIndex:Dt(6)},Pt=function(t,e){var r=[][t];return!r||!c(function(){r.call(null,e||function(){throw 1},1)})},Vt=Bt.forEach,Ft=Pt("forEach")?function(t){return Vt(this,t,arguments.length>1?arguments[1]:void 0)}:[].forEach;kt({target:"Array",proto:!0,forced:[].forEach!=Ft},{forEach:Ft});var Ht={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0};for(var Xt in Ht){var qt=o[Xt],$t=qt&&qt.prototype;if($t&&$t.forEach!==Ft)try{M($t,"forEach",Ft)}catch(t){$t.forEach=Ft}}var Yt=!("undefined"==typeof window||!window.document||!window.document.createElement),Gt=Ct("species"),Ut=Bt.filter;kt({target:"Array",proto:!0,forced:!!c(function(){var t=[];return(t.constructor={})[Gt]=function(){return{foo:1}},1!==t.filter(Boolean).foo})},{filter:function(t){return Ut(this,t,arguments.length>1?arguments[1]:void 0)}});var Qt=Object.keys||function(t){return ht(t,ft)},Jt=l?Object.defineProperties:function(t,e){z(t);for(var r,i=Qt(e),n=i.length,s=0;n>s;)R.f(t,r=i[s++],e[r]);return t},Kt=et("document","documentElement"),Zt=H("IE_PROTO"),te=function(){},ee=function(){var t,e=k("iframe"),r=ft.length;for(e.style.display="none",Kt.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),ee=t.F;r--;)delete ee.prototype[ft[r]];return ee()},re=Object.create||function(t,e){var r;return null!==t?(te.prototype=z(t),r=new te,te.prototype=null,r[Zt]=t):r=ee(),void 0===e?r:Jt(r,e)};X[Zt]=!0;var ie=Ct("unscopables"),ne=Array.prototype;null==ne[ie]&&M(ne,ie,re(null));var se,ae,oe,ce=function(t){ne[ie][t]=!0},le={},ue=!c(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}),he=H("IE_PROTO"),fe=Object.prototype,de=ue?Object.getPrototypeOf:function(t){return t=Lt(t),j(t,he)?t[he]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?fe:null},pe=Ct("iterator"),ve=!1;[].keys&&("next"in(oe=[].keys())?(ae=de(de(oe)))!==Object.prototype&&(se=ae):ve=!0),null==se&&(se={}),j(se,pe)||M(se,pe,function(){return this});var ge={IteratorPrototype:se,BUGGY_SAFARI_ITERATORS:ve},xe=R.f,me=Ct("toStringTag"),be=function(t,e,r){t&&!j(t=r?t:t.prototype,me)&&xe(t,me,{configurable:!0,value:e})},ye=ge.IteratorPrototype,we=function(){return this},Ee=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(r,[]),e=r instanceof Array}catch(t){}return function(r,i){return z(r),function(t){if(!y(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype")}(i),e?t.call(r,i):r.__proto__=i,r}}():void 0),je=ge.IteratorPrototype,Se=ge.BUGGY_SAFARI_ITERATORS,Oe=Ct("iterator"),ke=function(){return this},Ae=function(t,e,r,i,n,s,a){!function(t,e,r){var i=e+" Iterator";t.prototype=re(ye,{next:d(1,r)}),be(t,i,!1),le[i]=we}(r,e,i);var o,c,l,u=function(t){if(t===n&&g)return g;if(!Se&&t in p)return p[t];switch(t){case"keys":case"values":case"entries":return function(){return new r(this,t)}}return function(){return new r(this)}},h=e+" Iterator",f=!1,p=t.prototype,v=p[Oe]||p["@@iterator"]||n&&p[n],g=!Se&&v||u(n),x="Array"==e&&p.entries||v;if(x&&(o=de(x.call(new t)),je!==Object.prototype&&o.next&&(de(o)!==je&&(Ee?Ee(o,je):"function"!=typeof o[Oe]&&M(o,Oe,ke)),be(o,h,!0))),"values"==n&&v&&"values"!==v.name&&(f=!0,g=function(){return v.call(this)}),p[Oe]!==g&&M(p,Oe,g),le[e]=g,n)if(c={values:u("values"),keys:s?g:u("keys"),entries:u("entries")},a)for(l in c)!Se&&!f&&l in p||K(p,l,c[l]);else kt({target:e,proto:!0,forced:Se||f},c);return c},Te=J.set,Le=J.getterFor("Array Iterator"),ze=Ae(Array,"Array",function(t,e){Te(this,{type:"Array Iterator",target:b(t),index:0,kind:e})},function(){var t=Le(this),e=t.target,r=t.kind,i=t.index++;return!e||i>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:i,done:!1}:"values"==r?{value:e[i],done:!1}:{value:[i,e[i]],done:!1}},"values");le.Arguments=le.Array,ce("keys"),ce("values"),ce("entries");var _e=Object.assign,Re=!_e||c(function(){var t={},e={},r=Symbol();return t[r]=7,"abcdefghijklmnopqrst".split("").forEach(function(t){e[t]=t}),7!=_e({},t)[r]||"abcdefghijklmnopqrst"!=Qt(_e({},e)).join("")})?function(t,e){for(var r=Lt(t),i=arguments.length,n=1,s=vt.f,a=f.f;i>n;)for(var o,c=x(arguments[n++]),u=s?Qt(c).concat(s(c)):Qt(c),h=u.length,d=0;h>d;)o=u[d++],l&&!a.call(c,o)||(r[o]=c[o]);return r}:_e;kt({target:"Object",stat:!0,forced:Object.assign!==Re},{assign:Re});var Me=Ct("toStringTag"),Ce="Arguments"==v(function(){return arguments}()),We=function(t){var e,r,i;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),Me))?r:Ce?v(e):"Object"==(i=v(e))&&"function"==typeof e.callee?"Arguments":i},Ne={};Ne[Ct("toStringTag")]="z";var Ie="[object z]"!==String(Ne)?function(){return"[object "+We(this)+"]"}:Ne.toString,De=Object.prototype;Ie!==De.toString&&K(De,"toString",Ie,{unsafe:!0});var Be="\t\n\v\f\r \u2028\u2029\ufeff",Pe="["+Be+"]",Ve=RegExp("^"+Pe+Pe+"*"),Fe=RegExp(Pe+Pe+"*$"),He=function(t){return function(e){var r=String(m(e));return 1&t&&(r=r.replace(Ve,"")),2&t&&(r=r.replace(Fe,"")),r}},Xe=(He(1),He(2),He(3)),qe=o.parseInt,$e=/^[+-]?0[Xx]/,Ye=8!==qe(Be+"08")||22!==qe(Be+"0x16")?function(t,e){var r=Xe(String(t));return qe(r,e>>>0||($e.test(r)?16:10))}:qe;kt({global:!0,forced:parseInt!=Ye},{parseInt:Ye});var Ge=function(t){return function(e,r){var i,n,s=String(m(e)),a=nt(r),o=s.length;return a<0||a>=o?t?"":void 0:(i=s.charCodeAt(a))<55296||i>56319||a+1===o||(n=s.charCodeAt(a+1))<56320||n>57343?t?s.charAt(a):i:t?s.slice(a,a+2):n-56320+(i-55296<<10)+65536}},Ue={codeAt:Ge(!1),charAt:Ge(!0)},Qe=Ue.charAt,Je=J.set,Ke=J.getterFor("String Iterator");Ae(String,"String",function(t){Je(this,{type:"String Iterator",string:String(t),index:0})},function(){var t,e=Ke(this),r=e.string,i=e.index;return i>=r.length?{value:void 0,done:!0}:(t=Qe(r,i),e.index+=t.length,{value:t,done:!1})});var Ze=function(t,e,r){for(var i in e)K(t,i,e[i],r);return t},tr=!c(function(){return Object.isExtensible(Object.preventExtensions({}))}),er=e(function(t){var e=R.f,r=V("meta"),i=0,n=Object.isExtensible||function(){return!0},s=function(t){e(t,r,{value:{objectID:"O"+ ++i,weakData:{}}})},a=t.exports={REQUIRED:!1,fastKey:function(t,e){if(!y(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!j(t,r)){if(!n(t))return"F";if(!e)return"E";s(t)}return t[r].objectID},getWeakData:function(t,e){if(!j(t,r)){if(!n(t))return!0;if(!e)return!1;s(t)}return t[r].weakData},onFreeze:function(t){return tr&&a.REQUIRED&&n(t)&&!j(t,r)&&s(t),t}};X[r]=!0}),rr=(er.REQUIRED,er.fastKey,er.getWeakData,er.onFreeze,Ct("iterator")),ir=Array.prototype,nr=Ct("iterator"),sr=function(t,e,r,i){try{return i?e(z(r)[0],r[1]):e(r)}catch(e){var n=t.return;throw void 0!==n&&z(n.call(t)),e}},ar=e(function(t){var e=function(t,e){this.stopped=t,this.result=e};(t.exports=function(t,r,i,n,s){var a,o,c,l,u,h,f,d=Tt(r,i,n?2:1);if(s)a=t;else{if("function"!=typeof(o=function(t){if(null!=t)return t[nr]||t["@@iterator"]||le[We(t)]}(t)))throw TypeError("Target is not iterable");if(void 0!==(f=o)&&(le.Array===f||ir[rr]===f)){for(c=0,l=at(t.length);l>c;c++)if((u=n?d(z(h=t[c])[0],h[1]):d(t[c]))&&u instanceof e)return u;return new e(!1)}a=o.call(t)}for(;!(h=a.next()).done;)if((u=sr(a,d,h.value,n))&&u instanceof e)return u;return new e(!1)}).stop=function(t){return new e(!0,t)}}),or=function(t,e,r){if(!(t instanceof e))throw TypeError("Incorrect "+(r?r+" ":"")+"invocation");return t},cr=Ct("iterator"),lr=!1;try{var ur=0,hr={next:function(){return{done:!!ur++}},return:function(){lr=!0}};hr[cr]=function(){return this},Array.from(hr,function(){throw 2})}catch(t){}var fr=function(t,e,r,i,n){var s=o[t],a=s&&s.prototype,l=s,u=i?"set":"add",h={},f=function(t){var e=a[t];K(a,t,"add"==t?function(t){return e.call(this,0===t?0:t),this}:"delete"==t?function(t){return!(n&&!y(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return n&&!y(t)?void 0:e.call(this,0===t?0:t)}:"has"==t?function(t){return!(n&&!y(t))&&e.call(this,0===t?0:t)}:function(t,r){return e.call(this,0===t?0:t,r),this})};if(St(t,"function"!=typeof s||!(n||a.forEach&&!c(function(){(new s).entries().next()}))))l=r.getConstructor(e,t,i,u),er.REQUIRED=!0;else if(St(t,!0)){var d=new l,p=d[u](n?{}:-0,1)!=d,v=c(function(){d.has(1)}),g=function(t,e){if(!lr)return!1;var r=!1;try{var i={};i[cr]=function(){return{next:function(){return{done:r=!0}}}},function(t){new s(t)}(i)}catch(t){}return r}(),x=!n&&c(function(){for(var t=new s,e=5;e--;)t[u](e,e);return!t.has(-0)});g||((l=e(function(e,r){or(e,l,t);var n=function(t,e,r){var i,n;return Ee&&"function"==typeof(i=e.constructor)&&i!==r&&y(n=i.prototype)&&n!==r.prototype&&Ee(t,n),t}(new s,e,l);return null!=r&&ar(r,n[u],n,i),n})).prototype=a,a.constructor=l),(v||x)&&(f("delete"),f("has"),i&&f("get")),(x||p)&&f(u),n&&a.clear&&delete a.clear}return h[t]=l,kt({global:!0,forced:l!=s},h),be(l,t),n||r.setStrong(l,t,i),l},dr=er.getWeakData,pr=J.set,vr=J.getterFor,gr=Bt.find,xr=Bt.findIndex,mr=0,br=function(t){return t.frozen||(t.frozen=new yr)},yr=function(){this.entries=[]},wr=function(t,e){return gr(t.entries,function(t){return t[0]===e})};yr.prototype={get:function(t){var e=wr(this,t);if(e)return e[1]},has:function(t){return!!wr(this,t)},set:function(t,e){var r=wr(this,t);r?r[1]=e:this.entries.push([t,e])},delete:function(t){var e=xr(this.entries,function(e){return e[0]===t});return~e&&this.entries.splice(e,1),!!~e}};var Er={getConstructor:function(t,e,r,i){var n=t(function(t,s){or(t,n,e),pr(t,{type:e,id:mr++,frozen:void 0}),null!=s&&ar(s,t[i],t,r)}),s=vr(e),a=function(t,e,r){var i=s(t),n=dr(z(e),!0);return!0===n?br(i).set(e,r):n[i.id]=r,t};return Ze(n.prototype,{delete:function(t){var e=s(this);if(!y(t))return!1;var r=dr(t);return!0===r?br(e).delete(t):r&&j(r,e.id)&&delete r[e.id]},has:function(t){var e=s(this);if(!y(t))return!1;var r=dr(t);return!0===r?br(e).has(t):r&&j(r,e.id)}}),Ze(n.prototype,r?{get:function(t){var e=s(this);if(y(t)){var r=dr(t);return!0===r?br(e).get(t):r?r[e.id]:void 0}},set:function(t,e){return a(this,t,e)}}:{add:function(t){return a(this,t,!0)}}),n}},jr=(e(function(t){var e,r=J.enforce,i=!o.ActiveXObject&&"ActiveXObject"in o,n=Object.isExtensible,s=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},a=t.exports=fr("WeakMap",s,Er,!0,!0);if(D&&i){e=Er.getConstructor(s,"WeakMap",!0),er.REQUIRED=!0;var c=a.prototype,l=c.delete,u=c.has,h=c.get,f=c.set;Ze(c,{delete:function(t){if(y(t)&&!n(t)){var i=r(this);return i.frozen||(i.frozen=new e),l.call(this,t)||i.frozen.delete(t)}return l.call(this,t)},has:function(t){if(y(t)&&!n(t)){var i=r(this);return i.frozen||(i.frozen=new e),u.call(this,t)||i.frozen.has(t)}return u.call(this,t)},get:function(t){if(y(t)&&!n(t)){var i=r(this);return i.frozen||(i.frozen=new e),u.call(this,t)?h.call(this,t):i.frozen.get(t)}return h.call(this,t)},set:function(t,i){if(y(t)&&!n(t)){var s=r(this);s.frozen||(s.frozen=new e),u.call(this,t)?f.call(this,t,i):s.frozen.set(t,i)}else f.call(this,t,i);return this}})}}),Ct("iterator")),Sr=Ct("toStringTag"),Or=ze.values;for(var kr in Ht){var Ar=o[kr],Tr=Ar&&Ar.prototype;if(Tr){if(Tr[jr]!==Or)try{M(Tr,jr,Or)}catch(t){Tr[jr]=Or}if(Tr[Sr]||M(Tr,Sr,kr),Ht[kr])for(var Lr in ze)if(Tr[Lr]!==ze[Lr])try{M(Tr,Lr,ze[Lr])}catch(t){Tr[Lr]=ze[Lr]}}}var zr="Expected a function",_r=NaN,Rr="[object Symbol]",Mr=/^\s+|\s+$/g,Cr=/^[-+]0x[0-9a-f]+$/i,Wr=/^0b[01]+$/i,Nr=/^0o[0-7]+$/i,Ir=parseInt,Dr="object"==typeof t&&t&&t.Object===Object&&t,Br="object"==typeof self&&self&&self.Object===Object&&self,Pr=Dr||Br||Function("return this")(),Vr=Object.prototype.toString,Fr=Math.max,Hr=Math.min,Xr=function(){return Pr.Date.now()};function qr(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function $r(t){if("number"==typeof t)return t;if(function(t){return"symbol"==typeof t||function(t){return!!t&&"object"==typeof t}(t)&&Vr.call(t)==Rr}(t))return _r;if(qr(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=qr(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(Mr,"");var r=Wr.test(t);return r||Nr.test(t)?Ir(t.slice(2),r?2:8):Cr.test(t)?_r:+t}var Yr=function(t,e,r){var i=!0,n=!0;if("function"!=typeof t)throw new TypeError(zr);return qr(r)&&(i="leading"in r?!!r.leading:i,n="trailing"in r?!!r.trailing:n),function(t,e,r){var i,n,s,a,o,c,l=0,u=!1,h=!1,f=!0;if("function"!=typeof t)throw new TypeError(zr);function d(e){var r=i,s=n;return i=n=void 0,l=e,a=t.apply(s,r)}function p(t){var r=t-c;return void 0===c||r>=e||r<0||h&&t-l>=s}function v(){var t=Xr();if(p(t))return g(t);o=setTimeout(v,function(t){var r=e-(t-c);return h?Hr(r,s-(t-l)):r}(t))}function g(t){return o=void 0,f&&i?d(t):(i=n=void 0,a)}function x(){var t=Xr(),r=p(t);if(i=arguments,n=this,c=t,r){if(void 0===o)return function(t){return l=t,o=setTimeout(v,e),u?d(t):a}(c);if(h)return o=setTimeout(v,e),d(c)}return void 0===o&&(o=setTimeout(v,e)),a}return e=$r(e)||0,qr(r)&&(u=!!r.leading,s=(h="maxWait"in r)?Fr($r(r.maxWait)||0,e):s,f="trailing"in r?!!r.trailing:f),x.cancel=function(){void 0!==o&&clearTimeout(o),l=0,i=c=n=o=void 0},x.flush=function(){return void 0===o?a:g(Xr())},x}(t,e,{leading:i,maxWait:e,trailing:n})},Gr=NaN,Ur="[object Symbol]",Qr=/^\s+|\s+$/g,Jr=/^[-+]0x[0-9a-f]+$/i,Kr=/^0b[01]+$/i,Zr=/^0o[0-7]+$/i,ti=parseInt,ei="object"==typeof t&&t&&t.Object===Object&&t,ri="object"==typeof self&&self&&self.Object===Object&&self,ii=ei||ri||Function("return this")(),ni=Object.prototype.toString,si=Math.max,ai=Math.min,oi=function(){return ii.Date.now()};function ci(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function li(t){if("number"==typeof t)return t;if(function(t){return"symbol"==typeof t||function(t){return!!t&&"object"==typeof t}(t)&&ni.call(t)==Ur}(t))return Gr;if(ci(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=ci(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(Qr,"");var r=Kr.test(t);return r||Zr.test(t)?ti(t.slice(2),r?2:8):Jr.test(t)?Gr:+t}var ui=function(t,e,r){var i,n,s,a,o,c,l=0,u=!1,h=!1,f=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function d(e){var r=i,s=n;return i=n=void 0,l=e,a=t.apply(s,r)}function p(t){var r=t-c;return void 0===c||r>=e||r<0||h&&t-l>=s}function v(){var t=oi();if(p(t))return g(t);o=setTimeout(v,function(t){var r=e-(t-c);return h?ai(r,s-(t-l)):r}(t))}function g(t){return o=void 0,f&&i?d(t):(i=n=void 0,a)}function x(){var t=oi(),r=p(t);if(i=arguments,n=this,c=t,r){if(void 0===o)return function(t){return l=t,o=setTimeout(v,e),u?d(t):a}(c);if(h)return o=setTimeout(v,e),d(c)}return void 0===o&&(o=setTimeout(v,e)),a}return e=li(e)||0,ci(r)&&(u=!!r.leading,s=(h="maxWait"in r)?si(li(r.maxWait)||0,e):s,f="trailing"in r?!!r.trailing:f),x.cancel=function(){void 0!==o&&clearTimeout(o),l=0,i=c=n=o=void 0},x.flush=function(){return void 0===o?a:g(oi())},x},hi="Expected a function",fi="__lodash_hash_undefined__",di="[object Function]",pi="[object GeneratorFunction]",vi=/^\[object .+?Constructor\]$/,gi="object"==typeof t&&t&&t.Object===Object&&t,xi="object"==typeof self&&self&&self.Object===Object&&self,mi=gi||xi||Function("return this")(),bi=Array.prototype,yi=Function.prototype,wi=Object.prototype,Ei=mi["__core-js_shared__"],ji=function(){var t=/[^.]+$/.exec(Ei&&Ei.keys&&Ei.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),Si=yi.toString,Oi=wi.hasOwnProperty,ki=wi.toString,Ai=RegExp("^"+Si.call(Oi).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ti=bi.splice,Li=Ni(mi,"Map"),zi=Ni(Object,"create");function _i(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var i=t[e];this.set(i[0],i[1])}}function Ri(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var i=t[e];this.set(i[0],i[1])}}function Mi(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var i=t[e];this.set(i[0],i[1])}}function Ci(t,e){for(var r,i,n=t.length;n--;)if((r=t[n][0])===(i=e)||r!=r&&i!=i)return n;return-1}function Wi(t,e){var r,i,n=t.__data__;return("string"==(i=typeof(r=e))||"number"==i||"symbol"==i||"boolean"==i?"__proto__"!==r:null===r)?n["string"==typeof e?"string":"hash"]:n.map}function Ni(t,e){var r=function(t,e){return null==t?void 0:t[e]}(t,e);return function(t){return!(!Di(t)||(e=t,ji&&ji in e))&&(function(t){var e=Di(t)?ki.call(t):"";return e==di||e==pi}(t)||function(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(t){}return e}(t)?Ai:vi).test(function(t){if(null!=t){try{return Si.call(t)}catch(t){}try{return t+""}catch(t){}}return""}(t));var e}(r)?r:void 0}function Ii(t,e){if("function"!=typeof t||e&&"function"!=typeof e)throw new TypeError(hi);var r=function(){var i=arguments,n=e?e.apply(this,i):i[0],s=r.cache;if(s.has(n))return s.get(n);var a=t.apply(this,i);return r.cache=s.set(n,a),a};return r.cache=new(Ii.Cache||Mi),r}function Di(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}_i.prototype.clear=function(){this.__data__=zi?zi(null):{}},_i.prototype.delete=function(t){return this.has(t)&&delete this.__data__[t]},_i.prototype.get=function(t){var e=this.__data__;if(zi){var r=e[t];return r===fi?void 0:r}return Oi.call(e,t)?e[t]:void 0},_i.prototype.has=function(t){var e=this.__data__;return zi?void 0!==e[t]:Oi.call(e,t)},_i.prototype.set=function(t,e){return this.__data__[t]=zi&&void 0===e?fi:e,this},Ri.prototype.clear=function(){this.__data__=[]},Ri.prototype.delete=function(t){var e=this.__data__,r=Ci(e,t);return!(r<0||(r==e.length-1?e.pop():Ti.call(e,r,1),0))},Ri.prototype.get=function(t){var e=this.__data__,r=Ci(e,t);return r<0?void 0:e[r][1]},Ri.prototype.has=function(t){return Ci(this.__data__,t)>-1},Ri.prototype.set=function(t,e){var r=this.__data__,i=Ci(r,t);return i<0?r.push([t,e]):r[i][1]=e,this},Mi.prototype.clear=function(){this.__data__={hash:new _i,map:new(Li||Ri),string:new _i}},Mi.prototype.delete=function(t){return Wi(this,t).delete(t)},Mi.prototype.get=function(t){return Wi(this,t).get(t)},Mi.prototype.has=function(t){return Wi(this,t).has(t)},Mi.prototype.set=function(t,e){return Wi(this,t).set(t,e),this},Ii.Cache=Mi;var Bi,Pi=Ii,Vi=[],Fi="ResizeObserver loop completed with undelivered notifications.";!function(t){t.BORDER_BOX="border-box",t.CONTENT_BOX="content-box",t.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"}(Bi||(Bi={}));var Hi,Xi=function(t){return Object.freeze(t)},qi=function(t,e){this.inlineSize=t,this.blockSize=e,Xi(this)},$i=function(){function t(t,e,r,i){return this.x=t,this.y=e,this.width=r,this.height=i,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,Xi(this)}return t.prototype.toJSON=function(){var t=this;return{x:t.x,y:t.y,top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.width,height:t.height}},t.fromRect=function(e){return new t(e.x,e.y,e.width,e.height)},t}(),Yi=function(t){return t instanceof SVGElement&&"getBBox"in t},Gi=function(t){if(Yi(t)){var e=t.getBBox(),r=e.width,i=e.height;return!r&&!i}var n=t,s=n.offsetWidth,a=n.offsetHeight;return!(s||a||t.getClientRects().length)},Ui=function(t){var e,r;if(t instanceof Element)return!0;var i=null===(r=null===(e=t)||void 0===e?void 0:e.ownerDocument)||void 0===r?void 0:r.defaultView;return!!(i&&t instanceof i.Element)},Qi="undefined"!=typeof window?window:{},Ji=new WeakMap,Ki=/auto|scroll/,Zi=/^tb|vertical/,tn=/msie|trident/i.test(Qi.navigator&&Qi.navigator.userAgent),en=function(t){return parseFloat(t||"0")},rn=function(t,e,r){return void 0===t&&(t=0),void 0===e&&(e=0),void 0===r&&(r=!1),new qi((r?e:t)||0,(r?t:e)||0)},nn=Xi({devicePixelContentBoxSize:rn(),borderBoxSize:rn(),contentBoxSize:rn(),contentRect:new $i(0,0,0,0)}),sn=function(t,e){if(void 0===e&&(e=!1),Ji.has(t)&&!e)return Ji.get(t);if(Gi(t))return Ji.set(t,nn),nn;var r=getComputedStyle(t),i=Yi(t)&&t.ownerSVGElement&&t.getBBox(),n=!tn&&"border-box"===r.boxSizing,s=Zi.test(r.writingMode||""),a=!i&&Ki.test(r.overflowY||""),o=!i&&Ki.test(r.overflowX||""),c=i?0:en(r.paddingTop),l=i?0:en(r.paddingRight),u=i?0:en(r.paddingBottom),h=i?0:en(r.paddingLeft),f=i?0:en(r.borderTopWidth),d=i?0:en(r.borderRightWidth),p=i?0:en(r.borderBottomWidth),v=h+l,g=c+u,x=(i?0:en(r.borderLeftWidth))+d,m=f+p,b=o?t.offsetHeight-m-t.clientHeight:0,y=a?t.offsetWidth-x-t.clientWidth:0,w=n?v+x:0,E=n?g+m:0,j=i?i.width:en(r.width)-w-y,S=i?i.height:en(r.height)-E-b,O=j+v+y+x,k=S+g+b+m,A=Xi({devicePixelContentBoxSize:rn(Math.round(j*devicePixelRatio),Math.round(S*devicePixelRatio),s),borderBoxSize:rn(O,k,s),contentBoxSize:rn(j,S,s),contentRect:new $i(h,c,j,S)});return Ji.set(t,A),A},an=function(t,e,r){var i=sn(t,r),n=i.borderBoxSize,s=i.contentBoxSize,a=i.devicePixelContentBoxSize;switch(e){case Bi.DEVICE_PIXEL_CONTENT_BOX:return a;case Bi.BORDER_BOX:return n;default:return s}},on=function(t){var e=sn(t);this.target=t,this.contentRect=e.contentRect,this.borderBoxSize=Xi([e.borderBoxSize]),this.contentBoxSize=Xi([e.contentBoxSize]),this.devicePixelContentBoxSize=Xi([e.devicePixelContentBoxSize])},cn=function(t){if(Gi(t))return 1/0;for(var e=0,r=t.parentNode;r;)e+=1,r=r.parentNode;return e},ln=function(){var t=1/0,e=[];Vi.forEach(function(r){if(0!==r.activeTargets.length){var i=[];r.activeTargets.forEach(function(e){var r=new on(e.target),n=cn(e.target);i.push(r),e.lastReportedSize=an(e.target,e.observedBox),n<t&&(t=n)}),e.push(function(){r.callback.call(r.observer,i,r.observer)}),r.activeTargets.splice(0,r.activeTargets.length)}});for(var r=0,i=e;r<i.length;r++)(0,i[r])();return t},un=function(t){Vi.forEach(function(e){e.activeTargets.splice(0,e.activeTargets.length),e.skippedTargets.splice(0,e.skippedTargets.length),e.observationTargets.forEach(function(r){r.isActive()&&(cn(r.target)>t?e.activeTargets.push(r):e.skippedTargets.push(r))})})},hn=[],fn=0,dn={attributes:!0,characterData:!0,childList:!0,subtree:!0},pn=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],vn=function(t){return void 0===t&&(t=0),Date.now()+t},gn=!1,xn=new(function(){function t(){var t=this;this.stopped=!0,this.listener=function(){return t.schedule()}}return t.prototype.run=function(t){var e=this;if(void 0===t&&(t=250),!gn){gn=!0;var r,i=vn(t);r=function(){var r=!1;try{r=function(){var t,e=0;for(un(e);Vi.some(function(t){return t.activeTargets.length>0});)e=ln(),un(e);return Vi.some(function(t){return t.skippedTargets.length>0})&&("function"==typeof ErrorEvent?t=new ErrorEvent("error",{message:Fi}):((t=document.createEvent("Event")).initEvent("error",!1,!1),t.message=Fi),window.dispatchEvent(t)),e>0}()}finally{if(gn=!1,t=i-vn(),!fn)return;r?e.run(1e3):t>0?e.run(t):e.start()}},function(t){if(!Hi){var e=0,r=document.createTextNode("");new MutationObserver(function(){return hn.splice(0).forEach(function(t){return t()})}).observe(r,{characterData:!0}),Hi=function(){r.textContent=""+(e?e--:e++)}}hn.push(t),Hi()}(function(){requestAnimationFrame(r)})}},t.prototype.schedule=function(){this.stop(),this.run()},t.prototype.observe=function(){var t=this,e=function(){return t.observer&&t.observer.observe(document.body,dn)};document.body?e():Qi.addEventListener("DOMContentLoaded",e)},t.prototype.start=function(){var t=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),pn.forEach(function(e){return Qi.addEventListener(e,t.listener,!0)}))},t.prototype.stop=function(){var t=this;this.stopped||(this.observer&&this.observer.disconnect(),pn.forEach(function(e){return Qi.removeEventListener(e,t.listener,!0)}),this.stopped=!0)},t}()),mn=function(t){!fn&&t>0&&xn.start(),!(fn+=t)&&xn.stop()},bn=function(){function t(t,e){this.target=t,this.observedBox=e||Bi.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return t.prototype.isActive=function(){var t,e=an(this.target,this.observedBox,!0);return t=this.target,Yi(t)||function(t){switch(t.tagName){case"INPUT":if("image"!==t.type)break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1}(t)||"inline"!==getComputedStyle(t).display||(this.lastReportedSize=e),this.lastReportedSize.inlineSize!==e.inlineSize||this.lastReportedSize.blockSize!==e.blockSize},t}(),yn=function(t,e){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=t,this.callback=e},wn=new WeakMap,En=function(t,e){for(var r=0;r<t.length;r+=1)if(t[r].target===e)return r;return-1},jn=function(){function t(){}return t.connect=function(t,e){var r=new yn(t,e);wn.set(t,r)},t.observe=function(t,e,r){var i=wn.get(t),n=0===i.observationTargets.length;En(i.observationTargets,e)<0&&(n&&Vi.push(i),i.observationTargets.push(new bn(e,r&&r.box)),mn(1),xn.schedule())},t.unobserve=function(t,e){var r=wn.get(t),i=En(r.observationTargets,e),n=1===r.observationTargets.length;i>=0&&(n&&Vi.splice(Vi.indexOf(r),1),r.observationTargets.splice(i,1),mn(-1))},t.disconnect=function(t){var e=this,r=wn.get(t);r.observationTargets.slice().forEach(function(r){return e.unobserve(t,r.target)}),r.activeTargets.splice(0,r.activeTargets.length)},t}(),Sn=function(){function t(t){if(0===arguments.length)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if("function"!=typeof t)throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");jn.connect(this,t)}return t.prototype.observe=function(t,e){if(0===arguments.length)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!Ui(t))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");jn.observe(this,t,e)},t.prototype.unobserve=function(t){if(0===arguments.length)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!Ui(t))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");jn.unobserve(this,t)},t.prototype.disconnect=function(){jn.disconnect(this)},t.toString=function(){return"function ResizeObserver () { [polyfill code] }"},t}(),On=function(t){return function(e,r,i,n){At(r);var s=Lt(e),a=x(s),o=at(s.length),c=t?o-1:0,l=t?-1:1;if(i<2)for(;;){if(c in a){n=a[c],c+=l;break}if(c+=l,t?c<0:o<=c)throw TypeError("Reduce of empty array with no initial value")}for(;t?c>=0:o>c;c+=l)c in a&&(n=r(n,a[c],c,s));return n}},kn=[On(!1),On(!0)][0];kt({target:"Array",proto:!0,forced:Pt("reduce")},{reduce:function(t){return kn(this,t,arguments.length,arguments.length>1?arguments[1]:void 0)}});var An=R.f,Tn=Function.prototype,Ln=Tn.toString,zn=/^\s*function ([^ (]*)/;!l||"name"in Tn||An(Tn,"name",{configurable:!0,get:function(){try{return Ln.call(this).match(zn)[1]}catch(t){return""}}});var _n,Rn,Mn=RegExp.prototype.exec,Cn=String.prototype.replace,Wn=Mn,Nn=(_n=/a/,Rn=/b*/g,Mn.call(_n,"a"),Mn.call(Rn,"a"),0!==_n.lastIndex||0!==Rn.lastIndex),In=void 0!==/()??/.exec("")[1];(Nn||In)&&(Wn=function(t){var e,r,i,n,s=this;return In&&(r=new RegExp("^"+s.source+"$(?!\\s)",function(){var t=z(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}.call(s))),Nn&&(e=s.lastIndex),i=Mn.call(s,t),Nn&&i&&(s.lastIndex=s.global?i.index+i[0].length:e),In&&i&&i.length>1&&Cn.call(i[0],r,function(){for(n=1;n<arguments.length-2;n++)void 0===arguments[n]&&(i[n]=void 0)}),i});var Dn=Wn;kt({target:"RegExp",proto:!0,forced:/./.exec!==Dn},{exec:Dn});var Bn=Ct("species"),Pn=!c(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}),Vn=!c(function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var r="ab".split(t);return 2!==r.length||"a"!==r[0]||"b"!==r[1]}),Fn=function(t,e,r,i){var n=Ct(t),s=!c(function(){var e={};return e[n]=function(){return 7},7!=""[t](e)}),a=s&&!c(function(){var e=!1,r=/a/;return r.exec=function(){return e=!0,null},"split"===t&&(r.constructor={},r.constructor[Bn]=function(){return r}),r[n](""),!e});if(!s||!a||"replace"===t&&!Pn||"split"===t&&!Vn){var o=/./[n],l=r(n,""[t],function(t,e,r,i,n){return e.exec===Dn?s&&!n?{done:!0,value:o.call(e,r,i)}:{done:!0,value:t.call(r,e,i)}:{done:!1}}),u=l[0],h=l[1];K(String.prototype,t,u),K(RegExp.prototype,n,2==e?function(t,e){return h.call(t,this,e)}:function(t){return h.call(t,this)}),i&&M(RegExp.prototype[n],"sham",!0)}},Hn=Ue.charAt,Xn=function(t,e,r){return e+(r?Hn(t,e).length:1)},qn=function(t,e){var r=t.exec;if("function"==typeof r){var i=r.call(t,e);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==v(t))throw TypeError("RegExp#exec called on incompatible receiver");return Dn.call(t,e)};Fn("match",1,function(t,e,r){return[function(e){var r=m(this),i=null==e?void 0:e[t];return void 0!==i?i.call(e,r):new RegExp(e)[t](String(r))},function(t){var i=r(e,t,this);if(i.done)return i.value;var n=z(t),s=String(this);if(!n.global)return qn(n,s);var a=n.unicode;n.lastIndex=0;for(var o,c=[],l=0;null!==(o=qn(n,s));){var u=String(o[0]);c[l]=u,""===u&&(n.lastIndex=Xn(s,at(n.lastIndex),a)),l++}return 0===l?null:c}]});var $n=Math.max,Yn=Math.min,Gn=Math.floor,Un=/\$([$&'`]|\d\d?|<[^>]*>)/g,Qn=/\$([$&'`]|\d\d?)/g;Fn("replace",2,function(t,e,r){return[function(r,i){var n=m(this),s=null==r?void 0:r[t];return void 0!==s?s.call(r,n,i):e.call(String(n),r,i)},function(t,n){var s=r(e,t,this,n);if(s.done)return s.value;var a=z(t),o=String(this),c="function"==typeof n;c||(n=String(n));var l=a.global;if(l){var u=a.unicode;a.lastIndex=0}for(var h=[];;){var f=qn(a,o);if(null===f)break;if(h.push(f),!l)break;""===String(f[0])&&(a.lastIndex=Xn(o,at(a.lastIndex),u))}for(var d,p="",v=0,g=0;g<h.length;g++){f=h[g];for(var x=String(f[0]),m=$n(Yn(nt(f.index),o.length),0),b=[],y=1;y<f.length;y++)b.push(void 0===(d=f[y])?d:String(d));var w=f.groups;if(c){var E=[x].concat(b,m,o);void 0!==w&&E.push(w);var j=String(n.apply(void 0,E))}else j=i(x,o,m,b,w,n);m>=v&&(p+=o.slice(v,m)+j,v=m+x.length)}return p+o.slice(v)}];function i(t,r,i,n,s,a){var o=i+t.length,c=n.length,l=Qn;return void 0!==s&&(s=Lt(s),l=Un),e.call(a,l,function(e,a){var l;switch(a.charAt(0)){case"$":return"$";case"&":return t;case"`":return r.slice(0,i);case"'":return r.slice(o);case"<":l=s[a.slice(1,-1)];break;default:var u=+a;if(0===u)return e;if(u>c){var h=Gn(u/10);return 0===h?e:h<=c?void 0===n[h-1]?a.charAt(1):n[h-1]+a.charAt(1):e}l=n[u-1]}return void 0===l?"":l})}});var Jn=function(t){return Array.prototype.reduce.call(t,function(t,e){var r=e.name.match(/data-simplebar-(.+)/);if(r){var i=r[1].replace(/\W+(.)/g,function(t,e){return e.toUpperCase()});switch(e.value){case"true":t[i]=!0;break;case"false":t[i]=!1;break;case void 0:t[i]=!0;break;default:t[i]=e.value}}return t},{})};function Kn(t){return t&&t.ownerDocument&&t.ownerDocument.defaultView?t.ownerDocument.defaultView:window}function Zn(t){return t&&t.ownerDocument?t.ownerDocument:document}var ts=null,es=null;function rs(t){if(null===ts){var e=Zn(t);if(void 0===e)return ts=0;var r=e.body,i=e.createElement("div");i.classList.add("simplebar-hide-scrollbar"),r.appendChild(i);var n=i.getBoundingClientRect().right;r.removeChild(i),ts=n}return ts}Yt&&window.addEventListener("resize",function(){es!==window.devicePixelRatio&&(es=window.devicePixelRatio,ts=null)});var is=function(){function t(e,r){var i=this;this.onScroll=function(){var t=Kn(i.el);i.scrollXTicking||(t.requestAnimationFrame(i.scrollX),i.scrollXTicking=!0),i.scrollYTicking||(t.requestAnimationFrame(i.scrollY),i.scrollYTicking=!0)},this.scrollX=function(){i.axis.x.isOverflowing&&(i.showScrollbar("x"),i.positionScrollbar("x")),i.scrollXTicking=!1},this.scrollY=function(){i.axis.y.isOverflowing&&(i.showScrollbar("y"),i.positionScrollbar("y")),i.scrollYTicking=!1},this.onMouseEnter=function(){i.showScrollbar("x"),i.showScrollbar("y")},this.onMouseMove=function(t){i.mouseX=t.clientX,i.mouseY=t.clientY,(i.axis.x.isOverflowing||i.axis.x.forceVisible)&&i.onMouseMoveForAxis("x"),(i.axis.y.isOverflowing||i.axis.y.forceVisible)&&i.onMouseMoveForAxis("y")},this.onMouseLeave=function(){i.onMouseMove.cancel(),(i.axis.x.isOverflowing||i.axis.x.forceVisible)&&i.onMouseLeaveForAxis("x"),(i.axis.y.isOverflowing||i.axis.y.forceVisible)&&i.onMouseLeaveForAxis("y"),i.mouseX=-1,i.mouseY=-1},this.onWindowResize=function(){i.scrollbarWidth=i.getScrollbarWidth(),i.hideNativeScrollbar()},this.hideScrollbars=function(){i.axis.x.track.rect=i.axis.x.track.el.getBoundingClientRect(),i.axis.y.track.rect=i.axis.y.track.el.getBoundingClientRect(),i.isWithinBounds(i.axis.y.track.rect)||(i.axis.y.scrollbar.el.classList.remove(i.classNames.visible),i.axis.y.isVisible=!1),i.isWithinBounds(i.axis.x.track.rect)||(i.axis.x.scrollbar.el.classList.remove(i.classNames.visible),i.axis.x.isVisible=!1)},this.onPointerEvent=function(t){var e,r;i.axis.x.track.rect=i.axis.x.track.el.getBoundingClientRect(),i.axis.y.track.rect=i.axis.y.track.el.getBoundingClientRect(),(i.axis.x.isOverflowing||i.axis.x.forceVisible)&&(e=i.isWithinBounds(i.axis.x.track.rect)),(i.axis.y.isOverflowing||i.axis.y.forceVisible)&&(r=i.isWithinBounds(i.axis.y.track.rect)),(e||r)&&(t.preventDefault(),t.stopPropagation(),"mousedown"===t.type&&(e&&(i.axis.x.scrollbar.rect=i.axis.x.scrollbar.el.getBoundingClientRect(),i.isWithinBounds(i.axis.x.scrollbar.rect)?i.onDragStart(t,"x"):i.onTrackClick(t,"x")),r&&(i.axis.y.scrollbar.rect=i.axis.y.scrollbar.el.getBoundingClientRect(),i.isWithinBounds(i.axis.y.scrollbar.rect)?i.onDragStart(t,"y"):i.onTrackClick(t,"y"))))},this.drag=function(e){var r=i.axis[i.draggedAxis].track,n=r.rect[i.axis[i.draggedAxis].sizeAttr],s=i.axis[i.draggedAxis].scrollbar,a=i.contentWrapperEl[i.axis[i.draggedAxis].scrollSizeAttr],o=parseInt(i.elStyles[i.axis[i.draggedAxis].sizeAttr],10);e.preventDefault(),e.stopPropagation();var c=(("y"===i.draggedAxis?e.pageY:e.pageX)-r.rect[i.axis[i.draggedAxis].offsetAttr]-i.axis[i.draggedAxis].dragOffset)/(n-s.size)*(a-o);"x"===i.draggedAxis&&(c=i.isRtl&&t.getRtlHelpers().isRtlScrollbarInverted?c-(n+s.size):c,c=i.isRtl&&t.getRtlHelpers().isRtlScrollingInverted?-c:c),i.contentWrapperEl[i.axis[i.draggedAxis].scrollOffsetAttr]=c},this.onEndDrag=function(t){var e=Zn(i.el),r=Kn(i.el);t.preventDefault(),t.stopPropagation(),i.el.classList.remove(i.classNames.dragging),e.removeEventListener("mousemove",i.drag,!0),e.removeEventListener("mouseup",i.onEndDrag,!0),i.removePreventClickId=r.setTimeout(function(){e.removeEventListener("click",i.preventClick,!0),e.removeEventListener("dblclick",i.preventClick,!0),i.removePreventClickId=null})},this.preventClick=function(t){t.preventDefault(),t.stopPropagation()},this.el=e,this.minScrollbarWidth=20,this.options=Object.assign({},t.defaultOptions,{},r),this.classNames=Object.assign({},t.defaultOptions.classNames,{},this.options.classNames),this.axis={x:{scrollOffsetAttr:"scrollLeft",sizeAttr:"width",scrollSizeAttr:"scrollWidth",offsetSizeAttr:"offsetWidth",offsetAttr:"left",overflowAttr:"overflowX",dragOffset:0,isOverflowing:!0,isVisible:!1,forceVisible:!1,track:{},scrollbar:{}},y:{scrollOffsetAttr:"scrollTop",sizeAttr:"height",scrollSizeAttr:"scrollHeight",offsetSizeAttr:"offsetHeight",offsetAttr:"top",overflowAttr:"overflowY",dragOffset:0,isOverflowing:!0,isVisible:!1,forceVisible:!1,track:{},scrollbar:{}}},this.removePreventClickId=null,t.instances.has(this.el)||(this.recalculate=Yr(this.recalculate.bind(this),64),this.onMouseMove=Yr(this.onMouseMove.bind(this),64),this.hideScrollbars=ui(this.hideScrollbars.bind(this),this.options.timeout),this.onWindowResize=ui(this.onWindowResize.bind(this),64,{leading:!0}),t.getRtlHelpers=Pi(t.getRtlHelpers),this.init())}t.getRtlHelpers=function(){var e=document.createElement("div");e.innerHTML='<div class="hs-dummy-scrollbar-size"><div style="height: 200%; width: 200%; margin: 10px 0;"></div></div>';var r=e.firstElementChild;document.body.appendChild(r);var i=r.firstElementChild;r.scrollLeft=0;var n=t.getOffset(r),s=t.getOffset(i);r.scrollLeft=999;var a=t.getOffset(i);return{isRtlScrollingInverted:n.left!==s.left&&s.left-a.left!=0,isRtlScrollbarInverted:n.left!==s.left}},t.getOffset=function(t){var e=t.getBoundingClientRect(),r=Zn(t),i=Kn(t);return{top:e.top+(i.pageYOffset||r.documentElement.scrollTop),left:e.left+(i.pageXOffset||r.documentElement.scrollLeft)}};var e=t.prototype;return e.init=function(){t.instances.set(this.el,this),Yt&&(this.initDOM(),this.scrollbarWidth=this.getScrollbarWidth(),this.recalculate(),this.initListeners())},e.initDOM=function(){var t=this;if(Array.prototype.filter.call(this.el.children,function(e){return e.classList.contains(t.classNames.wrapper)}).length)this.wrapperEl=this.el.querySelector("."+this.classNames.wrapper),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector("."+this.classNames.contentWrapper),this.contentEl=this.options.contentNode||this.el.querySelector("."+this.classNames.contentEl),this.offsetEl=this.el.querySelector("."+this.classNames.offset),this.maskEl=this.el.querySelector("."+this.classNames.mask),this.placeholderEl=this.findChild(this.wrapperEl,"."+this.classNames.placeholder),this.heightAutoObserverWrapperEl=this.el.querySelector("."+this.classNames.heightAutoObserverWrapperEl),this.heightAutoObserverEl=this.el.querySelector("."+this.classNames.heightAutoObserverEl),this.axis.x.track.el=this.findChild(this.el,"."+this.classNames.track+"."+this.classNames.horizontal),this.axis.y.track.el=this.findChild(this.el,"."+this.classNames.track+"."+this.classNames.vertical);else{for(this.wrapperEl=document.createElement("div"),this.contentWrapperEl=document.createElement("div"),this.offsetEl=document.createElement("div"),this.maskEl=document.createElement("div"),this.contentEl=document.createElement("div"),this.placeholderEl=document.createElement("div"),this.heightAutoObserverWrapperEl=document.createElement("div"),this.heightAutoObserverEl=document.createElement("div"),this.wrapperEl.classList.add(this.classNames.wrapper),this.contentWrapperEl.classList.add(this.classNames.contentWrapper),this.offsetEl.classList.add(this.classNames.offset),this.maskEl.classList.add(this.classNames.mask),this.contentEl.classList.add(this.classNames.contentEl),this.placeholderEl.classList.add(this.classNames.placeholder),this.heightAutoObserverWrapperEl.classList.add(this.classNames.heightAutoObserverWrapperEl),this.heightAutoObserverEl.classList.add(this.classNames.heightAutoObserverEl);this.el.firstChild;)this.contentEl.appendChild(this.el.firstChild);this.contentWrapperEl.appendChild(this.contentEl),this.offsetEl.appendChild(this.contentWrapperEl),this.maskEl.appendChild(this.offsetEl),this.heightAutoObserverWrapperEl.appendChild(this.heightAutoObserverEl),this.wrapperEl.appendChild(this.heightAutoObserverWrapperEl),this.wrapperEl.appendChild(this.maskEl),this.wrapperEl.appendChild(this.placeholderEl),this.el.appendChild(this.wrapperEl)}if(!this.axis.x.track.el||!this.axis.y.track.el){var e=document.createElement("div"),r=document.createElement("div");e.classList.add(this.classNames.track),r.classList.add(this.classNames.scrollbar),e.appendChild(r),this.axis.x.track.el=e.cloneNode(!0),this.axis.x.track.el.classList.add(this.classNames.horizontal),this.axis.y.track.el=e.cloneNode(!0),this.axis.y.track.el.classList.add(this.classNames.vertical),this.el.appendChild(this.axis.x.track.el),this.el.appendChild(this.axis.y.track.el)}this.axis.x.scrollbar.el=this.axis.x.track.el.querySelector("."+this.classNames.scrollbar),this.axis.y.scrollbar.el=this.axis.y.track.el.querySelector("."+this.classNames.scrollbar),this.options.autoHide||(this.axis.x.scrollbar.el.classList.add(this.classNames.visible),this.axis.y.scrollbar.el.classList.add(this.classNames.visible)),this.el.setAttribute("data-simplebar","init")},e.initListeners=function(){var t=this,e=Kn(this.el);this.options.autoHide&&this.el.addEventListener("mouseenter",this.onMouseEnter),["mousedown","click","dblclick"].forEach(function(e){t.el.addEventListener(e,t.onPointerEvent,!0)}),["touchstart","touchend","touchmove"].forEach(function(e){t.el.addEventListener(e,t.onPointerEvent,{capture:!0,passive:!0})}),this.el.addEventListener("mousemove",this.onMouseMove),this.el.addEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl.addEventListener("scroll",this.onScroll),e.addEventListener("resize",this.onWindowResize);var r=!1,i=e.ResizeObserver||Sn;this.resizeObserver=new i(function(){r&&t.recalculate()}),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl),e.requestAnimationFrame(function(){r=!0}),this.mutationObserver=new e.MutationObserver(this.recalculate),this.mutationObserver.observe(this.contentEl,{childList:!0,subtree:!0,characterData:!0})},e.recalculate=function(){var t=Kn(this.el);this.elStyles=t.getComputedStyle(this.el),this.isRtl="rtl"===this.elStyles.direction;var e=this.heightAutoObserverEl.offsetHeight<=1,r=this.heightAutoObserverEl.offsetWidth<=1,i=this.contentEl.offsetWidth,n=this.contentWrapperEl.offsetWidth,s=this.elStyles.overflowX,a=this.elStyles.overflowY;this.contentEl.style.padding=this.elStyles.paddingTop+" "+this.elStyles.paddingRight+" "+this.elStyles.paddingBottom+" "+this.elStyles.paddingLeft,this.wrapperEl.style.margin="-"+this.elStyles.paddingTop+" -"+this.elStyles.paddingRight+" -"+this.elStyles.paddingBottom+" -"+this.elStyles.paddingLeft;var o=this.contentEl.scrollHeight,c=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=e?"auto":"100%",this.placeholderEl.style.width=r?i+"px":"auto",this.placeholderEl.style.height=o+"px";var l=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=c>i,this.axis.y.isOverflowing=o>l,this.axis.x.isOverflowing="hidden"!==s&&this.axis.x.isOverflowing,this.axis.y.isOverflowing="hidden"!==a&&this.axis.y.isOverflowing,this.axis.x.forceVisible="x"===this.options.forceVisible||!0===this.options.forceVisible,this.axis.y.forceVisible="y"===this.options.forceVisible||!0===this.options.forceVisible,this.hideNativeScrollbar();var u=this.axis.x.isOverflowing?this.scrollbarWidth:0,h=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&c>n-h,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&o>l-u,this.axis.x.scrollbar.size=this.getScrollbarSize("x"),this.axis.y.scrollbar.size=this.getScrollbarSize("y"),this.axis.x.scrollbar.el.style.width=this.axis.x.scrollbar.size+"px",this.axis.y.scrollbar.el.style.height=this.axis.y.scrollbar.size+"px",this.positionScrollbar("x"),this.positionScrollbar("y"),this.toggleTrackVisibility("x"),this.toggleTrackVisibility("y")},e.getScrollbarSize=function(t){if(void 0===t&&(t="y"),!this.axis[t].isOverflowing)return 0;var e,r=this.contentEl[this.axis[t].scrollSizeAttr],i=this.axis[t].track.el[this.axis[t].offsetSizeAttr],n=i/r;return e=Math.max(~~(n*i),this.options.scrollbarMinSize),this.options.scrollbarMaxSize&&(e=Math.min(e,this.options.scrollbarMaxSize)),e},e.positionScrollbar=function(e){if(void 0===e&&(e="y"),this.axis[e].isOverflowing){var r=this.contentWrapperEl[this.axis[e].scrollSizeAttr],i=this.axis[e].track.el[this.axis[e].offsetSizeAttr],n=parseInt(this.elStyles[this.axis[e].sizeAttr],10),s=this.axis[e].scrollbar,a=this.contentWrapperEl[this.axis[e].scrollOffsetAttr],o=(a="x"===e&&this.isRtl&&t.getRtlHelpers().isRtlScrollingInverted?-a:a)/(r-n),c=~~((i-s.size)*o);c="x"===e&&this.isRtl&&t.getRtlHelpers().isRtlScrollbarInverted?c+(i-s.size):c,s.el.style.transform="x"===e?"translate3d("+c+"px, 0, 0)":"translate3d(0, "+c+"px, 0)"}},e.toggleTrackVisibility=function(t){void 0===t&&(t="y");var e=this.axis[t].track.el,r=this.axis[t].scrollbar.el;this.axis[t].isOverflowing||this.axis[t].forceVisible?(e.style.visibility="visible",this.contentWrapperEl.style[this.axis[t].overflowAttr]="scroll"):(e.style.visibility="hidden",this.contentWrapperEl.style[this.axis[t].overflowAttr]="hidden"),this.axis[t].isOverflowing?r.style.display="block":r.style.display="none"},e.hideNativeScrollbar=function(){this.offsetEl.style[this.isRtl?"left":"right"]=this.axis.y.isOverflowing||this.axis.y.forceVisible?"-"+this.scrollbarWidth+"px":0,this.offsetEl.style.bottom=this.axis.x.isOverflowing||this.axis.x.forceVisible?"-"+this.scrollbarWidth+"px":0},e.onMouseMoveForAxis=function(t){void 0===t&&(t="y"),this.axis[t].track.rect=this.axis[t].track.el.getBoundingClientRect(),this.axis[t].scrollbar.rect=this.axis[t].scrollbar.el.getBoundingClientRect(),this.isWithinBounds(this.axis[t].scrollbar.rect)?this.axis[t].scrollbar.el.classList.add(this.classNames.hover):this.axis[t].scrollbar.el.classList.remove(this.classNames.hover),this.isWithinBounds(this.axis[t].track.rect)?(this.showScrollbar(t),this.axis[t].track.el.classList.add(this.classNames.hover)):this.axis[t].track.el.classList.remove(this.classNames.hover)},e.onMouseLeaveForAxis=function(t){void 0===t&&(t="y"),this.axis[t].track.el.classList.remove(this.classNames.hover),this.axis[t].scrollbar.el.classList.remove(this.classNames.hover)},e.showScrollbar=function(t){void 0===t&&(t="y");var e=this.axis[t].scrollbar.el;this.axis[t].isVisible||(e.classList.add(this.classNames.visible),this.axis[t].isVisible=!0),this.options.autoHide&&this.hideScrollbars()},e.onDragStart=function(t,e){void 0===e&&(e="y");var r=Zn(this.el),i=Kn(this.el),n=this.axis[e].scrollbar,s="y"===e?t.pageY:t.pageX;this.axis[e].dragOffset=s-n.rect[this.axis[e].offsetAttr],this.draggedAxis=e,this.el.classList.add(this.classNames.dragging),r.addEventListener("mousemove",this.drag,!0),r.addEventListener("mouseup",this.onEndDrag,!0),null===this.removePreventClickId?(r.addEventListener("click",this.preventClick,!0),r.addEventListener("dblclick",this.preventClick,!0)):(i.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},e.onTrackClick=function(t,e){var r=this;if(void 0===e&&(e="y"),this.options.clickOnTrack){var i=Kn(this.el);this.axis[e].scrollbar.rect=this.axis[e].scrollbar.el.getBoundingClientRect();var n=this.axis[e].scrollbar.rect[this.axis[e].offsetAttr],s=parseInt(this.elStyles[this.axis[e].sizeAttr],10),a=this.contentWrapperEl[this.axis[e].scrollOffsetAttr],o=("y"===e?this.mouseY-n:this.mouseX-n)<0?-1:1,c=-1===o?a-s:a+s;!function t(){var n,s;-1===o?a>c&&(a-=r.options.clickOnTrackSpeed,r.contentWrapperEl.scrollTo(((n={})[r.axis[e].offsetAttr]=a,n)),i.requestAnimationFrame(t)):a<c&&(a+=r.options.clickOnTrackSpeed,r.contentWrapperEl.scrollTo(((s={})[r.axis[e].offsetAttr]=a,s)),i.requestAnimationFrame(t))}()}},e.getContentElement=function(){return this.contentEl},e.getScrollElement=function(){return this.contentWrapperEl},e.getScrollbarWidth=function(){try{return"none"===getComputedStyle(this.contentWrapperEl,"::-webkit-scrollbar").display||"scrollbarWidth"in document.documentElement.style||"-ms-overflow-style"in document.documentElement.style?0:rs(this.el)}catch(t){return rs(this.el)}},e.removeListeners=function(){var t=this,e=Kn(this.el);this.options.autoHide&&this.el.removeEventListener("mouseenter",this.onMouseEnter),["mousedown","click","dblclick"].forEach(function(e){t.el.removeEventListener(e,t.onPointerEvent,!0)}),["touchstart","touchend","touchmove"].forEach(function(e){t.el.removeEventListener(e,t.onPointerEvent,{capture:!0,passive:!0})}),this.el.removeEventListener("mousemove",this.onMouseMove),this.el.removeEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl&&this.contentWrapperEl.removeEventListener("scroll",this.onScroll),e.removeEventListener("resize",this.onWindowResize),this.mutationObserver&&this.mutationObserver.disconnect(),this.resizeObserver&&this.resizeObserver.disconnect(),this.recalculate.cancel(),this.onMouseMove.cancel(),this.hideScrollbars.cancel(),this.onWindowResize.cancel()},e.unMount=function(){this.removeListeners(),t.instances.delete(this.el)},e.isWithinBounds=function(t){return this.mouseX>=t.left&&this.mouseX<=t.left+t.width&&this.mouseY>=t.top&&this.mouseY<=t.top+t.height},e.findChild=function(t,e){var r=t.matches||t.webkitMatchesSelector||t.mozMatchesSelector||t.msMatchesSelector;return Array.prototype.filter.call(t.children,function(t){return r.call(t,e)})[0]},t}();return is.defaultOptions={autoHide:!0,forceVisible:!1,clickOnTrack:!0,clickOnTrackSpeed:40,classNames:{contentEl:"simplebar-content",contentWrapper:"simplebar-content-wrapper",offset:"simplebar-offset",mask:"simplebar-mask",wrapper:"simplebar-wrapper",placeholder:"simplebar-placeholder",scrollbar:"simplebar-scrollbar",track:"simplebar-track",heightAutoObserverWrapperEl:"simplebar-height-auto-observer-wrapper",heightAutoObserverEl:"simplebar-height-auto-observer",visible:"simplebar-visible",horizontal:"simplebar-horizontal",vertical:"simplebar-vertical",hover:"simplebar-hover",dragging:"simplebar-dragging"},scrollbarMinSize:25,scrollbarMaxSize:0,timeout:1e3},is.instances=new WeakMap,is.initDOMLoadedElements=function(){document.removeEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.removeEventListener("load",this.initDOMLoadedElements),Array.prototype.forEach.call(document.querySelectorAll("[data-simplebar]"),function(t){"init"===t.getAttribute("data-simplebar")||is.instances.has(t)||new is(t,Jn(t.attributes))})},is.removeObserver=function(){this.globalObserver.disconnect()},is.initHtmlApi=function(){this.initDOMLoadedElements=this.initDOMLoadedElements.bind(this),"undefined"!=typeof MutationObserver&&(this.globalObserver=new MutationObserver(is.handleMutations),this.globalObserver.observe(document,{childList:!0,subtree:!0})),"complete"===document.readyState||"loading"!==document.readyState&&!document.documentElement.doScroll?window.setTimeout(this.initDOMLoadedElements):(document.addEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.addEventListener("load",this.initDOMLoadedElements))},is.handleMutations=function(t){t.forEach(function(t){Array.prototype.forEach.call(t.addedNodes,function(t){1===t.nodeType&&(t.hasAttribute("data-simplebar")?!is.instances.has(t)&&document.documentElement.contains(t)&&new is(t,Jn(t.attributes)):Array.prototype.forEach.call(t.querySelectorAll("[data-simplebar]"),function(t){"init"!==t.getAttribute("data-simplebar")&&!is.instances.has(t)&&document.documentElement.contains(t)&&new is(t,Jn(t.attributes))}))}),Array.prototype.forEach.call(t.removedNodes,function(t){1===t.nodeType&&("init"===t.getAttribute("data-simplebar")?is.instances.has(t)&&!document.documentElement.contains(t)&&is.instances.get(t).unMount():Array.prototype.forEach.call(t.querySelectorAll('[data-simplebar="init"]'),function(t){is.instances.has(t)&&!document.documentElement.contains(t)&&is.instances.get(t).unMount()}))})})},is.getOptions=Jn,Yt&&is.initHtmlApi(),is});
|
1 |
+
!function(t){"use strict";t(document).ready(function(){var e,r=null,i="",n=-1,s=t(document.activeElement).closest("form");function a(r,s){s||(s=1);var a=t(r),o=a.val()||"",c=a.parents(".is-ajax-search"),l=c.attr("data-min-no-for-search")||"",u=c.attr("data-result-box-max-height")||"400",h=t(c).attr("data-form-id");if(t(".is-form-id-"+h+" .is-search-input").val(o),""===i||i!==o.trim()||n!==h)i=o.trim(),n=h;else if(1===s)return void t("#is-ajax-search-result-"+h).show();if(1===s&&c.addClass("processing"),o.length>=l){if(1===s){if(t("#is-ajax-search-result-"+h+", #is-ajax-search-details-"+h).hide(),c.hasClass("is-form-style-1")){var f=c.find(".is-search-submit").outerWidth()+5;c.find(".is-loader-image").css("right",f+"px")}c.find(".is-loader-image").show()}var d={action:"is_ajax_load_posts",page:s,security:IvoryAjaxVars.ajax_nonce},p=c.serialize()+"&"+t.param(d);0===c.find('input[name="id"]').length&&(p+="&id="+h),e&&4!==e.readystate&&e.abort(),e=t.ajax({url:IvoryAjaxVars.ajaxurl,data:p,type:"POST",success:function(e){if("undefined"!=typeof IvorySearchVars&&void 0!==IvorySearchVars.is_analytics_enabled){var r=t(e).find(".is-ajax-search-no-result").length?"Nothing Found":"Results Found";ivory_search_analytics(h,o,r)}if(c.find(".is-loader-image").hide(),c.removeClass("processing"),1===s){var i=c.offset(),n=c.innerHeight(),a=c.outerWidth();a=a<500?500:a,0===t("#is-ajax-search-result-"+h).length&&t("body").append('<div id="is-ajax-search-result-'+h+'" class="is-ajax-search-result"></div>'),t("#is-ajax-search-result-"+h).css({width:a-10+"px"});var l=t("#is-ajax-search-result-"+h).outerWidth(),f=t(window).width(),d=0;if(i.left+l>f&&(d=i.left+l-f),t("#is-ajax-search-result-"+h).css({top:i.top+n+"px",left:i.left-d+"px",width:a-10+"px"}),t("#is-ajax-search-result-"+h).show().html(e),0!==t("#is-ajax-search-details-"+h).length&&t("body > #is-ajax-search-details-"+h).remove(),0!==t("#is-ajax-search-result-"+h+" .is-ajax-search-details").length){t("body").append('<div id="is-ajax-search-details-'+h+'" class="is-ajax-search-details">'+t("#is-ajax-search-result-"+h+" .is-ajax-search-details").html()+"</div>"),t("#is-ajax-search-result-"+h+" .is-ajax-search-details").remove();var p=t("#is-ajax-search-details-"+h).outerWidth(),v=i.left+l;if(i.left+l+p>f+30){var g=i.left-(d+p);g>-30&&(v=g)}t("#is-ajax-search-details-"+h).css({top:i.top+n+"px",left:v+"px"})}}else t("#is-ajax-search-result-"+h+" .is-show-more-results").remove(),t("#is-ajax-search-result-"+h+" .is-ajax-search-posts").append(e),0!==t("#is-ajax-search-result-"+h+" .is-ajax-search-posts .is-show-more-results").length&&(t("#is-ajax-search-result-"+h).append(t("#is-ajax-search-result-"+h+" .is-ajax-search-posts .is-show-more-results")[0].outerHTML),t("#is-ajax-search-result-"+h+" .is-ajax-search-posts .is-show-more-results").remove()),t("#is-ajax-search-details-"+h+" .is-ajax-search-posts-details").append(t("#is-ajax-search-result-"+h+" .is-ajax-search-items .is-ajax-search-posts-details").html()),t("#is-ajax-search-result-"+h+" .is-ajax-search-items .is-ajax-search-details").remove();var x=o.trim().split(" ");if(0!=x.length&&t.isFunction(t.fn.is_highlight)){var m,b,y,w=[".is-ajax-search-result"],E=jQuery.support.opacity?"mark":"span";for(y in w)if(0!=(m=t(w[y])).length){for(b in x)m.is_highlight(x[b],E,"is-highlight term-"+b),m.find("*").is_highlight(x[b],E,"is-highlight term-"+b);break}}t("#is-ajax-search-result-"+h+" .is-ajax-search-items, #is-ajax-search-details-"+h+" .is-ajax-search-items").css("max-height",u+"px"),t(".is-ajax-search-items").each(function(t,e){new SimpleBar(e)}),t(".is-ajax-search-result .is-ajax-search-post a").on("click",function(e){t("#is-popup-wrapper, .is-ajax-search-result, .is-ajax-search-details").fadeOut("slow")}),t(".is-ajax-woocommerce-actions .qty").on("change",function(){t(this).parent().next().find(".add_to_cart_button").attr("data-quantity",t(this).val())})},error:function(t,e,r){console.log(t.statusText),"abort"!==t.statusText&&console.log("AJAX request aborted")}})}else t("#is-ajax-search-result-"+h).hide(),c.removeClass("processing")}t("body").on("mouseover",".is-ajax-search-tags > div, .is-ajax-search-categories > div, .is-ajax-search-post.is-product",function(e){var r=t(window).outerWidth();if(parseInt(r)>=910){var i=t(this).attr("data-id")||"",n=t(e.target).closest(".is-ajax-search-result").attr("id").split(/[-]+/).pop(),s=t("#is-ajax-search-result-"+n).offset(),a=t(".is-form-id-"+n).attr("data-result-box-max-height")||"400";t("#is-ajax-search-details-"+n).css({top:s.top+"px"}),t("#is-ajax-search-details-"+n+" .is-ajax-search-items").css("height",a+"px"),t("#is-ajax-search-details-"+n+" .is-ajax-search-items > div").css("min-height",a+"px"),t(this).parents("div").hasClass("is-ajax-search-tags")&&t("#is-ajax-search-details-"+n+" .is-ajax-search-tags-details").length&&t("#is-ajax-search-details-"+n+' .is-ajax-search-tags-details > div[data-id="'+i+'"]').length?(t("#is-ajax-search-details-"+n+" .is-ajax-search-tags-details, #is-ajax-search-details-"+n).show(),t("#is-ajax-search-details-"+n+" .is-ajax-search-categories-details, #is-ajax-search-details-"+n+" .is-ajax-search-posts-details").hide(),t("#is-ajax-search-details-"+n+" .is-ajax-search-tags-details").find(" > div ").hide(),t("#is-ajax-search-details-"+n+" .is-ajax-search-tags-details").find(' > div[data-id="'+i+'"] ').show()):t(this).parents("div").hasClass("is-ajax-search-categories")&&t("#is-ajax-search-details-"+n+" .is-ajax-search-categories-details").length&&t("#is-ajax-search-details-"+n+' .is-ajax-search-categories-details > div[data-id="'+i+'"]').length?(t("#is-ajax-search-details-"+n+" .is-ajax-search-categories-details, #is-ajax-search-details-"+n).show(),t("#is-ajax-search-details-"+n+" .is-ajax-search-tags-details, #is-ajax-search-details-"+n+" .is-ajax-search-posts-details").hide(),t("#is-ajax-search-details-"+n+" .is-ajax-search-categories-details").find("> div ").hide(),t("#is-ajax-search-details-"+n+" .is-ajax-search-categories-details").find('> div[data-id="'+i+'"] ').show()):t(this).parents("div").hasClass("is-ajax-search-posts")&&(t("#is-ajax-search-details-"+n+" .is-ajax-search-tags-details, #is-ajax-search-details-"+n+" .is-ajax-search-categories-details").hide(),t("#is-ajax-search-details-"+n+" .is-ajax-search-posts-details").find("> div ").hide(),t("#is-ajax-search-details-"+n+" .is-ajax-search-posts-details, #is-ajax-search-details-"+n).show(),t("#is-ajax-search-details-"+n+" .is-ajax-search-posts-details").find('> div[data-id="'+i+'"] ').show())}}),t(".is-ajax-search .is-search-input").on("focusin, click",function(e){if(s=t(this).closest("form"),""!==t(this).val()&&0===t(e.target).closest("form.processing").length){var r=t(e.target).closest(".is-ajax-search").attr("data-form-id"),i=t(e.target).closest(".is-ajax-search").outerWidth();i=i<500?500:i,t("#is-ajax-search-result-"+r).css({width:i-10+"px"});var n=t(e.target).closest(".is-ajax-search").offset(),a=t(e.target).closest(".is-ajax-search").innerHeight(),o=t("#is-ajax-search-result-"+r).outerWidth(),c=t(window).width(),l=0;if(n.left+o>c&&(l=n.left+o-c),t("#is-ajax-search-result-"+r).css({top:n.top+a+"px",left:n.left-l+"px"}),t(".is-ajax-search-result, .is-ajax-search-details").hide(),t("#is-ajax-search-result-"+r).show(),0!==t("#is-ajax-search-details-"+r).length){var u=t("#is-ajax-search-details-"+r).outerWidth(),h=n.left+o;if(n.left+o+u>c+30){var f=n.left-(l+u);f>-30&&(h=f)}t("#is-ajax-search-details-"+r).css({top:n.top+a+"px",left:h+"px"})}}}),t("body").on("mousedown",function(e){0===e.button&&"s"!==t(e.target).attr("name")&&0===t(e.target).closest(".is-ajax-search-result").length&&0===t(e.target).closest(".is-ajax-search-details").length&&(t(".is-ajax-search-result, .is-ajax-search-details").hide(),s=!1)}),t(".is-disable-submit .is-search-submit").on("click",function(e){return t(this).parent().find(".is-search-input").trigger("keyup"),e.stopPropagation(),e.preventDefault(),!1}),t(document).on("click",".is-show-more-results",function(e){var r=t(e.target).closest(".is-ajax-search-result").attr("id").split(/[-]+/).pop();t(this).hasClass("redirect-tosr")?t(".is-form-id-"+r).submit():(t(this).find(".is-show-more-results-text").hide(),t(this).find(".is-load-more-image").show(),a(t(".is-form-id-"+r+" .is-search-input"),t(this).attr("data-page")||""))}),t(window).on("resize scroll",function(){if(t(s).hasClass("is-ajax-search")&&""!==t(s).find(".is-search-input").val()){var e=t(s).attr("data-form-id");if(0!==t("#is-ajax-search-result-"+e).length){var r=t(s).offset(),i=t(s).innerHeight(),n=t("#is-ajax-search-result-"+e).outerWidth(),a=t(window).width(),o=0;if(r.left+n>a&&(o=r.left+n-a),t("#is-ajax-search-result-"+e).css({top:r.top+i+"px",left:r.left-o+"px"}),t("#is-ajax-search-result-"+e).show(),0!==t("#is-ajax-search-details-"+e).length){var c=t("#is-ajax-search-details-"+e).outerWidth(),l=r.left+n;if(r.left+n+c>a+30){var u=r.left-(o+c);u>-30&&(l=u)}t("#is-ajax-search-details-"+e).css({top:r.top+i+"px",left:l+"px"})}}}}),t(".is-ajax-search .is-search-input").on("paste",function(){t(this).trigger("keyup")}),t(".is-ajax-search").each(function(e,i){t(i).find(".is-search-input").on("keyup",function(e){if(s=t(this).closest("form"),32!==e.which){var i=this;window.clearTimeout(r),r=window.setTimeout(function(){r=null,a(i)},500)}if(13===e.which)return e.stopPropagation(),e.preventDefault(),!1})}),t("form.is-ajax-search.is-disable-submit").on("submit",function(e){if(!t(".is-show-more-results.redirect-tosr").length)return e.stopPropagation(),e.preventDefault(),!1})})}(jQuery),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t=t||self).SimpleBar=e()}(this,function(){"use strict";var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function e(t,e){return t(e={exports:{}},e.exports),e.exports}var r,i,n,s="object",a=function(t){return t&&t.Math==Math&&t},o=a(typeof globalThis==s&&globalThis)||a(typeof window==s&&window)||a(typeof self==s&&self)||a(typeof t==s&&t)||Function("return this")(),c=function(t){try{return!!t()}catch(t){return!0}},l=!c(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}),u={}.propertyIsEnumerable,h=Object.getOwnPropertyDescriptor,f={f:h&&!u.call({1:2},1)?function(t){var e=h(this,t);return!!e&&e.enumerable}:u},d=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},p={}.toString,v=function(t){return p.call(t).slice(8,-1)},g="".split,x=c(function(){return!Object("z").propertyIsEnumerable(0)})?function(t){return"String"==v(t)?g.call(t,""):Object(t)}:Object,m=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},b=function(t){return x(m(t))},y=function(t){return"object"==typeof t?null!==t:"function"==typeof t},w=function(t,e){if(!y(t))return t;var r,i;if(e&&"function"==typeof(r=t.toString)&&!y(i=r.call(t)))return i;if("function"==typeof(r=t.valueOf)&&!y(i=r.call(t)))return i;if(!e&&"function"==typeof(r=t.toString)&&!y(i=r.call(t)))return i;throw TypeError("Can't convert object to primitive value")},E={}.hasOwnProperty,j=function(t,e){return E.call(t,e)},S=o.document,O=y(S)&&y(S.createElement),k=function(t){return O?S.createElement(t):{}},A=!l&&!c(function(){return 7!=Object.defineProperty(k("div"),"a",{get:function(){return 7}}).a}),T=Object.getOwnPropertyDescriptor,L={f:l?T:function(t,e){if(t=b(t),e=w(e,!0),A)try{return T(t,e)}catch(t){}if(j(t,e))return d(!f.f.call(t,e),t[e])}},_=function(t){if(!y(t))throw TypeError(String(t)+" is not an object");return t},z=Object.defineProperty,R={f:l?z:function(t,e,r){if(_(t),e=w(e,!0),_(r),A)try{return z(t,e,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},M=l?function(t,e,r){return R.f(t,e,d(1,r))}:function(t,e,r){return t[e]=r,t},C=function(t,e){try{M(o,t,e)}catch(r){o[t]=e}return e},W=e(function(t){var e=o["__core-js_shared__"]||C("__core-js_shared__",{});(t.exports=function(t,r){return e[t]||(e[t]=void 0!==r?r:{})})("versions",[]).push({version:"3.2.1",mode:"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})}),N=W("native-function-to-string",Function.toString),I=o.WeakMap,D="function"==typeof I&&/native code/.test(N.call(I)),B=0,P=Math.random(),V=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++B+P).toString(36)},F=W("keys"),H=function(t){return F[t]||(F[t]=V(t))},X={},q=o.WeakMap;if(D){var $=new q,Y=$.get,G=$.has,U=$.set;r=function(t,e){return U.call($,t,e),e},i=function(t){return Y.call($,t)||{}},n=function(t){return G.call($,t)}}else{var Q=H("state");X[Q]=!0,r=function(t,e){return M(t,Q,e),e},i=function(t){return j(t,Q)?t[Q]:{}},n=function(t){return j(t,Q)}}var J={set:r,get:i,has:n,enforce:function(t){return n(t)?i(t):r(t,{})},getterFor:function(t){return function(e){var r;if(!y(e)||(r=i(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return r}}},K=e(function(t){var e=J.get,r=J.enforce,i=String(N).split("toString");W("inspectSource",function(t){return N.call(t)}),(t.exports=function(t,e,n,s){var a=!!s&&!!s.unsafe,c=!!s&&!!s.enumerable,l=!!s&&!!s.noTargetGet;"function"==typeof n&&("string"!=typeof e||j(n,"name")||M(n,"name",e),r(n).source=i.join("string"==typeof e?e:"")),t!==o?(a?!l&&t[e]&&(c=!0):delete t[e],c?t[e]=n:M(t,e,n)):c?t[e]=n:C(e,n)})(Function.prototype,"toString",function(){return"function"==typeof this&&e(this).source||N.call(this)})}),Z=o,tt=function(t){return"function"==typeof t?t:void 0},et=function(t,e){return arguments.length<2?tt(Z[t])||tt(o[t]):Z[t]&&Z[t][e]||o[t]&&o[t][e]},rt=Math.ceil,it=Math.floor,nt=function(t){return isNaN(t=+t)?0:(t>0?it:rt)(t)},st=Math.min,at=function(t){return t>0?st(nt(t),9007199254740991):0},ot=Math.max,ct=Math.min,lt=function(t){return function(e,r,i){var n,s=b(e),a=at(s.length),o=function(t,e){var r=nt(i);return r<0?ot(r+e,0):ct(r,e)}(0,a);if(t&&r!=r){for(;a>o;)if((n=s[o++])!=n)return!0}else for(;a>o;o++)if((t||o in s)&&s[o]===r)return t||o||0;return!t&&-1}},ut=(lt(!0),lt(!1)),ht=function(t,e){var r,i=b(t),n=0,s=[];for(r in i)!j(X,r)&&j(i,r)&&s.push(r);for(;e.length>n;)j(i,r=e[n++])&&(~ut(s,r)||s.push(r));return s},ft=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],dt=ft.concat("length","prototype"),pt={f:Object.getOwnPropertyNames||function(t){return ht(t,dt)}},vt={f:Object.getOwnPropertySymbols},gt=et("Reflect","ownKeys")||function(t){var e=pt.f(_(t)),r=vt.f;return r?e.concat(r(t)):e},xt=function(t,e){for(var r=gt(e),i=R.f,n=L.f,s=0;s<r.length;s++){var a=r[s];j(t,a)||i(t,a,n(e,a))}},mt=/#|\.prototype\./,bt=function(t,e){var r=wt[yt(t)];return r==jt||r!=Et&&("function"==typeof e?c(e):!!e)},yt=bt.normalize=function(t){return String(t).replace(mt,".").toLowerCase()},wt=bt.data={},Et=bt.NATIVE="N",jt=bt.POLYFILL="P",St=bt,Ot=L.f,kt=function(t,e){var r,i,n,s,a,c=t.target,l=t.global,u=t.stat;if(r=l?o:u?o[c]||C(c,{}):(o[c]||{}).prototype)for(i in e){if(s=e[i],n=t.noTargetGet?(a=Ot(r,i))&&a.value:r[i],!St(l?i:c+(u?".":"#")+i,t.forced)&&void 0!==n){if(typeof s==typeof n)continue;xt(s,n)}(t.sham||n&&n.sham)&&M(s,"sham",!0),K(r,i,s,t)}},At=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t},Tt=function(t,e,r){if(At(t),void 0===e)return t;switch(r){case 0:return function(){return t.call(e)};case 1:return function(r){return t.call(e,r)};case 2:return function(r,i){return t.call(e,r,i)};case 3:return function(r,i,n){return t.call(e,r,i,n)}}return function(){return t.apply(e,arguments)}},Lt=function(t){return Object(m(t))},_t=Array.isArray||function(t){return"Array"==v(t)},zt=!!Object.getOwnPropertySymbols&&!c(function(){return!String(Symbol())}),Rt=o.Symbol,Mt=W("wks"),Ct=function(t){return Mt[t]||(Mt[t]=zt&&Rt[t]||(zt?Rt:V)("Symbol."+t))},Wt=Ct("species"),Nt=function(t,e){var r;return _t(t)&&("function"!=typeof(r=t.constructor)||r!==Array&&!_t(r.prototype)?y(r)&&null===(r=r[Wt])&&(r=void 0):r=void 0),new(void 0===r?Array:r)(0===e?0:e)},It=[].push,Dt=function(t){var e=1==t,r=2==t,i=3==t,n=4==t,s=6==t,a=5==t||s;return function(o,c,l,u){for(var h,f,d=Lt(o),p=x(d),v=Tt(c,l,3),g=at(p.length),m=0,b=u||Nt,y=e?b(o,g):r?b(o,0):void 0;g>m;m++)if((a||m in p)&&(f=v(h=p[m],m,d),t))if(e)y[m]=f;else if(f)switch(t){case 3:return!0;case 5:return h;case 6:return m;case 2:It.call(y,h)}else if(n)return!1;return s?-1:i||n?n:y}},Bt={forEach:Dt(0),map:Dt(1),filter:Dt(2),some:Dt(3),every:Dt(4),find:Dt(5),findIndex:Dt(6)},Pt=function(t,e){var r=[][t];return!r||!c(function(){r.call(null,e||function(){throw 1},1)})},Vt=Bt.forEach,Ft=Pt("forEach")?function(t){return Vt(this,t,arguments.length>1?arguments[1]:void 0)}:[].forEach;kt({target:"Array",proto:!0,forced:[].forEach!=Ft},{forEach:Ft});var Ht={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0};for(var Xt in Ht){var qt=o[Xt],$t=qt&&qt.prototype;if($t&&$t.forEach!==Ft)try{M($t,"forEach",Ft)}catch(t){$t.forEach=Ft}}var Yt=!("undefined"==typeof window||!window.document||!window.document.createElement),Gt=Ct("species"),Ut=Bt.filter;kt({target:"Array",proto:!0,forced:!!c(function(){var t=[];return(t.constructor={})[Gt]=function(){return{foo:1}},1!==t.filter(Boolean).foo})},{filter:function(t){return Ut(this,t,arguments.length>1?arguments[1]:void 0)}});var Qt=Object.keys||function(t){return ht(t,ft)},Jt=l?Object.defineProperties:function(t,e){_(t);for(var r,i=Qt(e),n=i.length,s=0;n>s;)R.f(t,r=i[s++],e[r]);return t},Kt=et("document","documentElement"),Zt=H("IE_PROTO"),te=function(){},ee=function(){var t,e=k("iframe"),r=ft.length;for(e.style.display="none",Kt.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),ee=t.F;r--;)delete ee.prototype[ft[r]];return ee()},re=Object.create||function(t,e){var r;return null!==t?(te.prototype=_(t),r=new te,te.prototype=null,r[Zt]=t):r=ee(),void 0===e?r:Jt(r,e)};X[Zt]=!0;var ie=Ct("unscopables"),ne=Array.prototype;null==ne[ie]&&M(ne,ie,re(null));var se,ae,oe,ce=function(t){ne[ie][t]=!0},le={},ue=!c(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}),he=H("IE_PROTO"),fe=Object.prototype,de=ue?Object.getPrototypeOf:function(t){return t=Lt(t),j(t,he)?t[he]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?fe:null},pe=Ct("iterator"),ve=!1;[].keys&&("next"in(oe=[].keys())?(ae=de(de(oe)))!==Object.prototype&&(se=ae):ve=!0),null==se&&(se={}),j(se,pe)||M(se,pe,function(){return this});var ge={IteratorPrototype:se,BUGGY_SAFARI_ITERATORS:ve},xe=R.f,me=Ct("toStringTag"),be=function(t,e,r){t&&!j(t=r?t:t.prototype,me)&&xe(t,me,{configurable:!0,value:e})},ye=ge.IteratorPrototype,we=function(){return this},Ee=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(r,[]),e=r instanceof Array}catch(t){}return function(r,i){return _(r),function(t){if(!y(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype")}(i),e?t.call(r,i):r.__proto__=i,r}}():void 0),je=ge.IteratorPrototype,Se=ge.BUGGY_SAFARI_ITERATORS,Oe=Ct("iterator"),ke=function(){return this},Ae=function(t,e,r,i,n,s,a){!function(t,e,r){var i=e+" Iterator";t.prototype=re(ye,{next:d(1,r)}),be(t,i,!1),le[i]=we}(r,e,i);var o,c,l,u=function(t){if(t===n&&g)return g;if(!Se&&t in p)return p[t];switch(t){case"keys":case"values":case"entries":return function(){return new r(this,t)}}return function(){return new r(this)}},h=e+" Iterator",f=!1,p=t.prototype,v=p[Oe]||p["@@iterator"]||n&&p[n],g=!Se&&v||u(n),x="Array"==e&&p.entries||v;if(x&&(o=de(x.call(new t)),je!==Object.prototype&&o.next&&(de(o)!==je&&(Ee?Ee(o,je):"function"!=typeof o[Oe]&&M(o,Oe,ke)),be(o,h,!0))),"values"==n&&v&&"values"!==v.name&&(f=!0,g=function(){return v.call(this)}),p[Oe]!==g&&M(p,Oe,g),le[e]=g,n)if(c={values:u("values"),keys:s?g:u("keys"),entries:u("entries")},a)for(l in c)!Se&&!f&&l in p||K(p,l,c[l]);else kt({target:e,proto:!0,forced:Se||f},c);return c},Te=J.set,Le=J.getterFor("Array Iterator"),_e=Ae(Array,"Array",function(t,e){Te(this,{type:"Array Iterator",target:b(t),index:0,kind:e})},function(){var t=Le(this),e=t.target,r=t.kind,i=t.index++;return!e||i>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:i,done:!1}:"values"==r?{value:e[i],done:!1}:{value:[i,e[i]],done:!1}},"values");le.Arguments=le.Array,ce("keys"),ce("values"),ce("entries");var ze=Object.assign,Re=!ze||c(function(){var t={},e={},r=Symbol();return t[r]=7,"abcdefghijklmnopqrst".split("").forEach(function(t){e[t]=t}),7!=ze({},t)[r]||"abcdefghijklmnopqrst"!=Qt(ze({},e)).join("")})?function(t,e){for(var r=Lt(t),i=arguments.length,n=1,s=vt.f,a=f.f;i>n;)for(var o,c=x(arguments[n++]),u=s?Qt(c).concat(s(c)):Qt(c),h=u.length,d=0;h>d;)o=u[d++],l&&!a.call(c,o)||(r[o]=c[o]);return r}:ze;kt({target:"Object",stat:!0,forced:Object.assign!==Re},{assign:Re});var Me=Ct("toStringTag"),Ce="Arguments"==v(function(){return arguments}()),We=function(t){var e,r,i;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),Me))?r:Ce?v(e):"Object"==(i=v(e))&&"function"==typeof e.callee?"Arguments":i},Ne={};Ne[Ct("toStringTag")]="z";var Ie="[object z]"!==String(Ne)?function(){return"[object "+We(this)+"]"}:Ne.toString,De=Object.prototype;Ie!==De.toString&&K(De,"toString",Ie,{unsafe:!0});var Be="\t\n\v\f\r \u2028\u2029\ufeff",Pe="["+Be+"]",Ve=RegExp("^"+Pe+Pe+"*"),Fe=RegExp(Pe+Pe+"*$"),He=function(t){return function(e){var r=String(m(e));return 1&t&&(r=r.replace(Ve,"")),2&t&&(r=r.replace(Fe,"")),r}},Xe=(He(1),He(2),He(3)),qe=o.parseInt,$e=/^[+-]?0[Xx]/,Ye=8!==qe(Be+"08")||22!==qe(Be+"0x16")?function(t,e){var r=Xe(String(t));return qe(r,e>>>0||($e.test(r)?16:10))}:qe;kt({global:!0,forced:parseInt!=Ye},{parseInt:Ye});var Ge=function(t){return function(e,r){var i,n,s=String(m(e)),a=nt(r),o=s.length;return a<0||a>=o?t?"":void 0:(i=s.charCodeAt(a))<55296||i>56319||a+1===o||(n=s.charCodeAt(a+1))<56320||n>57343?t?s.charAt(a):i:t?s.slice(a,a+2):n-56320+(i-55296<<10)+65536}},Ue={codeAt:Ge(!1),charAt:Ge(!0)},Qe=Ue.charAt,Je=J.set,Ke=J.getterFor("String Iterator");Ae(String,"String",function(t){Je(this,{type:"String Iterator",string:String(t),index:0})},function(){var t,e=Ke(this),r=e.string,i=e.index;return i>=r.length?{value:void 0,done:!0}:(t=Qe(r,i),e.index+=t.length,{value:t,done:!1})});var Ze=function(t,e,r){for(var i in e)K(t,i,e[i],r);return t},tr=!c(function(){return Object.isExtensible(Object.preventExtensions({}))}),er=e(function(t){var e=R.f,r=V("meta"),i=0,n=Object.isExtensible||function(){return!0},s=function(t){e(t,r,{value:{objectID:"O"+ ++i,weakData:{}}})},a=t.exports={REQUIRED:!1,fastKey:function(t,e){if(!y(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!j(t,r)){if(!n(t))return"F";if(!e)return"E";s(t)}return t[r].objectID},getWeakData:function(t,e){if(!j(t,r)){if(!n(t))return!0;if(!e)return!1;s(t)}return t[r].weakData},onFreeze:function(t){return tr&&a.REQUIRED&&n(t)&&!j(t,r)&&s(t),t}};X[r]=!0}),rr=(er.REQUIRED,er.fastKey,er.getWeakData,er.onFreeze,Ct("iterator")),ir=Array.prototype,nr=Ct("iterator"),sr=function(t,e,r,i){try{return i?e(_(r)[0],r[1]):e(r)}catch(e){var n=t.return;throw void 0!==n&&_(n.call(t)),e}},ar=e(function(t){var e=function(t,e){this.stopped=t,this.result=e};(t.exports=function(t,r,i,n,s){var a,o,c,l,u,h,f,d=Tt(r,i,n?2:1);if(s)a=t;else{if("function"!=typeof(o=function(t){if(null!=t)return t[nr]||t["@@iterator"]||le[We(t)]}(t)))throw TypeError("Target is not iterable");if(void 0!==(f=o)&&(le.Array===f||ir[rr]===f)){for(c=0,l=at(t.length);l>c;c++)if((u=n?d(_(h=t[c])[0],h[1]):d(t[c]))&&u instanceof e)return u;return new e(!1)}a=o.call(t)}for(;!(h=a.next()).done;)if((u=sr(a,d,h.value,n))&&u instanceof e)return u;return new e(!1)}).stop=function(t){return new e(!0,t)}}),or=function(t,e,r){if(!(t instanceof e))throw TypeError("Incorrect "+(r?r+" ":"")+"invocation");return t},cr=Ct("iterator"),lr=!1;try{var ur=0,hr={next:function(){return{done:!!ur++}},return:function(){lr=!0}};hr[cr]=function(){return this},Array.from(hr,function(){throw 2})}catch(t){}var fr=function(t,e,r,i,n){var s=o[t],a=s&&s.prototype,l=s,u=i?"set":"add",h={},f=function(t){var e=a[t];K(a,t,"add"==t?function(t){return e.call(this,0===t?0:t),this}:"delete"==t?function(t){return!(n&&!y(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return n&&!y(t)?void 0:e.call(this,0===t?0:t)}:"has"==t?function(t){return!(n&&!y(t))&&e.call(this,0===t?0:t)}:function(t,r){return e.call(this,0===t?0:t,r),this})};if(St(t,"function"!=typeof s||!(n||a.forEach&&!c(function(){(new s).entries().next()}))))l=r.getConstructor(e,t,i,u),er.REQUIRED=!0;else if(St(t,!0)){var d=new l,p=d[u](n?{}:-0,1)!=d,v=c(function(){d.has(1)}),g=function(t,e){if(!lr)return!1;var r=!1;try{var i={};i[cr]=function(){return{next:function(){return{done:r=!0}}}},function(t){new s(t)}(i)}catch(t){}return r}(),x=!n&&c(function(){for(var t=new s,e=5;e--;)t[u](e,e);return!t.has(-0)});g||((l=e(function(e,r){or(e,l,t);var n=function(t,e,r){var i,n;return Ee&&"function"==typeof(i=e.constructor)&&i!==r&&y(n=i.prototype)&&n!==r.prototype&&Ee(t,n),t}(new s,e,l);return null!=r&&ar(r,n[u],n,i),n})).prototype=a,a.constructor=l),(v||x)&&(f("delete"),f("has"),i&&f("get")),(x||p)&&f(u),n&&a.clear&&delete a.clear}return h[t]=l,kt({global:!0,forced:l!=s},h),be(l,t),n||r.setStrong(l,t,i),l},dr=er.getWeakData,pr=J.set,vr=J.getterFor,gr=Bt.find,xr=Bt.findIndex,mr=0,br=function(t){return t.frozen||(t.frozen=new yr)},yr=function(){this.entries=[]},wr=function(t,e){return gr(t.entries,function(t){return t[0]===e})};yr.prototype={get:function(t){var e=wr(this,t);if(e)return e[1]},has:function(t){return!!wr(this,t)},set:function(t,e){var r=wr(this,t);r?r[1]=e:this.entries.push([t,e])},delete:function(t){var e=xr(this.entries,function(e){return e[0]===t});return~e&&this.entries.splice(e,1),!!~e}};var Er={getConstructor:function(t,e,r,i){var n=t(function(t,s){or(t,n,e),pr(t,{type:e,id:mr++,frozen:void 0}),null!=s&&ar(s,t[i],t,r)}),s=vr(e),a=function(t,e,r){var i=s(t),n=dr(_(e),!0);return!0===n?br(i).set(e,r):n[i.id]=r,t};return Ze(n.prototype,{delete:function(t){var e=s(this);if(!y(t))return!1;var r=dr(t);return!0===r?br(e).delete(t):r&&j(r,e.id)&&delete r[e.id]},has:function(t){var e=s(this);if(!y(t))return!1;var r=dr(t);return!0===r?br(e).has(t):r&&j(r,e.id)}}),Ze(n.prototype,r?{get:function(t){var e=s(this);if(y(t)){var r=dr(t);return!0===r?br(e).get(t):r?r[e.id]:void 0}},set:function(t,e){return a(this,t,e)}}:{add:function(t){return a(this,t,!0)}}),n}},jr=(e(function(t){var e,r=J.enforce,i=!o.ActiveXObject&&"ActiveXObject"in o,n=Object.isExtensible,s=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},a=t.exports=fr("WeakMap",s,Er,!0,!0);if(D&&i){e=Er.getConstructor(s,"WeakMap",!0),er.REQUIRED=!0;var c=a.prototype,l=c.delete,u=c.has,h=c.get,f=c.set;Ze(c,{delete:function(t){if(y(t)&&!n(t)){var i=r(this);return i.frozen||(i.frozen=new e),l.call(this,t)||i.frozen.delete(t)}return l.call(this,t)},has:function(t){if(y(t)&&!n(t)){var i=r(this);return i.frozen||(i.frozen=new e),u.call(this,t)||i.frozen.has(t)}return u.call(this,t)},get:function(t){if(y(t)&&!n(t)){var i=r(this);return i.frozen||(i.frozen=new e),u.call(this,t)?h.call(this,t):i.frozen.get(t)}return h.call(this,t)},set:function(t,i){if(y(t)&&!n(t)){var s=r(this);s.frozen||(s.frozen=new e),u.call(this,t)?f.call(this,t,i):s.frozen.set(t,i)}else f.call(this,t,i);return this}})}}),Ct("iterator")),Sr=Ct("toStringTag"),Or=_e.values;for(var kr in Ht){var Ar=o[kr],Tr=Ar&&Ar.prototype;if(Tr){if(Tr[jr]!==Or)try{M(Tr,jr,Or)}catch(t){Tr[jr]=Or}if(Tr[Sr]||M(Tr,Sr,kr),Ht[kr])for(var Lr in _e)if(Tr[Lr]!==_e[Lr])try{M(Tr,Lr,_e[Lr])}catch(t){Tr[Lr]=_e[Lr]}}}var _r="Expected a function",zr=NaN,Rr="[object Symbol]",Mr=/^\s+|\s+$/g,Cr=/^[-+]0x[0-9a-f]+$/i,Wr=/^0b[01]+$/i,Nr=/^0o[0-7]+$/i,Ir=parseInt,Dr="object"==typeof t&&t&&t.Object===Object&&t,Br="object"==typeof self&&self&&self.Object===Object&&self,Pr=Dr||Br||Function("return this")(),Vr=Object.prototype.toString,Fr=Math.max,Hr=Math.min,Xr=function(){return Pr.Date.now()};function qr(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function $r(t){if("number"==typeof t)return t;if(function(t){return"symbol"==typeof t||function(t){return!!t&&"object"==typeof t}(t)&&Vr.call(t)==Rr}(t))return zr;if(qr(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=qr(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(Mr,"");var r=Wr.test(t);return r||Nr.test(t)?Ir(t.slice(2),r?2:8):Cr.test(t)?zr:+t}var Yr=function(t,e,r){var i=!0,n=!0;if("function"!=typeof t)throw new TypeError(_r);return qr(r)&&(i="leading"in r?!!r.leading:i,n="trailing"in r?!!r.trailing:n),function(t,e,r){var i,n,s,a,o,c,l=0,u=!1,h=!1,f=!0;if("function"!=typeof t)throw new TypeError(_r);function d(e){var r=i,s=n;return i=n=void 0,l=e,a=t.apply(s,r)}function p(t){var r=t-c;return void 0===c||r>=e||r<0||h&&t-l>=s}function v(){var t=Xr();if(p(t))return g(t);o=setTimeout(v,function(t){var r=e-(t-c);return h?Hr(r,s-(t-l)):r}(t))}function g(t){return o=void 0,f&&i?d(t):(i=n=void 0,a)}function x(){var t=Xr(),r=p(t);if(i=arguments,n=this,c=t,r){if(void 0===o)return function(t){return l=t,o=setTimeout(v,e),u?d(t):a}(c);if(h)return o=setTimeout(v,e),d(c)}return void 0===o&&(o=setTimeout(v,e)),a}return e=$r(e)||0,qr(r)&&(u=!!r.leading,s=(h="maxWait"in r)?Fr($r(r.maxWait)||0,e):s,f="trailing"in r?!!r.trailing:f),x.cancel=function(){void 0!==o&&clearTimeout(o),l=0,i=c=n=o=void 0},x.flush=function(){return void 0===o?a:g(Xr())},x}(t,e,{leading:i,maxWait:e,trailing:n})},Gr=NaN,Ur="[object Symbol]",Qr=/^\s+|\s+$/g,Jr=/^[-+]0x[0-9a-f]+$/i,Kr=/^0b[01]+$/i,Zr=/^0o[0-7]+$/i,ti=parseInt,ei="object"==typeof t&&t&&t.Object===Object&&t,ri="object"==typeof self&&self&&self.Object===Object&&self,ii=ei||ri||Function("return this")(),ni=Object.prototype.toString,si=Math.max,ai=Math.min,oi=function(){return ii.Date.now()};function ci(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function li(t){if("number"==typeof t)return t;if(function(t){return"symbol"==typeof t||function(t){return!!t&&"object"==typeof t}(t)&&ni.call(t)==Ur}(t))return Gr;if(ci(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=ci(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(Qr,"");var r=Kr.test(t);return r||Zr.test(t)?ti(t.slice(2),r?2:8):Jr.test(t)?Gr:+t}var ui=function(t,e,r){var i,n,s,a,o,c,l=0,u=!1,h=!1,f=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function d(e){var r=i,s=n;return i=n=void 0,l=e,a=t.apply(s,r)}function p(t){var r=t-c;return void 0===c||r>=e||r<0||h&&t-l>=s}function v(){var t=oi();if(p(t))return g(t);o=setTimeout(v,function(t){var r=e-(t-c);return h?ai(r,s-(t-l)):r}(t))}function g(t){return o=void 0,f&&i?d(t):(i=n=void 0,a)}function x(){var t=oi(),r=p(t);if(i=arguments,n=this,c=t,r){if(void 0===o)return function(t){return l=t,o=setTimeout(v,e),u?d(t):a}(c);if(h)return o=setTimeout(v,e),d(c)}return void 0===o&&(o=setTimeout(v,e)),a}return e=li(e)||0,ci(r)&&(u=!!r.leading,s=(h="maxWait"in r)?si(li(r.maxWait)||0,e):s,f="trailing"in r?!!r.trailing:f),x.cancel=function(){void 0!==o&&clearTimeout(o),l=0,i=c=n=o=void 0},x.flush=function(){return void 0===o?a:g(oi())},x},hi="Expected a function",fi="__lodash_hash_undefined__",di="[object Function]",pi="[object GeneratorFunction]",vi=/^\[object .+?Constructor\]$/,gi="object"==typeof t&&t&&t.Object===Object&&t,xi="object"==typeof self&&self&&self.Object===Object&&self,mi=gi||xi||Function("return this")(),bi=Array.prototype,yi=Function.prototype,wi=Object.prototype,Ei=mi["__core-js_shared__"],ji=function(){var t=/[^.]+$/.exec(Ei&&Ei.keys&&Ei.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),Si=yi.toString,Oi=wi.hasOwnProperty,ki=wi.toString,Ai=RegExp("^"+Si.call(Oi).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ti=bi.splice,Li=Ni(mi,"Map"),_i=Ni(Object,"create");function zi(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var i=t[e];this.set(i[0],i[1])}}function Ri(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var i=t[e];this.set(i[0],i[1])}}function Mi(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var i=t[e];this.set(i[0],i[1])}}function Ci(t,e){for(var r,i,n=t.length;n--;)if((r=t[n][0])===(i=e)||r!=r&&i!=i)return n;return-1}function Wi(t,e){var r,i,n=t.__data__;return("string"==(i=typeof(r=e))||"number"==i||"symbol"==i||"boolean"==i?"__proto__"!==r:null===r)?n["string"==typeof e?"string":"hash"]:n.map}function Ni(t,e){var r=function(t,e){return null==t?void 0:t[e]}(t,e);return function(t){return!(!Di(t)||(e=t,ji&&ji in e))&&(function(t){var e=Di(t)?ki.call(t):"";return e==di||e==pi}(t)||function(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(t){}return e}(t)?Ai:vi).test(function(t){if(null!=t){try{return Si.call(t)}catch(t){}try{return t+""}catch(t){}}return""}(t));var e}(r)?r:void 0}function Ii(t,e){if("function"!=typeof t||e&&"function"!=typeof e)throw new TypeError(hi);var r=function(){var i=arguments,n=e?e.apply(this,i):i[0],s=r.cache;if(s.has(n))return s.get(n);var a=t.apply(this,i);return r.cache=s.set(n,a),a};return r.cache=new(Ii.Cache||Mi),r}function Di(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}zi.prototype.clear=function(){this.__data__=_i?_i(null):{}},zi.prototype.delete=function(t){return this.has(t)&&delete this.__data__[t]},zi.prototype.get=function(t){var e=this.__data__;if(_i){var r=e[t];return r===fi?void 0:r}return Oi.call(e,t)?e[t]:void 0},zi.prototype.has=function(t){var e=this.__data__;return _i?void 0!==e[t]:Oi.call(e,t)},zi.prototype.set=function(t,e){return this.__data__[t]=_i&&void 0===e?fi:e,this},Ri.prototype.clear=function(){this.__data__=[]},Ri.prototype.delete=function(t){var e=this.__data__,r=Ci(e,t);return!(r<0||(r==e.length-1?e.pop():Ti.call(e,r,1),0))},Ri.prototype.get=function(t){var e=this.__data__,r=Ci(e,t);return r<0?void 0:e[r][1]},Ri.prototype.has=function(t){return Ci(this.__data__,t)>-1},Ri.prototype.set=function(t,e){var r=this.__data__,i=Ci(r,t);return i<0?r.push([t,e]):r[i][1]=e,this},Mi.prototype.clear=function(){this.__data__={hash:new zi,map:new(Li||Ri),string:new zi}},Mi.prototype.delete=function(t){return Wi(this,t).delete(t)},Mi.prototype.get=function(t){return Wi(this,t).get(t)},Mi.prototype.has=function(t){return Wi(this,t).has(t)},Mi.prototype.set=function(t,e){return Wi(this,t).set(t,e),this},Ii.Cache=Mi;var Bi,Pi=Ii,Vi=[],Fi="ResizeObserver loop completed with undelivered notifications.";!function(t){t.BORDER_BOX="border-box",t.CONTENT_BOX="content-box",t.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"}(Bi||(Bi={}));var Hi,Xi=function(t){return Object.freeze(t)},qi=function(t,e){this.inlineSize=t,this.blockSize=e,Xi(this)},$i=function(){function t(t,e,r,i){return this.x=t,this.y=e,this.width=r,this.height=i,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,Xi(this)}return t.prototype.toJSON=function(){var t=this;return{x:t.x,y:t.y,top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.width,height:t.height}},t.fromRect=function(e){return new t(e.x,e.y,e.width,e.height)},t}(),Yi=function(t){return t instanceof SVGElement&&"getBBox"in t},Gi=function(t){if(Yi(t)){var e=t.getBBox(),r=e.width,i=e.height;return!r&&!i}var n=t,s=n.offsetWidth,a=n.offsetHeight;return!(s||a||t.getClientRects().length)},Ui=function(t){var e,r;if(t instanceof Element)return!0;var i=null===(r=null===(e=t)||void 0===e?void 0:e.ownerDocument)||void 0===r?void 0:r.defaultView;return!!(i&&t instanceof i.Element)},Qi="undefined"!=typeof window?window:{},Ji=new WeakMap,Ki=/auto|scroll/,Zi=/^tb|vertical/,tn=/msie|trident/i.test(Qi.navigator&&Qi.navigator.userAgent),en=function(t){return parseFloat(t||"0")},rn=function(t,e,r){return void 0===t&&(t=0),void 0===e&&(e=0),void 0===r&&(r=!1),new qi((r?e:t)||0,(r?t:e)||0)},nn=Xi({devicePixelContentBoxSize:rn(),borderBoxSize:rn(),contentBoxSize:rn(),contentRect:new $i(0,0,0,0)}),sn=function(t,e){if(void 0===e&&(e=!1),Ji.has(t)&&!e)return Ji.get(t);if(Gi(t))return Ji.set(t,nn),nn;var r=getComputedStyle(t),i=Yi(t)&&t.ownerSVGElement&&t.getBBox(),n=!tn&&"border-box"===r.boxSizing,s=Zi.test(r.writingMode||""),a=!i&&Ki.test(r.overflowY||""),o=!i&&Ki.test(r.overflowX||""),c=i?0:en(r.paddingTop),l=i?0:en(r.paddingRight),u=i?0:en(r.paddingBottom),h=i?0:en(r.paddingLeft),f=i?0:en(r.borderTopWidth),d=i?0:en(r.borderRightWidth),p=i?0:en(r.borderBottomWidth),v=h+l,g=c+u,x=(i?0:en(r.borderLeftWidth))+d,m=f+p,b=o?t.offsetHeight-m-t.clientHeight:0,y=a?t.offsetWidth-x-t.clientWidth:0,w=n?v+x:0,E=n?g+m:0,j=i?i.width:en(r.width)-w-y,S=i?i.height:en(r.height)-E-b,O=j+v+y+x,k=S+g+b+m,A=Xi({devicePixelContentBoxSize:rn(Math.round(j*devicePixelRatio),Math.round(S*devicePixelRatio),s),borderBoxSize:rn(O,k,s),contentBoxSize:rn(j,S,s),contentRect:new $i(h,c,j,S)});return Ji.set(t,A),A},an=function(t,e,r){var i=sn(t,r),n=i.borderBoxSize,s=i.contentBoxSize,a=i.devicePixelContentBoxSize;switch(e){case Bi.DEVICE_PIXEL_CONTENT_BOX:return a;case Bi.BORDER_BOX:return n;default:return s}},on=function(t){var e=sn(t);this.target=t,this.contentRect=e.contentRect,this.borderBoxSize=Xi([e.borderBoxSize]),this.contentBoxSize=Xi([e.contentBoxSize]),this.devicePixelContentBoxSize=Xi([e.devicePixelContentBoxSize])},cn=function(t){if(Gi(t))return 1/0;for(var e=0,r=t.parentNode;r;)e+=1,r=r.parentNode;return e},ln=function(){var t=1/0,e=[];Vi.forEach(function(r){if(0!==r.activeTargets.length){var i=[];r.activeTargets.forEach(function(e){var r=new on(e.target),n=cn(e.target);i.push(r),e.lastReportedSize=an(e.target,e.observedBox),n<t&&(t=n)}),e.push(function(){r.callback.call(r.observer,i,r.observer)}),r.activeTargets.splice(0,r.activeTargets.length)}});for(var r=0,i=e;r<i.length;r++)(0,i[r])();return t},un=function(t){Vi.forEach(function(e){e.activeTargets.splice(0,e.activeTargets.length),e.skippedTargets.splice(0,e.skippedTargets.length),e.observationTargets.forEach(function(r){r.isActive()&&(cn(r.target)>t?e.activeTargets.push(r):e.skippedTargets.push(r))})})},hn=[],fn=0,dn={attributes:!0,characterData:!0,childList:!0,subtree:!0},pn=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],vn=function(t){return void 0===t&&(t=0),Date.now()+t},gn=!1,xn=new(function(){function t(){var t=this;this.stopped=!0,this.listener=function(){return t.schedule()}}return t.prototype.run=function(t){var e=this;if(void 0===t&&(t=250),!gn){gn=!0;var r,i=vn(t);r=function(){var r=!1;try{r=function(){var t,e=0;for(un(e);Vi.some(function(t){return t.activeTargets.length>0});)e=ln(),un(e);return Vi.some(function(t){return t.skippedTargets.length>0})&&("function"==typeof ErrorEvent?t=new ErrorEvent("error",{message:Fi}):((t=document.createEvent("Event")).initEvent("error",!1,!1),t.message=Fi),window.dispatchEvent(t)),e>0}()}finally{if(gn=!1,t=i-vn(),!fn)return;r?e.run(1e3):t>0?e.run(t):e.start()}},function(t){if(!Hi){var e=0,r=document.createTextNode("");new MutationObserver(function(){return hn.splice(0).forEach(function(t){return t()})}).observe(r,{characterData:!0}),Hi=function(){r.textContent=""+(e?e--:e++)}}hn.push(t),Hi()}(function(){requestAnimationFrame(r)})}},t.prototype.schedule=function(){this.stop(),this.run()},t.prototype.observe=function(){var t=this,e=function(){return t.observer&&t.observer.observe(document.body,dn)};document.body?e():Qi.addEventListener("DOMContentLoaded",e)},t.prototype.start=function(){var t=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),pn.forEach(function(e){return Qi.addEventListener(e,t.listener,!0)}))},t.prototype.stop=function(){var t=this;this.stopped||(this.observer&&this.observer.disconnect(),pn.forEach(function(e){return Qi.removeEventListener(e,t.listener,!0)}),this.stopped=!0)},t}()),mn=function(t){!fn&&t>0&&xn.start(),!(fn+=t)&&xn.stop()},bn=function(){function t(t,e){this.target=t,this.observedBox=e||Bi.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return t.prototype.isActive=function(){var t,e=an(this.target,this.observedBox,!0);return t=this.target,Yi(t)||function(t){switch(t.tagName){case"INPUT":if("image"!==t.type)break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1}(t)||"inline"!==getComputedStyle(t).display||(this.lastReportedSize=e),this.lastReportedSize.inlineSize!==e.inlineSize||this.lastReportedSize.blockSize!==e.blockSize},t}(),yn=function(t,e){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=t,this.callback=e},wn=new WeakMap,En=function(t,e){for(var r=0;r<t.length;r+=1)if(t[r].target===e)return r;return-1},jn=function(){function t(){}return t.connect=function(t,e){var r=new yn(t,e);wn.set(t,r)},t.observe=function(t,e,r){var i=wn.get(t),n=0===i.observationTargets.length;En(i.observationTargets,e)<0&&(n&&Vi.push(i),i.observationTargets.push(new bn(e,r&&r.box)),mn(1),xn.schedule())},t.unobserve=function(t,e){var r=wn.get(t),i=En(r.observationTargets,e),n=1===r.observationTargets.length;i>=0&&(n&&Vi.splice(Vi.indexOf(r),1),r.observationTargets.splice(i,1),mn(-1))},t.disconnect=function(t){var e=this,r=wn.get(t);r.observationTargets.slice().forEach(function(r){return e.unobserve(t,r.target)}),r.activeTargets.splice(0,r.activeTargets.length)},t}(),Sn=function(){function t(t){if(0===arguments.length)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if("function"!=typeof t)throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");jn.connect(this,t)}return t.prototype.observe=function(t,e){if(0===arguments.length)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!Ui(t))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");jn.observe(this,t,e)},t.prototype.unobserve=function(t){if(0===arguments.length)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!Ui(t))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");jn.unobserve(this,t)},t.prototype.disconnect=function(){jn.disconnect(this)},t.toString=function(){return"function ResizeObserver () { [polyfill code] }"},t}(),On=function(t){return function(e,r,i,n){At(r);var s=Lt(e),a=x(s),o=at(s.length),c=t?o-1:0,l=t?-1:1;if(i<2)for(;;){if(c in a){n=a[c],c+=l;break}if(c+=l,t?c<0:o<=c)throw TypeError("Reduce of empty array with no initial value")}for(;t?c>=0:o>c;c+=l)c in a&&(n=r(n,a[c],c,s));return n}},kn=[On(!1),On(!0)][0];kt({target:"Array",proto:!0,forced:Pt("reduce")},{reduce:function(t){return kn(this,t,arguments.length,arguments.length>1?arguments[1]:void 0)}});var An=R.f,Tn=Function.prototype,Ln=Tn.toString,_n=/^\s*function ([^ (]*)/;!l||"name"in Tn||An(Tn,"name",{configurable:!0,get:function(){try{return Ln.call(this).match(_n)[1]}catch(t){return""}}});var zn,Rn,Mn=RegExp.prototype.exec,Cn=String.prototype.replace,Wn=Mn,Nn=(zn=/a/,Rn=/b*/g,Mn.call(zn,"a"),Mn.call(Rn,"a"),0!==zn.lastIndex||0!==Rn.lastIndex),In=void 0!==/()??/.exec("")[1];(Nn||In)&&(Wn=function(t){var e,r,i,n,s=this;return In&&(r=new RegExp("^"+s.source+"$(?!\\s)",function(){var t=_(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}.call(s))),Nn&&(e=s.lastIndex),i=Mn.call(s,t),Nn&&i&&(s.lastIndex=s.global?i.index+i[0].length:e),In&&i&&i.length>1&&Cn.call(i[0],r,function(){for(n=1;n<arguments.length-2;n++)void 0===arguments[n]&&(i[n]=void 0)}),i});var Dn=Wn;kt({target:"RegExp",proto:!0,forced:/./.exec!==Dn},{exec:Dn});var Bn=Ct("species"),Pn=!c(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}),Vn=!c(function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var r="ab".split(t);return 2!==r.length||"a"!==r[0]||"b"!==r[1]}),Fn=function(t,e,r,i){var n=Ct(t),s=!c(function(){var e={};return e[n]=function(){return 7},7!=""[t](e)}),a=s&&!c(function(){var e=!1,r=/a/;return r.exec=function(){return e=!0,null},"split"===t&&(r.constructor={},r.constructor[Bn]=function(){return r}),r[n](""),!e});if(!s||!a||"replace"===t&&!Pn||"split"===t&&!Vn){var o=/./[n],l=r(n,""[t],function(t,e,r,i,n){return e.exec===Dn?s&&!n?{done:!0,value:o.call(e,r,i)}:{done:!0,value:t.call(r,e,i)}:{done:!1}}),u=l[0],h=l[1];K(String.prototype,t,u),K(RegExp.prototype,n,2==e?function(t,e){return h.call(t,this,e)}:function(t){return h.call(t,this)}),i&&M(RegExp.prototype[n],"sham",!0)}},Hn=Ue.charAt,Xn=function(t,e,r){return e+(r?Hn(t,e).length:1)},qn=function(t,e){var r=t.exec;if("function"==typeof r){var i=r.call(t,e);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==v(t))throw TypeError("RegExp#exec called on incompatible receiver");return Dn.call(t,e)};Fn("match",1,function(t,e,r){return[function(e){var r=m(this),i=null==e?void 0:e[t];return void 0!==i?i.call(e,r):new RegExp(e)[t](String(r))},function(t){var i=r(e,t,this);if(i.done)return i.value;var n=_(t),s=String(this);if(!n.global)return qn(n,s);var a=n.unicode;n.lastIndex=0;for(var o,c=[],l=0;null!==(o=qn(n,s));){var u=String(o[0]);c[l]=u,""===u&&(n.lastIndex=Xn(s,at(n.lastIndex),a)),l++}return 0===l?null:c}]});var $n=Math.max,Yn=Math.min,Gn=Math.floor,Un=/\$([$&'`]|\d\d?|<[^>]*>)/g,Qn=/\$([$&'`]|\d\d?)/g;Fn("replace",2,function(t,e,r){return[function(r,i){var n=m(this),s=null==r?void 0:r[t];return void 0!==s?s.call(r,n,i):e.call(String(n),r,i)},function(t,n){var s=r(e,t,this,n);if(s.done)return s.value;var a=_(t),o=String(this),c="function"==typeof n;c||(n=String(n));var l=a.global;if(l){var u=a.unicode;a.lastIndex=0}for(var h=[];;){var f=qn(a,o);if(null===f)break;if(h.push(f),!l)break;""===String(f[0])&&(a.lastIndex=Xn(o,at(a.lastIndex),u))}for(var d,p="",v=0,g=0;g<h.length;g++){f=h[g];for(var x=String(f[0]),m=$n(Yn(nt(f.index),o.length),0),b=[],y=1;y<f.length;y++)b.push(void 0===(d=f[y])?d:String(d));var w=f.groups;if(c){var E=[x].concat(b,m,o);void 0!==w&&E.push(w);var j=String(n.apply(void 0,E))}else j=i(x,o,m,b,w,n);m>=v&&(p+=o.slice(v,m)+j,v=m+x.length)}return p+o.slice(v)}];function i(t,r,i,n,s,a){var o=i+t.length,c=n.length,l=Qn;return void 0!==s&&(s=Lt(s),l=Un),e.call(a,l,function(e,a){var l;switch(a.charAt(0)){case"$":return"$";case"&":return t;case"`":return r.slice(0,i);case"'":return r.slice(o);case"<":l=s[a.slice(1,-1)];break;default:var u=+a;if(0===u)return e;if(u>c){var h=Gn(u/10);return 0===h?e:h<=c?void 0===n[h-1]?a.charAt(1):n[h-1]+a.charAt(1):e}l=n[u-1]}return void 0===l?"":l})}});var Jn=function(t){return Array.prototype.reduce.call(t,function(t,e){var r=e.name.match(/data-simplebar-(.+)/);if(r){var i=r[1].replace(/\W+(.)/g,function(t,e){return e.toUpperCase()});switch(e.value){case"true":t[i]=!0;break;case"false":t[i]=!1;break;case void 0:t[i]=!0;break;default:t[i]=e.value}}return t},{})};function Kn(t){return t&&t.ownerDocument&&t.ownerDocument.defaultView?t.ownerDocument.defaultView:window}function Zn(t){return t&&t.ownerDocument?t.ownerDocument:document}var ts=null,es=null;function rs(t){if(null===ts){var e=Zn(t);if(void 0===e)return ts=0;var r=e.body,i=e.createElement("div");i.classList.add("simplebar-hide-scrollbar"),r.appendChild(i);var n=i.getBoundingClientRect().right;r.removeChild(i),ts=n}return ts}Yt&&window.addEventListener("resize",function(){es!==window.devicePixelRatio&&(es=window.devicePixelRatio,ts=null)});var is=function(){function t(e,r){var i=this;this.onScroll=function(){var t=Kn(i.el);i.scrollXTicking||(t.requestAnimationFrame(i.scrollX),i.scrollXTicking=!0),i.scrollYTicking||(t.requestAnimationFrame(i.scrollY),i.scrollYTicking=!0)},this.scrollX=function(){i.axis.x.isOverflowing&&(i.showScrollbar("x"),i.positionScrollbar("x")),i.scrollXTicking=!1},this.scrollY=function(){i.axis.y.isOverflowing&&(i.showScrollbar("y"),i.positionScrollbar("y")),i.scrollYTicking=!1},this.onMouseEnter=function(){i.showScrollbar("x"),i.showScrollbar("y")},this.onMouseMove=function(t){i.mouseX=t.clientX,i.mouseY=t.clientY,(i.axis.x.isOverflowing||i.axis.x.forceVisible)&&i.onMouseMoveForAxis("x"),(i.axis.y.isOverflowing||i.axis.y.forceVisible)&&i.onMouseMoveForAxis("y")},this.onMouseLeave=function(){i.onMouseMove.cancel(),(i.axis.x.isOverflowing||i.axis.x.forceVisible)&&i.onMouseLeaveForAxis("x"),(i.axis.y.isOverflowing||i.axis.y.forceVisible)&&i.onMouseLeaveForAxis("y"),i.mouseX=-1,i.mouseY=-1},this.onWindowResize=function(){i.scrollbarWidth=i.getScrollbarWidth(),i.hideNativeScrollbar()},this.hideScrollbars=function(){i.axis.x.track.rect=i.axis.x.track.el.getBoundingClientRect(),i.axis.y.track.rect=i.axis.y.track.el.getBoundingClientRect(),i.isWithinBounds(i.axis.y.track.rect)||(i.axis.y.scrollbar.el.classList.remove(i.classNames.visible),i.axis.y.isVisible=!1),i.isWithinBounds(i.axis.x.track.rect)||(i.axis.x.scrollbar.el.classList.remove(i.classNames.visible),i.axis.x.isVisible=!1)},this.onPointerEvent=function(t){var e,r;i.axis.x.track.rect=i.axis.x.track.el.getBoundingClientRect(),i.axis.y.track.rect=i.axis.y.track.el.getBoundingClientRect(),(i.axis.x.isOverflowing||i.axis.x.forceVisible)&&(e=i.isWithinBounds(i.axis.x.track.rect)),(i.axis.y.isOverflowing||i.axis.y.forceVisible)&&(r=i.isWithinBounds(i.axis.y.track.rect)),(e||r)&&(t.preventDefault(),t.stopPropagation(),"mousedown"===t.type&&(e&&(i.axis.x.scrollbar.rect=i.axis.x.scrollbar.el.getBoundingClientRect(),i.isWithinBounds(i.axis.x.scrollbar.rect)?i.onDragStart(t,"x"):i.onTrackClick(t,"x")),r&&(i.axis.y.scrollbar.rect=i.axis.y.scrollbar.el.getBoundingClientRect(),i.isWithinBounds(i.axis.y.scrollbar.rect)?i.onDragStart(t,"y"):i.onTrackClick(t,"y"))))},this.drag=function(e){var r=i.axis[i.draggedAxis].track,n=r.rect[i.axis[i.draggedAxis].sizeAttr],s=i.axis[i.draggedAxis].scrollbar,a=i.contentWrapperEl[i.axis[i.draggedAxis].scrollSizeAttr],o=parseInt(i.elStyles[i.axis[i.draggedAxis].sizeAttr],10);e.preventDefault(),e.stopPropagation();var c=(("y"===i.draggedAxis?e.pageY:e.pageX)-r.rect[i.axis[i.draggedAxis].offsetAttr]-i.axis[i.draggedAxis].dragOffset)/(n-s.size)*(a-o);"x"===i.draggedAxis&&(c=i.isRtl&&t.getRtlHelpers().isRtlScrollbarInverted?c-(n+s.size):c,c=i.isRtl&&t.getRtlHelpers().isRtlScrollingInverted?-c:c),i.contentWrapperEl[i.axis[i.draggedAxis].scrollOffsetAttr]=c},this.onEndDrag=function(t){var e=Zn(i.el),r=Kn(i.el);t.preventDefault(),t.stopPropagation(),i.el.classList.remove(i.classNames.dragging),e.removeEventListener("mousemove",i.drag,!0),e.removeEventListener("mouseup",i.onEndDrag,!0),i.removePreventClickId=r.setTimeout(function(){e.removeEventListener("click",i.preventClick,!0),e.removeEventListener("dblclick",i.preventClick,!0),i.removePreventClickId=null})},this.preventClick=function(t){t.preventDefault(),t.stopPropagation()},this.el=e,this.minScrollbarWidth=20,this.options=Object.assign({},t.defaultOptions,{},r),this.classNames=Object.assign({},t.defaultOptions.classNames,{},this.options.classNames),this.axis={x:{scrollOffsetAttr:"scrollLeft",sizeAttr:"width",scrollSizeAttr:"scrollWidth",offsetSizeAttr:"offsetWidth",offsetAttr:"left",overflowAttr:"overflowX",dragOffset:0,isOverflowing:!0,isVisible:!1,forceVisible:!1,track:{},scrollbar:{}},y:{scrollOffsetAttr:"scrollTop",sizeAttr:"height",scrollSizeAttr:"scrollHeight",offsetSizeAttr:"offsetHeight",offsetAttr:"top",overflowAttr:"overflowY",dragOffset:0,isOverflowing:!0,isVisible:!1,forceVisible:!1,track:{},scrollbar:{}}},this.removePreventClickId=null,t.instances.has(this.el)||(this.recalculate=Yr(this.recalculate.bind(this),64),this.onMouseMove=Yr(this.onMouseMove.bind(this),64),this.hideScrollbars=ui(this.hideScrollbars.bind(this),this.options.timeout),this.onWindowResize=ui(this.onWindowResize.bind(this),64,{leading:!0}),t.getRtlHelpers=Pi(t.getRtlHelpers),this.init())}t.getRtlHelpers=function(){var e=document.createElement("div");e.innerHTML='<div class="hs-dummy-scrollbar-size"><div style="height: 200%; width: 200%; margin: 10px 0;"></div></div>';var r=e.firstElementChild;document.body.appendChild(r);var i=r.firstElementChild;r.scrollLeft=0;var n=t.getOffset(r),s=t.getOffset(i);r.scrollLeft=999;var a=t.getOffset(i);return{isRtlScrollingInverted:n.left!==s.left&&s.left-a.left!=0,isRtlScrollbarInverted:n.left!==s.left}},t.getOffset=function(t){var e=t.getBoundingClientRect(),r=Zn(t),i=Kn(t);return{top:e.top+(i.pageYOffset||r.documentElement.scrollTop),left:e.left+(i.pageXOffset||r.documentElement.scrollLeft)}};var e=t.prototype;return e.init=function(){t.instances.set(this.el,this),Yt&&(this.initDOM(),this.scrollbarWidth=this.getScrollbarWidth(),this.recalculate(),this.initListeners())},e.initDOM=function(){var t=this;if(Array.prototype.filter.call(this.el.children,function(e){return e.classList.contains(t.classNames.wrapper)}).length)this.wrapperEl=this.el.querySelector("."+this.classNames.wrapper),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector("."+this.classNames.contentWrapper),this.contentEl=this.options.contentNode||this.el.querySelector("."+this.classNames.contentEl),this.offsetEl=this.el.querySelector("."+this.classNames.offset),this.maskEl=this.el.querySelector("."+this.classNames.mask),this.placeholderEl=this.findChild(this.wrapperEl,"."+this.classNames.placeholder),this.heightAutoObserverWrapperEl=this.el.querySelector("."+this.classNames.heightAutoObserverWrapperEl),this.heightAutoObserverEl=this.el.querySelector("."+this.classNames.heightAutoObserverEl),this.axis.x.track.el=this.findChild(this.el,"."+this.classNames.track+"."+this.classNames.horizontal),this.axis.y.track.el=this.findChild(this.el,"."+this.classNames.track+"."+this.classNames.vertical);else{for(this.wrapperEl=document.createElement("div"),this.contentWrapperEl=document.createElement("div"),this.offsetEl=document.createElement("div"),this.maskEl=document.createElement("div"),this.contentEl=document.createElement("div"),this.placeholderEl=document.createElement("div"),this.heightAutoObserverWrapperEl=document.createElement("div"),this.heightAutoObserverEl=document.createElement("div"),this.wrapperEl.classList.add(this.classNames.wrapper),this.contentWrapperEl.classList.add(this.classNames.contentWrapper),this.offsetEl.classList.add(this.classNames.offset),this.maskEl.classList.add(this.classNames.mask),this.contentEl.classList.add(this.classNames.contentEl),this.placeholderEl.classList.add(this.classNames.placeholder),this.heightAutoObserverWrapperEl.classList.add(this.classNames.heightAutoObserverWrapperEl),this.heightAutoObserverEl.classList.add(this.classNames.heightAutoObserverEl);this.el.firstChild;)this.contentEl.appendChild(this.el.firstChild);this.contentWrapperEl.appendChild(this.contentEl),this.offsetEl.appendChild(this.contentWrapperEl),this.maskEl.appendChild(this.offsetEl),this.heightAutoObserverWrapperEl.appendChild(this.heightAutoObserverEl),this.wrapperEl.appendChild(this.heightAutoObserverWrapperEl),this.wrapperEl.appendChild(this.maskEl),this.wrapperEl.appendChild(this.placeholderEl),this.el.appendChild(this.wrapperEl)}if(!this.axis.x.track.el||!this.axis.y.track.el){var e=document.createElement("div"),r=document.createElement("div");e.classList.add(this.classNames.track),r.classList.add(this.classNames.scrollbar),e.appendChild(r),this.axis.x.track.el=e.cloneNode(!0),this.axis.x.track.el.classList.add(this.classNames.horizontal),this.axis.y.track.el=e.cloneNode(!0),this.axis.y.track.el.classList.add(this.classNames.vertical),this.el.appendChild(this.axis.x.track.el),this.el.appendChild(this.axis.y.track.el)}this.axis.x.scrollbar.el=this.axis.x.track.el.querySelector("."+this.classNames.scrollbar),this.axis.y.scrollbar.el=this.axis.y.track.el.querySelector("."+this.classNames.scrollbar),this.options.autoHide||(this.axis.x.scrollbar.el.classList.add(this.classNames.visible),this.axis.y.scrollbar.el.classList.add(this.classNames.visible)),this.el.setAttribute("data-simplebar","init")},e.initListeners=function(){var t=this,e=Kn(this.el);this.options.autoHide&&this.el.addEventListener("mouseenter",this.onMouseEnter),["mousedown","click","dblclick"].forEach(function(e){t.el.addEventListener(e,t.onPointerEvent,!0)}),["touchstart","touchend","touchmove"].forEach(function(e){t.el.addEventListener(e,t.onPointerEvent,{capture:!0,passive:!0})}),this.el.addEventListener("mousemove",this.onMouseMove),this.el.addEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl.addEventListener("scroll",this.onScroll),e.addEventListener("resize",this.onWindowResize);var r=!1,i=e.ResizeObserver||Sn;this.resizeObserver=new i(function(){r&&t.recalculate()}),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl),e.requestAnimationFrame(function(){r=!0}),this.mutationObserver=new e.MutationObserver(this.recalculate),this.mutationObserver.observe(this.contentEl,{childList:!0,subtree:!0,characterData:!0})},e.recalculate=function(){var t=Kn(this.el);this.elStyles=t.getComputedStyle(this.el),this.isRtl="rtl"===this.elStyles.direction;var e=this.heightAutoObserverEl.offsetHeight<=1,r=this.heightAutoObserverEl.offsetWidth<=1,i=this.contentEl.offsetWidth,n=this.contentWrapperEl.offsetWidth,s=this.elStyles.overflowX,a=this.elStyles.overflowY;this.contentEl.style.padding=this.elStyles.paddingTop+" "+this.elStyles.paddingRight+" "+this.elStyles.paddingBottom+" "+this.elStyles.paddingLeft,this.wrapperEl.style.margin="-"+this.elStyles.paddingTop+" -"+this.elStyles.paddingRight+" -"+this.elStyles.paddingBottom+" -"+this.elStyles.paddingLeft;var o=this.contentEl.scrollHeight,c=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=e?"auto":"100%",this.placeholderEl.style.width=r?i+"px":"auto",this.placeholderEl.style.height=o+"px";var l=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=c>i,this.axis.y.isOverflowing=o>l,this.axis.x.isOverflowing="hidden"!==s&&this.axis.x.isOverflowing,this.axis.y.isOverflowing="hidden"!==a&&this.axis.y.isOverflowing,this.axis.x.forceVisible="x"===this.options.forceVisible||!0===this.options.forceVisible,this.axis.y.forceVisible="y"===this.options.forceVisible||!0===this.options.forceVisible,this.hideNativeScrollbar();var u=this.axis.x.isOverflowing?this.scrollbarWidth:0,h=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&c>n-h,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&o>l-u,this.axis.x.scrollbar.size=this.getScrollbarSize("x"),this.axis.y.scrollbar.size=this.getScrollbarSize("y"),this.axis.x.scrollbar.el.style.width=this.axis.x.scrollbar.size+"px",this.axis.y.scrollbar.el.style.height=this.axis.y.scrollbar.size+"px",this.positionScrollbar("x"),this.positionScrollbar("y"),this.toggleTrackVisibility("x"),this.toggleTrackVisibility("y")},e.getScrollbarSize=function(t){if(void 0===t&&(t="y"),!this.axis[t].isOverflowing)return 0;var e,r=this.contentEl[this.axis[t].scrollSizeAttr],i=this.axis[t].track.el[this.axis[t].offsetSizeAttr],n=i/r;return e=Math.max(~~(n*i),this.options.scrollbarMinSize),this.options.scrollbarMaxSize&&(e=Math.min(e,this.options.scrollbarMaxSize)),e},e.positionScrollbar=function(e){if(void 0===e&&(e="y"),this.axis[e].isOverflowing){var r=this.contentWrapperEl[this.axis[e].scrollSizeAttr],i=this.axis[e].track.el[this.axis[e].offsetSizeAttr],n=parseInt(this.elStyles[this.axis[e].sizeAttr],10),s=this.axis[e].scrollbar,a=this.contentWrapperEl[this.axis[e].scrollOffsetAttr],o=(a="x"===e&&this.isRtl&&t.getRtlHelpers().isRtlScrollingInverted?-a:a)/(r-n),c=~~((i-s.size)*o);c="x"===e&&this.isRtl&&t.getRtlHelpers().isRtlScrollbarInverted?c+(i-s.size):c,s.el.style.transform="x"===e?"translate3d("+c+"px, 0, 0)":"translate3d(0, "+c+"px, 0)"}},e.toggleTrackVisibility=function(t){void 0===t&&(t="y");var e=this.axis[t].track.el,r=this.axis[t].scrollbar.el;this.axis[t].isOverflowing||this.axis[t].forceVisible?(e.style.visibility="visible",this.contentWrapperEl.style[this.axis[t].overflowAttr]="scroll"):(e.style.visibility="hidden",this.contentWrapperEl.style[this.axis[t].overflowAttr]="hidden"),this.axis[t].isOverflowing?r.style.display="block":r.style.display="none"},e.hideNativeScrollbar=function(){this.offsetEl.style[this.isRtl?"left":"right"]=this.axis.y.isOverflowing||this.axis.y.forceVisible?"-"+this.scrollbarWidth+"px":0,this.offsetEl.style.bottom=this.axis.x.isOverflowing||this.axis.x.forceVisible?"-"+this.scrollbarWidth+"px":0},e.onMouseMoveForAxis=function(t){void 0===t&&(t="y"),this.axis[t].track.rect=this.axis[t].track.el.getBoundingClientRect(),this.axis[t].scrollbar.rect=this.axis[t].scrollbar.el.getBoundingClientRect(),this.isWithinBounds(this.axis[t].scrollbar.rect)?this.axis[t].scrollbar.el.classList.add(this.classNames.hover):this.axis[t].scrollbar.el.classList.remove(this.classNames.hover),this.isWithinBounds(this.axis[t].track.rect)?(this.showScrollbar(t),this.axis[t].track.el.classList.add(this.classNames.hover)):this.axis[t].track.el.classList.remove(this.classNames.hover)},e.onMouseLeaveForAxis=function(t){void 0===t&&(t="y"),this.axis[t].track.el.classList.remove(this.classNames.hover),this.axis[t].scrollbar.el.classList.remove(this.classNames.hover)},e.showScrollbar=function(t){void 0===t&&(t="y");var e=this.axis[t].scrollbar.el;this.axis[t].isVisible||(e.classList.add(this.classNames.visible),this.axis[t].isVisible=!0),this.options.autoHide&&this.hideScrollbars()},e.onDragStart=function(t,e){void 0===e&&(e="y");var r=Zn(this.el),i=Kn(this.el),n=this.axis[e].scrollbar,s="y"===e?t.pageY:t.pageX;this.axis[e].dragOffset=s-n.rect[this.axis[e].offsetAttr],this.draggedAxis=e,this.el.classList.add(this.classNames.dragging),r.addEventListener("mousemove",this.drag,!0),r.addEventListener("mouseup",this.onEndDrag,!0),null===this.removePreventClickId?(r.addEventListener("click",this.preventClick,!0),r.addEventListener("dblclick",this.preventClick,!0)):(i.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},e.onTrackClick=function(t,e){var r=this;if(void 0===e&&(e="y"),this.options.clickOnTrack){var i=Kn(this.el);this.axis[e].scrollbar.rect=this.axis[e].scrollbar.el.getBoundingClientRect();var n=this.axis[e].scrollbar.rect[this.axis[e].offsetAttr],s=parseInt(this.elStyles[this.axis[e].sizeAttr],10),a=this.contentWrapperEl[this.axis[e].scrollOffsetAttr],o=("y"===e?this.mouseY-n:this.mouseX-n)<0?-1:1,c=-1===o?a-s:a+s;!function t(){var n,s;-1===o?a>c&&(a-=r.options.clickOnTrackSpeed,r.contentWrapperEl.scrollTo(((n={})[r.axis[e].offsetAttr]=a,n)),i.requestAnimationFrame(t)):a<c&&(a+=r.options.clickOnTrackSpeed,r.contentWrapperEl.scrollTo(((s={})[r.axis[e].offsetAttr]=a,s)),i.requestAnimationFrame(t))}()}},e.getContentElement=function(){return this.contentEl},e.getScrollElement=function(){return this.contentWrapperEl},e.getScrollbarWidth=function(){try{return"none"===getComputedStyle(this.contentWrapperEl,"::-webkit-scrollbar").display||"scrollbarWidth"in document.documentElement.style||"-ms-overflow-style"in document.documentElement.style?0:rs(this.el)}catch(t){return rs(this.el)}},e.removeListeners=function(){var t=this,e=Kn(this.el);this.options.autoHide&&this.el.removeEventListener("mouseenter",this.onMouseEnter),["mousedown","click","dblclick"].forEach(function(e){t.el.removeEventListener(e,t.onPointerEvent,!0)}),["touchstart","touchend","touchmove"].forEach(function(e){t.el.removeEventListener(e,t.onPointerEvent,{capture:!0,passive:!0})}),this.el.removeEventListener("mousemove",this.onMouseMove),this.el.removeEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl&&this.contentWrapperEl.removeEventListener("scroll",this.onScroll),e.removeEventListener("resize",this.onWindowResize),this.mutationObserver&&this.mutationObserver.disconnect(),this.resizeObserver&&this.resizeObserver.disconnect(),this.recalculate.cancel(),this.onMouseMove.cancel(),this.hideScrollbars.cancel(),this.onWindowResize.cancel()},e.unMount=function(){this.removeListeners(),t.instances.delete(this.el)},e.isWithinBounds=function(t){return this.mouseX>=t.left&&this.mouseX<=t.left+t.width&&this.mouseY>=t.top&&this.mouseY<=t.top+t.height},e.findChild=function(t,e){var r=t.matches||t.webkitMatchesSelector||t.mozMatchesSelector||t.msMatchesSelector;return Array.prototype.filter.call(t.children,function(t){return r.call(t,e)})[0]},t}();return is.defaultOptions={autoHide:!0,forceVisible:!1,clickOnTrack:!0,clickOnTrackSpeed:40,classNames:{contentEl:"simplebar-content",contentWrapper:"simplebar-content-wrapper",offset:"simplebar-offset",mask:"simplebar-mask",wrapper:"simplebar-wrapper",placeholder:"simplebar-placeholder",scrollbar:"simplebar-scrollbar",track:"simplebar-track",heightAutoObserverWrapperEl:"simplebar-height-auto-observer-wrapper",heightAutoObserverEl:"simplebar-height-auto-observer",visible:"simplebar-visible",horizontal:"simplebar-horizontal",vertical:"simplebar-vertical",hover:"simplebar-hover",dragging:"simplebar-dragging"},scrollbarMinSize:25,scrollbarMaxSize:0,timeout:1e3},is.instances=new WeakMap,is.initDOMLoadedElements=function(){document.removeEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.removeEventListener("load",this.initDOMLoadedElements),Array.prototype.forEach.call(document.querySelectorAll("[data-simplebar]"),function(t){"init"===t.getAttribute("data-simplebar")||is.instances.has(t)||new is(t,Jn(t.attributes))})},is.removeObserver=function(){this.globalObserver.disconnect()},is.initHtmlApi=function(){this.initDOMLoadedElements=this.initDOMLoadedElements.bind(this),"undefined"!=typeof MutationObserver&&(this.globalObserver=new MutationObserver(is.handleMutations),this.globalObserver.observe(document,{childList:!0,subtree:!0})),"complete"===document.readyState||"loading"!==document.readyState&&!document.documentElement.doScroll?window.setTimeout(this.initDOMLoadedElements):(document.addEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.addEventListener("load",this.initDOMLoadedElements))},is.handleMutations=function(t){t.forEach(function(t){Array.prototype.forEach.call(t.addedNodes,function(t){1===t.nodeType&&(t.hasAttribute("data-simplebar")?!is.instances.has(t)&&document.documentElement.contains(t)&&new is(t,Jn(t.attributes)):Array.prototype.forEach.call(t.querySelectorAll("[data-simplebar]"),function(t){"init"!==t.getAttribute("data-simplebar")&&!is.instances.has(t)&&document.documentElement.contains(t)&&new is(t,Jn(t.attributes))}))}),Array.prototype.forEach.call(t.removedNodes,function(t){1===t.nodeType&&("init"===t.getAttribute("data-simplebar")?is.instances.has(t)&&!document.documentElement.contains(t)&&is.instances.get(t).unMount():Array.prototype.forEach.call(t.querySelectorAll('[data-simplebar="init"]'),function(t){is.instances.has(t)&&!document.documentElement.contains(t)&&is.instances.get(t).unMount()}))})})},is.getOptions=Jn,Yt&&is.initHtmlApi(),is});
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Tags: search, woocommerce search, image search, ajax search, search shortcode, l
|
|
5 |
Requires at least: 3.9
|
6 |
Tested up to: 5.9
|
7 |
Requires PHP: 5.2.4
|
8 |
-
Stable tag: 5.4.
|
9 |
License: GPLv2 or later
|
10 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
@@ -197,6 +197,10 @@ Yes we do. We try our best to help free users with customisation requests and we
|
|
197 |
|
198 |
== Changelog ==
|
199 |
|
|
|
|
|
|
|
|
|
200 |
= 5.4.2 =
|
201 |
* Improved - Compatibility with Weglot plugin.
|
202 |
* Improved - Compatibility with TablePress plugin.
|
5 |
Requires at least: 3.9
|
6 |
Tested up to: 5.9
|
7 |
Requires PHP: 5.2.4
|
8 |
+
Stable tag: 5.4.3
|
9 |
License: GPLv2 or later
|
10 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
197 |
|
198 |
== Changelog ==
|
199 |
|
200 |
+
= 5.4.3 =
|
201 |
+
* Fixed - AJAX add to cart was not adhering to quantity field.
|
202 |
+
* Fixed - Undefined index: action error.
|
203 |
+
|
204 |
= 5.4.2 =
|
205 |
* Improved - Compatibility with Weglot plugin.
|
206 |
* Improved - Compatibility with TablePress plugin.
|