PageSourceSearch

https://dismo.es/js/boostrap.min.js

js dismo.es collected 2026-10-08 20:21:59 UTC 40,358 bytes, 780 lines download raw bytes

vendor: 4,108 bytes, lines 1-84
1/*!
2 * Bootstrap v3.1.1 (http://getbootstrap.com)
3 * Copyright 2011-2014 Twitter, Inc.
4 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
5 */
6
7+ function(a) {
8    "use strict";
9    var b = '[data-dismiss="alert"]',
10        c = function(c) {
11            a(c).on("click", b, this.close)
12        };
13    c.prototype.close = function(b) {
14        function f() {
15            e.trigger("closed.bs.alert").remove()
16        }
17        var c = a(this),
18            d = c.attr("data-target");
19        d || (d = c.attr("href"), d = d && d.replace(/.*(?=#[^\s]*$)/, ""));
20        var e = a(d);
21        b && b.preventDefault(), e.length || (e = c.hasClass("alert") ? c : c.parent()), e.trigger(b = a.Event("close.bs.alert"));
22        if (b.isDefaultPrevented()) return;
23        e.removeClass("in"), a.support.transition && e.hasClass("fade") ? e.one(a.support.transition.end, f).emulateTransitionEnd(150) : f()
24    };
25    var d = a.fn.alert;
26    a.fn.alert = function(b) {
27        return this.each(function() {
28            var d = a(this),
29                e = d.data("bs.alert");
30            e || d.data("bs.alert", e = new c(this)), typeof b == "string" && e[b].call(d)
31        })
32    }, a.fn.alert.Constructor = c, a.fn.alert.noConflict = function() {
33        return a.fn.alert = d, this
34    }, a(document).on("click.bs.alert.data-api", b, c.prototype.close)
35}(jQuery), + function(a) {
36    "use strict";
37    var b = function(c, d) {
38        this.$element = a(c), this.options = a.extend({}, b.DEFAULTS, d), this.isLoading = !1
39    };
40    b.DEFAULTS = {
41        loadingText: "loading..."
42    }, b.prototype.setState = function(b) {
43        var c = "disabled",
44            d = this.$element,
45            e = d.is("input") ? "val" : "html",
46            f = d.data();
47        b += "Text", f.resetText || d.data("resetText", d[e]()), d[e](f[b] || this.options[b]), setTimeout(a.proxy(function() {
48            b == "loadingText" ? (this.isLoading = !0, d.addClass(c).attr(c, c)) : this.isLoading && (this.isLoading = !1, d.removeClass(c).removeAttr(c))
49        }, this), 0)
50    }, b.prototype.toggle = function() {
51        var a = !0,
52            b = this.$element.closest('[data-toggle="buttons"]');
53        if (b.length) {
54            var c = this.$element.find("input");
55            c.prop("type") == "radio" && (c.prop("checked") && this.$element.hasClass("active") ? a = !1 : b.find(".active").removeClass("active")), a && c.prop("checked", !this.$element.hasClass("active")).trigger("change")
56        }
57        a && this.$element.toggleClass("active")
58    };
59    var c = a.fn.button;
60    a.fn.button = function(c) {
61        return this.each(function() {
62            var d = a(this),
63                e = d.data("bs.button"),
64                f = typeof c == "object" && c;
65            e || d.data("bs.button", e = new b(this, f)), c == "toggle" ? e.toggle() : c && e.setState(c)
66        })
67    }, a.fn.button.Constructor = b, a.fn.button.noConflict = function() {
68        return a.fn.button = c, this
69    }, a(document).on("click.bs.button.data-api", "[data-toggle^=button]", function(b) {
70        var c = a(b.target);
71        c.hasClass("btn") || (c = c.closest(".btn")), c.button("toggle"), b.preventDefault()
72    })
73}(jQuery), + function(a) {
74    "use strict";
75    var b = function(b, c) {
76        this.$element = a(b), this.$indicators = this.$element.find(".carousel-indicators"), this.options = c, this.paused = this.sliding = this.interval = this.$active = this.$items = null, this.options.pause == "hover" && this.$element.on("mouseenter", a.proxy(this.pause, this)).on("mouseleave", a.proxy(this.cycle, this))
77    };
78    b.DEFAULTS = {
79        interval: 5e3,
80        pause: "hover",
81        wrap: !0
82    }, b.prototype.cycle = function(b) {
83        return b || (this.paused = !1), this.interval && clearInterval(this.interval), this.options.interval && !this.paused && (this.interval = setInterval(a.proxy(this.next, this), this.options.interval)), this
84    }, b.prototype.getActiveIndex = function() {
85        return this.$active = this.$element.find(".item.active"), this.$items = this.$active.parent().children(), this.$items.index(this.$active)
86    }, b.prototype.to = function(b) {
87        var c = this,
88            d = this.getActiveIndex();
89        if (b > this.$items.length - 1 || b < 0) return;
90        return this.sliding ? this.$element.one("slid.bs.carousel", function() {
91            c.to(b)
92        }) : d == b ? this.pause().cycle() : this.slide(b > d ? "next" : "prev", a(this.$items[b]))
93    }, b.prototype.pause = function(b) {
94        return b || (this.paused = !0), this.$element.find(".next, .prev").length && a.support.transition && (this.$element.trigger(a.support.transition.end), this.cycle(!0)), this.interval = clearInterval(this.interval), this
95    }, b.prototype.next = function() {
96        if (this.sliding) return;
97        return this.slide("next")
98    }, b.prototype.prev = function() {
99        if (this.sliding) return;
100        return this.slide("prev")
101    }, b.prototype.slide = function(b, c) {
102        var d = this.$element.find(".item.active"),
103            e = c || d[b](),
104            f = this.interval,
105            g = b == "next" ? "left" : "right",
106            h = b == "next" ? "first" : "last",
107            i = this;
108        if (!e.length) {
109            if (!this.options.wrap) return;
110            e = this.$element.find(".item")[h]()
111        }
112        if (e.hasClass("active")) return this.sliding = !1;
113        var j = a.Event("slide.bs.carousel", {
114            relatedTarget: e[0],
115            direction: g
116        });
117        this.$element.trigger(j);
118        if (j.isDefaultPrevented()) return;
119        return this.sliding = !0, f && this.pause(), this.$indicators.length && (this.$indicators.find(".active").removeClass("active"), this.$element.one("slid.bs.carousel", function() {
120            var b = a(i.$indicators.children()[i.getActiveIndex()]);
121            b && b.addClass("active")
122        })), a.support.transition && this.$element.hasClass("slide") ? (e.addClass(b), e[0].offsetWidth, d.addClass(g), e.addClass(g), d.one(a.support.transition.end, function() {
123            e.removeClass([b, g].join(" ")).addClass("active"), d.removeClass(["active", g].join(" ")), i.sliding = !1, setTimeout(function() {
124                i.$element.trigger("slid.bs.carousel")
125            }, 0)
126        }).emulateTransitionEnd(d.css("transition-duration").slice(0, -1) * 1e3)) : (d.removeClass("active"), e.addClass("active"), this.sliding = !1, this.$element.trigger("slid.bs.carousel")), f && this.cycle(), this
127    };
128    var c = a.fn.carousel;
129    a.fn.carousel = function(c) {
130        return this.each(function() {
131            var d = a(this),
132                e = d.data("bs.carousel"),
133                f = a.extend({}, b.DEFAULTS, d.data(), typeof c == "object" && c),
134                g = typeof c == "string" ? c : f.slide;
135            e || d.data("bs.carousel", e = new b(this, f)), typeof c == "number" ? e.to(c) : g ? e[g]() : f.interval && e.pause().cycle()
136        })
137    }, a.fn.carousel.Constructor = b, a.fn.carousel.noConflict = function() {
138        return a.fn.carousel = c, this
139    }, a(document).on("click.bs.carousel.data-api", "[data-slide], [data-slide-to]", function(b) {
140        var c = a(this),
141            d, e = a(c.attr("data-target") || (d = c.attr("href")) && d.replace(/.*(?=#[^\s]+$)/, "")),
142            f = a.extend({}, e.data(), c.data()),
143            g = c.attr("data-slide-to");
144        g && (f.interval = !1), e.carousel(f), (g = c.attr("data-slide-to")) && e.data("bs.carousel").to(g), b.preventDefault()
145    }), a(window).on("load", function() {
146        a('[data-ride="carousel"]').each(function() {
147            var b = a(this);
148            b.carousel(b.data())
149        })
150    })
151}(jQuery), + function(a) {
152    function e(d) {
153        a(b).remove(), a(c).each(function() {
154            var b = f(a(this)),
155                c = {
156                    relatedTarget: this
157                };
158            if (!b.hasClass("open")) return;
159            b.trigger(d = a.Event("hide.bs.dropdown", c));
160            if (d.isDefaultPrevented()) return;
161            b.removeClass("open").trigger("hidden.bs.dropdown", c)
162        })
163    }
164
165    function f(b) {
166        var c = b.attr("data-target");
167        c || (c = b.attr("href"), c = c && /#[A-Za-z]/.test(c) && c.replace(/.*(?=#[^\s]*$)/, ""));
168        var d = c && a(c);
169        return d && d.length ? d : b.parent()
170    }
171    "use strict";
172    var b = ".dropdown-backdrop",
173        c = "[data-toggle=dropdown]",
174        d = function(b) {
175            a(b).on("click.bs.dropdown", this.toggle)
176        };
177    d.prototype.toggle = function(b) {
178        var c = a(this);
179        if (c.is(".disabled, :disabled")) return;
180        var d = f(c),
181            g = d.hasClass("open");
182        e();
183        if (!g) {
184            "ontouchstart" in document.documentElement && !d.closest(".
184navbar-nav").length && a('<div class="dropdown-backdrop"/>').insertAfter(a(this)).on("click", e);
185            var h = {
186                relatedTarget: this
187            };
188            d.trigger(b = a.Event("show.bs.dropdown", h));
189            if (b.isDefaultPrevented()) return;
190            d.toggleClass("open").trigger("shown.bs.dropdown", h), c.focus()
191        }
192        return !1
193    }, d.prototype.keydown = function(b) {
194        if (!/(38|40|27)/.test(b.keyCode)) return;
195        var d = a(this);
196        b.preventDefault(), b.stopPropagation();
197        if (d.is(".disabled, :disabled")) return;
198        var e = f(d),
199            g = e.hasClass("open");
200        if (!g || g && b.keyCode == 27) return b.which == 27 && e.find(c).focus(), d.click();
201        var h = " li:not(.divider):visible a",
202            i = e.find("[role=menu]" + h + ", [role=listbox]" + h);
203        if (!i.length) return;
204        var j = i.index(i.filter(":focus"));
205        b.keyCode == 38 && j > 0 && j--, b.keyCode == 40 && j < i.length - 1 && j++, ~j || (j = 0), i.eq(j).focus()
206    };
207    var g = a.fn.dropdown;
208    a.fn.dropdown = function(b) {
209        return this.each(function() {
210            var c = a(this),
211                e = c.data("bs.dropdown");
212            e || c.data("bs.dropdown", e = new d(this)), typeof b == "string" && e[b].call(c)
213        })
214    }, a.fn.dropdown.Constructor = d, a.fn.dropdown.noConflict = function() {
215        return a.fn.dropdown = g, this
216    }, a(document).on("click.bs.dropdown.data-api", e).on("click.bs.dropdown.data-api", ".dropdown form", function(a) {
217        a.stopPropagation()
218    }).on("click.bs.dropdown.data-api", c, d.prototype.toggle).on("keydown.bs.dropdown.data-api", c + ", [role=menu], [role=listbox]", d.prototype.keydown)
219}(jQuery), + function(a) {
220    "use strict";
221    var b = function(b, c) {
222        this.options = c, this.$element = a(b), this.$backdrop = this.isShown = null, this.options.remote && this.$element.find(".modal-content").load(this.options.remote, a.proxy(function() {
223            this.$element.trigger("loaded.bs.modal")
224        }, this))
225    };
226    b.DEFAULTS = {
227        backdrop: !0,
228        keyboard: !0,
229        show: !0
230    }, b.prototype.toggle = function(a) {
231        return this[this.isShown ? "hide" : "show"](a)
232    }, b.prototype.show = function(b) {
233        var c = this,
234            d = a.Event("show.bs.modal", {
235                relatedTarget: b
236            });
237        this.$element.trigger(d);
238        if (this.isShown || d.isDefaultPrevented()) return;
239        this.isShown = !0, this.escape(), this.$element.on("click.dismiss.bs.modal", '[data-dismiss="modal"]', a.proxy(this.hide, this)), this.backdrop(function() {
240            var d = a.support.transition && c.$element.hasClass("fade");
241            c.$element.parent().length || c.$element.appendTo(document.body), c.$element.show().scrollTop(0), d && c.$element[0].offsetWidth, c.$element.addClass("in").attr("aria-hidden", !1), c.enforceFocus();
242            var e = a.Event("shown.bs.modal", {
243                relatedTarget: b
244            });
245            d ? c.$element.find(".modal-dialog").one(a.support.transition.end, function() {
246                c.$element.focus().trigger(e)
247            }).emulateTransitionEnd(300) : c.$element.focus().trigger(e)
248        })
249    }, b.prototype.hide = function(b) {
250        b && b.preventDefault(), b = a.Event("hide.bs.modal"), this.$element.trigger(b);
251        if (!this.isShown || b.isDefaultPrevented()) return;
252        this.isShown = !1, this.escape(), a(document).off("focusin.bs.modal"), this.$element.removeClass("in").attr("aria-hidden", !0).off("click.dismiss.bs.modal"), a.support.transition && this.$element.hasClass("fade") ? this.$element.one(a.support.transition.end, a.proxy(this.hideModal, this)).emulateTransitionEnd(300) : this.hideModal()
253    }, b.prototype.enforceFocus = function() {
254        a(document).off("focusin.bs.modal").on("focusin.bs.modal", a.proxy(function(a) {
255            this.$element[0] !== a.target && !this.$element.has(a.target).length && this.$element.focus()
256        }, this))
257    }, b.prototype.escape = function() {
258        this.isShown && this.options.keyboard ? this.$element.on("keyup.dismiss.bs.modal", a.proxy(function(a) {
259            a.which == 27 && this.hide()
260        }, this)) : this.isShown || this.$element.off("keyup.dismiss.bs.modal")
261    }, b.prototype.hideModal = function() {
262        var a = this;
263        this.$element.hide(), this.backdrop(function() {
264            a.removeBackdrop(), a.$element.trigger("hidden.bs.modal")
265        })
266    }, b.prototype.removeBackdrop = function() {
267        this.$backdrop && this.$backdrop.remove(), this.$backdrop = null
268    }, b.prototype.backdrop = function(b) {
269        var c = this.$element.hasClass("fade") ? "fade" : "";
270        if (this.isShown && this.options.backdrop) {
271            var d = a.support.transition && c;
272            this.$backdrop = a('<div class="modal-backdrop ' + c + '" />').appendTo(document.body), this.$element.on("click.dismiss.bs.modal", a.proxy(function(a) {
273                if (a.target !== a.currentTarget) return;
274                this.options.backdrop == "static" ? this.$element[0].focus.call(this.$element[0]) : this.hide.call(this)
275            }, this)), d && this.$backdrop[0].offsetWidth, this.$backdrop.addClass("in");
276            if (!b) return;
277            d ? this.$backdrop.one(a.support.transition.end, b).emulateTransitionEnd(150) : b()
278        } else !this.isShown && this.$backdrop ? (this.$backdrop.removeClass("in"), a.support.transition && this.$element.hasClass("fade") ? this.$backdrop.one(a.support.transition.end, b).emulateTransitionEnd(150) : b()) : b && b()
279    };
280    var c = a.fn.modal;
281    a.fn.modal = function(c, d) {
282        return this.each(function() {
283            var e = a(this),
284                f = e.data("bs.modal"),
285                g = a.extend({}, b.DEFAULTS, e.data(), typeof c == "object" && c);
286            f || e.data("bs.modal", f = new b(this, g)), typeof c == "string" ? f[c](d) : g.show && f.show(d)
287        })
288    }, a.fn.modal.Constructor = b, a.fn.modal.noConflict = function() {
289        return a.fn.modal = c, this
290    }, a(document).on("click.bs.modal.data-api", '[data-toggle="modal"]', function(b) {
291        var c = a(this),
292            d = c.attr("href"),
293            e = a(c.attr("data-target") || d && d.replace(/.*(?=#[^\s]+$)/, "")),
294            f = e.data("bs.modal") ? "toggle" : a.extend({
295                remote: !/#/.test(d) && d
296            }, e.data(), c.data());
297        c.is("a") && b.preventDefault(), e.modal(f, this).one("hide", function() {
298            c.is(":visible") && c.focus()
299        })
300    }), a(document).on("show.bs.modal", ".modal", function() {
301        a(document.body).addClass("modal-open")
302    }).on("hidden.bs.modal", ".modal", function() {
303        a(document.body).removeClass("modal-open")
304    })
305}(jQuery), + function(a) {
306    "use strict";
307    var b = function(a, b) {
308        this.type = this.options = this.enabled = this.timeout = this.hoverState = this.$element = null, this.init("tooltip", a, b)
309    };
310    b.DEFAULTS = {
311        animation: !0,
312        placement: "top",
313        selector: !1,
314        template: '<div class="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',
315        trigger: "hover focus",
316        title: "",
317        delay: 0,
318        html: !1,
319        container: !1
320    }, b.prototype.init = function(b, c, d) {
321        this.enabled = !0, this.type = b, this.$element = a(c), this.options = this.getOptions(d);
322        var e = this.options.trigger.split(" ");
323        for (var f = e.length; f--;) {
324            var g = e[f];
325            if (g == "click") this.$element.on("click." + this.type, this.options.selector, a.proxy(this.toggle, this));
326            else if (g != "manual") {
327                var h = g == "hover" ? "mouseenter" : "focusin",
328                    i = g == "hover" ? "mouseleave" : "focusout";
329                this.$element.on(h + "." + this.type, this.options.selector, a.proxy(this.enter, this)), this.$element.on(i + "." + this.type, this.options.selector, a.proxy(this.leave, this))
330            }
331        }
332        this.options.selector ? this._options = a.extend({}, this.options, {
333            trigger: "manual",
334            selector: ""
335        }) : this.fixTitle()
336    }, b.prototype.getDefaults = function() {
337        return b.DEFAULTS
338    }, b.prototype.getOptions = function(b) {
339        return b = a.extend({}, this.getDefaults(), this.$element.data(), b), b.delay && typeof b.delay == "number" && (b.delay = {
340            show: b.delay,
341            hide: b.delay
342        }), b
343    }, b.prototype.getDelegateOptions = function() {
344        var b = {}, c = this.getDefaults();
345        return this._options && a.each(this._options, function(a, d) {
346            c[a] != d && (b[a] = d)
347        }), b
348    }, b.prototype.enter = function(b) {
349        var c = b instanceof this.constructor ? b : a(b.currentTarget)[this.type](this.getDelegateOptions()).data("bs." + this.type);
350        clearTimeout(c.timeout), c.hoverState = "in";
351        if (!c.options.delay || !c.options.delay.show) return c.show();
352        c.timeout = setTimeout(function() {
353            c.hoverState == "in" && c.show()
354        }, c.options.delay.show)
355    }, b.prototype.leave = function(b) {
356        var c = b instanceof this.constructor ? b : a(b.currentTarget)[this.type](this.getDelegateOptions()).data("bs." + this.type);
357        clearTimeout(c.timeout), c.hoverState = "out";
358        if (!c.options.delay || !c.options.delay.hide) return c.hide();
359        c.timeout = setTimeout(function() {
360            c.hoverState == "out" && c.hide()
361        }, c.options.delay.hide)
362    }, b.prototype.show = function() {
363        var b = a.Event("show.bs." + this.type);
364        if (this.hasContent() && this.enabled) {
365            this.$element.trigger(b);
366            if (b.isDefaultPrevented()) return;
367            var c = this,
368                d = this.tip();
369            this.setContent(), this.options.animation && d.addClass("fade");
370            var e = typeof this.options.placement == "function" ? this.options.placement.call(this, d[0], this.$element[0]) : this.options.placement,
371                f = /\s?auto?\s?/i,
372                g = f.test(e);
373            g && (e = e.replace(f, "") || "top"), d.detach().css({
374                top: 0,
375                left: 0,
376                display: "block"
377            }).addClass(e), this.options.container ? d.appendTo(this.options.container) : d.insertAfter(this.$element);
378            var h = this.getPosition(),
379                i = d[0].offsetWidth,
380                j = d[0].offsetHeight;
381            if (g) {
382                var k = this.$element.parent(),
383                    l = e,
384                    m = document.documentElement.scrollTop || document.body.scrollTop,
385                    n = this.options.container == "body" ? window.innerWidth : k.outerWidth(),
386                    o = this.options.container == "body" ? window.innerHeight : k.outerHeight(),
387                    p = this.options.container == "body" ? 0 : k.offset().left;
388                e = e == "bottom" && h.top + h.height + j - m > o ? "top" : e == "top" && h.top - m - j < 0 ? "bottom" : e == "right" && h.right + i > n ? "left" : e == "left" && h.left - i < p ? "right" : e, d.removeClass(l).addClass(e)
389            }
390            var q = this.getCalculatedOffset(e, h, i, j);
391            this.applyPlacement(q, e), this.hoverState = null;
392            var r = function() {
393                c.$element.trigger("shown.bs." + c.type)
394            };
395            a.support.transition && this.$tip.hasClass("fade") ? d.one(a.support.transition.end, r).emulateTransitionEnd(150) : r()
396        }
397    }, b.prototype.applyPlacement = function(b, c) {
398        var d, e = this.tip(),
399            f = e[0].offsetWidth,
400            g = e[0].offsetHeight,
401            h = parseInt(e.css("margin-top"), 10),
402            i = parseInt(e.css("margin-left"), 10);
403        isNaN(h) && (h = 0), isNaN(i) && (i = 0), b.top = b.top + h, b.left = b.left + i, a.offset.setOffset(e[0], a.extend({
404            using: function(a) {
405                e.css({
406                    top: Math.round(a.top),
407                    left: Math.round(a.left)
408                })
409            }
410        }, b), 0), e.addClass("in");
411        var j = e[0].offsetWidth,
412            k = e[0].offsetHeight;
vendor: 16,384 bytes, lines 413-727
413        c == "top" && k != g && (d = !0, b.top = b.top + g - k);
414        if (/bottom|top/.test(c)) {
415            var l = 0;
416            b.left < 0 && (l = b.left * -2, b.left = 0, e.offset(b), j = e[0].offsetWidth, k = e[0].offsetHeight), this.replaceArrow(l - f + j, j, "left")
417        } else this.replaceArrow(k - g, k, "top");
418        d && e.offset(b)
419    }, b.prototype.replaceArrow = function(a, b, c) {
420        this.arrow().css(c, a ? 50 * (1 - a / b) + "%" : "")
421    }, b.prototype.setContent = function() {
422        var a = this.tip(),
423            b = this.getTitle();
424        a.find(".tooltip-inner")[this.options.html ? "html" : "text"](b), a.removeClass("fade in top bottom left right")
425    }, b.prototype.hide = function() {
426        function e() {
427            b.hoverState != "in" && c.detach(), b.$element.trigger("hidden.bs." + b.type)
428        }
429        var b = this,
430            c = this.tip(),
431            d = a.Event("hide.bs." + this.type);
432        this.$element.trigger(d);
433        if (d.isDefaultPrevented()) return;
434        return c.removeClass("in"), a.support.transition && this.$tip.hasClass("fade") ? c.one(a.support.transition.end, e).emulateTransitionEnd(150) : e(), this.hoverState = null, this
435    }, b.prototype.fixTitle = function() {
436        var a = this.$element;
437        (a.attr("title") || typeof a.attr("data-original-title") != "string") && a.attr("data-original-title", a.attr("title") || "").attr("title", "")
438    }, b.prototype.hasContent = function() {
439        return this.getTitle()
440    }, b.prototype.getPosition = function() {
441        var b = this.$element[0];
442        return a.extend({}, typeof b.getBoundingClientRect == "function" ? b.getBoundingClientRect() : {
443            width: b.offsetWidth,
444            height: b.offsetHeight
445        }, this.$element.offset())
446    }, b.prototype.getCalculatedOffset = function(a, b, c, d) {
447        return a == "bottom" ? {
448            top: b.top + b.height,
449            left: b.left + b.width / 2 - c / 2
450        } : a == "top" ? {
451            top: b.top - d,
452            left: b.left + b.width / 2 - c / 2
453        } : a == "left" ? {
454            top: b.top + b.height / 2 - d / 2,
455            left: b.left - c
456        } : {
457            top: b.top + b.height / 2 - d / 2,
458            left: b.left + b.width
459        }
460    }, b.prototype.getTitle = function() {
461        var a, b = this.$element,
462            c = this.options;
463        return a = b.attr("data-original-title") || (typeof c.title == "function" ? c.title.call(b[0]) : c.title), a
464    }, b.prototype.tip = function() {
465        return this.$tip = this.$tip || a(this.options.template)
466    }, b.prototype.arrow = function() {
467        return this.$arrow = this.$arrow || this.tip().find(".tooltip-arrow")
468    }, b.prototype.validate = function() {
469        this.$element[0].parentNode || (this.hide(), this.$element = null, this.options = null)
470    }, b.prototype.enable = function() {
471        this.enabled = !0
472    }, b.prototype.disable = function() {
473        this.enabled = !1
474    }, b.prototype.toggleEnabled = function() {
475        this.enabled = !this.enabled
476    }, b.prototype.toggle = function(b) {
477        var c = b ? a(b.currentTarget)[this.type](this.getDelegateOptions()).data("bs." + this.type) : this;
478        c.tip().hasClass("in") ? c.leave(c) : c.enter(c)
479    }, b.prototype.destroy = function() {
480        clearTimeout(this.timeout), this.hide().$element.off("." + this.type).removeData("bs." + this.type)
481    };
482    var c = a.fn.tooltip;
483    a.fn.tooltip = function(c) {
484        return this.each(function() {
485            var d = a(this),
486                e = d.data("bs.tooltip"),
487                f = typeof c == "object" && c;
488            if (!e && c == "destroy") return;
489            e || d.data("bs.tooltip", e = new b(this, f)), typeof c == "string" && e[c]()
490        })
491    }, a.fn.tooltip.Constructor = b, a.fn.tooltip.noConflict = function() {
492        return a.fn.tooltip = c, this
493    }
494}(jQuery), + function(a) {
495    "use strict";
496    var b = function(a, b) {
497        this.init("popover", a, b)
498    };
499    if (!a.fn.tooltip) throw new Error("Popover requires tooltip.js");
500    b.DEFAULTS = a.extend({}, a.fn.tooltip.Constructor.DEFAULTS, {
501        placement: "right",
502        trigger: "click",
503        content: "",
504        template: '<div class="popover"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'
505    }), b.prototype = a.extend({}, a.fn.tooltip.Constructor.prototype), b.prototype.constructor = b, b.prototype.getDefaults = function() {
506        return b.DEFAULTS
507    }, b.prototype.setContent = function() {
508        var a = this.tip(),
509            b = this.getTitle(),
510            c = this.getContent();
511        a.find(".popover-title")[this.options.html ? "html" : "text"](b), a.find(".popover-content")[this.options.html ? typeof c == "string" ? "html" : "append" : "text"](c), a.removeClass("fade top bottom left right in"), a.find(".popover-title").html() || a.find(".popover-title").hide()
512    }, b.prototype.hasContent = function() {
513        return this.getTitle() || this.getContent()
514    }, b.prototype.getContent = function() {
515        var a = this.$element,
516            b = this.options;
517        return a.attr("data-content") || (typeof b.content == "function" ? b.content.call(a[0]) : b.content)
518    }, b.prototype.arrow = function() {
519        return this.$arrow = this.$arrow || this.tip().find(".arrow")
520    }, b.prototype.tip = function() {
521        return this.$tip || (this.$tip = a(this.options.template)), this.$tip
522    };
523    var c = a.fn.popover;
524    a.fn.popover = function(c) {
525        return this.each(function() {
526            var d = a(this),
527                e = d.data("bs.popover"),
528                f = typeof c == "object" && c;
529            if (!e && c == "destroy") return;
530            e || d.data("bs.popover", e = new b(this, f)), typeof c == "string" && e[c]()
531        })
532    }, a.fn.popover.Constructor = b, a.fn.popover.noConflict = function() {
533        return a.fn.popover = c, this
534    }
535}(jQuery), + function(a) {
536    "use strict";
537    var b = function(b) {
538        this.element = a(b)
539    };
540    b.prototype.show = function() {
541        var b = this.element,
542            c = b.closest("ul:not(.dropdown-menu)"),
543            d = b.data("target");
544        d || (d = b.attr("href"), d = d && d.replace(/.*(?=#[^\s]*$)/, ""));
545        if (b.parent("li").hasClass("active")) return;
546        var e = c.find(".active:last a")[0],
547            f = a.Event("show.bs.tab", {
548                relatedTarget: e
549            });
550        b.trigger(f);
551        if (f.isDefaultPrevented()) return;
552        var g = a(d);
553        this.activate(b.parent("li"), c), this.activate(g, g.parent(), function() {
554            b.trigger({
555                type: "shown.bs.tab",
556                relatedTarget: e
557            })
558        })
559    }, b.prototype.activate = function(b, c, d) {
560        function g() {
561            e.removeClass("active").find("> .dropdown-menu > .active").removeClass("active"), b.addClass("active"), f ? (b[0].offsetWidth, b.addClass("in")) : b.removeClass("fade"), b.parent(".dropdown-menu") && b.closest("li.dropdown").addClass("active"), d && d()
562        }
563        var e = c.find("> .active"),
564            f = d && a.support.transition && e.hasClass("fade");
565        f ? e.one(a.support.transition.end, g).emulateTransitionEnd(150) : g(), e.removeClass("in")
566    };
567    var c = a.fn.tab;
568    a.fn.tab = function(c) {
569        return this.each(function() {
570            var d = a(this),
571                e = d.data("bs.tab");
572            e || d.data("bs.tab", e = new b(this)), typeof c == "string" && e[c]()
573        })
574    }, a.fn.tab.Constructor = b, a.fn.tab.noConflict = function() {
575        return a.fn.tab = c, this
576    }, a(document).on("click.bs.tab.data-api", '[data-toggle="tab"], [data-toggle="pill"]', function(b) {
577        b.preventDefault(), a(this).tab("show")
578    })
579}(jQuery), + function(a) {
580    "use strict";
581    var b = function(c, d) {
582        this.options = a.extend({}, b.DEFAULTS, d), this.$window = a(window).on("scroll.bs.affix.data-api", a.proxy(this.checkPosition, this)).on("click.bs.affix.data-api", a.proxy(this.checkPositionWithEventLoop, this)), this.$element = a(c), this.affixed = this.unpin = this.pinnedOffset = null, this.checkPosition()
583    };
584    b.RESET = "affix affix-top affix-bottom", b.DEFAULTS = {
585        offset: 0
586    }, b.prototype.getPinnedOffset = function() {
587        if (this.pinnedOffset) return this.pinnedOffset;
588        this.$element.removeClass(b.RESET).addClass("affix");
589        var a = this.$window.scrollTop(),
590            c = this.$element.offset();
591        return this.pinnedOffset = c.top - a
592    }, b.prototype.checkPositionWithEventLoop = function() {
593        setTimeout(a.proxy(this.checkPosition, this), 1)
594    }, b.prototype.checkPosition = function() {
595        if (!this.$element.is(":visible")) return;
596        var c = a(document).height(),
597            d = this.$window.scrollTop(),
598            e = this.$element.offset(),
599            f = this.options.offset,
600            g = f.top,
601            h = f.bottom;
602        this.affixed == "top" && (e.top += d), typeof f != "object" && (h = g = f), typeof g == "function" && (g = f.top(this.$element)), typeof h == "function" && (h = f.bottom(this.$element));
603        var i = this.unpin != null && d + this.unpin <= e.top ? !1 : h != null && e.top + this.$element.height() >= c - h ? "bottom" : g != null && d <= g ? "top" : !1;
604        if (this.affixed === i) return;
605        this.unpin && this.$element.css("top", "");
606        var j = "affix" + (i ? "-" + i : ""),
607            k = a.Event(j + ".bs.affix");
608        this.$element.trigger(k);
609        if (k.isDefaultPrevented()) return;
610        this.affixed = i, this.unpin = i == "bottom" ? this.getPinnedOffset() : null, this.$element.removeClass(b.RESET).addClass(j).trigger(a.Event(j.replace("affix", "affixed"))), i == "bottom" && this.$element.offset({
611            top: c - h - this.$element.height()
612        })
613    };
614    var c = a.fn.affix;
615    a.fn.affix = function(c) {
616        return this.each(function() {
617            var d = a(this),
618                e = d.data("bs.affix"),
619                f = typeof c == "object" && c;
620            e || d.data("bs.affix", e = new b(this, f)), typeof c == "string" && e[c]()
621        })
622    }, a.fn.affix.Constructor = b, a.fn.affix.noConflict = function() {
623        return a.fn.affix = c, this
624    }, a(window).on("load", function() {
625        a('[data-spy="affix"]').each(function() {
626            var b = a(this),
627                c = b.data();
628            c.offset = c.offset || {}, c.offsetBottom && (c.offset.bottom = c.offsetBottom), c.offsetTop && (c.offset.top = c.offsetTop), b.affix(c)
629        })
630    })
631}(jQuery), + function(a) {
632    "use strict";
633    var b = function(c, d) {
634        this.$element = a(c), this.options = a.extend({}, b.DEFAULTS, d), this.transitioning = null, this.options.parent && (this.$parent = a(this.options.parent)), this.options.toggle && this.toggle()
635    };
636    b.DEFAULTS = {
637        toggle: !0
638    }, b.prototype.dimension = function() {
639        var a = this.$element.hasClass("width");
640        return a ? "width" : "height"
641    }, b.prototype.show = function() {
642        if (this.transitioning || this.$element.hasClass("in")) return;
643        var b = a.Event("show.bs.collapse");
644        this.$element.trigger(b);
645        if (b.isDefaultPrevented()) return;
646        var c = this.$parent && this.$parent.find("> .panel > .in");
647        if (c && c.length) {
648            var d = c.data("bs.collapse");
649            if (d && d.transitioning) return;
650            c.collapse("hide"), d || c.data("bs.collapse", null)
651        }
652        var e = this.dimension();
653        this.$element.removeClass("collapse").addClass("collapsing")[e](0), this.transitioning = 1;
654        var f = function() {
655            this.$element.removeClass("collapsing").addClass("collapse in")[e]("auto"), this.transitioning = 0, this.$element.trigger("shown.bs.collapse")
656        };
657        if (!a.support.transition) return f.call(this);
658        var g = a.camelCase(["scroll", e].join("-"));
659        this.$element.one(a.support.transition.end, a.proxy(f, this)).emulateTransitionEnd(350)[e](this.$element[0][g])
660    }, b.prototype.hide = function() {
661        if (this.transitioning || !this.$element.hasClass("in")) return;
662        var b = a.Event("hide.bs.collapse");
663        this.$element.trigger(b);
664        if (b.isDefaultPrevented()) return;
665        var c = this.dimension();
666        this.$element[c](this.$element[c]())[0].offsetHeight, this.$element.addClass("collapsing").removeClass("collapse").removeClass("in"), this.transitioning = 1;
667        var d = function() {
668            this.transitioning = 0, this.$element.trigger("hidden.bs.collapse").removeClass("collapsing").addClass("collapse")
669        };
670        if (!a.support.transition) return d.call(this);
671        this.$element[c](0).one(a.support.transition.end, a.proxy(d, this)).emulateTransitionEnd(350)
672    }, b.prototype.toggle = function() {
673        this[this.$element.hasClass("in") ? "hide" : "show"]()
674    };
675    var c = a.fn.collapse;
676    a.fn.collapse = function(c) {
677        return this.each(function() {
678            var d = a(this),
679                e = d.data("bs.collapse"),
680                f = a.extend({}, b.DEFAULTS, d.data(), typeof c == "object" && c);
681            !e && f.toggle && c == "show" && (c = !c), e || d.data("bs.collapse", e = new b(this, f)), typeof c == "string" && e[c]()
682        })
683    }, a.fn.collapse.Constructor = b, a.fn.collapse.noConflict = function() {
684        return a.fn.collapse = c, this
685    }, a(document).on("click.bs.collapse.data-api", "[data-toggle=collapse]", function(b) {
686        var c = a(this),
687            d, e = c.attr("data-target") || b.preventDefault() || (d = c.attr("href")) && d.replace(/.*(?=#[^\s]+$)/, ""),
688            f = a(e),
689            g = f.data("bs.collapse"),
690            h = g ? "toggle" : c.data(),
691            i = c.attr("data-parent"),
692            j = i && a(i);
693        if (!g || !g.transitioning) j && j.find('[data-toggle=collapse][data-parent="' + i + '"]').not(c).addClass("collapsed"), c[f.hasClass("in") ? "addClass" : "removeClass"]("collapsed");
694        f.collapse(h)
695    })
696}(jQuery), + function(a) {
697    function b(c, d) {
698        var e, f = a.proxy(this.process, this);
699        this.$element = a(c).is("body") ? a(window) : a(c), this.$body = a("body"), this.$scrollElement = this.$element.on("scroll.bs.scroll-spy.data-api", f), this.options = a.extend({}, b.DEFAULTS, d), this.selector = (this.options.target || (e = a(c).attr("href")) && e.replace(/.*(?=#[^\s]+$)/, "") || "") + " .nav li > a", this.offsets = a([]), this.targets = a([]), this.activeTarget = null, this.refresh(), this.process()
700    }
701    "use strict", b.DEFAULTS = {
702        offset: 10
703    }, b.prototype.refresh = function() {
704        var b = this.$element[0] == window ? "offset" : "position";
705        this.offsets = a([]), this.targets = a([]);
706        var c = this,
707            d = this.$body.find(this.selector).map(function() {
708                var d = a(this),
709                    e = d.data("target") || d.attr("href"),
710                    f = /^#./.test(e) && a(e);
711                return f && f.length && f.is(":visible") && [
712                    [f[b]().top + (!a.isWindow(c.$scrollElement.get(0)) && c.$scrollElement.scrollTop()), e]
713                ] || null
714            }).sort(function(a, b) {
715                return a[0] - b[0]
716            }).each(function() {
717                c.offsets.push(this[0]), c.targets.push(this[1])
718            })
719    }, b.prototype.process = function() {
720        var a = this.$scrollElement.scrollTop() + this.options.offset,
721            b = this.$scrollElement[0].scrollHeight || this.$body[0].scrollHeight,
722            c = b - this.$scrollElement.height(),
723            d = this.offsets,
724            e = this.targets,
725            f = this.activeTarget,
726            g;
727        if (a >= c) return f != (g = e.last()[0]) && this
727.activate(g);
728        if (f && a <= d[0]) return f != (g = e[0]) && this.activate(g);
729        for (g = d.length; g--;) f != e[g] && a >= d[g] && (!d[g + 1] || a <= d[g + 1]) && this.activate(e[g])
730    }, b.prototype.activate = function(b) {
731        this.activeTarget = b, a(this.selector).parentsUntil(this.options.target, ".active").removeClass("active");
732        var c = this.selector + '[data-target="' + b + '"],' + this.selector + '[href="' + b + '"]',
733            d = a(c).parents("li").addClass("active");
734        d.parent(".dropdown-menu").length && (d = d.closest("li.dropdown").addClass("active")), d.trigger("activate.bs.scrollspy")
735    };
736    var c = a.fn.scrollspy;
737    a.fn.scrollspy = function(c) {
738        return this.each(function() {
739            var d = a(this),
740                e = d.data("bs.scrollspy"),
741                f = typeof c == "object" && c;
742            e || d.data("bs.scrollspy", e = new b(this, f)), typeof c == "string" && e[c]()
743        })
744    }, a.fn.scrollspy.Constructor = b, a.fn.scrollspy.noConflict = function() {
745        return a.fn.scrollspy = c, this
746    }, a(window).on("load", function() {
747        a('[data-spy="scroll"]').each(function() {
748            var b = a(this);
749            b.scrollspy(b.data())
750        })
751    })
752}(jQuery), + function(a) {
753    function b() {
754        var a = document.createElement("bootstrap"),
755            b = {
756                WebkitTransition: "webkitTransitionEnd",
757                MozTransition: "transitionend",
758                OTransition: "oTransitionEnd otransitionend",
759                transition: "transitionend"
760            };
761        for (var c in b)
762            if (a.style[c] !== undefined) return {
763                end: b[c]
764            };
765        return !1
766    }
767    "use strict", a.fn.emulateTransitionEnd = function(b) {
768        var c = !1,
769            d = this;
770        a(this).one(a.support.transition.end, function() {
771            c = !0
772        });
773        var e = function() {
774            c || a(d).trigger(a.support.transition.end)
775        };
776        return setTimeout(e, b), this
777    }, a(function() {
778        a.support.transition = b()
779    })
780}(jQuery)

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.