PageSourceSearch

https://www.danke.de/scripts/common/vendor/tab.min.js?d=639263490267037542&hash=694389b0292fea53d085896b2f0278

js danke.de collected 2026-10-06 01:47:37 UTC 3,766 bytes, 6 lines download raw bytes

1/*!
2  * Bootstrap tab.js v4.5.0 (https://getbootstrap.com/)
3  * Copyright 2011-2020 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
4  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
5  */
6!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("jquery"),require("../util.js")):"function"==typeof define&&define.amd?define(["jquery","./util.js"],t):(e=e||self).Tab=t(e.jQuery,e.Util)}(this,(function(e,t){"use strict";function a(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function n(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}e=e&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e,t=t&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t;var r="tab",i="4.5.0",o="bs.tab",s=".bs.tab",l=".data-api",d=e.fn.tab,u="hide.bs.tab",c="hidden.bs.tab",f="show.bs.tab",v="shown.bs.tab",b="click.bs.tab.data-api",m="dropdown-menu",p="active",h="disabled",g="fade",y="show",_=".dropdown",w=".nav, .list-group",N=".active",E="> li > .active",j='[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',C=".dropdown-toggle",T="> .dropdown-menu .active",O=function(){function a(e){this._element=e}var r=a.prototype;return r.show=function a(){var n=this;if(!(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&e(this._element).hasClass("active")||e(this._element).hasClass("disabled"))){var r,i,o=e(this._element).closest(".nav, .list-group")[0],s=t.getSelectorFromElement(this._element);if(o){var l="UL"===o.nodeName||"OL"===o.nodeName?"> li > .active":".active";i=(i=e.makeArray(e(o).find(l)))[i.length-1]}var d=e.Event(u,{relatedTarget:this._element}),b=e.Event(f,{relatedTarget:i});if(i&&e(i).trigger(d),e(this._element).trigger(b),!b.isDefaultPrevented()&&!d.isDefaultPrevented()){s&&(r=document.querySelector(s)),this._activate(this._element,o);var m=function t(){var a=e.Event(c,{relatedTarget:n._element}),r=e.Event(v,{relatedTarget:i});e(i).trigger(a),e(n._element).trigger(r)};r?this._activate(r,r.parentNode,m):m()}}},r.dispose=function t(){e.removeData(this._element,"bs.tab"),this._element=null},r._activate=function a(n,r,i){var o=this,s,l=(!r||"UL"!==r.nodeName&&"OL"!==r.nodeName?e(r).children(".active"):e(r).find("> li > .active"))[0],d=i&&l&&e(l).hasClass("fade"),u=function e(){return o._transitionComplete(n,l,i)};if(l&&d){var c=t.getTransitionDurationFromElement(l);e(l).removeClass("show").one(t.TRANSITION_END,u).emulateTransitionEnd(c)}else u()},r._transitionComplete=function a(n,r,i){if(r){e(r).removeClass("active");var o=e(r.parentNode).find("> .dropdown-menu .active")[0];o&&e(o).removeClass("active"),"tab"===r.getAttribute("role")&&r.setAttribute("aria-selected",!1)}if(e(n).addClass("active"),"tab"===n.getAttribute("role")&&n.setAttribute("aria-selected",!0),t.reflow(n),n.classList.contains("fade")&&n.classList.add("show"),n.parentNode&&e(n.parentNode).hasClass("dropdown-menu")){var s=e(n).closest(".dropdown")[0];if(s){var l=[].slice.call(s.querySelectorAll(".dropdown-toggle"));e(l).addClass("active")}n.setAttribute("aria-expanded",!0)}i&&i()},a._jQueryInterface=function t(n){return this.each((function(){var t=e(this),r=t.data("bs.tab");if(r||(r=new a(this),t.data("bs.tab",r)),"string"==typeof n){if(void 0===r[n])throw new TypeError('No method named "'+n+'"');r[n]()}}))},n(a,null,[{key:"VERSION",get:function e(){return"4.5.0"}}]),a}();
6return e(document).on(b,j,(function(t){t.preventDefault(),O._jQueryInterface.call(e(this),"show")})),e.fn.tab=O._jQueryInterface,e.fn.tab.Constructor=O,e.fn.tab.noConflict=function(){return e.fn.tab=d,O._jQueryInterface},O}));

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.