0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-02 14:24:19 +01:00
Bootstrap/dist/js/bootstrap.bundle.min.js

7 lines
84 KiB
JavaScript
Raw Normal View History

2017-09-06 06:05:12 +02:00
/*!
2019-02-13 17:01:40 +01:00
* Bootstrap v4.3.1 (https://getbootstrap.com/)
2019-01-04 17:29:45 +01:00
* Copyright 2011-2019 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
2017-09-06 06:05:12 +02:00
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/
2019-03-11 16:13:30 +01:00
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t=t||self).bootstrap=e()}(this,function(){"use strict";function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function e(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}function n(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function i(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{},o=Object.keys(i);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(i).filter(function(t){return Object.getOwnPropertyDescriptor(i,t).enumerable}))),o.forEach(function(e){n(t,e,i[e])})}return t}var o,r,s="transitionend",a=window.jQuery,l=function(t){do{t+=~~(1e6*Math.random())}while(document.getElementById(t));return t},c=function(t){var e=t.getAttribute("data-target");if(!e||"#"===e){var n=t.getAttribute("href");e=n&&"#"!==n?n.trim():""}try{return document.querySelector(e)?e:null}catch(t){return null}},f=function(t){if(!t)return 0;var e=window.getComputedStyle(t),n=e.transitionDuration,i=e.transitionDelay,o=parseFloat(n),r=parseFloat(i);return o||r?(n=n.split(",")[0],i=i.split(",")[0],1e3*(parseFloat(n)+parseFloat(i))):0},u=function(t){t.dispatchEvent(new Event(s))},h=function(t){return(t[0]||t).nodeType},d=function(t,e){var n=!1,i=e+5;t.addEventListener(s,function e(){n=!0,t.removeEventListener(s,e)}),setTimeout(function(){n||u(t)},i)},p=function(t,e,n){Object.keys(n).forEach(function(i){var o,r=n[i],s=e[i],a=s&&h(s)?"element":(o=s,{}.toString.call(o).match(/\s([a-z]+)/i)[1].toLowerCase());if(!new RegExp(r).test(a))throw new Error(t.toUpperCase()+': Option "'+i+'" provided type "'+a+'" but expected type "'+r+'".')})},g=function(t){return t?[].slice.call(t):[]},m=function(t){return!!t&&(!!(t.style&&t.parentNode&&t.parentNode.style)&&("none"!==t.style.display&&"none"!==t.parentNode.style.display&&"hidden"!==t.style.visibility))},_=function(){return function(){}},v=function(t){return t.offsetHeight},b=(o={},r=1,{set:function(t,e,n){void 0===t.key&&(t.key={key:e,id:r},r++),o[t.key.id]=n},get:function(t,e){if(!t||void 0===t.key)return null;var n=t.key;return n.key===e?o[n.id]:null},delete:function(t,e){if(void 0!==t.key){var n=t.key;n.key===e&&(delete o[n.id],delete t.key)}}}),E={setData:function(t,e,n){b.set(t,e,n)},getData:function(t,e){return b.get(t,e)},removeData:function(t,e){b.delete(t,e)}},y=function(){var t,e,n=(t=new CustomEvent("Bootstrap",{cancelable:!0}),(e=document.createElement("div")).addEventListener("Bootstrap",function(){return null}),t.preventDefault(),e.dispatchEvent(t),t.defaultPrevented),i=Element.prototype.querySelectorAll,o=Element.prototype.querySelector,r=/:scope\b/;return function(){var t=document.createElement("div");try{t.querySelectorAll(":scope *")}catch(t){return!1}return!0}()||(i=function(t){if(!r.test(t))return this.querySelectorAll(t);var e=Boolean(this.id);e||(this.id=l("scope"));var n=null;try{t=t.replace(r,"#"+this.id),n=this.querySelectorAll(t)}finally{e||this.removeAttribute("id")}return n},o=function(t){if(!r.test(t))return this.querySelector(t);var e=i.call(this,t);return void 0!==e[0]?e[0]:null}),{defaultPreventedPreservedOnDispatch:n,find:i,findOne:o}}(),w=/[^.]*(?=\..*)\.|.*/,D=/\..*/,T=/^key/,I=/::\d+$/,A={},O=1,L={mouseenter:"mouseover",mouseleave:"mouseout"},S=["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"];function C(t,e){return e&&e+"::
2017-10-19 09:17:08 +02:00
//# sourceMappingURL=bootstrap.bundle.min.js.map