/*! * bootstrap v3.3.1 (http://getbootstrap.com) * copyright 2011-2014 twitter, inc. * licensed under mit (https://github.com/twbs/bootstrap/blob/master/license) */ if ("undefined" == typeof jquery) throw new error("bootstrap's javascript requires jquery"); + function(a) { var b = a.fn.jquery.split(" ")[0].split("."); 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") } (jquery), + function(a) { "use strict"; function b() { var a = document.createelement("bootstrap"), b = { webkittransition: "webkittransitionend", moztransition: "transitionend", otransition: "otransitionend otransitionend", transition: "transitionend" }; for (var c in b) if (void 0 !== a.style[c]) return { end: b[c] }; return ! 1 } a.fn.emulatetransitionend = function(b) { var c = !1, d = this; a(this).one("bstransitionend", function() { c = !0 }); var e = function() { c || a(d).trigger(a.support.transition.end) }; return settimeout(e, b), this }, a(function() { a.support.transition = b(), a.support.transition && (a.event.special.bstransitionend = { bindtype: a.support.transition.end, delegatetype: a.support.transition.end, handle: function(b) { return a(b.target).is(this) ? b.handleobj.handler.apply(this, arguments) : void 0 } }) }) } (jquery), + function(a) { "use strict"; function b(b) { return this.each(function() { var c = a(this), e = c.data("bs.alert"); e || c.data("bs.alert", e = new d(this)), "string" == typeof b && e[b].call(c) }) } var c = '[data-dismiss="alert"]', d = function(b) { a(b).on("click", c, this.close) }; d.version = "3.3.1", d.transition_duration = 150, d.prototype.close = function(b) { function c() { g.detach().trigger("closed.bs.alert").remove() } var e = a(this), f = e.attr("data-target"); f || (f = e.attr("href"), f = f && f.replace(/.*(?=#[^\s]*$)/, "")); var g = a(f); 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()) }; var e = a.fn.alert; a.fn.alert = b, a.fn.alert.constructor = d, a.fn.alert.noconflict = function() { return a.fn.alert = e, this }, a(document).on("click.bs.alert.data-api", c, d.prototype.close) } (jquery), + function(a) { "use strict"; function b(b) { return this.each(function() { var d = a(this), e = d.data("bs.button"), f = "object" == typeof b && b; e || d.data("bs.button", e = new c(this, f)), "toggle" == b ? e.toggle() : b && e.setstate(b) }) } var c = function(b, d) { this.$element = a(b), this.options = a.extend({}, c.defaults, d), this.isloading = !1 }; c.version = "3.3.1", c.defaults = { loadingtext: "loading..." }, c.prototype.setstate = function(b) { var c = "disabled", d = this.$element, e = d.is("input") ? "val": "html", f = d.data(); b += "text", null == f.resettext && d.data("resettext", d[e]()), settimeout(a.proxy(function() { 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)) }, this), 0) }, c.prototype.toggle = function() { var a = !0, b = this.$element.closest('[data-toggle="buttons"]'); if (b.length) { var c = this.$element.find("input"); "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") } else this.$element.attr("aria-pressed", !this.$element.hasclass("active")); a && this.$element.toggleclass("active") }; var d = a.fn.button; a.fn.button = b, a.fn.button.constructor = c, a.fn.button.noconflict = function() { return a.fn.button = d, this }, a(document).on("click.bs.button.data-api", '[data-toggle^="button"]', function(c) { var d = a(c.target); d.hasclass("btn") || (d = d.closest(".btn")), b.call(d, "toggle"), c.preventdefault() }).on("focus.bs.button.data-api blur.bs.button.data-api", '[data-toggle^="button"]', function(b) { a(b.target).closest(".btn").toggleclass("focus", /^focus(in)?$/.test(b.type)) }) } (jquery), + function(a) { "use strict"; function b(b) { return this.each(function() { 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; e || d.data("bs.carousel", e = new c(this, f)), "number" == typeof b ? e.to(b) : g ? e[g]() : f.interval && e.pause().cycle() }) } var c = function(b, c) { 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)) }; c.version = "3.3.1", c.transition_duration = 600, c.defaults = { interval: 5e3, pause: "hover", wrap: !0, keyboard: !0 }, c.prototype.keydown = function(a) { if (!/input|textarea/i.test(a.target.tagname)) { switch (a.which) { case 37: this.prev(); break; case 39: this.next(); break; default: return } a.preventdefault() } }, c.prototype.cycle = function(b) { 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 }, c.prototype.getitemindex = function(a) { return this.$items = a.parent().children(".item"), this.$items.index(a || this.$active) }, c.prototype.getitemfordirection = function(a, b) { var c = "prev" == a ? -1 : 1, d = this.getitemindex(b), e = (d + c) % this.$items.length; return this.$items.eq(e) }, c.prototype.to = function(a) { var b = this, c = this.getitemindex(this.$active = this.$element.find(".item.active")); return a > this.$items.length - 1 || 0 > a ? void 0 : this.sliding ? this.$element.one("slid.bs.carousel", function() { b.to(a) }) : c == a ? this.pause().cycle() : this.slide(a > c ? "next": "prev", this.$items.eq(a)) }, c.prototype.pause = function(b) { 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 }, c.prototype.next = function() { return this.sliding ? void 0 : this.slide("next") }, c.prototype.prev = function() { return this.sliding ? void 0 : this.slide("prev") }, c.prototype.slide = function(b, d) { 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; if (!f.length) { if (!this.options.wrap) return; f = this.$element.find(".item")[i]() } if (f.hasclass("active")) return this.sliding = !1; var k = f[0], l = a.event("slide.bs.carousel", { relatedtarget: k, direction: h }); if (this.$element.trigger(l), !l.isdefaultprevented()) { if (this.sliding = !0, g && this.pause(), this.$indicators.length) { this.$indicators.find(".active").removeclass("active"); var m = a(this.$indicators.children()[this.getitemindex(f)]); m && m.addclass("active") } var n = a.event("slid.bs.carousel", { relatedtarget: k, direction: h }); return a.support.transition && this.$element.hasclass("slide") ? (f.addclass(b), f[0].offsetwidth, e.addclass(h), f.addclass(h), e.one("bstransitionend", function() { f.removeclass([b, h].join(" ")).addclass("active"), e.removeclass(["active", h].join(" ")), j.sliding = !1, settimeout(function() { j.$element.trigger(n) }, 0) }).emulatetransitionend(c.transition_duration)) : (e.removeclass("active"), f.addclass("active"), this.sliding = !1, this.$element.trigger(n)), g && this.cycle(), this } }; var d = a.fn.carousel; a.fn.carousel = b, a.fn.carousel.constructor = c, a.fn.carousel.noconflict = function() { return a.fn.carousel = d, this }; var e = function(c) { var d, e = a(this), f = a(e.attr("data-target") || (d = e.attr("href")) && d.replace(/.*(?=#[^\s]+$)/, "")); if (f.hasclass("carousel")) { var g = a.extend({}, f.data(), e.data()), h = e.attr("data-slide-to"); h && (g.interval = !1), b.call(f, g), h && f.data("bs.carousel").to(h), c.preventdefault() } }; 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() { a('[data-ride="carousel"]').each(function() { var c = a(this); b.call(c, c.data()) }) }) } (jquery), + function(a) { "use strict"; function b(b) { var c, d = b.attr("data-target") || (c = b.attr("href")) && c.replace(/.*(?=#[^\s]+$)/, ""); return a(d) } function c(b) { return this.each(function() { var c = a(this), e = c.data("bs.collapse"), f = a.extend({}, d.defaults, c.data(), "object" == typeof b && b); ! e && f.toggle && "show" == b && (f.toggle = !1), e || c.data("bs.collapse", e = new d(this, f)), "string" == typeof b && e[b]() }) } var d = function(b, c) { 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() }; d.version = "3.3.1", d.transition_duration = 350, d.defaults = { toggle: !0, trigger: '[data-toggle="collapse"]' }, d.prototype.dimension = function() { var a = this.$element.hasclass("width"); return a ? "width": "height" }, d.prototype.show = function() { if (!this.transitioning && !this.$element.hasclass("in")) { var b, e = this.$parent && this.$parent.find("> .panel").children(".in, .collapsing"); if (! (e && e.length && (b = e.data("bs.collapse"), b && b.transitioning))) { var f = a.event("show.bs.collapse"); if (this.$element.trigger(f), !f.isdefaultprevented()) { e && e.length && (c.call(e, "hide"), b || e.data("bs.collapse", null)); var g = this.dimension(); this.$element.removeclass("collapse").addclass("collapsing")[g](0).attr("aria-expanded", !0), this.$trigger.removeclass("collapsed").attr("aria-expanded", !0), this.transitioning = 1; var h = function() { this.$element.removeclass("collapsing").addclass("collapse in")[g](""), this.transitioning = 0, this.$element.trigger("shown.bs.collapse") }; if (!a.support.transition) return h.call(this); var i = a.camelcase(["scroll", g].join("-")); this.$element.one("bstransitionend", a.proxy(h, this)).emulatetransitionend(d.transition_duration)[g](this.$element[0][i]) } } } }, d.prototype.hide = function() { if (!this.transitioning && this.$element.hasclass("in")) { var b = a.event("hide.bs.collapse"); if (this.$element.trigger(b), !b.isdefaultprevented()) { var c = this.dimension(); 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; var e = function() { this.transitioning = 0, this.$element.removeclass("collapsing").addclass("collapse").trigger("hidden.bs.collapse") }; return a.support.transition ? void this.$element[c](0).one("bstransitionend", a.proxy(e, this)).emulatetransitionend(d.transition_duration) : e.call(this) } } }, d.prototype.toggle = function() { this[this.$element.hasclass("in") ? "hide": "show"]() }, d.prototype.getparent = function() { return a(this.options.parent).find('[data-toggle="collapse"][data-parent="' + this.options.parent + '"]').each(a.proxy(function(c, d) { var e = a(d); this.addariaandcollapsedclass(b(e), e) }, this)).end() }, d.prototype.addariaandcollapsedclass = function(a, b) { var c = a.hasclass("in"); a.attr("aria-expanded", c), b.toggleclass("collapsed", !c).attr("aria-expanded", c) }; var e = a.fn.collapse; a.fn.collapse = c, a.fn.collapse.constructor = d, a.fn.collapse.noconflict = function() { return a.fn.collapse = e, this }, a(document).on("click.bs.collapse.data-api", '[data-toggle="collapse"]', function(d) { var e = a(this); e.attr("data-target") || d.preventdefault(); var f = b(e), g = f.data("bs.collapse"), h = g ? "toggle": a.extend({}, e.data(), { trigger: this }); c.call(f, h) }) } (jquery), + function(a) { "use strict"; function b(b) { b && 3 === b.which || (a(e).remove(), a(f).each(function() { var d = a(this), e = c(d), f = { relatedtarget: this }; 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))) })) } function c(b) { var c = b.attr("data-target"); c || (c = b.attr("href"), c = c && /#[a-za-z]/.test(c) && c.replace(/.*(?=#[^\s]*$)/, "")); var d = c && a(c); return d && d.length ? d: b.parent() } function d(b) { return this.each(function() { var c = a(this), d = c.data("bs.dropdown"); d || c.data("bs.dropdown", d = new g(this)), "string" == typeof b && d[b].call(c) }) } var e = ".dropdown-backdrop", f = '[data-toggle="dropdown"]', g = function(b) { a(b).on("click.bs.dropdown", this.toggle) }; g.version = "3.3.1", g.prototype.toggle = function(d) { var e = a(this); if (!e.is(".disabled, :disabled")) { var f = c(e), g = f.hasclass("open"); if (b(), !g) { "ontouchstart" in document.documentelement && !f.closest(".navbar-nav").length && a('
').insertafter(a(this)).on("click", b); var h = { relatedtarget: this }; if (f.trigger(d = a.event("show.bs.dropdown", h)), d.isdefaultprevented()) return; e.trigger("focus").attr("aria-expanded", "true"), f.toggleclass("open").trigger("shown.bs.dropdown", h) } return ! 1 } }, g.prototype.keydown = function(b) { if (/(38|40|27|32)/.test(b.which) && !/input|textarea/i.test(b.target.tagname)) { var d = a(this); if (b.preventdefault(), b.stoppropagation(), !d.is(".disabled, :disabled")) { var e = c(d), g = e.hasclass("open"); if (!g && 27 != b.which || g && 27 == b.which) return 27 == b.which && e.find(f).trigger("focus"), d.trigger("click"); var h = " li:not(.divider):visible a", i = e.find('[role="menu"]' + h + ', [role="listbox"]' + h); if (i.length) { var j = i.index(b.target); 38 == b.which && j > 0 && j--, 40 == b.which && j < i.length - 1 && j++, ~j || (j = 0), i.eq(j).trigger("focus") } } } }; var h = a.fn.dropdown; a.fn.dropdown = d, a.fn.dropdown.constructor = g, a.fn.dropdown.noconflict = function() { return a.fn.dropdown = h, this }, a(document).on("click.bs.dropdown.data-api", b).on("click.bs.dropdown.data-api", ".dropdown form", function(a) { a.stoppropagation() }).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) } (jquery), + function(a) { "use strict"; function b(b, d) { return this.each(function() { var e = a(this), f = e.data("bs.modal"), g = a.extend({}, c.defaults, e.data(), "object" == typeof b && b); f || e.data("bs.modal", f = new c(this, g)), "string" == typeof b ? f[b](d) : g.show && f.show(d) }) } var c = function(b, c) { 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() { this.$element.trigger("loaded.bs.modal") }, this)) }; 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) { return this.isshown ? this.hide() : this.show(a) }, c.prototype.show = function(b) { var d = this, e = a.event("show.bs.modal", { relatedtarget: b }); 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() { var e = a.support.transition && d.$element.hasclass("fade"); 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(); var f = a.event("shown.bs.modal", { relatedtarget: b }); e ? d.$element.find(".modal-dialog").one("bstransitionend", function() { d.$element.trigger("focus").trigger(f) }).emulatetransitionend(c.transition_duration) : d.$element.trigger("focus").trigger(f) })) }, c.prototype.hide = function(b) { 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()) }, c.prototype.enforcefocus = function() { a(document).off("focusin.bs.modal").on("focusin.bs.modal", a.proxy(function(a) { this.$element[0] === a.target || this.$element.has(a.target).length || this.$element.trigger("focus") }, this)) }, c.prototype.escape = function() { this.isshown && this.options.keyboard ? this.$element.on("keydown.dismiss.bs.modal", a.proxy(function(a) { 27 == a.which && this.hide() }, this)) : this.isshown || this.$element.off("keydown.dismiss.bs.modal") }, c.prototype.resize = function() { this.isshown ? a(window).on("resize.bs.modal", a.proxy(this.handleupdate, this)) : a(window).off("resize.bs.modal") }, c.prototype.hidemodal = function() { var a = this; this.$element.hide(), this.backdrop(function() { a.$body.removeclass("modal-open"), a.resetadjustments(), a.resetscrollbar(), a.$element.trigger("hidden.bs.modal") }) }, c.prototype.removebackdrop = function() { this.$backdrop && this.$backdrop.remove(), this.$backdrop = null }, c.prototype.backdrop = function(b) { var d = this, e = this.$element.hasclass("fade") ? "fade": ""; if (this.isshown && this.options.backdrop) { var f = a.support.transition && e; if (this.$backdrop = a('').prependto(this.$element).on("click.dismiss.bs.modal", a.proxy(function(a) { a.target === a.currenttarget && ("static" == this.options.backdrop ? this.$element[0].focus.call(this.$element[0]) : this.hide.call(this)) }, this)), f && this.$backdrop[0].offsetwidth, this.$backdrop.addclass("in"), !b) return; f ? this.$backdrop.one("bstransitionend", b).emulatetransitionend(c.backdrop_transition_duration) : b() } else if (!this.isshown && this.$backdrop) { this.$backdrop.removeclass("in"); var g = function() { d.removebackdrop(), b && b() }; a.support.transition && this.$element.hasclass("fade") ? this.$backdrop.one("bstransitionend", g).emulatetransitionend(c.backdrop_transition_duration) : g() } else b && b() }, c.prototype.handleupdate = function() { this.options.backdrop && this.adjustbackdrop(), this.adjustdialog() }, c.prototype.adjustbackdrop = function() { this.$backdrop.css("height", 0).css("height", this.$element[0].scrollheight) }, c.prototype.adjustdialog = function() { var a = this.$element[0].scrollheight > document.documentelement.clientheight; this.$element.css({ paddingleft: !this.bodyisoverflowing && a ? this.scrollbarwidth: "", paddingright: this.bodyisoverflowing && !a ? this.scrollbarwidth: "" }) }, c.prototype.resetadjustments = function() { this.$element.css({ paddingleft: "", paddingright: "" }) }, c.prototype.checkscrollbar = function() { this.bodyisoverflowing = document.body.scrollheight > document.documentelement.clientheight, this.scrollbarwidth = this.measurescrollbar() }, c.prototype.setscrollbar = function() { var a = parseint(this.$body.css("padding-right") || 0, 10); this.bodyisoverflowing && this.$body.css("padding-right", a + this.scrollbarwidth) }, c.prototype.resetscrollbar = function() { this.$body.css("padding-right", "") }, c.prototype.measurescrollbar = function() { var a = document.createelement("div"); a.classname = "modal-scrollbar-measure", this.$body.append(a); var b = a.offsetwidth - a.clientwidth; return this.$body[0].removechild(a), b }; var d = a.fn.modal; a.fn.modal = b, a.fn.modal.constructor = c, a.fn.modal.noconflict = function() { return a.fn.modal = d, this }, a(document).on("click.bs.modal.data-api", '[data-toggle="modal"]', function(c) { 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()); d.is("a") && c.preventdefault(), f.one("show.bs.modal", function(a) { a.isdefaultprevented() || f.one("hidden.bs.modal", function() { d.is(":visible") && d.trigger("focus") }) }), b.call(f, g, this) }) } (jquery), + function(a) { "use strict"; function b(b) { return this.each(function() { var d = a(this), e = d.data("bs.tooltip"), f = "object" == typeof b && b, g = f && f.selector; (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]()) }) } var c = function(a, b) { this.type = this.options = this.enabled = this.timeout = this.hoverstate = this.$element = null, this.init("tooltip", a, b) }; c.version = "3.3.1", c.transition_duration = 150, c.defaults = { animation: !0, placement: "top", selector: !1, template: '