function _defineProperties(e,t){for(var n=0;n<t.length;n++){var a=t;a.enumerable=a.enumerable||!1,a.configurable=!0,“value”in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function _createClass(e,t,n){return t&&_defineProperties(e.prototype,t),n&&_defineProperties(e,n),e} /*!

* Mekari UI button.js (https://bitbucket.org/mekariuitoolkit/mekari-ui-toolkit#readme)
* Copyright 2011-2021 Mekari
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/

/*!

* Mekari UI button.js (https://bitbucket.org/mekariuitoolkit/mekari-ui-toolkit#readme)
* Copyright 2011-2021 Mekari
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/

!function(e,t){“object”==typeof exports&&“undefined”!=typeof module?module.exports=t(require(“jquery”)):“function”==typeof define&&define.amd?define(,t):(e=e||self).Button=t(e.jQuery)}(this,function(e){“use strict”;e=e&&e.hasOwnProperty(“default”)?e.default:e;var t=“button”,n=e.fn,a=function(){function t(e){this._element=e}var n=t.prototype;return n.toggle=function(){var t=!0,n=!0,a=e(this._element).closest(‘')[0];if(a){var s=this._element.querySelector(’input:not()');if(s){if(“radio”===s.type)if(s.checked&&this._element.classList.contains(“active”))t=!1;else{var i=a.querySelector(“.active”);i&&e(i).removeClass(“active”)}t&&(“checkbox”!==s.type&&“radio”!==s.type||(s.checked=!this._element.classList.contains(“active”)),e(s).trigger(“change”)),s.focus(),n=!1}}this._element.hasAttribute(“disabled”)||this._element.classList.contains(“disabled”)||(n&&this._element.setAttribute(“aria-pressed”,!this._element.classList.contains(“active”)),t&&e(this._element).toggleClass(“active”))},n.dispose=function(){e.removeData(this._element,“bs.button”),this._element=null},t._jQueryInterface=function(n){return this.each(function(){var a=e(this).data(“bs.button”);a||(a=new t(this),e(this).data(“bs.button”,a)),“toggle”===n&&a()})},_createClass(t,null,),t}();return e(document).on(“click.bs.button.data-api”,‘',function(t){var n=t.target,s=n;if(e(n).hasClass(“btn”)||(n=e(n).closest(“.btn”)),!n||n.hasAttribute(“disabled”)||n.classList.contains(“disabled”))t.preventDefault();else{var i=n.querySelector(’input:not()');if(i&&(i.hasAttribute(“disabled”)||i.classList.contains(“disabled”)))return void t.preventDefault();(“LABEL”!==s.tagName||i&&“checkbox”!==i.type)&&a._jQueryInterface.call(e(n),“toggle”)}}).on(“focus.bs.button.data-api blur.bs.button.data-api”,‘',function(t){var n=e(t.target).closest(“.btn”);e(n).toggleClass(“focus”,/^focus(in)?$/.test(t.type))}),e(window).on(“load.bs.button.data-api”,function(){for(var e=[].slice.call(document.querySelectorAll(’ .btn')),t=0,n=e.length;t<n;t++){var a=e,s=a.querySelector(‘input:not()');s.checked||s.hasAttribute(“checked”)?a.classList.add(“active”):a.classList.remove(“active”)}for(var i=0,o=(e=[].slice.call(document.querySelectorAll(’'))).length;i<o;i++){var r=e;“true”===r.getAttribute(“aria-pressed”)?r.classList.add(“active”):r.classList.remove(“active”)}}),e.fn=a._jQueryInterface,e.fn.Constructor=a,e.fn.noConflict=function(){return e.fn=n,a._jQueryInterface},a}); //# sourceMappingURL=mekari-ui-button.min.js.map