PageSourceSearch

https://congnghieptauthuyvietnam.vn/assets/js/front_end/bootstrap.min.js

js congnghieptauthuyvietnam.vn collected 2026-10-03 00:53:14 UTC 45,737 bytes, 707 lines download raw bytes

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