ElementsKit Elementor addons (Header Footer Builder, Mega Menu Builder, Free Elementor Widgets & Elementor Templates Library) - Version 2.3.1.1

Version Description

Wordpress 4.9+

Download this release

Release Info

Developer ataurr
Plugin Icon wp plugin ElementsKit Elementor addons (Header Footer Builder, Mega Menu Builder, Free Elementor Widgets & Elementor Templates Library)
Version 2.3.1.1
Comparing to
See all releases

Code changes from version 2.3.1 to 2.3.1.1

elementskit-lite.php CHANGED
@@ -6,7 +6,7 @@ defined( 'ABSPATH' ) || exit;
6
  * Description: The most advanced addons for Elementor with tons of widgets, Header builder, Footer builder, Mega menu builder, layout pack and powerful custom controls.
7
  * Plugin URI: https://products.wpmet.com/elementskit
8
  * Author: Wpmet
9
- * Version: 2.3.1
10
  * Author URI: https://wpmet.com/
11
  *
12
  * Text Domain: elementskit-lite
@@ -28,7 +28,7 @@ final class ElementsKit_Lite{
28
  * @var string The plugin version.
29
  */
30
  static function version(){
31
- return '2.3.1';
32
  }
33
 
34
  /**
6
  * Description: The most advanced addons for Elementor with tons of widgets, Header builder, Footer builder, Mega menu builder, layout pack and powerful custom controls.
7
  * Plugin URI: https://products.wpmet.com/elementskit
8
  * Author: Wpmet
9
+ * Version: 2.3.1.1
10
  * Author URI: https://wpmet.com/
11
  *
12
  * Text Domain: elementskit-lite
28
  * @var string The plugin version.
29
  */
30
  static function version(){
31
+ return '2.3.1.1';
32
  }
33
 
34
  /**
languages/elementskit-lite.pot CHANGED
@@ -2,9 +2,9 @@
2
  # This file is distributed under the same license as the ElementsKit Lite package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: ElementsKit Lite 2.3.1\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/elementskit-lite\n"
7
- "POT-Creation-Date: 2021-06-22 10:14:28+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
2
  # This file is distributed under the same license as the ElementsKit Lite package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: ElementsKit Lite 2.3.1.1\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/elementskit-lite\n"
7
+ "POT-Creation-Date: 2021-06-23 12:55:12+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
libs/framework/assets/js/ekit-admin-core.js CHANGED
@@ -1,6 +1,6 @@
1
- !function(){var t={150:function(){jQuery(document).ready((function(t){"use strict";var e;if(t(".ekit-admin-single-accordion").on("click",".ekit-admin-single-accordion--heading",(function(){t(this).next().slideToggle().parent().toggleClass("active").siblings().removeClass("active").find(".ekit-admin-single-accordion--body").slideUp()})),t(".ekit-admin-single-accordion:first-child .ekit-admin-single-accordion--heading").trigger("click"),t(".ekit-admin-video-tutorial-item, .ekit-onboard-tutorial--btn").on("click","a",(function(e){var i=t(this).data("video_id");i&&(e.preventDefault(),t(".ekti-admin-video-tutorial-popup").toggleClass("show").find(".ekti-admin-video-tutorial-iframe").html('<iframe width="700" height="400" src="https://www.youtube.com/embed/'+i+'?autoplay=1" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>'))})),t(".ekti-admin-video-tutorial-close").on("click",(function(){t(this).parents(".ekti-admin-video-tutorial-popup").removeClass("show").find(".ekti-admin-video-tutorial-iframe").html("")})),t(".ekit-admin-nav-link[data-attr-toggle]").on("click",(function(){var e=t(this),i=this.hash;e.parents(".attr-nav-tabs").find("a").removeClass("top").removeClass("bottom"),e.parents("li").prev().find("a").addClass("top"),e.parents("li").next().find("a").addClass("bottom"),history.pushState(null,null,i)})),(e=window.location.hash)&&t("".concat(e,"-tab")).trigger("click"),t("#v-elementskit-tabContent").length>0){var i=t("#v-elementskit-tabContent").offset().top;t(window).scroll((function(){var e=t(".ekit-admin-section-header");t(window).scrollTop()>=i?e.addClass("fixed").css({width:jQuery("#v-elementskit-tabContent").width()}):e.removeClass("fixed").css({width:"auto"})}))}function n(e){var i=e.closest(".attr-tab-pane"),n=t(i).find(".ekit-admin-fields-container-fieldset"),o=n.find(".ekit-admin-control-input:checked").length==n.find(".ekit-admin-control-input:not(:disabled)").length;t(i).find(".ekit-all-control-input").prop("checked",o)}function o(e,i){var n=e.getAttribute("aria-controls"),o=document.getElementById("".concat(n));i?(t(o).removeClass("attr-in"),o.style.height="0px",e.style.pointerEvents="none"):(o.style.height="auto",e.style.pointerEvents="auto","mail_chimp_data_control"===n&&t(o).addClass("attr-in"))}function r(e){var i=e.value,n=t(".label-".concat(i)),r=n.find(".attr-btn");t(e).prop("checked")?n.removeClass("widget-disabled"):n.addClass("widget-disabled");var a=document.createElement("small");if(a.setAttribute("class","attr-widget-activate-text"),a.setAttribute("id","disable-msg-".concat(i)),a.textContent="Disabled",n.hasClass("widget-disabled"))r.hasClass("attr-btn")&&(n.hasClass("pro-disabled")||(r[0].setAttribute("aria-expanded",!1),r[0].appendChild(a)),o(r[0],!0));else if(r.hasClass("attr-btn")){"mail-chimp"===i&&r[0].setAttribute("aria-expanded",!0);var s=document.getElementById("disable-msg-".concat(i));if(s)s.parentNode.removeChild(s);o(r[0],!1)}}function a(e){var i,n=e;return t(".error").remove(),!(n.length&&(i=n.val(),!/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/.test(i)))||(n.parent().after('<p class="error">Please enter valid email.</p>'),!1)}t("#ekit-admin-settings-form").on("submit",(function(e){var i=t(this),n=i.find(".ekit-admin-settings-form-submit"),o=i.serialize();i.addClass("is-loading"),n.attr("disabled",!0),n.find(".ekit-admin-save-icon").hide(),o+="&nonce="+ekit_ajax_var.nonce,t.post(ajaxurl+"?action=ekit_admin_action",o,(function(e){var o,r,a,s;i.removeClass("is-loading"),n.removeAttr("disabled"),n.find(".ekit-admin-save-icon").fadeIn(),o=t("#ekit-admin-switch__module__list____header-footer").prop("checked"),r=t("#elementskit-template-admin-menu").html(),a=t("#toplevel_page_elementskit .wp-submenu"),s=a.find('a[href="edit.php?post_type=elementskit_template"]'),1==o?s.length>0||"y"==a.attr("item-added")?s.parent().show():(a.find("li.wp-first-item").after(r),a.attr("item-added","y")):s.parent().hide(),function(){var e=t("#ekit-admin-switch__module__list____widget-builder").prop("checked"),i=t("#elementskit-template-widget-menu").html(),n=t("#toplevel_page_elementskit .wp-submenu"),o=n.find('a[href="edit.php?post_type=elementskit_widget"]');1==e?o.length>0||"y"==n.attr("item-added")?o.parent().show():(n.find("li.wp-first-item").next().after(i),n.attr("item-added","y")):o.parent().hide()}(),n.hasClass("ekit-onboard-btn")&&(window.location.href=window.location.origin+window.location.pathname+"?page=elementskit")})),e.preventDefault()})),t("#ekit-admin-license-form").on("submit",(function(e){var i=t(this),n=i.find(".ekit-admin-license-form-submit"),o=i.serialize(),r=i.find(".elementskit-license-form-result .attr-alert");i.addClass("is-loading"),n.find(".ekit-admin-save-icon").hide(),o+="&nonce="+ekit_ajax_var.nonce,t.post(ajaxurl+"?action=ekit_admin_license",o,(function(t){i.removeClass("is-loading"),n.removeAttr("disabled"),n.find(".ekit-admin-save-icon").fadeIn(),r.attr("class","attr-alert attr-alert-"+t.status).html(t.message),1==t.validate&&setTimeout((function(){window.location.reload()}),2e3)}),"json"),e.preventDefault()})),t(".ekit-zoom-connection").on("click",(function(e){e.preventDefault();var i=t(this);i.attr("disabled",!0),jQuery.ajax({data:{},type:"post",url:window.rest_config.rest_url+"elementskit/v1/zoom-meeting/hosts/",beforeSend:function(t){t.setRequestHeader("X-WP-Nonce",window.rest_config.nonce)},success:function(t){alert(t.message),i.attr("disabled",!1)}})})),t("#ekit_instagram_refresh_feed_btn").on("click",(function(e){e.preventDefault();var i=elementskit.resturl+"widget/instagram-feed/refresh_feed",n=t("#ekit-admin-option-textuser__data__instragram____username__").val();t.get("https://www.instagram.com/"+n+"/?__a=1",(function(e){t.ajax({type:"POST",url:i,data:{content:e},success:function(t){alert("Instagram data refreshed")},error:function(t){alert("Instagram data refreshed")}})}))})),t(".cache_clean_social_provider").on("click",(function(e){e.preventDefault();var i=t(this),n=i.data("provider"),o=i.data("url_part"),r=elementskit.resturl+"widget/"+o+"/remove_cache";i.attr("disabled",!0),t.ajax({type:"POST",url:r,data:{provider_id:n},success:function(t){i.attr("disabled",!1),alert(t.msg)},error:function(t){i.attr("disabled",!0),alert("Something wrong.....")}})})),document.querySelectorAll(".ekit-admin-control-input").forEach((function(t){r(t)})),t(".ekit-all-control-input").each((function(t,e){n(e)})),t(".ekit-admin-fields-container-fieldset .ekit-admin-control-input").on("change",(function(t){n(t.target),r(t.target)})),t(".ekit-all-control-input").on("change",(function(e){var i=t(e.target).closest(".attr-tab-pane").find(".ekit-admin-fields-container")[0];t(i).find(".ekit-admin-control-input:not(:disabled)").each((function(i,n){t(n).prop("checked",e.target.checked),r(n)}))})),t(".ekit-onboard-step-wrapper #signup").on("input",(function(){a(t(this))})),t(".ekit-onboard-step-wrapper #signup").on("keydown",(function(t){"Enter"==t.key&&t.preventDefault()})),t(".ekit-onboard-nav-item").on("click",(function(){if(t(this).index()>1&&!t(this).hasClass("next")&&!t(this).hasClass("selected"))return!1;if(t(this).hasClass("next")&&!a(t(".ekit-onboard-step-wrapper.active #signup")))return!1;t(this).next().addClass("next").siblings().removeClass("next"),t(this).removeClass("selected"),t(this).addClass("active").siblings().removeClass("active"),t(this).prevAll().addClass("selected").end().nextAll().removeClass("selected");var e=t(this).data("step_key"),i=t(this).parents(".ekit-onboard-nav"),n=i.offset().left,o=t(this).hasClass("last")?i.width():t(this).offset().left-n+t(this).outerWidth();t(".ekit-onboard-progressbar").css("width",o),t(".ekit-onboard-"+e).addClass("active").siblings().removeClass("active")})),t(".ekit-onboard-nav-item:first-of-type").trigger("click"),t(".ekit-onboard-pagi-btn").on("click",(function(e){t(this).hasClass("next")&&t(".ekit-onboard-nav-item.active").next().trigger("click"),t(this).hasClass("prev")&&t(".ekit-onboard-nav-item.active").prev().trigger("click")}));var s=["elementskit-icon-pack","header-footer","megamenu","button","heading","category-list","post-list","page-list","nav-menu","accordion","header-info","header-search","icon-box","image-box","client-logo","faq","funfact","testimonial","social","video","blog-posts","pricing","team","tab","header-offcanvas"],l=["ninja-forms","wp-forms","we-forms","social-share","drop-caps","caldera-forms","onepage-scroll","contact-form7","fluent-forms"];function d(e,i,n,o){var r=this;t.ajax({type:"GET",url:e,beforeSend:function(){t(r).addClass("ekit-plugin-install-activate"),n&&t(r).html(n)},success:function(n){t(r).removeClass("ekit-plugin-install-activate"),e.indexOf("action=activate")>=0&&t(r).addClass("activated"),t(r).html(o),i&&i()}})}t(".ekit-admin-input-radio .ekit-admin-control-input").on("change",(function(e,i){var n=t(".ekit-onboard-section .attr-input:not(.ekit-content-type-pro-disabled)"),o=n.find(".ekit-admin-control-input");if(t(".ekit-admin-input-radio .ekit-admin-input-switch").removeClass("active"),t(this).parent().addClass("active"),i&&"hold"===i)return!1;o.prop("checked",!1),"basic"==t(this).val()?s.forEach((function(t){n.find('.ekit-admin-control-input[value="'+t+'"]').prop("checked",!0)})):"advanced"==t(this).val()?o.each((function(){-1==l.indexOf(t(this).val())?t(this).prop("checked",!0):t(this).prop("checked",!1)})):o.prop("checked",!0)})),jQuery(".ekit-admin-input-radio .ekit-admin-control-input:checked").trigger("change"),t(".ekit-onboard-section .ekit-admin-control-input").on("change",(function(){"custom"!=t(".ekit-admin-input-radio .ekit-admin-control-input").val()&&(t(".ekit-onboard-custom-filter .ekit-admin-control-input").prop("checked",!0),t(".ekit-onboard-custom-filter .ekit-admin-control-input").trigger("change","hold"))})),t(".ekit-onboard-single-plugin--install_plugin").on("click",(function(e){var i=this;e.preventDefault();var n=t(this).attr("href"),o=t(this).attr("data-activation_url"),r=t(this).data("plugin_status");if(t(this).hasClass("ekit-plugin-install-activate")||t(this).hasClass("activated"))return!1;"not_installed"==r?d.call(this,n,(function(){d.call(i,o,null,"Activating...","Activated")}),"Installing...","Installed"):"installed"==r&&d.call(this,o,null,"Activating...","Activated")})),jQuery(".ekit-onboard-tut-term--help").on("click",(function(){t(this).toggleClass("active").prev().toggleClass("active")}))}))},775:function(){function t(e){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}
2
  /*!
3
  * Bootstrap v3.3.7 (http://getbootstrap.com)
4
  * Copyright 2011-2016 Twitter, Inc.
5
  * Licensed under the MIT license
6
- */if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");!function(t){"use strict";var e=jQuery.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1==e[0]&&9==e[1]&&e[2]<1||e[0]>3)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 4")}(),function(t){"use strict";t.fn.emulateTransitionEnd=function(e){var i=!1,n=this;t(this).one("bsTransitionEnd",(function(){i=!0}));return setTimeout((function(){i||t(n).trigger(t.support.transition.end)}),e),this},t((function(){t.support.transition=function(){var t=document.createElement("bootstrap"),e={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var i in e)if(t.style[i]!==undefined)return{end:e[i]};return!1}(),t.support.transition&&(t.event.special.bsTransitionEnd={bindType:t.support.transition.end,delegateType:t.support.transition.end,handle:function(e){if(t(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}})}))}(jQuery),function(t){"use strict";var e='[data-dismiss="alert"]',i=function(i){t(i).on("click",e,this.close)};i.VERSION="3.3.7",i.TRANSITION_DURATION=150,i.prototype.close=function(e){var n=t(this),o=n.attr("data-target");o||(o=(o=n.attr("href"))&&o.replace(/.*(?=#[^\s]*$)/,""));var r=t("#"===o?[]:o);function a(){r.detach().trigger("closed.bs.attr-alert").remove()}e&&e.preventDefault(),r.length||(r=n.closest(".attr-alert")),r.trigger(e=t.Event("close.bs.attr-alert")),e.isDefaultPrevented()||(r.removeClass("attr-in"),t.support.transition&&r.hasClass("attr-fade")?r.one("bsTransitionEnd",a).emulateTransitionEnd(i.TRANSITION_DURATION):a())};var n=t.fn.alert;t.fn.alert=function(e){return this.each((function(){var n=t(this),o=n.data("bs.attr-alert");o||n.data("bs.alert",o=new i(this)),"string"==typeof e&&o[e].call(n)}))},t.fn.alert.Constructor=i,t.fn.alert.noConflict=function(){return t.fn.alert=n,this},t(document).on("click.bs.alert.data-api",e,i.prototype.close)}(jQuery),function(e){"use strict";var i=function r(t,i){this.$element=e(t),this.options=e.extend({},r.DEFAULTS,i),this.isLoading=!1};function n(n){return this.each((function(){var o=e(this),r=o.data("bs.button"),a="object"==t(n)&&n;r||o.data("bs.button",r=new i(this,a)),"toggle"==n?r.toggle():n&&r.setState(n)}))}i.VERSION="3.3.7",i.DEFAULTS={loadingText:"loading..."},i.prototype.setState=function(t){var i="disabled",n=this.$element,o=n.is("input")?"val":"html",r=n.data();t+="Text",null==r.resetText&&n.data("resetText",n[o]()),setTimeout(e.proxy((function(){n[o](null==r[t]?this.options[t]:r[t]),"loadingText"==t?(this.isLoading=!0,n.addClass("attr-"+i).attr(i,i).prop(i,!0)):this.isLoading&&(this.isLoading=!1,n.removeClass("attr-"+i).removeAttr(i).prop(i,!1))}),this),0)},i.prototype.toggle=function(){var t=!0,e=this.$element.closest('[data-attr-toggle="buttons"]');if(e.length){var i=this.$element.find("input");"radio"==i.prop("type")?(i.prop("checked")&&(t=!1),e.find(".attr-active").removeClass("attr-active"),this.$element.addClass("attr-active")):"checkbox"==i.prop("type")&&(i.prop("checked")!==this.$element.hasClass("attr-active")&&(t=!1),this.$element.toggleClass("attr-active")),i.prop("checked",this.$element.hasClass("attr-active")),t&&i.trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("attr-active")),this.$element.toggleClass("attr-active")};var o=e.fn.button;e.fn.button=n,e.fn.button.Constructor=i,e.fn.button.noConflict=function(){return e.fn.button=o,this},e(document).on("click.bs.button.data-api",'[data-attr-toggle^="button"]',(function(t){var i=e(t.target).closest(".attr-btn");n.call(i,"toggle"),e(t.target).is('input[type="radio"], input[type="checkbox"]')||(t.preventDefault(),i.is("input,button")?i.trigger("focus"):i.find("input:visible,button:visible").first().trigger("focus"))})).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-attr-toggle^="button"]',(function(t){e(t.target).closest(".attr-btn").toggleClass("attr-focus",/^focus(in)?$/.test(t.type))}))}(jQuery),function(e){"use strict";var i=function(t,i){this.$element=e(t),this.$indicators=this.$element.find(".attr-carousel-indicators"),this.options=i,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",e.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",e.proxy(this.pause,this)).on("mouseleave.bs.carousel",e.proxy(this.cycle,this))};function n(n){return this.each((function(){var o=e(this),r=o.data("bs.attr-carousel"),a=e.extend({},i.DEFAULTS,o.data(),"object"==t(n)&&n),s="string"==typeof n?n:a.slide;r||o.data("bs.carousel",r=new i(this,a)),"number"==typeof n?r.to(n):s?r[s]():a.interval&&r.pause().cycle()}))}i.VERSION="3.3.7",i.TRANSITION_DURATION=600,i.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},i.prototype.keydown=function(t){if(!/input|textarea/i.test(t.target.tagName)){switch(t.which){case 37:this.prev();break;case 39:this.next();break;default:return}t.preventDefault()}},i.prototype.cycle=function(t){return t||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(e.proxy(this.next,this),this.options.interval)),this},i.prototype.getItemIndex=function(t){return this.$items=t.parent().children(".attr-item"),this.$items.index(t||this.$active)},i.prototype.getItemForDirection=function(t,e){var i=this.getItemIndex(e);if(("prev"==t&&0===i||"next"==t&&i==this.$items.length-1)&&!this.options.wrap)return e;var n=(i+("prev"==t?-1:1))%this.$items.length;return this.$items.eq(n)},i.prototype.to=function(t){var e=this,i=this.getItemIndex(this.$active=this.$element.find(".attr-item.attr-active"));if(!(t>this.$items.length-1||t<0))return this.sliding?this.$element.one("slid.bs.carousel",(function(){e.to(t)})):i==t?this.pause().cycle():this.slide(t>i?"next":"prev",this.$items.eq(t))},i.prototype.pause=function(t){return t||(this.paused=!0),this.$element.find(".attr-next, .attr-prev").length&&e.support.transition&&(this.$element.trigger(e.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},i.prototype.next=function(){if(!this.sliding)return this.slide("next")},i.prototype.prev=function(){if(!this.sliding)return this.slide("prev")},i.prototype.slide=function(t,n){var o=this.$element.find(".attr-item.attr-active"),r=n||this.getItemForDirection(t,o),a=this.interval,s="next"==t?"left":"right",l=this;if(r.hasClass("attr-active"))return this.sliding=!1;var d=r[0],c=e.Event("slide.bs.carousel",{relatedTarget:d,direction:s});if(this.$element.trigger(c),!c.isDefaultPrevented()){if(this.sliding=!0,a&&this.pause(),this.$indicators.length){this.$indicators.find(".attr-active").removeClass("attr-active");var p=e(this.$indicators.children()[this.getItemIndex(r)]);p&&p.addClass("attr-active")}var h=e.Event("slid.bs.carousel",{relatedTarget:d,direction:s});return e.support.transition&&this.$element.hasClass("slide")?(r.addClass("attr-"+t),r[0].offsetWidth,o.addClass("attr-"+s),r.addClass("attr-"+s),o.one("bsTransitionEnd",(function(){r.removeClass(["attr-"+t,"attr-"+s].join(" ")).addClass("attr-active"),o.removeClass(["attr-active","attr-"+s].join(" ")),l.sliding=!1,setTimeout((function(){l.$element.trigger(h)}),0)})).emulateTransitionEnd(i.TRANSITION_DURATION)):(o.removeClass("attr-active"),r.addClass("attr-active"),this.sliding=!1,this.$element.trigger(h)),a&&this.cycle(),this}};var o=e.fn.carousel;e.fn.carousel=n,e.fn.carousel.Constructor=i,e.fn.carousel.noConflict=function(){return e.fn.carousel=o,this};var r=function(t){var i,o=e(this),r=e(o.attr("data-target")||(i=o.attr("href"))&&i.replace(/.*(?=#[^\s]+$)/,""));if(r.hasClass("attr-carousel")){var a=e.extend({},r.data(),o.data()),s=o.attr("data-slide-to");s&&(a.interval=!1),n.call(r,a),s&&r.data("bs.attr-carousel").to(s),t.preventDefault()}};e(document).on("click.bs.carousel.data-api","[data-slide]",r).on("click.bs.carousel.data-api","[data-slide-to]",r),e(window).on("load",(function(){e('[data-ride="carousel"]').each((function(){var t=e(this);n.call(t,t.data())}))}))}(jQuery),function(e){"use strict";var i=function a(t,i){this.$element=e(t),this.options=e.extend({},a.DEFAULTS,i),this.$trigger=e('[data-attr-toggle="collapse"][href="#'+t.id+'"],[data-attr-toggle="collapse"][data-target="#'+t.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};function n(t){var i,n=t.attr("data-target")||(i=t.attr("href"))&&i.replace(/.*(?=#[^\s]+$)/,"");return e(n)}function o(n){return this.each((function(){var o=e(this),r=o.data("bs.attr-collapse"),a=e.extend({},i.DEFAULTS,o.data(),"object"==t(n)&&n);!r&&a.toggle&&/show|hide/.test(n)&&(a.toggle=!1),r||o.data("bs.collapse",r=new i(this,a)),"string"==typeof n&&r[n]()}))}i.VERSION="3.3.7",i.TRANSITION_DURATION=350,i.DEFAULTS={toggle:!0},i.prototype.dimension=function(){return this.$element.hasClass("width")?"width":"height"},i.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("attr-in")){var t,n=this.$parent&&this.$parent.children(".attr-panel").children(".attr-in, .attr-collapsing");if(!(n&&n.length&&(t=n.data("bs.attr-collapse"))&&t.transitioning)){var r=e.Event("show.bs.attr-collapse");if(this.$element.trigger(r),!r.isDefaultPrevented()){n&&n.length&&(o.call(n,"hide"),t||n.data("bs.collapse",null));var a=this.dimension();this.$element.removeClass("attr-collapse").addClass("attr-collapsing")[a](0).attr("aria-expanded",!0),this.$trigger.removeClass("attr-collapsed").attr("aria-expanded",!0),this.transitioning=1;var s=function(){this.$element.removeClass("attr-collapsing").addClass("attr-collapse attr-in")[a](""),this.transitioning=0,this.$element.trigger("shown.bs.attr-collapse")};if(!e.support.transition)return s.call(this);var l=e.camelCase(["scroll",a].join("-"));this.$element.one("bsTransitionEnd",e.proxy(s,this)).emulateTransitionEnd(i.TRANSITION_DURATION)[a](this.$element[0][l])}}}},i.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("attr-in")){var t=e.Event("hide.bs.attr-collapse");if(this.$element.trigger(t),!t.isDefaultPrevented()){var n=this.dimension();this.$element[n](this.$element[n]())[0].offsetHeight,this.$element.addClass("attr-collapsing").removeClass("attr-collapse attr-in").attr("aria-expanded",!1),this.$trigger.addClass("attr-collapsed").attr("aria-expanded",!1),this.transitioning=1;var o=function(){this.transitioning=0,this.$element.removeClass("attr-collapsing").addClass("attr-collapse").trigger("hidden.bs.attr-collapse")};if(!e.support.transition)return o.call(this);this.$element[n](0).one("bsTransitionEnd",e.proxy(o,this)).emulateTransitionEnd(i.TRANSITION_DURATION)}}},i.prototype.toggle=function(){this[this.$element.hasClass("attr-in")?"hide":"show"]()},i.prototype.getParent=function(){return e(this.options.parent).find('[data-attr-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(e.proxy((function(t,i){var o=e(i);this.addAriaAndCollapsedClass(n(o),o)}),this)).end()},i.prototype.addAriaAndCollapsedClass=function(t,e){var i=t.hasClass("attr-in");t.attr("aria-expanded",i),e.toggleClass("attr-collapsed",!i).attr("aria-expanded",i)};var r=e.fn.collapse;e.fn.collapse=o,e.fn.collapse.Constructor=i,e.fn.collapse.noConflict=function(){return e.fn.collapse=r,this},e(document).on("click.bs.collapse.data-api",'[data-attr-toggle="collapse"]',(function(t){var i=e(this);i.attr("data-target")||t.preventDefault();var r=n(i),a=r.data("bs.attr-collapse")?"toggle":i.data();o.call(r,a)}))}(jQuery),function(t){"use strict";var e='[data-attr-toggle="dropdown"]',i=function(e){t(e).on("click.bs.dropdown",this.toggle)};function n(e){var i=e.attr("data-target");i||(i=(i=e.attr("href"))&&/#[A-Za-z]/.test(i)&&i.replace(/.*(?=#[^\s]*$)/,""));var n=i&&t(i);return n&&n.length?n:e.parent()}function o(i){i&&3===i.which||(t(".dropdown-backdrop").remove(),t(e).each((function(){var e=t(this),o=n(e),r={relatedTarget:this};o.hasClass("attr-open")&&(i&&"click"==i.type&&/input|textarea/i.test(i.target.tagName)&&t.contains(o[0],i.target)||(o.trigger(i=t.Event("hide.bs.dropdown",r)),i.isDefaultPrevented()||(e.attr("aria-expanded","false"),o.removeClass("attr-open").trigger(t.Event("hidden.bs.dropdown",r)))))})))}i.VERSION="3.3.7",i.prototype.toggle=function(e){var i=t(this);if(!i.is(".attr-disabled, :disabled")){var r=n(i),a=r.hasClass("attr-open");if(o(),!a){"ontouchstart"in document.documentElement&&!r.closest(".attr-navbar-nav").length&&t(document.createElement("div")).addClass("attr-dropdown-backdrop").insertAfter(t(this)).on("click",o);var s={relatedTarget:this};if(r.trigger(e=t.Event("show.bs.dropdown",s)),e.isDefaultPrevented())return;i.trigger("focus").attr("aria-expanded","true"),r.toggleClass("attr-open").trigger(t.Event("shown.bs.dropdown",s))}return!1}},i.prototype.keydown=function(i){if(/(38|40|27|32)/.test(i.which)&&!/input|textarea/i.test(i.target.tagName)){var o=t(this);if(i.preventDefault(),i.stopPropagation(),!o.is(".attr-disabled, :disabled")){var r=n(o),a=r.hasClass("attr-open");if(!a&&27!=i.which||a&&27==i.which)return 27==i.which&&r.find(e).trigger("focus"),o.trigger("click");var s=r.find(".dropdown-menu li:not(.attr-disabled):visible a");if(s.length){var l=s.index(i.target);38==i.which&&l>0&&l--,40==i.which&&l<s.length-1&&l++,~l||(l=0),s.eq(l).trigger("focus")}}}};var r=t.fn.dropdown;t.fn.dropdown=function(e){return this.each((function(){var n=t(this),o=n.data("bs.attr-dropdown");o||n.data("bs.dropdown",o=new i(this)),"string"==typeof e&&o[e].call(n)}))},t.fn.dropdown.Constructor=i,t.fn.dropdown.noConflict=function(){return t.fn.dropdown=r,this},t(document).on("click.bs.dropdown.data-api",o).on("click.bs.dropdown.data-api",".dropdown form",(function(t){t.stopPropagation()})).on("click.bs.dropdown.data-api",e,i.prototype.toggle).on("keydown.bs.dropdown.data-api",e,i.prototype.keydown).on("keydown.bs.dropdown.data-api",".dropdown-menu",i.prototype.keydown)}(jQuery),function(e){"use strict";var i=function(t,i){this.options=i,this.$body=e(document.body),this.$element=e(t),this.$dialog=this.$element.find(".attr-modal-dialog"),this.$backdrop=null,this.isShown=null,this.originalBodyPad=null,this.scrollbarWidth=0,this.ignoreBackdropClick=!1,this.options.remote&&this.$element.find(".attr-modal-content").load(this.options.remote,e.proxy((function(){this.$element.trigger("loaded.bs.attr-modal")}),this))};function n(n,o){return this.each((function(){var r=e(this),a=r.data("bs.attr-modal"),s=e.extend({},i.DEFAULTS,r.data(),"object"==t(n)&&n);a||r.data("bs.modal",a=new i(this,s)),"string"==typeof n?a[n](o):s.show&&a.show(o)}))}i.VERSION="3.3.7",i.TRANSITION_DURATION=300,i.BACKDROP_TRANSITION_DURATION=150,i.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},i.prototype.toggle=function(t){return this.isShown?this.hide():this.show(t)},i.prototype.show=function(t){var n=this,o=e.Event("show.bs.modal",{relatedTarget:t});this.$element.trigger(o),this.isShown||o.isDefaultPrevented()||(this.isShown=!0,this.checkScrollbar(),this.setScrollbar(),this.$body.addClass("attr-modal-open"),this.escape(),this.resize(),this.$element.on("click.dismiss.bs.modal",'[data-dismiss="modal"]',e.proxy(this.hide,this)),this.$dialog.on("mousedown.dismiss.bs.modal",(function(){n.$element.one("mouseup.dismiss.bs.modal",(function(t){e(t.target).is(n.$element)&&(n.ignoreBackdropClick=!0)}))})),this.backdrop((function(){var o=e.support.transition&&n.$element.hasClass("attr-fade");n.$element.parent().length||n.$element.appendTo(n.$body),n.$element.show().scrollTop(0),n.adjustDialog(),o&&n.$element[0].offsetWidth,n.$element.addClass("attr-in"),n.enforceFocus();var r=e.Event("shown.bs.modal",{relatedTarget:t});o?n.$dialog.one("bsTransitionEnd",(function(){n.$element.trigger("focus").trigger(r)})).emulateTransitionEnd(i.TRANSITION_DURATION):n.$element.trigger("focus").trigger(r)})))},i.prototype.hide=function(t){t&&t.preventDefault(),t=e.Event("hide.bs.attr-modal"),this.$element.trigger(t),this.isShown&&!t.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),e(document).off("focusin.bs.modal"),this.$element.removeClass("attr-in").off("click.dismiss.bs.modal").off("mouseup.dismiss.bs.modal"),this.$dialog.off("mousedown.dismiss.bs.modal"),e.support.transition&&this.$element.hasClass("attr-fade")?this.$element.one("bsTransitionEnd",e.proxy(this.hideModal,this)).emulateTransitionEnd(i.TRANSITION_DURATION):this.hideModal())},i.prototype.enforceFocus=function(){e(document).off("focusin.bs.modal").on("focusin.bs.modal",e.proxy((function(t){document===t.target||this.$element[0]===t.target||this.$element.has(t.target).length||this.$element.trigger("focus")}),this))},i.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keydown.dismiss.bs.modal",e.proxy((function(t){27==t.which&&this.hide()}),this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal")},i.prototype.resize=function(){this.isShown?e(window).on("resize.bs.modal",e.proxy(this.handleUpdate,this)):e(window).off("resize.bs.modal")},i.prototype.hideModal=function(){var t=this;this.$element.hide(),this.backdrop((function(){t.$body.removeClass("attr-modal-open"),t.resetAdjustments(),t.resetScrollbar(),t.$element.trigger("hidden.bs.attr-modal")}))},i.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},i.prototype.backdrop=function(t){var n=this,o=this.$element.hasClass("attr-fade")?"attr-fade":"";if(this.isShown&&this.options.backdrop){var r=e.support.transition&&o;if(this.$backdrop=e(document.createElement("div")).addClass("modal-backdrop "+o).appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",e.proxy((function(t){this.ignoreBackdropClick?this.ignoreBackdropClick=!1:t.target===t.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus():this.hide())}),this)),r&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("attr-in"),!t)return;r?this.$backdrop.one("bsTransitionEnd",t).emulateTransitionEnd(i.BACKDROP_TRANSITION_DURATION):t()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("attr-in");var a=function(){n.removeBackdrop(),t&&t()};e.support.transition&&this.$element.hasClass("attr-fade")?this.$backdrop.one("bsTransitionEnd",a).emulateTransitionEnd(i.BACKDROP_TRANSITION_DURATION):a()}else t&&t()},i.prototype.handleUpdate=function(){this.adjustDialog()},i.prototype.adjustDialog=function(){var t=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&t?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!t?this.scrollbarWidth:""})},i.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},i.prototype.checkScrollbar=function(){var t=window.innerWidth;if(!t){var e=document.documentElement.getBoundingClientRect();t=e.right-Math.abs(e.left)}this.bodyIsOverflowing=document.body.clientWidth<t,this.scrollbarWidth=this.measureScrollbar()},i.prototype.setScrollbar=function(){var t=parseInt(this.$body.css("padding-right")||0,10);this.originalBodyPad=document.body.style.paddingRight||"",this.bodyIsOverflowing&&this.$body.css("padding-right",t+this.scrollbarWidth)},i.prototype.resetScrollbar=function(){this.$body.css("padding-right",this.originalBodyPad)},i.prototype.measureScrollbar=function(){var t=document.createElement("div");t.className="modal-scrollbar-measure",this.$body.append(t);var e=t.offsetWidth-t.clientWidth;return this.$body[0].removeChild(t),e};var o=e.fn.modal;e.fn.modal=n,e.fn.modal.Constructor=i,e.fn.modal.noConflict=function(){return e.fn.modal=o,this},e(document).on("click.bs.modal.data-api",'[data-attr-toggle="modal"]',(function(t){var i=e(this),o=i.attr("href"),r=e(i.attr("data-target")||o&&o.replace(/.*(?=#[^\s]+$)/,"")),a=r.data("bs.attr-modal")?"toggle":e.extend({remote:!/#/.test(o)&&o},r.data(),i.data());i.is("a")&&t.preventDefault(),r.one("show.bs.modal",(function(t){t.isDefaultPrevented()||r.one("hidden.bs.modal",(function(){i.is(":visible")&&i.trigger("focus")}))})),n.call(r,a,this)}))}(jQuery),function(e){"use strict";var i=function(t,e){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.inState=null,this.init("tooltip",t,e)};i.VERSION="3.3.7",i.TRANSITION_DURATION=150,i.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="attr-tooltip" role="tooltip"><div class="attr-tooltip-arrow"></div><div class="attr-tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},i.prototype.init=function(t,i,n){if(this.enabled=!0,this.type=t,this.$element=e(i),this.options=this.getOptions(n),this.$viewport=this.options.viewport&&e(e.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var o=this.options.trigger.split(" "),r=o.length;r--;){var a=o[r];if("click"==a)this.$element.on("click."+this.type,this.options.selector,e.proxy(this.toggle,this));else if("manual"!=a){var s="hover"==a?"mouseenter":"focusin",l="hover"==a?"mouseleave":"focusout";this.$element.on(s+"."+this.type,this.options.selector,e.proxy(this.enter,this)),this.$element.on(l+"."+this.type,this.options.selector,e.proxy(this.leave,this))}}this.options.selector?this._options=e.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},i.prototype.getDefaults=function(){return i.DEFAULTS},i.prototype.getOptions=function(t){return(t=e.extend({},this.getDefaults(),this.$element.data(),t)).delay&&"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),t},i.prototype.getDelegateOptions=function(){var t={},i=this.getDefaults();return this._options&&e.each(this._options,(function(e,n){i[e]!=n&&(t[e]=n)})),t},i.prototype.enter=function(t){var i=t instanceof this.constructor?t:e(t.currentTarget).data("bs."+this.type);if(i||(i=new this.constructor(t.currentTarget,this.getDelegateOptions()),e(t.currentTarget).data("bs."+this.type,i)),t instanceof e.Event&&(i.inState["focusin"==t.type?"focus":"hover"]=!0),i.tip().hasClass("attr-in")||"in"==i.hoverState)i.hoverState="in";else{if(clearTimeout(i.timeout),i.hoverState="in",!i.options.delay||!i.options.delay.show)return i.show();i.timeout=setTimeout((function(){"in"==i.hoverState&&i.show()}),i.options.delay.show)}},i.prototype.isInStateTrue=function(){for(var t in this.inState)if(this.inState[t])return!0;return!1},i.prototype.leave=function(t){var i=t instanceof this.constructor?t:e(t.currentTarget).data("bs."+this.type);if(i||(i=new this.constructor(t.currentTarget,this.getDelegateOptions()),e(t.currentTarget).data("bs."+this.type,i)),t instanceof e.Event&&(i.inState["focusout"==t.type?"focus":"hover"]=!1),!i.isInStateTrue()){if(clearTimeout(i.timeout),i.hoverState="out",!i.options.delay||!i.options.delay.hide)return i.hide();i.timeout=setTimeout((function(){"out"==i.hoverState&&i.hide()}),i.options.delay.hide)}},i.prototype.show=function(){var t=e.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(t);var n=e.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(t.isDefaultPrevented()||!n)return;var o=this,r=this.tip(),a=this.getUID(this.type);this.setContent(),r.attr("id",a),this.$element.attr("aria-describedby",a),this.options.animation&&r.addClass("attr-fade");var s="function"==typeof this.options.placement?this.options.placement.call(this,r[0],this.$element[0]):this.options.placement,l=/\s?auto?\s?/i,d=l.test(s);d&&(s=s.replace(l,"")||"top"),r.detach().css({top:0,left:0,display:"block"}).addClass("attr-"+s).data("bs."+this.type,this),this.options.container?r.appendTo(this.options.container):r.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var c=this.getPosition(),p=r[0].offsetWidth,h=r[0].offsetHeight;if(d){var f=s,u=this.getPosition(this.$viewport);s="bottom"==s&&c.bottom+h>u.bottom?"top":"top"==s&&c.top-h<u.top?"bottom":"right"==s&&c.right+p>u.width?"left":"left"==s&&c.left-p<u.left?"right":s,r.removeClass("attr-"+f).addClass("attr-"+s)}var m=this.getCalculatedOffset(s,c,p,h);this.applyPlacement(m,s);var g=function(){var t=o.hoverState;o.$element.trigger("shown.bs."+o.type),o.hoverState=null,"out"==t&&o.leave(o)};e.support.transition&&this.$tip.hasClass("attr-fade")?r.one("bsTransitionEnd",g).emulateTransitionEnd(i.TRANSITION_DURATION):g()}},i.prototype.applyPlacement=function(t,i){var n=this.tip(),o=n[0].offsetWidth,r=n[0].offsetHeight,a=parseInt(n.css("margin-top"),10),s=parseInt(n.css("margin-left"),10);isNaN(a)&&(a=0),isNaN(s)&&(s=0),t.top+=a,t.left+=s,e.offset.setOffset(n[0],e.extend({using:function(t){n.css({top:Math.round(t.top),left:Math.round(t.left)})}},t),0),n.addClass("attr-in");var l=n[0].offsetWidth,d=n[0].offsetHeight;"top"==i&&d!=r&&(t.top=t.top+r-d);var c=this.getViewportAdjustedDelta(i,t,l,d);c.left?t.left+=c.left:t.top+=c.top;var p=/top|bottom/.test(i),h=p?2*c.left-o+l:2*c.top-r+d,f=p?"offsetWidth":"offsetHeight";n.offset(t),this.replaceArrow(h,n[0][f],p)},i.prototype.replaceArrow=function(t,e,i){this.arrow().css(i?"left":"top",50*(1-t/e)+"%").css(i?"top":"left","")},i.prototype.setContent=function(){var t=this.tip(),e=this.getTitle();t.find(".attr-tooltip-inner")[this.options.html?"html":"text"](e),t.removeClass("attr-fade attr-in attr-top attr-bottom attr-left attr-right")},i.prototype.hide=function(t){var n=this,o=e(this.$tip),r=e.Event("hide.bs."+this.type);function a(){"in"!=n.hoverState&&o.detach(),n.$element&&n.$element.removeAttr("aria-describedby").trigger("hidden.bs."+n.type),t&&t()}if(this.$element.trigger(r),!r.isDefaultPrevented())return o.removeClass("attr-in"),e.support.transition&&o.hasClass("attr-fade")?o.one("bsTransitionEnd",a).emulateTransitionEnd(i.TRANSITION_DURATION):a(),this.hoverState=null,this},i.prototype.fixTitle=function(){var t=this.$element;(t.attr("title")||"string"!=typeof t.attr("data-original-title"))&&t.attr("data-original-title",t.attr("title")||"").attr("title","")},i.prototype.hasContent=function(){return this.getTitle()},i.prototype.getPosition=function(t){var i=(t=t||this.$element)[0],n="BODY"==i.tagName,o=i.getBoundingClientRect();null==o.width&&(o=e.extend({},o,{width:o.right-o.left,height:o.bottom-o.top}));var r=window.SVGElement&&i instanceof window.SVGElement,a=n?{top:0,left:0}:r?null:t.offset(),s={scroll:n?document.documentElement.scrollTop||document.body.scrollTop:t.scrollTop()},l=n?{width:e(window).width(),height:e(window).height()}:null;return e.extend({},o,s,l,a)},i.prototype.getCalculatedOffset=function(t,e,i,n){return"bottom"==t?{top:e.top+e.height,left:e.left+e.width/2-i/2}:"top"==t?{top:e.top-n,left:e.left+e.width/2-i/2}:"left"==t?{top:e.top+e.height/2-n/2,left:e.left-i}:{top:e.top+e.height/2-n/2,left:e.left+e.width}},i.prototype.getViewportAdjustedDelta=function(t,e,i,n){var o={top:0,left:0};if(!this.$viewport)return o;var r=this.options.viewport&&this.options.viewport.padding||0,a=this.getPosition(this.$viewport);if(/right|left/.test(t)){var s=e.top-r-a.scroll,l=e.top+r-a.scroll+n;s<a.top?o.top=a.top-s:l>a.top+a.height&&(o.top=a.top+a.height-l)}else{var d=e.left-r,c=e.left+r+i;d<a.left?o.left=a.left-d:c>a.right&&(o.left=a.left+a.width-c)}return o},i.prototype.getTitle=function(){var t=this.$element,e=this.options;return t.attr("data-original-title")||("function"==typeof e.title?e.title.call(t[0]):e.title)},i.prototype.getUID=function(t){do{t+=~~(1e6*Math.random())}while(document.getElementById(t));return t},i.prototype.tip=function(){if(!this.$tip&&(this.$tip=e(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},i.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".attr-tooltip-arrow")},i.prototype.enable=function(){this.enabled=!0},i.prototype.disable=function(){this.enabled=!1},i.prototype.toggleEnabled=function(){this.enabled=!this.enabled},i.prototype.toggle=function(t){var i=this;t&&((i=e(t.currentTarget).data("bs."+this.type))||(i=new this.constructor(t.currentTarget,this.getDelegateOptions()),e(t.currentTarget).data("bs."+this.type,i))),t?(i.inState.click=!i.inState.click,i.isInStateTrue()?i.enter(i):i.leave(i)):i.tip().hasClass("attr-in")?i.leave(i):i.enter(i)},i.prototype.destroy=function(){var t=this;clearTimeout(this.timeout),this.hide((function(){t.$element.off("."+t.type).removeData("bs."+t.type),t.$tip&&t.$tip.detach(),t.$tip=null,t.$arrow=null,t.$viewport=null,t.$element=null}))};var n=e.fn.tooltip;e.fn.tooltip=function(n){return this.each((function(){var o=e(this),r=o.data("bs.attr-tooltip"),a="object"==t(n)&&n;!r&&/destroy|hide/.test(n)||(r||o.data("bs.tooltip",r=new i(this,a)),"string"==typeof n&&r[n]())}))},e.fn.tooltip.Constructor=i,e.fn.tooltip.noConflict=function(){return e.fn.tooltip=n,this}}(jQuery),function(e){"use strict";var i=function(t,e){this.init("popover",t,e)};if(!e.fn.tooltip)throw new Error("Popover requires tooltip.js");i.VERSION="3.3.7",i.DEFAULTS=e.extend({},e.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="attr-popover" role="tooltip"><div class="attr-arrow"></div><h3 class="attr-popover-title"></h3><div class="attr-popover-content"></div></div>'}),(i.prototype=e.extend({},e.fn.tooltip.Constructor.prototype)).constructor=i,i.prototype.getDefaults=function(){return i.DEFAULTS},i.prototype.setContent=function(){var t=this.tip(),e=this.getTitle(),i=this.getContent();t.find(".attr-popover-title")[this.options.html?"html":"text"](e),t.find(".attr-popover-content").children().detach().end()[this.options.html?"string"==typeof i?"html":"append":"text"](i),t.removeClass("attr-fade attr-top attr-bottom attr-left attr-right attr-in"),t.find(".attr-popover-title").html()||t.find(".attr-popover-title").hide()},i.prototype.hasContent=function(){return this.getTitle()||this.getContent()},i.prototype.getContent=function(){var t=this.$element,e=this.options;return t.attr("data-content")||("function"==typeof e.content?e.content.call(t[0]):e.content)},i.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".attr-arrow")};var n=e.fn.popover;e.fn.popover=function(n){return this.each((function(){var o=e(this),r=o.data("bs.attr-popover"),a="object"==t(n)&&n;!r&&/destroy|hide/.test(n)||(r||o.data("bs.popover",r=new i(this,a)),"string"==typeof n&&r[n]())}))},e.fn.popover.Constructor=i,e.fn.popover.noConflict=function(){return e.fn.popover=n,this}}(jQuery),function(e){"use strict";function i(t,n){this.$body=e(document.body),this.$scrollElement=e(t).is(document.body)?e(window):e(t),this.options=e.extend({},i.DEFAULTS,n),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",e.proxy(this.process,this)),this.refresh(),this.process()}function n(n){return this.each((function(){var o=e(this),r=o.data("bs.scrollspy"),a="object"==t(n)&&n;r||o.data("bs.scrollspy",r=new i(this,a)),"string"==typeof n&&r[n]()}))}i.VERSION="3.3.7",i.DEFAULTS={offset:10},i.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},i.prototype.refresh=function(){var t=this,i="offset",n=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),e.isWindow(this.$scrollElement[0])||(i="position",n=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map((function(){var t=e(this),o=t.data("target")||t.attr("href"),r=/^#./.test(o)&&e(o);return r&&r.length&&r.is(":visible")&&[[r[i]().top+n,o]]||null})).sort((function(t,e){return t[0]-e[0]})).each((function(){t.offsets.push(this[0]),t.targets.push(this[1])}))},i.prototype.process=function(){var t,e=this.$scrollElement.scrollTop()+this.options.offset,i=this.getScrollHeight(),n=this.options.offset+i-this.$scrollElement.height(),o=this.offsets,r=this.targets,a=this.activeTarget;if(this.scrollHeight!=i&&this.refresh(),e>=n)return a!=(t=r[r.length-1])&&this.activate(t);if(a&&e<o[0])return this.activeTarget=null,this.clear();for(t=o.length;t--;)a!=r[t]&&e>=o[t]&&(o[t+1]===undefined||e<o[t+1])&&this.activate(r[t])},i.prototype.activate=function(t){this.activeTarget=t,this.clear();var i=this.selector+'[data-target="'+t+'"],'+this.selector+'[href="'+t+'"]',n=e(i).parents("li").addClass("attr-active");n.parent(".attr-dropdown-menu").length&&(n=n.closest("li.attr-dropdown").addClass("attr-active")),n.trigger("activate.bs.scrollspy")},i.prototype.clear=function(){e(this.selector).parentsUntil(this.options.target,".active").removeClass("attr-active")};var o=e.fn.scrollspy;e.fn.scrollspy=n,e.fn.scrollspy.Constructor=i,e.fn.scrollspy.noConflict=function(){return e.fn.scrollspy=o,this},e(window).on("load.bs.scrollspy.data-api",(function(){e('[data-spy="scroll"]').each((function(){var t=e(this);n.call(t,t.data())}))}))}(jQuery),function(t){"use strict";var e=function(e){this.element=t(e)};function i(i){return this.each((function(){var n=t(this),o=n.data("bs.tab");o||n.data("bs.tab",o=new e(this)),"string"==typeof i&&o[i]()}))}e.VERSION="3.3.7",e.TRANSITION_DURATION=150,e.prototype.show=function(){var e=this.element,i=e.closest("ul:not(.attr-dropdown-menu)"),n=e.data("target");if(n||(n=(n=e.attr("href"))&&n.replace(/.*(?=#[^\s]*$)/,"")),!e.parent("li").hasClass("attr-active")){var o=i.find(".attr-active:last a"),r=t.Event("hide.bs.tab",{relatedTarget:e[0]}),a=t.Event("show.bs.tab",{relatedTarget:o[0]});if(o.trigger(r),e.trigger(a),!a.isDefaultPrevented()&&!r.isDefaultPrevented()){var s=t(n);this.activate(e.closest("li"),i),this.activate(s,s.parent(),(function(){o.trigger({type:"hidden.bs.tab",relatedTarget:e[0]}),e.trigger({type:"shown.bs.tab",relatedTarget:o[0]})}))}}},e.prototype.activate=function(i,n,o){var r=n.find("> .attr-active"),a=o&&t.support.transition&&(r.length&&r.hasClass("attr-fade")||!!n.find("> .attr-fade").length);function s(){r.removeClass("attr-active").find("> .attr-dropdown-menu > .attr-active").removeClass("attr-active").end().find('[data-attr-toggle="tab"]').attr("aria-expanded",!1),i.addClass("attr-active").find('[data-attr-toggle="tab"]').attr("aria-expanded",!0),a?(i[0].offsetWidth,i.addClass("attr-in")):i.removeClass("attr-fade"),i.parent(".attr-dropdown-menu").length&&i.closest("li.attr-dropdown").addClass("attr-active").end().find('[data-attr-toggle="tab"]').attr("aria-expanded",!0),o&&o()}r.length&&a?r.one("bsTransitionEnd",s).emulateTransitionEnd(e.TRANSITION_DURATION):s(),r.removeClass("attr-in")};var n=t.fn.tab;t.fn.tab=i,t.fn.tab.Constructor=e,t.fn.tab.noConflict=function(){return t.fn.tab=n,this};var o=function(e){e.preventDefault(),i.call(t(this),"show")};t(document).on("click.bs.tab.data-api",'[data-attr-toggle="tab"]',o).on("click.bs.tab.data-api",'[data-attr-toggle="pill"]',o)}(jQuery),function(e){"use strict";var i=function r(t,i){this.options=e.extend({},r.DEFAULTS,i),this.$target=e(this.options.target).on("scroll.bs.affix.data-api",e.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",e.proxy(this.checkPositionWithEventLoop,this)),this.$element=e(t),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};function n(n){return this.each((function(){var o=e(this),r=o.data("bs.attr-affix"),a="object"==t(n)&&n;r||o.data("bs.affix",r=new i(this,a)),"string"==typeof n&&r[n]()}))}i.VERSION="3.3.7",i.RESET="affix affix-top affix-bottom",i.DEFAULTS={offset:0,target:window},i.prototype.getState=function(t,e,i,n){var o=this.$target.scrollTop(),r=this.$element.offset(),a=this.$target.height();if(null!=i&&"top"==this.affixed)return o<i&&"top";if("bottom"==this.affixed)return null!=i?!(o+this.unpin<=r.top)&&"bottom":!(o+a<=t-n)&&"bottom";var s=null==this.affixed,l=s?o:r.top;return null!=i&&o<=i?"top":null!=n&&l+(s?a:e)>=t-n&&"bottom"},i.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(i.RESET).addClass("attr-affix");var t=this.$target.scrollTop(),e=this.$element.offset();return this.pinnedOffset=e.top-t},i.prototype.checkPositionWithEventLoop=function(){setTimeout(e.proxy(this.checkPosition,this),1)},i.prototype.checkPosition=function(){if(this.$element.is(":visible")){var n=this.$element.height(),o=this.options.offset,r=o.top,a=o.bottom,s=Math.max(e(document).height(),e(document.body).height());"object"!=t(o)&&(a=r=o),"function"==typeof r&&(r=o.top(this.$element)),"function"==typeof a&&(a=o.bottom(this.$element));var l=this.getState(s,n,r,a);if(this.affixed!=l){null!=this.unpin&&this.$element.css("top","");var d="affix"+(l?"-"+l:""),c=e.Event(d+".bs.affix");if(this.$element.trigger(c),c.isDefaultPrevented())return;this.affixed=l,this.unpin="bottom"==l?this.getPinnedOffset():null,this.$element.removeClass(i.RESET).addClass("attr-"+d).trigger(d.replace("affix","affixed")+".bs.affix")}"bottom"==l&&this.$element.offset({top:s-n-a})}};var o=e.fn.affix;e.fn.affix=n,e.fn.affix.Constructor=i,e.fn.affix.noConflict=function(){return e.fn.affix=o,this},e(window).on("load",(function(){e('[data-spy="affix"]').each((function(){var t=e(this),i=t.data();i.offset=i.offset||{},null!=i.offsetBottom&&(i.offset.bottom=i.offsetBottom),null!=i.offsetTop&&(i.offset.top=i.offsetTop),n.call(t,i)}))}))}(jQuery)},13:function(t,e,i){var n,o,r;function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}r=function(){"use strict";function t(t){return t&&"[object Function]"==={}.toString.call(t)}function e(t,e){if(1!==t.nodeType)return[];var i=window.getComputedStyle(t,null);return e?i[e]:i}function n(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function o(t){if(!t||-1!==["HTML","BODY","#document"].indexOf(t.nodeName))return window.document.body;var i=e(t),r=i.overflow,a=i.overflowX,s=i.overflowY;return/(auto|scroll)/.test(r+s+a)?t:o(n(t))}function r(t){var i=t&&t.offsetParent,n=i&&i.nodeName;return n&&"BODY"!==n&&"HTML"!==n?-1!==["TD","TABLE"].indexOf(i.nodeName)&&"static"===e(i,"position")?r(i):i:window.document.documentElement}function a(t){return null===t.parentNode?t:a(t.parentNode)}function s(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return window.document.documentElement;var i=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,n=i?t:e,o=i?e:t,l=document.createRange();l.setStart(n,0),l.setEnd(o,0);var d=l.commonAncestorContainer;if(t!==d&&e!==d||n.contains(o))return function(t){var e=t.nodeName;return"BODY"!==e&&("HTML"===e||r(t.firstElementChild)===t)}(d)?d:r(d);var c=a(t);return c.host?s(c.host,e):s(t,a(e).host)}function l(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"top",i="top"===e?"scrollTop":"scrollLeft",n=t.nodeName;if("BODY"===n||"HTML"===n){var o=window.document.documentElement,r=window.document.scrollingElement||o;return r[i]}return t[i]}function d(t,e){var i=2<arguments.length&&void 0!==arguments[2]&&arguments[2],n=l(e,"top"),o=l(e,"left"),r=i?-1:1;return t.top+=n*r,t.bottom+=n*r,t.left+=o*r,t.right+=o*r,t}function c(t,e){var i="x"===e?"Left":"Top",n="Left"==i?"Right":"Bottom";return+t["border"+i+"Width"].split("px")[0]+ +t["border"+n+"Width"].split("px")[0]}function p(t,e,i,n){return F(e["offset"+t],e["scroll"+t],i["client"+t],i["offset"+t],i["scroll"+t],Z()?i["offset"+t]+n["margin"+("Height"===t?"Top":"Left")]+n["margin"+("Height"===t?"Bottom":"Right")]:0)}function h(){var t=window.document.body,e=window.document.documentElement,i=Z()&&window.getComputedStyle(e);return{height:p("Height",t,e,i),width:p("Width",t,e,i)}}function f(t){return tt({},t,{right:t.left+t.width,bottom:t.top+t.height})}function u(t){var i={};if(Z())try{i=t.getBoundingClientRect();var n=l(t,"top"),o=l(t,"left");i.top+=n,i.left+=o,i.bottom+=n,i.right+=o}catch(t){}else i=t.getBoundingClientRect();var r={left:i.left,top:i.top,width:i.right-i.left,height:i.bottom-i.top},a="HTML"===t.nodeName?h():{},s=a.width||t.clientWidth||r.right-r.left,d=a.height||t.clientHeight||r.bottom-r.top,p=t.offsetWidth-s,u=t.offsetHeight-d;if(p||u){var m=e(t);p-=c(m,"x"),u-=c(m,"y"),r.width-=p,r.height-=u}return f(r)}function m(t,i){var n=Z(),r="HTML"===i.nodeName,a=u(t),s=u(i),l=o(t),c=e(i),p=+c.borderTopWidth.split("px")[0],h=+c.borderLeftWidth.split("px")[0],m=f({top:a.top-s.top-p,left:a.left-s.left-h,width:a.width,height:a.height});if(m.marginTop=0,m.marginLeft=0,!n&&r){var g=+c.marginTop.split("px")[0],v=+c.marginLeft.split("px")[0];m.top-=p-g,m.bottom-=p-g,m.left-=h-v,m.right-=h-v,m.marginTop=g,m.marginLeft=v}return(n?i.contains(l):i===l&&"BODY"!==l.nodeName)&&(m=d(m,i)),m}function g(t){var e=window.document.documentElement,i=m(t,e),n=F(e.clientWidth,window.innerWidth||0),o=F(e.clientHeight,window.innerHeight||0),r=l(e),a=l(e,"left");return f({top:r-i.top+i.marginTop,left:a-i.left+i.marginLeft,width:n,height:o})}function v(t){var i=t.nodeName;return"BODY"!==i&&"HTML"!==i&&("fixed"===e(t,"position")||v(n(t)))}function b(t,e,i,r){var a={top:0,left:0},l=s(t,e);if("viewport"===r)a=g(l);else{var d;"scrollParent"===r?"BODY"===(d=o(n(t))).nodeName&&(d=window.document.documentElement):d="window"===r?window.document.documentElement:r;var c=m(d,l);if("HTML"!==d.nodeName||v(l))a=c;else{var p=h(),f=p.height,u=p.width;a.top+=c.top-c.marginTop,a.bottom=f+c.top,a.left+=c.left-c.marginLeft,a.right=u+c.left}}return a.left+=i,a.top+=i,a.right-=i,a.bottom-=i,a}function y(t){return t.width*t.height}function w(t,e,i,n,o){var r=5<arguments.length&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var a=b(i,n,r,o),s={top:{width:a.width,height:e.top-a.top},right:{width:a.right-e.right,height:a.height},bottom:{width:a.width,height:a.bottom-e.bottom},left:{width:e.left-a.left,height:a.height}},l=Object.keys(s).map((function(t){return tt({key:t},s[t],{area:y(s[t])})})).sort((function(t,e){return e.area-t.area})),d=l.filter((function(t){var e=t.width,n=t.height;return e>=i.clientWidth&&n>=i.clientHeight})),c=0<d.length?d[0].key:l[0].key,p=t.split("-")[1];return c+(p?"-"+p:"")}function k(t,e,i){return m(i,s(e,i))}function C(t){var e=window.getComputedStyle(t),i=parseFloat(e.marginTop)+parseFloat(e.marginBottom),n=parseFloat(e.marginLeft)+parseFloat(e.marginRight);return{width:t.offsetWidth+n,height:t.offsetHeight+i}}function T(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,(function(t){return e[t]}))}function $(t,e,i){i=i.split("-")[0];var n=C(t),o={width:n.width,height:n.height},r=-1!==["right","left"].indexOf(i),a=r?"top":"left",s=r?"left":"top",l=r?"height":"width",d=r?"width":"height";return o[a]=e[a]+e[l]/2-n[l]/2,o[s]=i===s?e[s]-n[d]:e[T(s)],o}function x(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function E(e,i,n){return(void 0===n?e:e.slice(0,function(t,e,i){if(Array.prototype.findIndex)return t.findIndex((function(t){return t[e]===i}));var n=x(t,(function(t){return t[e]===i}));return t.indexOf(n)}(e,"name",n))).forEach((function(e){e["function"]&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=e["function"]||e.fn;e.enabled&&t(n)&&(i.offsets.popper=f(i.offsets.popper),i.offsets.reference=f(i.offsets.reference),i=n(i,e))})),i}function S(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=k(this.state,this.popper,this.reference),t.placement=w(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.offsets.popper=$(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position="absolute",t=E(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}function O(t,e){return t.some((function(t){var i=t.name;return t.enabled&&i===e}))}function A(t){for(var e=[!1,"ms","Webkit","Moz","O"],i=t.charAt(0).toUpperCase()+t.slice(1),n=0;n<e.length-1;n++){var o=e[n],r=o?""+o+i:t;if("undefined"!=typeof window.document.body.style[r])return r}return null}function D(){return this.state.isDestroyed=!0,O(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.left="",this.popper.style.position="",this.popper.style.top="",this.popper.style[A("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function I(t,e,i,n){var r="BODY"===t.nodeName,a=r?window:t;a.addEventListener(e,i,{passive:!0}),r||I(o(a.parentNode),e,i,n),n.push(a)}function N(t,e,i,n){i.updateBound=n,window.addEventListener("resize",i.updateBound,{passive:!0});var r=o(t);return I(r,"scroll",i.updateBound,i.scrollParents),i.scrollElement=r,i.eventsEnabled=!0,i}function _(){this.state.eventsEnabled||(this.state=N(this.reference,this.options,this.state,this.scheduleUpdate))}function j(){this.state.eventsEnabled&&(window.cancelAnimationFrame(this.scheduleUpdate),this.state=function(t,e){return window.removeEventListener("resize",e.updateBound),e.scrollParents.forEach((function(t){t.removeEventListener("scroll",e.updateBound)})),e.updateBound=null,e.scrollParents=[],e.scrollElement=null,e.eventsEnabled=!1,e}(this.reference,this.state))}function R(t){return""!==t&&!isNaN(parseFloat(t))&&isFinite(t)}function L(t,e){Object.keys(e).forEach((function(i){var n="";-1!==["width","height","top","right","bottom","left"].indexOf(i)&&R(e[i])&&(n="px"),t.style[i]=e[i]+n}))}function P(t,e,i){var n=x(t,(function(t){return t.name===e})),o=!!n&&t.some((function(t){return t.name===i&&t.enabled&&t.order<n.order}));if(!o){var r="`"+e+"`";console.warn("`"+i+"` modifier is required by "+r+" modifier in order to work, be sure to include it before "+r+"!")}return o}function U(t){var e=1<arguments.length&&void 0!==arguments[1]&&arguments[1],i=it.indexOf(t),n=it.slice(i+1).concat(it.slice(0,i));return e?n.reverse():n}function B(t,e,i,n){var o=[0,0],r=-1!==["right","left"].indexOf(n),a=t.split(/(\+|\-)/).map((function(t){return t.trim()})),s=a.indexOf(x(a,(function(t){return-1!==t.search(/,|\s/)})));a[s]&&-1===a[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,d=-1===s?[a]:[a.slice(0,s).concat([a[s].split(l)[0]]),[a[s].split(l)[1]].concat(a.slice(s+1))];return(d=d.map((function(t,n){var o=(1===n?!r:r)?"height":"width",a=!1;return t.reduce((function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,a=!0,t):a?(t[t.length-1]+=e,a=!1,t):t.concat(e)}),[]).map((function(t){return function(t,e,i,n){var o=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),r=+o[1],a=o[2];if(!r)return t;if(0===a.indexOf("%")){var s;switch(a){case"%p":s=i;break;case"%":case"%r":default:s=n}return f(s)[e]/100*r}return"vh"===a||"vw"===a?("vh"===a?F(document.documentElement.clientHeight,window.innerHeight||0):F(document.documentElement.clientWidth,window.innerWidth||0))/100*r:r}(t,o,e,i)}))}))).forEach((function(t,e){t.forEach((function(i,n){R(i)&&(o[e]+=i*("-"===t[n-1]?-1:1))}))})),o}for(var W=Math.min,H=Math.floor,F=Math.max,M=["native code","[object MutationObserverConstructor]"],Q="undefined"!=typeof window,z=["Edge","Trident","Firefox"],V=0,q=0;q<z.length;q+=1)if(Q&&0<=navigator.userAgent.indexOf(z[q])){V=1;break}var Y,G=Q&&function(t){return M.some((function(e){return-1<(t||"").toString().indexOf(e)}))}(window.MutationObserver)?function(t){var e=!1,i=0,n=document.createElement("span");return new MutationObserver((function(){t(),e=!1})).observe(n,{attributes:!0}),function(){e||(e=!0,n.setAttribute("x-index",i),++i)}}:function(t){var e=!1;return function(){e||(e=!0,setTimeout((function(){e=!1,t()}),V))}},Z=function(){return null==Y&&(Y=-1!==navigator.appVersion.indexOf("MSIE 10")),Y},K=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},J=function(){function t(t,e){for(var i,n=0;n<e.length;n++)(i=e[n]).enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),X=function(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t},tt=Object.assign||function(t){for(var e,i=1;i<arguments.length;i++)for(var n in e=arguments[i])Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t},et=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],it=et.slice(3),nt="flip",ot="clockwise",rt="counterclockwise",at=function(){function e(i,n){var o=this,r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};K(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(o.update)},this.update=G(this.update.bind(this)),this.options=tt({},e.Defaults,r),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=i.jquery?i[0]:i,this.popper=n.jquery?n[0]:n,this.options.modifiers={},Object.keys(tt({},e.Defaults.modifiers,r.modifiers)).forEach((function(t){o.options.modifiers[t]=tt({},e.Defaults.modifiers[t]||{},r.modifiers?r.modifiers[t]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(t){return tt({name:t},o.options.modifiers[t])})).sort((function(t,e){return t.order-e.order})),this.modifiers.forEach((function(e){e.enabled&&t(e.onLoad)&&e.onLoad(o.reference,o.popper,o.options,e,o.state)})),this.update();var a=this.options.eventsEnabled;a&&this.enableEventListeners(),this.state.eventsEnabled=a}return J(e,[{key:"update",value:function(){return S.call(this)}},{key:"destroy",value:function(){return D.call(this)}},{key:"enableEventListeners",value:function(){return _.call(this)}},{key:"disableEventListeners",value:function(){return j.call(this)}}]),e}();return at.Utils=("undefined"==typeof window?i.g:window).PopperUtils,at.placements=et,at.Defaults={placement:"bottom",eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(t){var e=t.placement,i=e.split("-")[0],n=e.split("-")[1];if(n){var o=t.offsets,r=o.reference,a=o.popper,s=-1!==["bottom","top"].indexOf(i),l=s?"left":"top",d=s?"width":"height",c={start:X({},l,r[l]),end:X({},l,r[l]+r[d]-a[d])};t.offsets.popper=tt({},a,c[n])}return t}},offset:{order:200,enabled:!0,fn:function(t,e){var i,n=e.offset,o=t.placement,r=t.offsets,a=r.popper,s=r.reference,l=o.split("-")[0];return i=R(+n)?[+n,0]:B(n,a,s,l),"left"===l?(a.top+=i[0],a.left-=i[1]):"right"===l?(a.top+=i[0],a.left+=i[1]):"top"===l?(a.left+=i[0],a.top-=i[1]):"bottom"===l&&(a.left+=i[0],a.top+=i[1]),t.popper=a,t},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,e){var i=e.boundariesElement||r(t.instance.popper);t.instance.reference===i&&(i=r(i));var n=b(t.instance.popper,t.instance.reference,e.padding,i);e.boundaries=n;var o=e.priority,a=t.offsets.popper,s={primary:function(t){var i=a[t];return a[t]<n[t]&&!e.escapeWithReference&&(i=F(a[t],n[t])),X({},t,i)},secondary:function(t){var i="right"===t?"left":"top",o=a[i];return a[t]>n[t]&&!e.escapeWithReference&&(o=W(a[i],n[t]-("right"===t?a.width:a.height))),X({},i,o)}};return o.forEach((function(t){var e=-1===["left","top"].indexOf(t)?"secondary":"primary";a=tt({},a,s[e](t))})),t.offsets.popper=a,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,i=e.popper,n=e.reference,o=t.placement.split("-")[0],r=H,a=-1!==["top","bottom"].indexOf(o),s=a?"right":"bottom",l=a?"left":"top",d=a?"width":"height";return i[s]<r(n[l])&&(t.offsets.popper[l]=r(n[l])-i[d]),i[l]>r(n[s])&&(t.offsets.popper[l]=r(n[s])),t}},arrow:{order:500,enabled:!0,fn:function(t,i){if(!P(t.instance.modifiers,"arrow","keepTogether"))return t;var n=i.element;if("string"==typeof n){if(!(n=t.instance.popper.querySelector(n)))return t}else if(!t.instance.popper.contains(n))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var o=t.placement.split("-")[0],r=t.offsets,a=r.popper,s=r.reference,l=-1!==["left","right"].indexOf(o),d=l?"height":"width",c=l?"Top":"Left",p=c.toLowerCase(),h=l?"left":"top",u=l?"bottom":"right",m=C(n)[d];s[u]-m<a[p]&&(t.offsets.popper[p]-=a[p]-(s[u]-m)),s[p]+m>a[u]&&(t.offsets.popper[p]+=s[p]+m-a[u]);var g=s[p]+s[d]/2-m/2,v=e(t.instance.popper,"margin"+c).replace("px",""),b=g-f(t.offsets.popper)[p]-v;return b=F(W(a[d]-m,b),0),t.arrowElement=n,t.offsets.arrow={},t.offsets.arrow[p]=Math.round(b),t.offsets.arrow[h]="",t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(t,e){if(O(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var i=b(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement),n=t.placement.split("-")[0],o=T(n),r=t.placement.split("-")[1]||"",a=[];switch(e.behavior){case nt:a=[n,o];break;case ot:a=U(n);break;case rt:a=U(n,!0);break;default:a=e.behavior}return a.forEach((function(s,l){if(n!==s||a.length===l+1)return t;n=t.placement.split("-")[0],o=T(n);var d=t.offsets.popper,c=t.offsets.reference,p=H,h="left"===n&&p(d.right)>p(c.left)||"right"===n&&p(d.left)<p(c.right)||"top"===n&&p(d.bottom)>p(c.top)||"bottom"===n&&p(d.top)<p(c.bottom),f=p(d.left)<p(i.left),u=p(d.right)>p(i.right),m=p(d.top)<p(i.top),g=p(d.bottom)>p(i.bottom),v="left"===n&&f||"right"===n&&u||"top"===n&&m||"bottom"===n&&g,b=-1!==["top","bottom"].indexOf(n),y=!!e.flipVariations&&(b&&"start"===r&&f||b&&"end"===r&&u||!b&&"start"===r&&m||!b&&"end"===r&&g);(h||v||y)&&(t.flipped=!0,(h||v)&&(n=a[l+1]),y&&(r=function(t){return"end"===t?"start":"start"===t?"end":t}(r)),t.placement=n+(r?"-"+r:""),t.offsets.popper=tt({},t.offsets.popper,$(t.instance.popper,t.offsets.reference,t.placement)),t=E(t.instance.modifiers,t,"flip"))})),t},behavior:"flip",padding:5,boundariesElement:"viewport"},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,i=e.split("-")[0],n=t.offsets,o=n.popper,r=n.reference,a=-1!==["left","right"].indexOf(i),s=-1===["top","left"].indexOf(i);return o[a?"left":"top"]=r[i]-(s?o[a?"width":"height"]:0),t.placement=T(e),t.offsets.popper=f(o),t}},hide:{order:800,enabled:!0,fn:function(t){if(!P(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,i=x(t.instance.modifiers,(function(t){return"preventOverflow"===t.name})).boundaries;if(e.bottom<i.top||e.left>i.right||e.top>i.bottom||e.right<i.left){if(!0===t.hide)return t;t.hide=!0,t.attributes["x-out-of-boundaries"]=""}else{if(!1===t.hide)return t;t.hide=!1,t.attributes["x-out-of-boundaries"]=!1}return t}},computeStyle:{order:850,enabled:!0,fn:function(t,e){var i=e.x,n=e.y,o=t.offsets.popper,a=x(t.instance.modifiers,(function(t){return"applyStyle"===t.name})).gpuAcceleration;void 0!==a&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var s,l,d=void 0===a?e.gpuAcceleration:a,c=u(r(t.instance.popper)),p={position:o.position},h={left:H(o.left),top:H(o.top),bottom:H(o.bottom),right:H(o.right)},f="bottom"===i?"top":"bottom",m="right"===n?"left":"right",g=A("transform");if(l="bottom"==f?-c.height+h.bottom:h.top,s="right"==m?-c.width+h.right:h.left,d&&g)p[g]="translate3d("+s+"px, "+l+"px, 0)",p[f]=0,p[m]=0,p.willChange="transform";else{var v="bottom"==f?-1:1,b="right"==m?-1:1;p[f]=l*v,p[m]=s*b,p.willChange=f+", "+m}var y={"x-placement":t.placement};return t.attributes=tt({},y,t.attributes),t.styles=tt({},p,t.styles),t.arrowStyles=tt({},t.offsets.arrow,t.arrowStyles),t},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(t){return L(t.instance.popper,t.styles),function(t,e){Object.keys(e).forEach((function(i){!1===e[i]?t.removeAttribute(i):t.setAttribute(i,e[i])}))}(t.instance.popper,t.attributes),t.arrowElement&&Object.keys(t.arrowStyles).length&&L(t.arrowElement,t.arrowStyles),t},onLoad:function(t,e,i,n,o){var r=k(0,e,t),a=w(i.placement,r,e,t,i.modifiers.flip.boundariesElement,i.modifiers.flip.padding);return e.setAttribute("x-placement",a),L(e,{position:"absolute"}),i},gpuAcceleration:void 0}}},at},"object"==a(e)?t.exports=r():(o="function"==typeof(n=r)?n.call(e,i,e,t):n)===undefined||(t.exports=o)}},e={};function i(n){if(e[n])return e[n].exports;var o=e[n]={exports:{}};return t[n].call(o.exports,o,o.exports,i),o.exports}i.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return i.d(e,{a:e}),e},i.d=function(t,e){for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},function(){"use strict";i(775),i(13),i(150)}()}();
1
+ !function(){var t={150:function(){jQuery(document).ready((function(t){"use strict";var e;if(t(".ekit-admin-single-accordion").on("click",".ekit-admin-single-accordion--heading",(function(){t(this).next().slideToggle().parent().toggleClass("active").siblings().removeClass("active").find(".ekit-admin-single-accordion--body").slideUp()})),t(".ekit-admin-single-accordion:first-child .ekit-admin-single-accordion--heading").trigger("click"),t(".ekit-admin-video-tutorial-item, .ekit-onboard-tutorial--btn").on("click","a",(function(e){var i=t(this).data("video_id");i&&(e.preventDefault(),t(".ekti-admin-video-tutorial-popup").toggleClass("show").find(".ekti-admin-video-tutorial-iframe").html('<iframe width="700" height="400" src="https://www.youtube.com/embed/'+i+'?autoplay=1" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>'))})),t(".ekti-admin-video-tutorial-close").on("click",(function(){t(this).parents(".ekti-admin-video-tutorial-popup").removeClass("show").find(".ekti-admin-video-tutorial-iframe").html("")})),t(".ekit-admin-nav-link[data-attr-toggle]").on("click",(function(){var e=t(this),i=this.hash;e.parents(".attr-nav-tabs").find("a").removeClass("top").removeClass("bottom"),e.parents("li").prev().find("a").addClass("top"),e.parents("li").next().find("a").addClass("bottom"),history.pushState(null,null,i)})),(e=window.location.hash)&&t("".concat(e,"-tab")).trigger("click"),t("#v-elementskit-tabContent").length>0){var i=t("#v-elementskit-tabContent").offset().top;t(window).scroll((function(){var e=t(".ekit-admin-section-header");t(window).scrollTop()>=i?e.addClass("fixed").css({width:jQuery("#v-elementskit-tabContent").width()}):e.removeClass("fixed").css({width:"auto"})}))}function n(e){var i=e.closest(".attr-tab-pane"),n=t(i).find(".ekit-admin-fields-container-fieldset"),o=n.find(".ekit-admin-control-input:checked").length==n.find(".ekit-admin-control-input:not(:disabled)").length;t(i).find(".ekit-all-control-input").prop("checked",o)}function o(e,i){var n=e.getAttribute("aria-controls"),o=document.getElementById("".concat(n));i?(t(o).removeClass("attr-in"),o.style.height="0px",e.style.pointerEvents="none"):(o.style.height="auto",e.style.pointerEvents="auto","mail_chimp_data_control"===n&&t(o).addClass("attr-in"))}function r(e){var i=e.value,n=t(".label-".concat(i)),r=n.find(".attr-btn");t(e).prop("checked")?n.removeClass("widget-disabled"):n.addClass("widget-disabled");var a=document.createElement("small");if(a.setAttribute("class","attr-widget-activate-text"),a.setAttribute("id","disable-msg-".concat(i)),a.textContent="Disabled",n.hasClass("widget-disabled"))r.hasClass("attr-btn")&&(n.hasClass("pro-disabled")||(r[0].setAttribute("aria-expanded",!1),r[0].appendChild(a)),o(r[0],!0));else if(r.hasClass("attr-btn")){"mail-chimp"===i&&r[0].setAttribute("aria-expanded",!0);var s=document.getElementById("disable-msg-".concat(i));if(s)s.parentNode.removeChild(s);o(r[0],!1)}}t("#ekit-admin-settings-form").on("submit",(function(e){var i=t(this),n=i.find(".ekit-admin-settings-form-submit"),o=i.serialize();i.addClass("is-loading"),n.attr("disabled",!0),n.find(".ekit-admin-save-icon").hide(),o+="&nonce="+ekit_ajax_var.nonce,t.post(ajaxurl+"?action=ekit_admin_action",o,(function(e){var o,r,a,s;i.removeClass("is-loading"),n.removeAttr("disabled"),n.find(".ekit-admin-save-icon").fadeIn(),o=t("#ekit-admin-switch__module__list____header-footer").prop("checked"),r=t("#elementskit-template-admin-menu").html(),a=t("#toplevel_page_elementskit .wp-submenu"),s=a.find('a[href="edit.php?post_type=elementskit_template"]'),1==o?s.length>0||"y"==a.attr("item-added")?s.parent().show():(a.find("li.wp-first-item").after(r),a.attr("item-added","y")):s.parent().hide(),function(){var e=t("#ekit-admin-switch__module__list____widget-builder").prop("checked"),i=t("#elementskit-template-widget-menu").html(),n=t("#toplevel_page_elementskit .wp-submenu"),o=n.find('a[href="edit.php?post_type=elementskit_widget"]');1==e?o.length>0||"y"==n.attr("item-added")?o.parent().show():(n.find("li.wp-first-item").next().after(i),n.attr("item-added","y")):o.parent().hide()}(),n.hasClass("ekit-onboard-btn")&&(window.location.href=window.location.origin+window.location.pathname+"?page=elementskit")})),e.preventDefault()})),t("#ekit-admin-license-form").on("submit",(function(e){var i=t(this),n=i.find(".ekit-admin-license-form-submit"),o=i.serialize(),r=i.find(".elementskit-license-form-result .attr-alert");i.addClass("is-loading"),n.find(".ekit-admin-save-icon").hide(),o+="&nonce="+ekit_ajax_var.nonce,t.post(ajaxurl+"?action=ekit_admin_license",o,(function(t){i.removeClass("is-loading"),n.removeAttr("disabled"),n.find(".ekit-admin-save-icon").fadeIn(),r.attr("class","attr-alert attr-alert-"+t.status).html(t.message),1==t.validate&&setTimeout((function(){window.location.reload()}),2e3)}),"json"),e.preventDefault()})),t(".ekit-zoom-connection").on("click",(function(e){e.preventDefault();var i=t(this);i.attr("disabled",!0),jQuery.ajax({data:{},type:"post",url:window.rest_config.rest_url+"elementskit/v1/zoom-meeting/hosts/",beforeSend:function(t){t.setRequestHeader("X-WP-Nonce",window.rest_config.nonce)},success:function(t){alert(t.message),i.attr("disabled",!1)}})})),t("#ekit_instagram_refresh_feed_btn").on("click",(function(e){e.preventDefault();var i=elementskit.resturl+"widget/instagram-feed/refresh_feed",n=t("#ekit-admin-option-textuser__data__instragram____username__").val();t.get("https://www.instagram.com/"+n+"/?__a=1",(function(e){t.ajax({type:"POST",url:i,data:{content:e},success:function(t){alert("Instagram data refreshed")},error:function(t){alert("Instagram data refreshed")}})}))})),t(".cache_clean_social_provider").on("click",(function(e){e.preventDefault();var i=t(this),n=i.data("provider"),o=i.data("url_part"),r=elementskit.resturl+"widget/"+o+"/remove_cache";i.attr("disabled",!0),t.ajax({type:"POST",url:r,data:{provider_id:n},success:function(t){i.attr("disabled",!1),alert(t.msg)},error:function(t){i.attr("disabled",!0),alert("Something wrong.....")}})})),document.querySelectorAll(".ekit-admin-control-input").forEach((function(t){r(t)})),t(".ekit-all-control-input").each((function(t,e){n(e)})),t(".ekit-admin-fields-container-fieldset .ekit-admin-control-input").on("change",(function(t){n(t.target),r(t.target)})),t(".ekit-all-control-input").on("change",(function(e){var i=t(e.target).closest(".attr-tab-pane").find(".ekit-admin-fields-container")[0];t(i).find(".ekit-admin-control-input:not(:disabled)").each((function(i,n){t(n).prop("checked",e.target.checked),r(n)}))})),t(".ekit-onboard-step-wrapper #signup").on("input",(function(){var e,i,n;e=t(this),n=e,t(".error").remove(),!n.length||(i=n.val(),/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/.test(i))||n.parent().after('<p class="error">Please enter valid email.</p>')})),t(".ekit-onboard-step-wrapper #signup").on("keydown",(function(t){"Enter"==t.key&&t.preventDefault()})),t(".ekit-onboard-nav-item").on("click",(function(){if(t(this).index()>1&&!t(this).hasClass("next")&&!t(this).hasClass("selected"))return!1;if(t(this).hasClass("next"))t(".ekit-onboard-step-wrapper.active #signup");t(this).next().addClass("next").siblings().removeClass("next"),t(this).removeClass("selected"),t(this).addClass("active").siblings().removeClass("active"),t(this).prevAll().addClass("selected").end().nextAll().removeClass("selected");var e=t(this).data("step_key"),i=t(this).parents(".ekit-onboard-nav"),n=i.offset().left,o=t(this).hasClass("last")?i.width():t(this).offset().left-n+t(this).outerWidth();t(".ekit-onboard-progressbar").css("width",o),t(".ekit-onboard-"+e).addClass("active").siblings().removeClass("active")})),t(".ekit-onboard-nav-item:first-of-type").trigger("click"),t(".ekit-onboard-pagi-btn").on("click",(function(e){t(this).hasClass("next")&&t(".ekit-onboard-nav-item.active").next().trigger("click"),t(this).hasClass("prev")&&t(".ekit-onboard-nav-item.active").prev().trigger("click")}));var a=["elementskit-icon-pack","header-footer","megamenu","button","heading","category-list","post-list","page-list","nav-menu","accordion","header-info","header-search","icon-box","image-box","client-logo","faq","funfact","testimonial","social","video","blog-posts","pricing","team","tab","header-offcanvas"],s=["ninja-forms","wp-forms","we-forms","social-share","drop-caps","caldera-forms","onepage-scroll","contact-form7","fluent-forms"];function l(e,i,n,o){var r=this;t.ajax({type:"GET",url:e,beforeSend:function(){t(r).addClass("ekit-plugin-install-activate"),n&&t(r).html(n)},success:function(n){t(r).removeClass("ekit-plugin-install-activate"),e.indexOf("action=activate")>=0&&t(r).addClass("activated"),t(r).html(o),i&&i()}})}t(".ekit-admin-input-radio .ekit-admin-control-input").on("change",(function(e,i){var n=t(".ekit-onboard-section .attr-input:not(.ekit-content-type-pro-disabled)"),o=n.find(".ekit-admin-control-input");if(t(".ekit-admin-input-radio .ekit-admin-input-switch").removeClass("active"),t(this).parent().addClass("active"),i&&"hold"===i)return!1;o.prop("checked",!1),"basic"==t(this).val()?a.forEach((function(t){n.find('.ekit-admin-control-input[value="'+t+'"]').prop("checked",!0)})):"advanced"==t(this).val()?o.each((function(){-1==s.indexOf(t(this).val())?t(this).prop("checked",!0):t(this).prop("checked",!1)})):o.prop("checked",!0)})),jQuery(".ekit-admin-input-radio .ekit-admin-control-input:checked").trigger("change"),t(".ekit-onboard-section .ekit-admin-control-input").on("change",(function(){"custom"!=t(".ekit-admin-input-radio .ekit-admin-control-input").val()&&(t(".ekit-onboard-custom-filter .ekit-admin-control-input").prop("checked",!0),t(".ekit-onboard-custom-filter .ekit-admin-control-input").trigger("change","hold"))})),t(".ekit-onboard-single-plugin--install_plugin").on("click",(function(e){var i=this;e.preventDefault();var n=t(this).attr("href"),o=t(this).attr("data-activation_url"),r=t(this).data("plugin_status");if(t(this).hasClass("ekit-plugin-install-activate")||t(this).hasClass("activated"))return!1;"not_installed"==r?l.call(this,n,(function(){l.call(i,o,null,"Activating...","Activated")}),"Installing...","Installed"):"installed"==r&&l.call(this,o,null,"Activating...","Activated")})),jQuery(".ekit-onboard-tut-term--help").on("click",(function(){t(this).toggleClass("active").prev().toggleClass("active")}))}))},775:function(){function t(e){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}
2
  /*!
3
  * Bootstrap v3.3.7 (http://getbootstrap.com)
4
  * Copyright 2011-2016 Twitter, Inc.
5
  * Licensed under the MIT license
6
+ */if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");!function(t){"use strict";var e=jQuery.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1==e[0]&&9==e[1]&&e[2]<1||e[0]>3)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 4")}(),function(t){"use strict";t.fn.emulateTransitionEnd=function(e){var i=!1,n=this;t(this).one("bsTransitionEnd",(function(){i=!0}));return setTimeout((function(){i||t(n).trigger(t.support.transition.end)}),e),this},t((function(){t.support.transition=function(){var t=document.createElement("bootstrap"),e={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var i in e)if(t.style[i]!==undefined)return{end:e[i]};return!1}(),t.support.transition&&(t.event.special.bsTransitionEnd={bindType:t.support.transition.end,delegateType:t.support.transition.end,handle:function(e){if(t(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}})}))}(jQuery),function(t){"use strict";var e='[data-dismiss="alert"]',i=function(i){t(i).on("click",e,this.close)};i.VERSION="3.3.7",i.TRANSITION_DURATION=150,i.prototype.close=function(e){var n=t(this),o=n.attr("data-target");o||(o=(o=n.attr("href"))&&o.replace(/.*(?=#[^\s]*$)/,""));var r=t("#"===o?[]:o);function a(){r.detach().trigger("closed.bs.attr-alert").remove()}e&&e.preventDefault(),r.length||(r=n.closest(".attr-alert")),r.trigger(e=t.Event("close.bs.attr-alert")),e.isDefaultPrevented()||(r.removeClass("attr-in"),t.support.transition&&r.hasClass("attr-fade")?r.one("bsTransitionEnd",a).emulateTransitionEnd(i.TRANSITION_DURATION):a())};var n=t.fn.alert;t.fn.alert=function(e){return this.each((function(){var n=t(this),o=n.data("bs.attr-alert");o||n.data("bs.alert",o=new i(this)),"string"==typeof e&&o[e].call(n)}))},t.fn.alert.Constructor=i,t.fn.alert.noConflict=function(){return t.fn.alert=n,this},t(document).on("click.bs.alert.data-api",e,i.prototype.close)}(jQuery),function(e){"use strict";var i=function r(t,i){this.$element=e(t),this.options=e.extend({},r.DEFAULTS,i),this.isLoading=!1};function n(n){return this.each((function(){var o=e(this),r=o.data("bs.button"),a="object"==t(n)&&n;r||o.data("bs.button",r=new i(this,a)),"toggle"==n?r.toggle():n&&r.setState(n)}))}i.VERSION="3.3.7",i.DEFAULTS={loadingText:"loading..."},i.prototype.setState=function(t){var i="disabled",n=this.$element,o=n.is("input")?"val":"html",r=n.data();t+="Text",null==r.resetText&&n.data("resetText",n[o]()),setTimeout(e.proxy((function(){n[o](null==r[t]?this.options[t]:r[t]),"loadingText"==t?(this.isLoading=!0,n.addClass("attr-"+i).attr(i,i).prop(i,!0)):this.isLoading&&(this.isLoading=!1,n.removeClass("attr-"+i).removeAttr(i).prop(i,!1))}),this),0)},i.prototype.toggle=function(){var t=!0,e=this.$element.closest('[data-attr-toggle="buttons"]');if(e.length){var i=this.$element.find("input");"radio"==i.prop("type")?(i.prop("checked")&&(t=!1),e.find(".attr-active").removeClass("attr-active"),this.$element.addClass("attr-active")):"checkbox"==i.prop("type")&&(i.prop("checked")!==this.$element.hasClass("attr-active")&&(t=!1),this.$element.toggleClass("attr-active")),i.prop("checked",this.$element.hasClass("attr-active")),t&&i.trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("attr-active")),this.$element.toggleClass("attr-active")};var o=e.fn.button;e.fn.button=n,e.fn.button.Constructor=i,e.fn.button.noConflict=function(){return e.fn.button=o,this},e(document).on("click.bs.button.data-api",'[data-attr-toggle^="button"]',(function(t){var i=e(t.target).closest(".attr-btn");n.call(i,"toggle"),e(t.target).is('input[type="radio"], input[type="checkbox"]')||(t.preventDefault(),i.is("input,button")?i.trigger("focus"):i.find("input:visible,button:visible").first().trigger("focus"))})).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-attr-toggle^="button"]',(function(t){e(t.target).closest(".attr-btn").toggleClass("attr-focus",/^focus(in)?$/.test(t.type))}))}(jQuery),function(e){"use strict";var i=function(t,i){this.$element=e(t),this.$indicators=this.$element.find(".attr-carousel-indicators"),this.options=i,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",e.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",e.proxy(this.pause,this)).on("mouseleave.bs.carousel",e.proxy(this.cycle,this))};function n(n){return this.each((function(){var o=e(this),r=o.data("bs.attr-carousel"),a=e.extend({},i.DEFAULTS,o.data(),"object"==t(n)&&n),s="string"==typeof n?n:a.slide;r||o.data("bs.carousel",r=new i(this,a)),"number"==typeof n?r.to(n):s?r[s]():a.interval&&r.pause().cycle()}))}i.VERSION="3.3.7",i.TRANSITION_DURATION=600,i.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},i.prototype.keydown=function(t){if(!/input|textarea/i.test(t.target.tagName)){switch(t.which){case 37:this.prev();break;case 39:this.next();break;default:return}t.preventDefault()}},i.prototype.cycle=function(t){return t||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(e.proxy(this.next,this),this.options.interval)),this},i.prototype.getItemIndex=function(t){return this.$items=t.parent().children(".attr-item"),this.$items.index(t||this.$active)},i.prototype.getItemForDirection=function(t,e){var i=this.getItemIndex(e);if(("prev"==t&&0===i||"next"==t&&i==this.$items.length-1)&&!this.options.wrap)return e;var n=(i+("prev"==t?-1:1))%this.$items.length;return this.$items.eq(n)},i.prototype.to=function(t){var e=this,i=this.getItemIndex(this.$active=this.$element.find(".attr-item.attr-active"));if(!(t>this.$items.length-1||t<0))return this.sliding?this.$element.one("slid.bs.carousel",(function(){e.to(t)})):i==t?this.pause().cycle():this.slide(t>i?"next":"prev",this.$items.eq(t))},i.prototype.pause=function(t){return t||(this.paused=!0),this.$element.find(".attr-next, .attr-prev").length&&e.support.transition&&(this.$element.trigger(e.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},i.prototype.next=function(){if(!this.sliding)return this.slide("next")},i.prototype.prev=function(){if(!this.sliding)return this.slide("prev")},i.prototype.slide=function(t,n){var o=this.$element.find(".attr-item.attr-active"),r=n||this.getItemForDirection(t,o),a=this.interval,s="next"==t?"left":"right",l=this;if(r.hasClass("attr-active"))return this.sliding=!1;var d=r[0],c=e.Event("slide.bs.carousel",{relatedTarget:d,direction:s});if(this.$element.trigger(c),!c.isDefaultPrevented()){if(this.sliding=!0,a&&this.pause(),this.$indicators.length){this.$indicators.find(".attr-active").removeClass("attr-active");var p=e(this.$indicators.children()[this.getItemIndex(r)]);p&&p.addClass("attr-active")}var h=e.Event("slid.bs.carousel",{relatedTarget:d,direction:s});return e.support.transition&&this.$element.hasClass("slide")?(r.addClass("attr-"+t),r[0].offsetWidth,o.addClass("attr-"+s),r.addClass("attr-"+s),o.one("bsTransitionEnd",(function(){r.removeClass(["attr-"+t,"attr-"+s].join(" ")).addClass("attr-active"),o.removeClass(["attr-active","attr-"+s].join(" ")),l.sliding=!1,setTimeout((function(){l.$element.trigger(h)}),0)})).emulateTransitionEnd(i.TRANSITION_DURATION)):(o.removeClass("attr-active"),r.addClass("attr-active"),this.sliding=!1,this.$element.trigger(h)),a&&this.cycle(),this}};var o=e.fn.carousel;e.fn.carousel=n,e.fn.carousel.Constructor=i,e.fn.carousel.noConflict=function(){return e.fn.carousel=o,this};var r=function(t){var i,o=e(this),r=e(o.attr("data-target")||(i=o.attr("href"))&&i.replace(/.*(?=#[^\s]+$)/,""));if(r.hasClass("attr-carousel")){var a=e.extend({},r.data(),o.data()),s=o.attr("data-slide-to");s&&(a.interval=!1),n.call(r,a),s&&r.data("bs.attr-carousel").to(s),t.preventDefault()}};e(document).on("click.bs.carousel.data-api","[data-slide]",r).on("click.bs.carousel.data-api","[data-slide-to]",r),e(window).on("load",(function(){e('[data-ride="carousel"]').each((function(){var t=e(this);n.call(t,t.data())}))}))}(jQuery),function(e){"use strict";var i=function a(t,i){this.$element=e(t),this.options=e.extend({},a.DEFAULTS,i),this.$trigger=e('[data-attr-toggle="collapse"][href="#'+t.id+'"],[data-attr-toggle="collapse"][data-target="#'+t.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};function n(t){var i,n=t.attr("data-target")||(i=t.attr("href"))&&i.replace(/.*(?=#[^\s]+$)/,"");return e(n)}function o(n){return this.each((function(){var o=e(this),r=o.data("bs.attr-collapse"),a=e.extend({},i.DEFAULTS,o.data(),"object"==t(n)&&n);!r&&a.toggle&&/show|hide/.test(n)&&(a.toggle=!1),r||o.data("bs.collapse",r=new i(this,a)),"string"==typeof n&&r[n]()}))}i.VERSION="3.3.7",i.TRANSITION_DURATION=350,i.DEFAULTS={toggle:!0},i.prototype.dimension=function(){return this.$element.hasClass("width")?"width":"height"},i.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("attr-in")){var t,n=this.$parent&&this.$parent.children(".attr-panel").children(".attr-in, .attr-collapsing");if(!(n&&n.length&&(t=n.data("bs.attr-collapse"))&&t.transitioning)){var r=e.Event("show.bs.attr-collapse");if(this.$element.trigger(r),!r.isDefaultPrevented()){n&&n.length&&(o.call(n,"hide"),t||n.data("bs.collapse",null));var a=this.dimension();this.$element.removeClass("attr-collapse").addClass("attr-collapsing")[a](0).attr("aria-expanded",!0),this.$trigger.removeClass("attr-collapsed").attr("aria-expanded",!0),this.transitioning=1;var s=function(){this.$element.removeClass("attr-collapsing").addClass("attr-collapse attr-in")[a](""),this.transitioning=0,this.$element.trigger("shown.bs.attr-collapse")};if(!e.support.transition)return s.call(this);var l=e.camelCase(["scroll",a].join("-"));this.$element.one("bsTransitionEnd",e.proxy(s,this)).emulateTransitionEnd(i.TRANSITION_DURATION)[a](this.$element[0][l])}}}},i.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("attr-in")){var t=e.Event("hide.bs.attr-collapse");if(this.$element.trigger(t),!t.isDefaultPrevented()){var n=this.dimension();this.$element[n](this.$element[n]())[0].offsetHeight,this.$element.addClass("attr-collapsing").removeClass("attr-collapse attr-in").attr("aria-expanded",!1),this.$trigger.addClass("attr-collapsed").attr("aria-expanded",!1),this.transitioning=1;var o=function(){this.transitioning=0,this.$element.removeClass("attr-collapsing").addClass("attr-collapse").trigger("hidden.bs.attr-collapse")};if(!e.support.transition)return o.call(this);this.$element[n](0).one("bsTransitionEnd",e.proxy(o,this)).emulateTransitionEnd(i.TRANSITION_DURATION)}}},i.prototype.toggle=function(){this[this.$element.hasClass("attr-in")?"hide":"show"]()},i.prototype.getParent=function(){return e(this.options.parent).find('[data-attr-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(e.proxy((function(t,i){var o=e(i);this.addAriaAndCollapsedClass(n(o),o)}),this)).end()},i.prototype.addAriaAndCollapsedClass=function(t,e){var i=t.hasClass("attr-in");t.attr("aria-expanded",i),e.toggleClass("attr-collapsed",!i).attr("aria-expanded",i)};var r=e.fn.collapse;e.fn.collapse=o,e.fn.collapse.Constructor=i,e.fn.collapse.noConflict=function(){return e.fn.collapse=r,this},e(document).on("click.bs.collapse.data-api",'[data-attr-toggle="collapse"]',(function(t){var i=e(this);i.attr("data-target")||t.preventDefault();var r=n(i),a=r.data("bs.attr-collapse")?"toggle":i.data();o.call(r,a)}))}(jQuery),function(t){"use strict";var e='[data-attr-toggle="dropdown"]',i=function(e){t(e).on("click.bs.dropdown",this.toggle)};function n(e){var i=e.attr("data-target");i||(i=(i=e.attr("href"))&&/#[A-Za-z]/.test(i)&&i.replace(/.*(?=#[^\s]*$)/,""));var n=i&&t(i);return n&&n.length?n:e.parent()}function o(i){i&&3===i.which||(t(".dropdown-backdrop").remove(),t(e).each((function(){var e=t(this),o=n(e),r={relatedTarget:this};o.hasClass("attr-open")&&(i&&"click"==i.type&&/input|textarea/i.test(i.target.tagName)&&t.contains(o[0],i.target)||(o.trigger(i=t.Event("hide.bs.dropdown",r)),i.isDefaultPrevented()||(e.attr("aria-expanded","false"),o.removeClass("attr-open").trigger(t.Event("hidden.bs.dropdown",r)))))})))}i.VERSION="3.3.7",i.prototype.toggle=function(e){var i=t(this);if(!i.is(".attr-disabled, :disabled")){var r=n(i),a=r.hasClass("attr-open");if(o(),!a){"ontouchstart"in document.documentElement&&!r.closest(".attr-navbar-nav").length&&t(document.createElement("div")).addClass("attr-dropdown-backdrop").insertAfter(t(this)).on("click",o);var s={relatedTarget:this};if(r.trigger(e=t.Event("show.bs.dropdown",s)),e.isDefaultPrevented())return;i.trigger("focus").attr("aria-expanded","true"),r.toggleClass("attr-open").trigger(t.Event("shown.bs.dropdown",s))}return!1}},i.prototype.keydown=function(i){if(/(38|40|27|32)/.test(i.which)&&!/input|textarea/i.test(i.target.tagName)){var o=t(this);if(i.preventDefault(),i.stopPropagation(),!o.is(".attr-disabled, :disabled")){var r=n(o),a=r.hasClass("attr-open");if(!a&&27!=i.which||a&&27==i.which)return 27==i.which&&r.find(e).trigger("focus"),o.trigger("click");var s=r.find(".dropdown-menu li:not(.attr-disabled):visible a");if(s.length){var l=s.index(i.target);38==i.which&&l>0&&l--,40==i.which&&l<s.length-1&&l++,~l||(l=0),s.eq(l).trigger("focus")}}}};var r=t.fn.dropdown;t.fn.dropdown=function(e){return this.each((function(){var n=t(this),o=n.data("bs.attr-dropdown");o||n.data("bs.dropdown",o=new i(this)),"string"==typeof e&&o[e].call(n)}))},t.fn.dropdown.Constructor=i,t.fn.dropdown.noConflict=function(){return t.fn.dropdown=r,this},t(document).on("click.bs.dropdown.data-api",o).on("click.bs.dropdown.data-api",".dropdown form",(function(t){t.stopPropagation()})).on("click.bs.dropdown.data-api",e,i.prototype.toggle).on("keydown.bs.dropdown.data-api",e,i.prototype.keydown).on("keydown.bs.dropdown.data-api",".dropdown-menu",i.prototype.keydown)}(jQuery),function(e){"use strict";var i=function(t,i){this.options=i,this.$body=e(document.body),this.$element=e(t),this.$dialog=this.$element.find(".attr-modal-dialog"),this.$backdrop=null,this.isShown=null,this.originalBodyPad=null,this.scrollbarWidth=0,this.ignoreBackdropClick=!1,this.options.remote&&this.$element.find(".attr-modal-content").load(this.options.remote,e.proxy((function(){this.$element.trigger("loaded.bs.attr-modal")}),this))};function n(n,o){return this.each((function(){var r=e(this),a=r.data("bs.attr-modal"),s=e.extend({},i.DEFAULTS,r.data(),"object"==t(n)&&n);a||r.data("bs.modal",a=new i(this,s)),"string"==typeof n?a[n](o):s.show&&a.show(o)}))}i.VERSION="3.3.7",i.TRANSITION_DURATION=300,i.BACKDROP_TRANSITION_DURATION=150,i.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},i.prototype.toggle=function(t){return this.isShown?this.hide():this.show(t)},i.prototype.show=function(t){var n=this,o=e.Event("show.bs.modal",{relatedTarget:t});this.$element.trigger(o),this.isShown||o.isDefaultPrevented()||(this.isShown=!0,this.checkScrollbar(),this.setScrollbar(),this.$body.addClass("attr-modal-open"),this.escape(),this.resize(),this.$element.on("click.dismiss.bs.modal",'[data-dismiss="modal"]',e.proxy(this.hide,this)),this.$dialog.on("mousedown.dismiss.bs.modal",(function(){n.$element.one("mouseup.dismiss.bs.modal",(function(t){e(t.target).is(n.$element)&&(n.ignoreBackdropClick=!0)}))})),this.backdrop((function(){var o=e.support.transition&&n.$element.hasClass("attr-fade");n.$element.parent().length||n.$element.appendTo(n.$body),n.$element.show().scrollTop(0),n.adjustDialog(),o&&n.$element[0].offsetWidth,n.$element.addClass("attr-in"),n.enforceFocus();var r=e.Event("shown.bs.modal",{relatedTarget:t});o?n.$dialog.one("bsTransitionEnd",(function(){n.$element.trigger("focus").trigger(r)})).emulateTransitionEnd(i.TRANSITION_DURATION):n.$element.trigger("focus").trigger(r)})))},i.prototype.hide=function(t){t&&t.preventDefault(),t=e.Event("hide.bs.attr-modal"),this.$element.trigger(t),this.isShown&&!t.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),e(document).off("focusin.bs.modal"),this.$element.removeClass("attr-in").off("click.dismiss.bs.modal").off("mouseup.dismiss.bs.modal"),this.$dialog.off("mousedown.dismiss.bs.modal"),e.support.transition&&this.$element.hasClass("attr-fade")?this.$element.one("bsTransitionEnd",e.proxy(this.hideModal,this)).emulateTransitionEnd(i.TRANSITION_DURATION):this.hideModal())},i.prototype.enforceFocus=function(){e(document).off("focusin.bs.modal").on("focusin.bs.modal",e.proxy((function(t){document===t.target||this.$element[0]===t.target||this.$element.has(t.target).length||this.$element.trigger("focus")}),this))},i.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keydown.dismiss.bs.modal",e.proxy((function(t){27==t.which&&this.hide()}),this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal")},i.prototype.resize=function(){this.isShown?e(window).on("resize.bs.modal",e.proxy(this.handleUpdate,this)):e(window).off("resize.bs.modal")},i.prototype.hideModal=function(){var t=this;this.$element.hide(),this.backdrop((function(){t.$body.removeClass("attr-modal-open"),t.resetAdjustments(),t.resetScrollbar(),t.$element.trigger("hidden.bs.attr-modal")}))},i.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},i.prototype.backdrop=function(t){var n=this,o=this.$element.hasClass("attr-fade")?"attr-fade":"";if(this.isShown&&this.options.backdrop){var r=e.support.transition&&o;if(this.$backdrop=e(document.createElement("div")).addClass("modal-backdrop "+o).appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",e.proxy((function(t){this.ignoreBackdropClick?this.ignoreBackdropClick=!1:t.target===t.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus():this.hide())}),this)),r&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("attr-in"),!t)return;r?this.$backdrop.one("bsTransitionEnd",t).emulateTransitionEnd(i.BACKDROP_TRANSITION_DURATION):t()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("attr-in");var a=function(){n.removeBackdrop(),t&&t()};e.support.transition&&this.$element.hasClass("attr-fade")?this.$backdrop.one("bsTransitionEnd",a).emulateTransitionEnd(i.BACKDROP_TRANSITION_DURATION):a()}else t&&t()},i.prototype.handleUpdate=function(){this.adjustDialog()},i.prototype.adjustDialog=function(){var t=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&t?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!t?this.scrollbarWidth:""})},i.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},i.prototype.checkScrollbar=function(){var t=window.innerWidth;if(!t){var e=document.documentElement.getBoundingClientRect();t=e.right-Math.abs(e.left)}this.bodyIsOverflowing=document.body.clientWidth<t,this.scrollbarWidth=this.measureScrollbar()},i.prototype.setScrollbar=function(){var t=parseInt(this.$body.css("padding-right")||0,10);this.originalBodyPad=document.body.style.paddingRight||"",this.bodyIsOverflowing&&this.$body.css("padding-right",t+this.scrollbarWidth)},i.prototype.resetScrollbar=function(){this.$body.css("padding-right",this.originalBodyPad)},i.prototype.measureScrollbar=function(){var t=document.createElement("div");t.className="modal-scrollbar-measure",this.$body.append(t);var e=t.offsetWidth-t.clientWidth;return this.$body[0].removeChild(t),e};var o=e.fn.modal;e.fn.modal=n,e.fn.modal.Constructor=i,e.fn.modal.noConflict=function(){return e.fn.modal=o,this},e(document).on("click.bs.modal.data-api",'[data-attr-toggle="modal"]',(function(t){var i=e(this),o=i.attr("href"),r=e(i.attr("data-target")||o&&o.replace(/.*(?=#[^\s]+$)/,"")),a=r.data("bs.attr-modal")?"toggle":e.extend({remote:!/#/.test(o)&&o},r.data(),i.data());i.is("a")&&t.preventDefault(),r.one("show.bs.modal",(function(t){t.isDefaultPrevented()||r.one("hidden.bs.modal",(function(){i.is(":visible")&&i.trigger("focus")}))})),n.call(r,a,this)}))}(jQuery),function(e){"use strict";var i=function(t,e){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.inState=null,this.init("tooltip",t,e)};i.VERSION="3.3.7",i.TRANSITION_DURATION=150,i.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="attr-tooltip" role="tooltip"><div class="attr-tooltip-arrow"></div><div class="attr-tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},i.prototype.init=function(t,i,n){if(this.enabled=!0,this.type=t,this.$element=e(i),this.options=this.getOptions(n),this.$viewport=this.options.viewport&&e(e.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var o=this.options.trigger.split(" "),r=o.length;r--;){var a=o[r];if("click"==a)this.$element.on("click."+this.type,this.options.selector,e.proxy(this.toggle,this));else if("manual"!=a){var s="hover"==a?"mouseenter":"focusin",l="hover"==a?"mouseleave":"focusout";this.$element.on(s+"."+this.type,this.options.selector,e.proxy(this.enter,this)),this.$element.on(l+"."+this.type,this.options.selector,e.proxy(this.leave,this))}}this.options.selector?this._options=e.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},i.prototype.getDefaults=function(){return i.DEFAULTS},i.prototype.getOptions=function(t){return(t=e.extend({},this.getDefaults(),this.$element.data(),t)).delay&&"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),t},i.prototype.getDelegateOptions=function(){var t={},i=this.getDefaults();return this._options&&e.each(this._options,(function(e,n){i[e]!=n&&(t[e]=n)})),t},i.prototype.enter=function(t){var i=t instanceof this.constructor?t:e(t.currentTarget).data("bs."+this.type);if(i||(i=new this.constructor(t.currentTarget,this.getDelegateOptions()),e(t.currentTarget).data("bs."+this.type,i)),t instanceof e.Event&&(i.inState["focusin"==t.type?"focus":"hover"]=!0),i.tip().hasClass("attr-in")||"in"==i.hoverState)i.hoverState="in";else{if(clearTimeout(i.timeout),i.hoverState="in",!i.options.delay||!i.options.delay.show)return i.show();i.timeout=setTimeout((function(){"in"==i.hoverState&&i.show()}),i.options.delay.show)}},i.prototype.isInStateTrue=function(){for(var t in this.inState)if(this.inState[t])return!0;return!1},i.prototype.leave=function(t){var i=t instanceof this.constructor?t:e(t.currentTarget).data("bs."+this.type);if(i||(i=new this.constructor(t.currentTarget,this.getDelegateOptions()),e(t.currentTarget).data("bs."+this.type,i)),t instanceof e.Event&&(i.inState["focusout"==t.type?"focus":"hover"]=!1),!i.isInStateTrue()){if(clearTimeout(i.timeout),i.hoverState="out",!i.options.delay||!i.options.delay.hide)return i.hide();i.timeout=setTimeout((function(){"out"==i.hoverState&&i.hide()}),i.options.delay.hide)}},i.prototype.show=function(){var t=e.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(t);var n=e.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(t.isDefaultPrevented()||!n)return;var o=this,r=this.tip(),a=this.getUID(this.type);this.setContent(),r.attr("id",a),this.$element.attr("aria-describedby",a),this.options.animation&&r.addClass("attr-fade");var s="function"==typeof this.options.placement?this.options.placement.call(this,r[0],this.$element[0]):this.options.placement,l=/\s?auto?\s?/i,d=l.test(s);d&&(s=s.replace(l,"")||"top"),r.detach().css({top:0,left:0,display:"block"}).addClass("attr-"+s).data("bs."+this.type,this),this.options.container?r.appendTo(this.options.container):r.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var c=this.getPosition(),p=r[0].offsetWidth,h=r[0].offsetHeight;if(d){var f=s,u=this.getPosition(this.$viewport);s="bottom"==s&&c.bottom+h>u.bottom?"top":"top"==s&&c.top-h<u.top?"bottom":"right"==s&&c.right+p>u.width?"left":"left"==s&&c.left-p<u.left?"right":s,r.removeClass("attr-"+f).addClass("attr-"+s)}var m=this.getCalculatedOffset(s,c,p,h);this.applyPlacement(m,s);var g=function(){var t=o.hoverState;o.$element.trigger("shown.bs."+o.type),o.hoverState=null,"out"==t&&o.leave(o)};e.support.transition&&this.$tip.hasClass("attr-fade")?r.one("bsTransitionEnd",g).emulateTransitionEnd(i.TRANSITION_DURATION):g()}},i.prototype.applyPlacement=function(t,i){var n=this.tip(),o=n[0].offsetWidth,r=n[0].offsetHeight,a=parseInt(n.css("margin-top"),10),s=parseInt(n.css("margin-left"),10);isNaN(a)&&(a=0),isNaN(s)&&(s=0),t.top+=a,t.left+=s,e.offset.setOffset(n[0],e.extend({using:function(t){n.css({top:Math.round(t.top),left:Math.round(t.left)})}},t),0),n.addClass("attr-in");var l=n[0].offsetWidth,d=n[0].offsetHeight;"top"==i&&d!=r&&(t.top=t.top+r-d);var c=this.getViewportAdjustedDelta(i,t,l,d);c.left?t.left+=c.left:t.top+=c.top;var p=/top|bottom/.test(i),h=p?2*c.left-o+l:2*c.top-r+d,f=p?"offsetWidth":"offsetHeight";n.offset(t),this.replaceArrow(h,n[0][f],p)},i.prototype.replaceArrow=function(t,e,i){this.arrow().css(i?"left":"top",50*(1-t/e)+"%").css(i?"top":"left","")},i.prototype.setContent=function(){var t=this.tip(),e=this.getTitle();t.find(".attr-tooltip-inner")[this.options.html?"html":"text"](e),t.removeClass("attr-fade attr-in attr-top attr-bottom attr-left attr-right")},i.prototype.hide=function(t){var n=this,o=e(this.$tip),r=e.Event("hide.bs."+this.type);function a(){"in"!=n.hoverState&&o.detach(),n.$element&&n.$element.removeAttr("aria-describedby").trigger("hidden.bs."+n.type),t&&t()}if(this.$element.trigger(r),!r.isDefaultPrevented())return o.removeClass("attr-in"),e.support.transition&&o.hasClass("attr-fade")?o.one("bsTransitionEnd",a).emulateTransitionEnd(i.TRANSITION_DURATION):a(),this.hoverState=null,this},i.prototype.fixTitle=function(){var t=this.$element;(t.attr("title")||"string"!=typeof t.attr("data-original-title"))&&t.attr("data-original-title",t.attr("title")||"").attr("title","")},i.prototype.hasContent=function(){return this.getTitle()},i.prototype.getPosition=function(t){var i=(t=t||this.$element)[0],n="BODY"==i.tagName,o=i.getBoundingClientRect();null==o.width&&(o=e.extend({},o,{width:o.right-o.left,height:o.bottom-o.top}));var r=window.SVGElement&&i instanceof window.SVGElement,a=n?{top:0,left:0}:r?null:t.offset(),s={scroll:n?document.documentElement.scrollTop||document.body.scrollTop:t.scrollTop()},l=n?{width:e(window).width(),height:e(window).height()}:null;return e.extend({},o,s,l,a)},i.prototype.getCalculatedOffset=function(t,e,i,n){return"bottom"==t?{top:e.top+e.height,left:e.left+e.width/2-i/2}:"top"==t?{top:e.top-n,left:e.left+e.width/2-i/2}:"left"==t?{top:e.top+e.height/2-n/2,left:e.left-i}:{top:e.top+e.height/2-n/2,left:e.left+e.width}},i.prototype.getViewportAdjustedDelta=function(t,e,i,n){var o={top:0,left:0};if(!this.$viewport)return o;var r=this.options.viewport&&this.options.viewport.padding||0,a=this.getPosition(this.$viewport);if(/right|left/.test(t)){var s=e.top-r-a.scroll,l=e.top+r-a.scroll+n;s<a.top?o.top=a.top-s:l>a.top+a.height&&(o.top=a.top+a.height-l)}else{var d=e.left-r,c=e.left+r+i;d<a.left?o.left=a.left-d:c>a.right&&(o.left=a.left+a.width-c)}return o},i.prototype.getTitle=function(){var t=this.$element,e=this.options;return t.attr("data-original-title")||("function"==typeof e.title?e.title.call(t[0]):e.title)},i.prototype.getUID=function(t){do{t+=~~(1e6*Math.random())}while(document.getElementById(t));return t},i.prototype.tip=function(){if(!this.$tip&&(this.$tip=e(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},i.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".attr-tooltip-arrow")},i.prototype.enable=function(){this.enabled=!0},i.prototype.disable=function(){this.enabled=!1},i.prototype.toggleEnabled=function(){this.enabled=!this.enabled},i.prototype.toggle=function(t){var i=this;t&&((i=e(t.currentTarget).data("bs."+this.type))||(i=new this.constructor(t.currentTarget,this.getDelegateOptions()),e(t.currentTarget).data("bs."+this.type,i))),t?(i.inState.click=!i.inState.click,i.isInStateTrue()?i.enter(i):i.leave(i)):i.tip().hasClass("attr-in")?i.leave(i):i.enter(i)},i.prototype.destroy=function(){var t=this;clearTimeout(this.timeout),this.hide((function(){t.$element.off("."+t.type).removeData("bs."+t.type),t.$tip&&t.$tip.detach(),t.$tip=null,t.$arrow=null,t.$viewport=null,t.$element=null}))};var n=e.fn.tooltip;e.fn.tooltip=function(n){return this.each((function(){var o=e(this),r=o.data("bs.attr-tooltip"),a="object"==t(n)&&n;!r&&/destroy|hide/.test(n)||(r||o.data("bs.tooltip",r=new i(this,a)),"string"==typeof n&&r[n]())}))},e.fn.tooltip.Constructor=i,e.fn.tooltip.noConflict=function(){return e.fn.tooltip=n,this}}(jQuery),function(e){"use strict";var i=function(t,e){this.init("popover",t,e)};if(!e.fn.tooltip)throw new Error("Popover requires tooltip.js");i.VERSION="3.3.7",i.DEFAULTS=e.extend({},e.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="attr-popover" role="tooltip"><div class="attr-arrow"></div><h3 class="attr-popover-title"></h3><div class="attr-popover-content"></div></div>'}),(i.prototype=e.extend({},e.fn.tooltip.Constructor.prototype)).constructor=i,i.prototype.getDefaults=function(){return i.DEFAULTS},i.prototype.setContent=function(){var t=this.tip(),e=this.getTitle(),i=this.getContent();t.find(".attr-popover-title")[this.options.html?"html":"text"](e),t.find(".attr-popover-content").children().detach().end()[this.options.html?"string"==typeof i?"html":"append":"text"](i),t.removeClass("attr-fade attr-top attr-bottom attr-left attr-right attr-in"),t.find(".attr-popover-title").html()||t.find(".attr-popover-title").hide()},i.prototype.hasContent=function(){return this.getTitle()||this.getContent()},i.prototype.getContent=function(){var t=this.$element,e=this.options;return t.attr("data-content")||("function"==typeof e.content?e.content.call(t[0]):e.content)},i.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".attr-arrow")};var n=e.fn.popover;e.fn.popover=function(n){return this.each((function(){var o=e(this),r=o.data("bs.attr-popover"),a="object"==t(n)&&n;!r&&/destroy|hide/.test(n)||(r||o.data("bs.popover",r=new i(this,a)),"string"==typeof n&&r[n]())}))},e.fn.popover.Constructor=i,e.fn.popover.noConflict=function(){return e.fn.popover=n,this}}(jQuery),function(e){"use strict";function i(t,n){this.$body=e(document.body),this.$scrollElement=e(t).is(document.body)?e(window):e(t),this.options=e.extend({},i.DEFAULTS,n),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",e.proxy(this.process,this)),this.refresh(),this.process()}function n(n){return this.each((function(){var o=e(this),r=o.data("bs.scrollspy"),a="object"==t(n)&&n;r||o.data("bs.scrollspy",r=new i(this,a)),"string"==typeof n&&r[n]()}))}i.VERSION="3.3.7",i.DEFAULTS={offset:10},i.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},i.prototype.refresh=function(){var t=this,i="offset",n=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),e.isWindow(this.$scrollElement[0])||(i="position",n=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map((function(){var t=e(this),o=t.data("target")||t.attr("href"),r=/^#./.test(o)&&e(o);return r&&r.length&&r.is(":visible")&&[[r[i]().top+n,o]]||null})).sort((function(t,e){return t[0]-e[0]})).each((function(){t.offsets.push(this[0]),t.targets.push(this[1])}))},i.prototype.process=function(){var t,e=this.$scrollElement.scrollTop()+this.options.offset,i=this.getScrollHeight(),n=this.options.offset+i-this.$scrollElement.height(),o=this.offsets,r=this.targets,a=this.activeTarget;if(this.scrollHeight!=i&&this.refresh(),e>=n)return a!=(t=r[r.length-1])&&this.activate(t);if(a&&e<o[0])return this.activeTarget=null,this.clear();for(t=o.length;t--;)a!=r[t]&&e>=o[t]&&(o[t+1]===undefined||e<o[t+1])&&this.activate(r[t])},i.prototype.activate=function(t){this.activeTarget=t,this.clear();var i=this.selector+'[data-target="'+t+'"],'+this.selector+'[href="'+t+'"]',n=e(i).parents("li").addClass("attr-active");n.parent(".attr-dropdown-menu").length&&(n=n.closest("li.attr-dropdown").addClass("attr-active")),n.trigger("activate.bs.scrollspy")},i.prototype.clear=function(){e(this.selector).parentsUntil(this.options.target,".active").removeClass("attr-active")};var o=e.fn.scrollspy;e.fn.scrollspy=n,e.fn.scrollspy.Constructor=i,e.fn.scrollspy.noConflict=function(){return e.fn.scrollspy=o,this},e(window).on("load.bs.scrollspy.data-api",(function(){e('[data-spy="scroll"]').each((function(){var t=e(this);n.call(t,t.data())}))}))}(jQuery),function(t){"use strict";var e=function(e){this.element=t(e)};function i(i){return this.each((function(){var n=t(this),o=n.data("bs.tab");o||n.data("bs.tab",o=new e(this)),"string"==typeof i&&o[i]()}))}e.VERSION="3.3.7",e.TRANSITION_DURATION=150,e.prototype.show=function(){var e=this.element,i=e.closest("ul:not(.attr-dropdown-menu)"),n=e.data("target");if(n||(n=(n=e.attr("href"))&&n.replace(/.*(?=#[^\s]*$)/,"")),!e.parent("li").hasClass("attr-active")){var o=i.find(".attr-active:last a"),r=t.Event("hide.bs.tab",{relatedTarget:e[0]}),a=t.Event("show.bs.tab",{relatedTarget:o[0]});if(o.trigger(r),e.trigger(a),!a.isDefaultPrevented()&&!r.isDefaultPrevented()){var s=t(n);this.activate(e.closest("li"),i),this.activate(s,s.parent(),(function(){o.trigger({type:"hidden.bs.tab",relatedTarget:e[0]}),e.trigger({type:"shown.bs.tab",relatedTarget:o[0]})}))}}},e.prototype.activate=function(i,n,o){var r=n.find("> .attr-active"),a=o&&t.support.transition&&(r.length&&r.hasClass("attr-fade")||!!n.find("> .attr-fade").length);function s(){r.removeClass("attr-active").find("> .attr-dropdown-menu > .attr-active").removeClass("attr-active").end().find('[data-attr-toggle="tab"]').attr("aria-expanded",!1),i.addClass("attr-active").find('[data-attr-toggle="tab"]').attr("aria-expanded",!0),a?(i[0].offsetWidth,i.addClass("attr-in")):i.removeClass("attr-fade"),i.parent(".attr-dropdown-menu").length&&i.closest("li.attr-dropdown").addClass("attr-active").end().find('[data-attr-toggle="tab"]').attr("aria-expanded",!0),o&&o()}r.length&&a?r.one("bsTransitionEnd",s).emulateTransitionEnd(e.TRANSITION_DURATION):s(),r.removeClass("attr-in")};var n=t.fn.tab;t.fn.tab=i,t.fn.tab.Constructor=e,t.fn.tab.noConflict=function(){return t.fn.tab=n,this};var o=function(e){e.preventDefault(),i.call(t(this),"show")};t(document).on("click.bs.tab.data-api",'[data-attr-toggle="tab"]',o).on("click.bs.tab.data-api",'[data-attr-toggle="pill"]',o)}(jQuery),function(e){"use strict";var i=function r(t,i){this.options=e.extend({},r.DEFAULTS,i),this.$target=e(this.options.target).on("scroll.bs.affix.data-api",e.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",e.proxy(this.checkPositionWithEventLoop,this)),this.$element=e(t),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};function n(n){return this.each((function(){var o=e(this),r=o.data("bs.attr-affix"),a="object"==t(n)&&n;r||o.data("bs.affix",r=new i(this,a)),"string"==typeof n&&r[n]()}))}i.VERSION="3.3.7",i.RESET="affix affix-top affix-bottom",i.DEFAULTS={offset:0,target:window},i.prototype.getState=function(t,e,i,n){var o=this.$target.scrollTop(),r=this.$element.offset(),a=this.$target.height();if(null!=i&&"top"==this.affixed)return o<i&&"top";if("bottom"==this.affixed)return null!=i?!(o+this.unpin<=r.top)&&"bottom":!(o+a<=t-n)&&"bottom";var s=null==this.affixed,l=s?o:r.top;return null!=i&&o<=i?"top":null!=n&&l+(s?a:e)>=t-n&&"bottom"},i.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(i.RESET).addClass("attr-affix");var t=this.$target.scrollTop(),e=this.$element.offset();return this.pinnedOffset=e.top-t},i.prototype.checkPositionWithEventLoop=function(){setTimeout(e.proxy(this.checkPosition,this),1)},i.prototype.checkPosition=function(){if(this.$element.is(":visible")){var n=this.$element.height(),o=this.options.offset,r=o.top,a=o.bottom,s=Math.max(e(document).height(),e(document.body).height());"object"!=t(o)&&(a=r=o),"function"==typeof r&&(r=o.top(this.$element)),"function"==typeof a&&(a=o.bottom(this.$element));var l=this.getState(s,n,r,a);if(this.affixed!=l){null!=this.unpin&&this.$element.css("top","");var d="affix"+(l?"-"+l:""),c=e.Event(d+".bs.affix");if(this.$element.trigger(c),c.isDefaultPrevented())return;this.affixed=l,this.unpin="bottom"==l?this.getPinnedOffset():null,this.$element.removeClass(i.RESET).addClass("attr-"+d).trigger(d.replace("affix","affixed")+".bs.affix")}"bottom"==l&&this.$element.offset({top:s-n-a})}};var o=e.fn.affix;e.fn.affix=n,e.fn.affix.Constructor=i,e.fn.affix.noConflict=function(){return e.fn.affix=o,this},e(window).on("load",(function(){e('[data-spy="affix"]').each((function(){var t=e(this),i=t.data();i.offset=i.offset||{},null!=i.offsetBottom&&(i.offset.bottom=i.offsetBottom),null!=i.offsetTop&&(i.offset.top=i.offsetTop),n.call(t,i)}))}))}(jQuery)},13:function(t,e,i){var n,o,r;function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}r=function(){"use strict";function t(t){return t&&"[object Function]"==={}.toString.call(t)}function e(t,e){if(1!==t.nodeType)return[];var i=window.getComputedStyle(t,null);return e?i[e]:i}function n(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function o(t){if(!t||-1!==["HTML","BODY","#document"].indexOf(t.nodeName))return window.document.body;var i=e(t),r=i.overflow,a=i.overflowX,s=i.overflowY;return/(auto|scroll)/.test(r+s+a)?t:o(n(t))}function r(t){var i=t&&t.offsetParent,n=i&&i.nodeName;return n&&"BODY"!==n&&"HTML"!==n?-1!==["TD","TABLE"].indexOf(i.nodeName)&&"static"===e(i,"position")?r(i):i:window.document.documentElement}function a(t){return null===t.parentNode?t:a(t.parentNode)}function s(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return window.document.documentElement;var i=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,n=i?t:e,o=i?e:t,l=document.createRange();l.setStart(n,0),l.setEnd(o,0);var d=l.commonAncestorContainer;if(t!==d&&e!==d||n.contains(o))return function(t){var e=t.nodeName;return"BODY"!==e&&("HTML"===e||r(t.firstElementChild)===t)}(d)?d:r(d);var c=a(t);return c.host?s(c.host,e):s(t,a(e).host)}function l(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"top",i="top"===e?"scrollTop":"scrollLeft",n=t.nodeName;if("BODY"===n||"HTML"===n){var o=window.document.documentElement,r=window.document.scrollingElement||o;return r[i]}return t[i]}function d(t,e){var i=2<arguments.length&&void 0!==arguments[2]&&arguments[2],n=l(e,"top"),o=l(e,"left"),r=i?-1:1;return t.top+=n*r,t.bottom+=n*r,t.left+=o*r,t.right+=o*r,t}function c(t,e){var i="x"===e?"Left":"Top",n="Left"==i?"Right":"Bottom";return+t["border"+i+"Width"].split("px")[0]+ +t["border"+n+"Width"].split("px")[0]}function p(t,e,i,n){return F(e["offset"+t],e["scroll"+t],i["client"+t],i["offset"+t],i["scroll"+t],Z()?i["offset"+t]+n["margin"+("Height"===t?"Top":"Left")]+n["margin"+("Height"===t?"Bottom":"Right")]:0)}function h(){var t=window.document.body,e=window.document.documentElement,i=Z()&&window.getComputedStyle(e);return{height:p("Height",t,e,i),width:p("Width",t,e,i)}}function f(t){return tt({},t,{right:t.left+t.width,bottom:t.top+t.height})}function u(t){var i={};if(Z())try{i=t.getBoundingClientRect();var n=l(t,"top"),o=l(t,"left");i.top+=n,i.left+=o,i.bottom+=n,i.right+=o}catch(t){}else i=t.getBoundingClientRect();var r={left:i.left,top:i.top,width:i.right-i.left,height:i.bottom-i.top},a="HTML"===t.nodeName?h():{},s=a.width||t.clientWidth||r.right-r.left,d=a.height||t.clientHeight||r.bottom-r.top,p=t.offsetWidth-s,u=t.offsetHeight-d;if(p||u){var m=e(t);p-=c(m,"x"),u-=c(m,"y"),r.width-=p,r.height-=u}return f(r)}function m(t,i){var n=Z(),r="HTML"===i.nodeName,a=u(t),s=u(i),l=o(t),c=e(i),p=+c.borderTopWidth.split("px")[0],h=+c.borderLeftWidth.split("px")[0],m=f({top:a.top-s.top-p,left:a.left-s.left-h,width:a.width,height:a.height});if(m.marginTop=0,m.marginLeft=0,!n&&r){var g=+c.marginTop.split("px")[0],v=+c.marginLeft.split("px")[0];m.top-=p-g,m.bottom-=p-g,m.left-=h-v,m.right-=h-v,m.marginTop=g,m.marginLeft=v}return(n?i.contains(l):i===l&&"BODY"!==l.nodeName)&&(m=d(m,i)),m}function g(t){var e=window.document.documentElement,i=m(t,e),n=F(e.clientWidth,window.innerWidth||0),o=F(e.clientHeight,window.innerHeight||0),r=l(e),a=l(e,"left");return f({top:r-i.top+i.marginTop,left:a-i.left+i.marginLeft,width:n,height:o})}function v(t){var i=t.nodeName;return"BODY"!==i&&"HTML"!==i&&("fixed"===e(t,"position")||v(n(t)))}function b(t,e,i,r){var a={top:0,left:0},l=s(t,e);if("viewport"===r)a=g(l);else{var d;"scrollParent"===r?"BODY"===(d=o(n(t))).nodeName&&(d=window.document.documentElement):d="window"===r?window.document.documentElement:r;var c=m(d,l);if("HTML"!==d.nodeName||v(l))a=c;else{var p=h(),f=p.height,u=p.width;a.top+=c.top-c.marginTop,a.bottom=f+c.top,a.left+=c.left-c.marginLeft,a.right=u+c.left}}return a.left+=i,a.top+=i,a.right-=i,a.bottom-=i,a}function y(t){return t.width*t.height}function w(t,e,i,n,o){var r=5<arguments.length&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var a=b(i,n,r,o),s={top:{width:a.width,height:e.top-a.top},right:{width:a.right-e.right,height:a.height},bottom:{width:a.width,height:a.bottom-e.bottom},left:{width:e.left-a.left,height:a.height}},l=Object.keys(s).map((function(t){return tt({key:t},s[t],{area:y(s[t])})})).sort((function(t,e){return e.area-t.area})),d=l.filter((function(t){var e=t.width,n=t.height;return e>=i.clientWidth&&n>=i.clientHeight})),c=0<d.length?d[0].key:l[0].key,p=t.split("-")[1];return c+(p?"-"+p:"")}function k(t,e,i){return m(i,s(e,i))}function C(t){var e=window.getComputedStyle(t),i=parseFloat(e.marginTop)+parseFloat(e.marginBottom),n=parseFloat(e.marginLeft)+parseFloat(e.marginRight);return{width:t.offsetWidth+n,height:t.offsetHeight+i}}function T(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,(function(t){return e[t]}))}function $(t,e,i){i=i.split("-")[0];var n=C(t),o={width:n.width,height:n.height},r=-1!==["right","left"].indexOf(i),a=r?"top":"left",s=r?"left":"top",l=r?"height":"width",d=r?"width":"height";return o[a]=e[a]+e[l]/2-n[l]/2,o[s]=i===s?e[s]-n[d]:e[T(s)],o}function x(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function E(e,i,n){return(void 0===n?e:e.slice(0,function(t,e,i){if(Array.prototype.findIndex)return t.findIndex((function(t){return t[e]===i}));var n=x(t,(function(t){return t[e]===i}));return t.indexOf(n)}(e,"name",n))).forEach((function(e){e["function"]&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=e["function"]||e.fn;e.enabled&&t(n)&&(i.offsets.popper=f(i.offsets.popper),i.offsets.reference=f(i.offsets.reference),i=n(i,e))})),i}function S(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=k(this.state,this.popper,this.reference),t.placement=w(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.offsets.popper=$(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position="absolute",t=E(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}function O(t,e){return t.some((function(t){var i=t.name;return t.enabled&&i===e}))}function A(t){for(var e=[!1,"ms","Webkit","Moz","O"],i=t.charAt(0).toUpperCase()+t.slice(1),n=0;n<e.length-1;n++){var o=e[n],r=o?""+o+i:t;if("undefined"!=typeof window.document.body.style[r])return r}return null}function D(){return this.state.isDestroyed=!0,O(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.left="",this.popper.style.position="",this.popper.style.top="",this.popper.style[A("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function I(t,e,i,n){var r="BODY"===t.nodeName,a=r?window:t;a.addEventListener(e,i,{passive:!0}),r||I(o(a.parentNode),e,i,n),n.push(a)}function N(t,e,i,n){i.updateBound=n,window.addEventListener("resize",i.updateBound,{passive:!0});var r=o(t);return I(r,"scroll",i.updateBound,i.scrollParents),i.scrollElement=r,i.eventsEnabled=!0,i}function _(){this.state.eventsEnabled||(this.state=N(this.reference,this.options,this.state,this.scheduleUpdate))}function j(){this.state.eventsEnabled&&(window.cancelAnimationFrame(this.scheduleUpdate),this.state=function(t,e){return window.removeEventListener("resize",e.updateBound),e.scrollParents.forEach((function(t){t.removeEventListener("scroll",e.updateBound)})),e.updateBound=null,e.scrollParents=[],e.scrollElement=null,e.eventsEnabled=!1,e}(this.reference,this.state))}function R(t){return""!==t&&!isNaN(parseFloat(t))&&isFinite(t)}function L(t,e){Object.keys(e).forEach((function(i){var n="";-1!==["width","height","top","right","bottom","left"].indexOf(i)&&R(e[i])&&(n="px"),t.style[i]=e[i]+n}))}function P(t,e,i){var n=x(t,(function(t){return t.name===e})),o=!!n&&t.some((function(t){return t.name===i&&t.enabled&&t.order<n.order}));if(!o){var r="`"+e+"`";console.warn("`"+i+"` modifier is required by "+r+" modifier in order to work, be sure to include it before "+r+"!")}return o}function U(t){var e=1<arguments.length&&void 0!==arguments[1]&&arguments[1],i=it.indexOf(t),n=it.slice(i+1).concat(it.slice(0,i));return e?n.reverse():n}function B(t,e,i,n){var o=[0,0],r=-1!==["right","left"].indexOf(n),a=t.split(/(\+|\-)/).map((function(t){return t.trim()})),s=a.indexOf(x(a,(function(t){return-1!==t.search(/,|\s/)})));a[s]&&-1===a[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,d=-1===s?[a]:[a.slice(0,s).concat([a[s].split(l)[0]]),[a[s].split(l)[1]].concat(a.slice(s+1))];return(d=d.map((function(t,n){var o=(1===n?!r:r)?"height":"width",a=!1;return t.reduce((function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,a=!0,t):a?(t[t.length-1]+=e,a=!1,t):t.concat(e)}),[]).map((function(t){return function(t,e,i,n){var o=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),r=+o[1],a=o[2];if(!r)return t;if(0===a.indexOf("%")){var s;switch(a){case"%p":s=i;break;case"%":case"%r":default:s=n}return f(s)[e]/100*r}return"vh"===a||"vw"===a?("vh"===a?F(document.documentElement.clientHeight,window.innerHeight||0):F(document.documentElement.clientWidth,window.innerWidth||0))/100*r:r}(t,o,e,i)}))}))).forEach((function(t,e){t.forEach((function(i,n){R(i)&&(o[e]+=i*("-"===t[n-1]?-1:1))}))})),o}for(var W=Math.min,H=Math.floor,F=Math.max,M=["native code","[object MutationObserverConstructor]"],Q="undefined"!=typeof window,z=["Edge","Trident","Firefox"],V=0,q=0;q<z.length;q+=1)if(Q&&0<=navigator.userAgent.indexOf(z[q])){V=1;break}var Y,G=Q&&function(t){return M.some((function(e){return-1<(t||"").toString().indexOf(e)}))}(window.MutationObserver)?function(t){var e=!1,i=0,n=document.createElement("span");return new MutationObserver((function(){t(),e=!1})).observe(n,{attributes:!0}),function(){e||(e=!0,n.setAttribute("x-index",i),++i)}}:function(t){var e=!1;return function(){e||(e=!0,setTimeout((function(){e=!1,t()}),V))}},Z=function(){return null==Y&&(Y=-1!==navigator.appVersion.indexOf("MSIE 10")),Y},K=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},J=function(){function t(t,e){for(var i,n=0;n<e.length;n++)(i=e[n]).enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),X=function(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t},tt=Object.assign||function(t){for(var e,i=1;i<arguments.length;i++)for(var n in e=arguments[i])Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t},et=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],it=et.slice(3),nt="flip",ot="clockwise",rt="counterclockwise",at=function(){function e(i,n){var o=this,r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};K(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(o.update)},this.update=G(this.update.bind(this)),this.options=tt({},e.Defaults,r),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=i.jquery?i[0]:i,this.popper=n.jquery?n[0]:n,this.options.modifiers={},Object.keys(tt({},e.Defaults.modifiers,r.modifiers)).forEach((function(t){o.options.modifiers[t]=tt({},e.Defaults.modifiers[t]||{},r.modifiers?r.modifiers[t]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(t){return tt({name:t},o.options.modifiers[t])})).sort((function(t,e){return t.order-e.order})),this.modifiers.forEach((function(e){e.enabled&&t(e.onLoad)&&e.onLoad(o.reference,o.popper,o.options,e,o.state)})),this.update();var a=this.options.eventsEnabled;a&&this.enableEventListeners(),this.state.eventsEnabled=a}return J(e,[{key:"update",value:function(){return S.call(this)}},{key:"destroy",value:function(){return D.call(this)}},{key:"enableEventListeners",value:function(){return _.call(this)}},{key:"disableEventListeners",value:function(){return j.call(this)}}]),e}();return at.Utils=("undefined"==typeof window?i.g:window).PopperUtils,at.placements=et,at.Defaults={placement:"bottom",eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(t){var e=t.placement,i=e.split("-")[0],n=e.split("-")[1];if(n){var o=t.offsets,r=o.reference,a=o.popper,s=-1!==["bottom","top"].indexOf(i),l=s?"left":"top",d=s?"width":"height",c={start:X({},l,r[l]),end:X({},l,r[l]+r[d]-a[d])};t.offsets.popper=tt({},a,c[n])}return t}},offset:{order:200,enabled:!0,fn:function(t,e){var i,n=e.offset,o=t.placement,r=t.offsets,a=r.popper,s=r.reference,l=o.split("-")[0];return i=R(+n)?[+n,0]:B(n,a,s,l),"left"===l?(a.top+=i[0],a.left-=i[1]):"right"===l?(a.top+=i[0],a.left+=i[1]):"top"===l?(a.left+=i[0],a.top-=i[1]):"bottom"===l&&(a.left+=i[0],a.top+=i[1]),t.popper=a,t},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,e){var i=e.boundariesElement||r(t.instance.popper);t.instance.reference===i&&(i=r(i));var n=b(t.instance.popper,t.instance.reference,e.padding,i);e.boundaries=n;var o=e.priority,a=t.offsets.popper,s={primary:function(t){var i=a[t];return a[t]<n[t]&&!e.escapeWithReference&&(i=F(a[t],n[t])),X({},t,i)},secondary:function(t){var i="right"===t?"left":"top",o=a[i];return a[t]>n[t]&&!e.escapeWithReference&&(o=W(a[i],n[t]-("right"===t?a.width:a.height))),X({},i,o)}};return o.forEach((function(t){var e=-1===["left","top"].indexOf(t)?"secondary":"primary";a=tt({},a,s[e](t))})),t.offsets.popper=a,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,i=e.popper,n=e.reference,o=t.placement.split("-")[0],r=H,a=-1!==["top","bottom"].indexOf(o),s=a?"right":"bottom",l=a?"left":"top",d=a?"width":"height";return i[s]<r(n[l])&&(t.offsets.popper[l]=r(n[l])-i[d]),i[l]>r(n[s])&&(t.offsets.popper[l]=r(n[s])),t}},arrow:{order:500,enabled:!0,fn:function(t,i){if(!P(t.instance.modifiers,"arrow","keepTogether"))return t;var n=i.element;if("string"==typeof n){if(!(n=t.instance.popper.querySelector(n)))return t}else if(!t.instance.popper.contains(n))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var o=t.placement.split("-")[0],r=t.offsets,a=r.popper,s=r.reference,l=-1!==["left","right"].indexOf(o),d=l?"height":"width",c=l?"Top":"Left",p=c.toLowerCase(),h=l?"left":"top",u=l?"bottom":"right",m=C(n)[d];s[u]-m<a[p]&&(t.offsets.popper[p]-=a[p]-(s[u]-m)),s[p]+m>a[u]&&(t.offsets.popper[p]+=s[p]+m-a[u]);var g=s[p]+s[d]/2-m/2,v=e(t.instance.popper,"margin"+c).replace("px",""),b=g-f(t.offsets.popper)[p]-v;return b=F(W(a[d]-m,b),0),t.arrowElement=n,t.offsets.arrow={},t.offsets.arrow[p]=Math.round(b),t.offsets.arrow[h]="",t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(t,e){if(O(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var i=b(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement),n=t.placement.split("-")[0],o=T(n),r=t.placement.split("-")[1]||"",a=[];switch(e.behavior){case nt:a=[n,o];break;case ot:a=U(n);break;case rt:a=U(n,!0);break;default:a=e.behavior}return a.forEach((function(s,l){if(n!==s||a.length===l+1)return t;n=t.placement.split("-")[0],o=T(n);var d=t.offsets.popper,c=t.offsets.reference,p=H,h="left"===n&&p(d.right)>p(c.left)||"right"===n&&p(d.left)<p(c.right)||"top"===n&&p(d.bottom)>p(c.top)||"bottom"===n&&p(d.top)<p(c.bottom),f=p(d.left)<p(i.left),u=p(d.right)>p(i.right),m=p(d.top)<p(i.top),g=p(d.bottom)>p(i.bottom),v="left"===n&&f||"right"===n&&u||"top"===n&&m||"bottom"===n&&g,b=-1!==["top","bottom"].indexOf(n),y=!!e.flipVariations&&(b&&"start"===r&&f||b&&"end"===r&&u||!b&&"start"===r&&m||!b&&"end"===r&&g);(h||v||y)&&(t.flipped=!0,(h||v)&&(n=a[l+1]),y&&(r=function(t){return"end"===t?"start":"start"===t?"end":t}(r)),t.placement=n+(r?"-"+r:""),t.offsets.popper=tt({},t.offsets.popper,$(t.instance.popper,t.offsets.reference,t.placement)),t=E(t.instance.modifiers,t,"flip"))})),t},behavior:"flip",padding:5,boundariesElement:"viewport"},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,i=e.split("-")[0],n=t.offsets,o=n.popper,r=n.reference,a=-1!==["left","right"].indexOf(i),s=-1===["top","left"].indexOf(i);return o[a?"left":"top"]=r[i]-(s?o[a?"width":"height"]:0),t.placement=T(e),t.offsets.popper=f(o),t}},hide:{order:800,enabled:!0,fn:function(t){if(!P(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,i=x(t.instance.modifiers,(function(t){return"preventOverflow"===t.name})).boundaries;if(e.bottom<i.top||e.left>i.right||e.top>i.bottom||e.right<i.left){if(!0===t.hide)return t;t.hide=!0,t.attributes["x-out-of-boundaries"]=""}else{if(!1===t.hide)return t;t.hide=!1,t.attributes["x-out-of-boundaries"]=!1}return t}},computeStyle:{order:850,enabled:!0,fn:function(t,e){var i=e.x,n=e.y,o=t.offsets.popper,a=x(t.instance.modifiers,(function(t){return"applyStyle"===t.name})).gpuAcceleration;void 0!==a&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var s,l,d=void 0===a?e.gpuAcceleration:a,c=u(r(t.instance.popper)),p={position:o.position},h={left:H(o.left),top:H(o.top),bottom:H(o.bottom),right:H(o.right)},f="bottom"===i?"top":"bottom",m="right"===n?"left":"right",g=A("transform");if(l="bottom"==f?-c.height+h.bottom:h.top,s="right"==m?-c.width+h.right:h.left,d&&g)p[g]="translate3d("+s+"px, "+l+"px, 0)",p[f]=0,p[m]=0,p.willChange="transform";else{var v="bottom"==f?-1:1,b="right"==m?-1:1;p[f]=l*v,p[m]=s*b,p.willChange=f+", "+m}var y={"x-placement":t.placement};return t.attributes=tt({},y,t.attributes),t.styles=tt({},p,t.styles),t.arrowStyles=tt({},t.offsets.arrow,t.arrowStyles),t},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(t){return L(t.instance.popper,t.styles),function(t,e){Object.keys(e).forEach((function(i){!1===e[i]?t.removeAttribute(i):t.setAttribute(i,e[i])}))}(t.instance.popper,t.attributes),t.arrowElement&&Object.keys(t.arrowStyles).length&&L(t.arrowElement,t.arrowStyles),t},onLoad:function(t,e,i,n,o){var r=k(0,e,t),a=w(i.placement,r,e,t,i.modifiers.flip.boundariesElement,i.modifiers.flip.padding);return e.setAttribute("x-placement",a),L(e,{position:"absolute"}),i},gpuAcceleration:void 0}}},at},"object"==a(e)?t.exports=r():(o="function"==typeof(n=r)?n.call(e,i,e,t):n)===undefined||(t.exports=o)}},e={};function i(n){var o=e[n];if(o!==undefined)return o.exports;var r=e[n]={exports:{}};return t[n].call(r.exports,r,r.exports,i),r.exports}i.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return i.d(e,{a:e}),e},i.d=function(t,e){for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},function(){"use strict";i(775),i(13),i(150)}()}();
libs/framework/classes/onboard-status.php CHANGED
@@ -40,7 +40,7 @@ class Onboard_Status {
40
  Plugin_Data_Sender::instance()->send( 'diagnostic-data' ); // send non-sensitive diagnostic data and details about plugin usage.
41
  }
42
 
43
- if ( isset( $_POST['settings']['newsletter_email'] ) && $_POST['settings']['newsletter_email']) {
44
  $data = [
45
  'email' => $_POST['settings']['newsletter_email'],
46
  'environment_id' => 1,
40
  Plugin_Data_Sender::instance()->send( 'diagnostic-data' ); // send non-sensitive diagnostic data and details about plugin usage.
41
  }
42
 
43
+ if ( isset( $_POST['settings']['newsletter_email'] ) && !empty($_POST['settings']['newsletter_email'])) {
44
  $data = [
45
  'email' => $_POST['settings']['newsletter_email'],
46
  'environment_id' => 1,
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: Ataurr, wpmet, emranio, easin55474, enamulhoquemohon
3
  Tags: elementor addons, mega menu, header footer builder, elements, elementor extensions, elementor modules, page builder addons, elementor addon, elementor widget, addons
4
  Requires at least: 5.0
5
  Tested up to: 5.7
6
- Stable tag: 2.3.1
7
  Requires PHP: 7.0
8
  License: GPLv3 or later
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
@@ -348,6 +348,9 @@ Our Hotspot Widget for Elementor page builder offers lots of styles including: H
348
 
349
  == Changelog ==
350
 
 
 
 
351
  Version: 2.3.1 (22-06-2021)
352
  New: Onboarding User Guide to easily start using ElementsKit.
353
  New: Group Templates count for Layout Library.
3
  Tags: elementor addons, mega menu, header footer builder, elements, elementor extensions, elementor modules, page builder addons, elementor addon, elementor widget, addons
4
  Requires at least: 5.0
5
  Tested up to: 5.7
6
+ Stable tag: 2.3.1.1
7
  Requires PHP: 7.0
8
  License: GPLv3 or later
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
348
 
349
  == Changelog ==
350
 
351
+ Version: 2.3.1.1 (23-06-2021)
352
+ Fix: Email field was required for Onboarding Wizard, changed it to optional.
353
+
354
  Version: 2.3.1 (22-06-2021)
355
  New: Onboarding User Guide to easily start using ElementsKit.
356
  New: Group Templates count for Layout Library.