/**
 * Minified by jsDelivr using Terser v5.39.0.
 * Original file: /npm/tabs@0.2.0/index.js
 *
 * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
 */
!function(e,n){"undefined"!=typeof module&&module.exports?module.exports=n():"function"==typeof define?define(n):this.tabs=n()}(0,(function(){return function(t){var c=t.querySelectorAll(".tab"),a=t.querySelectorAll(".tab-pane");function o(t,c){e(t,(function(e,t){var a,o;e!=c?function(e,t){if(n(e,t)){var c=new RegExp("(\\s|^)"+t+"(\\s|$)");e.className=e.className.replace(c,"")}}(t,"active"):n(a=t,o="active")||(a.className+=" "+o)}))}e(c,(function(e,n){n.addEventListener("click",(function(n){o(c,e),o(a,e)}))}))};function e(e,n){for(var t=e.length-1;t>=0;t--)n(t,e[t])}function n(e,n){return e.className.match(new RegExp("(\\s|^)"+n+"(\\s|$)"))}}));
//# sourceMappingURL=/sm/3ccd25f4f77dc4139699f934871b7b2ab005c59a14122fddcfb63b2019c2dff5.map