1/* 2 Bootstrap v3.3.4 (http://getbootstrap.com) 3 Copyright 2011-2015 Twitter, Inc. 4 Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 5*/ 6if("undefined"===typeof jQuery)throw Error("Bootstrap's JavaScript requires jQuery");+function(c){c=c.fn.jquery.split(" ")[0].split(".");if(2>c[0]&&9>c[1]||1==c[0]&&9==c[1]&&1>c[2])throw Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher");}(jQuery); 7+function(c){function h(){var g=document.createElement("bootstrap"),e={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},b;for(b in e)if(void 0!==g.style[b])return{end:e[b]};return!1}c.fn.emulateTransitionEnd=function(g){var e=!1,b=this;c(this).one("bsTransitionEnd",function(){e=!0});setTimeout(function(){e||c(b).trigger(c.support.transition.end)},g);return this};c(function(){c.support.transition=h();c.support.transition&& 8(c.event.special.bsTransitionEnd={bindType:c.support.transition.end,delegateType:c.support.transition.end,handle:function(g){if(c(g.target).is(this))return g.handleObj.handler.apply(this,arguments)}})})}(jQuery); 9+function(c){var h=function(e){c(e).on("click",'[data-dismiss\x3d"alert"]',this.close)};h.VERSION="3.3.4";h.TRANSITION_DURATION=150;h.prototype.close=function(e){function b(){f.detach().trigger("closed.bs.alert").remove()}var a=c(this),d=a.attr("data-target");d||(d=(d=a.attr("href"))&&d.replace(/.*(?=#[^\s]*$)/,""));var f=c(d);e&&e.preventDefault();f.length||(f=a.closest(".alert"));f.trigger(e=c.Event("close.bs.alert"));e.isDefaultPrevented()||(f.removeClass("in"),c.support.transition&&f.hasClass("fade")? 10f.one("bsTransitionEnd",b).emulateTransitionEnd(h.TRANSITION_DURATION):b())};var g=c.fn.alert;c.fn.alert=function(e){return this.each(function(){var b=c(this),a=b.data("bs.alert");a||b.data("bs.alert",a=new h(this));"string"==typeof e&&a[e].call(b)})};c.fn.alert.Constructor=h;c.fn.alert.noConflict=function(){c.fn.alert=g;return this};c(document).on("click.bs.alert.data-api",'[data-dismiss\x3d"alert"]',h.prototype.close)}(jQuery); 11+function(c){function h(b){return this.each(function(){var a=c(this),d=a.data("bs.button"),f="object"==typeof b&&b;d||a.data("bs.button",d=new g(this,f));"toggle"==b?d.toggle():b&&d.setState(b)})}var g=function(b,a){this.$element=c(b);this.options=c.extend({},g.DEFAULTS,a);this.isLoading=!1};g.VERSION="3.3.4";g.DEFAULTS={loadingText:"loading..."};g.prototype.setState=function(b){var a=this.$element,d=a.is("input")?"val":"html",f=a.data();b+="Text";null==f.resetText&&a.data("resetText",a[d]());setTimeout(c.proxy(function(){a[d](null== 12f[b]?this.options[b]:f[b]);"loadingText"==b?(this.isLoading=!0,a.addClass("disabled").attr("disabled","disabled")):this.isLoading&&(this.isLoading=!1,a.removeClass("disabled").removeAttr("disabled"))},this),0)};g.prototype.toggle=function(){var b=!0,a=this.$element.closest('[data-toggle\x3d"buttons"]');if(a.length){var d=this.$element.find("input");"radio"==d.prop("type")&&(d.prop("checked")&&this.$element.hasClass("active")?b=!1:a.find(".active").removeClass("active"));b&&d.prop("checked",!this.$element.hasClass("active")).trigger("change")}else this.$element.attr("aria-pressed", 13!this.$element.hasClass("active"));b&&this.$element.toggleClass("active")};var e=c.fn.button;c.fn.button=h;c.fn.button.Constructor=g;c.fn.button.noConflict=function(){c.fn.button=e;return this};c(document).on("click.bs.button.data-api",'[data-toggle^\x3d"button"]',function(b){var a=c(b.target);a.hasClass("btn")||(a=a.closest(".btn"));h.call(a,"toggle");b.preventDefault()}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^\x3d"button"]',function(b){c(b.target).closest(".btn").toggleClass("focus", 14/^focus(in)?$/.test(b.type))})}(jQuery); 15+function(c){function h(a){return this.each(function(){var d=c(this),f=d.data("bs.carousel"),k=c.extend({},g.DEFAULTS,d.data(),"object"==typeof a&&a),l="string"==typeof a?a:k.slide;f||d.data("bs.carousel",f=new g(this,k));if("number"==typeof a)f.to(a);else if(l)f[l]();else k.interval&&f.pause().cycle()})}var g=function(a,d){this.$element=c(a);this.$indicators=this.$element.find(".carousel-indicators");this.options=d;this.$items=this.$active=this.interval=this.sliding=this.paused=null;this.options.keyboard&&
16this.$element.on("keydown.bs.carousel",c.proxy(this.keydown,this));"hover"!=this.options.pause||"ontouchstart"in document.documentElement||this.$element.on("mouseenter.bs.carousel",c.proxy(this.pause,this)).on("mouseleave.bs.carousel",c.proxy(this.cycle,this))};g.VERSION="3.3.4";g.TRANSITION_DURATION=600;g.DEFAULTS={interval:5E3,pause:"hover",wrap:!0,keyboard:!0};g.prototype.keydown=function(a){if(!/input|textarea/i.test(a.target.tagName)){switch(a.which){case 37:this.prev();break;case 39:this.next(); 17break;default:return}a.preventDefault()}};g.prototype.cycle=function(a){a||(this.paused=!1);this.interval&&clearInterval(this.interval);this.options.interval&&!this.paused&&(this.interval=setInterval(c.proxy(this.next,this),this.options.interval));return this};g.prototype.getItemIndex=function(a){this.$items=a.parent().children(".item");return this.$items.index(a||this.$active)};g.prototype.getItemForDirection=function(a,d){var f=this.getItemIndex(d);return("prev"==a&&0===f||"next"==a&&f==this.$items.length- 181)&&!this.options.wrap?d:this.$items.eq((f+("prev"==a?-1:1))%this.$items.length)};g.prototype.to=function(a){var d=this,f=this.getItemIndex(this.$active=this.$element.find(".item.active"));if(!(a>this.$items.length-1||0>a))return this.sliding?this.$element.one("slid.bs.carousel",function(){d.to(a)}):f==a?this.pause().cycle():this.slide(a>f?"next":"prev",this.$items.eq(a))};g.prototype.pause=function(a){a||(this.paused=!0);this.$element.find(".next, .prev").length&&c.support.transition&&(this.$element.trigger(c.support.transition.end), 19this.cycle(!0));this.interval=clearInterval(this.interval);return this};g.prototype.next=function(){if(!this.sliding)return this.slide("next")};g.prototype.prev=function(){if(!this.sliding)return this.slide("prev")};g.prototype.slide=function(a,d){var f=this.$element.find(".item.active"),k=d||this.getItemForDirection(a,f);d=this.interval;var l="next"==a?"left":"right",m=this;if(k.hasClass("active"))return this.sliding=!1;var n=k[0],p=c.Event("slide.bs.carousel",{relatedTarget:n,direction:l});this.$element.trigger(p); 20if(!p.isDefaultPrevented()){this.sliding=!0;d&&this.pause();this.$indicators.length&&(this.$indicators.find(".active").removeClass("active"),(p=c(this.$indicators.children()[this.getItemIndex(k)]))&&p.addClass("active"));var q=c.Event("slid.bs.carousel",{relatedTarget:n,direction:l});c.support.transition&&this.$element.hasClass("slide")?(k.addClass(a),k[0].offsetWidth,f.addClass(l),k.addClass(l),f.one("bsTransitionEnd",function(){k.removeClass([a,l].join(" ")).addClass("active");f.removeClass(["active", 21l].join(" "));m.sliding=!1;setTimeout(function(){m.$element.trigger(q)},0)}).emulateTransitionEnd(g.TRANSITION_DURATION)):(f.removeClass("active"),k.addClass("active"),this.sliding=!1,this.$element.trigger(q));d&&this.cycle();return this}};var e=c.fn.carousel;c.fn.carousel=h;c.fn.carousel.Constructor=g;c.fn.carousel.noConflict=function(){c.fn.carousel=e;return this};var b=function(a){var d,f=c(this),k=c(f.attr("data-target")||(d=f.attr("href"))&&d.replace(/.*(?=#[^\s]+$)/,""));if(k.hasClass("carousel")){d= 22c.extend({},k.data(),f.data());if(f=f.attr("data-slide-to"))d.interval=!1;h.call(k,d);f&&k.data("bs.carousel").to(f);a.preventDefault()}};c(document).on("click.bs.carousel.data-api","[data-slide]",b).on("click.bs.carousel.data-api","[data-slide-to]",b);c(window).on("load",function(){c('[data-ride\x3d"carousel"]').each(function(){var a=c(this);h.call(a,a.data())})})}(jQuery); 23+function(c){function h(a){var d;a=a.attr("data-target")||(d=a.attr("href"))&&d.replace(/.*(?=#[^\s]+$)/,"");return c(a)}function g(a){return this.each(function(){var d=c(this),f=d.data("bs.collapse"),k=c.extend({},e.DEFAULTS,d.data(),"object"==typeof a&&a);!f&&k.toggle&&/show|hide/.test(a)&&(k.toggle=!1);f||d.data("bs.collapse",f=new e(this,k));if("string"==typeof a)f[a]()})}var e=function(a,d){this.$element=c(a);this.options=c.extend({},e.DEFAULTS,d);this.$trigger=c('[data-toggle\x3d"collapse"][href\x3d"#'+ 24a.id+'"],[data-toggle\x3d"collapse"][data-target\x3d"#'+a.id+'"]');this.transitioning=null;this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger);this.options.toggle&&this.toggle()};e.VERSION="3.3.4";e.TRANSITION_DURATION=350;e.DEFAULTS={toggle:!0};e.prototype.dimension=function(){return this.$element.hasClass("width")?"width":"height"};e.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var a,d=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing"); 25if(d&&d.length&&(a=d.data("bs.collapse"))&&a.transitioning)return;var f=c.Event("show.bs.collapse");this.$element.trigger(f);if(!f.isDefaultPrevented()){d&&d.length&&(g.call(d,"hide"),a||d.data("bs.collapse",null));var k=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[k](0).attr("aria-expanded",!0);this.$trigger.removeClass("collapsed").attr("aria-expanded",!0);this.transitioning=1;a=function(){this.$element.removeClass("collapsing").addClass("collapse in")[k]("");this.transitioning= 260;this.$element.trigger("shown.bs.collapse")};if(!c.support.transition)return a.call(this);d=c.camelCase(["scroll",k].join("-"));this.$element.one("bsTransitionEnd",c.proxy(a,this)).emulateTransitionEnd(e.TRANSITION_DURATION)[k](this.$element[0][d])}}};e.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var a=c.Event("hide.bs.collapse");this.$element.trigger(a);if(!a.isDefaultPrevented()){a=this.dimension();this.$element[a](this.$element[a]())[0].offsetHeight;this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded", 27!1);this.$trigger.addClass("collapsed").attr("aria-expanded",!1);this.transitioning=1;var d=function(){this.transitioning=0;this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};if(!c.support.transition)return d.call(this);this.$element[a](0).one("bsTransitionEnd",c.proxy(d,this)).emulateTransitionEnd(e.TRANSITION_DURATION)}}};e.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()};e.prototype.getParent=function(){return c(this.options.parent).find('[data-toggle\x3d"collapse"][data-parent\x3d"'+ 28this.options.parent+'"]').each(c.proxy(function(a,d){a=c(d);this.addAriaAndCollapsedClass(h(a),a)},this)).end()};e.prototype.addAriaAndCollapsedClass=function(a,d){var f=a.hasClass("in");a.attr("aria-expanded",f);d.toggleClass("collapsed",!f).attr("aria-expanded",f)};var b=c.fn.collapse;c.fn.collapse=g;c.fn.collapse.Constructor=e;c.fn.collapse.noConflict=function(){c.fn.collapse=b;return this};c(document).on("click.bs.collapse.data-api",'[data-toggle\x3d"collapse"]',function(a){var d=c(this);d.attr("data-target")|| 29a.preventDefault();a=h(d);d=a.data("bs.collapse")?"toggle":d.data();g.call(a,d)})}(jQuery); 30+function(c){function h(a){a&&3===a.which||(c(".dropdown-backdrop").remove(),c('[data-toggle\x3d"dropdown"]').each(function(){var d=c(this),f=g(d),k={relatedTarget:this};f.hasClass("open")&&(f.trigger(a=c.Event("hide.bs.dropdown",k)),a.isDefaultPrevented()||(d.attr("aria-expanded","fal
30se"),f.removeClass("open").trigger("hidden.bs.dropdown",k)))}))}function g(a){var d=a.attr("data-target");d||(d=(d=a.attr("href"))&&/#[A-Za-z]/.test(d)&&d.replace(/.*(?=#[^\s]*$)/,""));return(d=d&&c(d))&&d.length?d: 31a.parent()}var e=function(a){c(a).on("click.bs.dropdown",this.toggle)};e.VERSION="3.3.4";e.prototype.toggle=function(a){var d=c(this);if(!d.is(".disabled, :disabled")){var f=g(d);a=f.hasClass("open");h();if(!a){if("ontouchstart"in document.documentElement&&!f.closest(".navbar-nav").length)c('\x3cdiv class\x3d"dropdown-backdrop"/\x3e').insertAfter(c(this)).on("click",h);var k={relatedTarget:this};f.trigger(a=c.Event("show.bs.dropdown",k));if(a.isDefaultPrevented())return;d.trigger("focus").attr("aria-expanded", 32"true");f.toggleClass("open").trigger("shown.bs.dropdown",k)}return!1}};e.prototype.keydown=function(a){if(/(38|40|27|32)/.test(a.which)&&!/input|textarea/i.test(a.target.tagName)){var d=c(this);a.preventDefault();a.stopPropagation();if(!d.is(".disabled, :disabled")){var f=g(d),k=f.hasClass("open");if(!k&&27!=a.which||k&&27==a.which)return 27==a.which&&f.find('[data-toggle\x3d"dropdown"]').trigger("focus"),d.trigger("click");d=f.find('[role\x3d"menu"] li:not(.disabled):visible a, [role\x3d"listbox"] li:not(.disabled):visible a'); 33d.length&&(f=d.index(a.target),38==a.which&&0<f&&f--,40==a.which&&f<d.length-1&&f++,~f||(f=0),d.eq(f).trigger("focus"))}}};var b=c.fn.dropdown;c.fn.dropdown=function(a){return this.each(function(){var d=c(this),f=d.data("bs.dropdown");f||d.data("bs.dropdown",f=new e(this));"string"==typeof a&&f[a].call(d)})};c.fn.dropdown.Constructor=e;c.fn.dropdown.noConflict=function(){c.fn.dropdown=b;return this};c(document).on("click.bs.dropdown.data-api",h).on("click.bs.dropdown.data-api",".dropdown form",function(a){a.stopPropagation()}).on("click.bs.dropdown.data-api", 34'[data-toggle\x3d"dropdown"]',e.prototype.toggle).on("keydown.bs.dropdown.data-api",'[data-toggle\x3d"dropdown"]',e.prototype.keydown).on("keydown.bs.dropdown.data-api",'[role\x3d"menu"]',e.prototype.keydown).on("keydown.bs.dropdown.data-api",'[role\x3d"listbox"]',e.prototype.keydown)}(jQuery); 35+function(c){function h(b,a){return this.each(function(){var d=c(this),f=d.data("bs.modal"),k=c.extend({},g.DEFAULTS,d.data(),"object"==typeof b&&b);f||d.data("bs.modal",f=new g(this,k));if("string"==typeof b)f[b](a);else k.show&&f.show(a)})}var g=function(b,a){this.options=a;this.$body=c(document.body);this.$element=c(b);this.$dialog=this.$element.find(".modal-dialog");this.originalBodyPad=this.isShown=this.$backdrop=null;this.scrollbarWidth=0;this.ignoreBackdropClick=!1;this.options.remote&&this.$element.find(".modal-content").load(this.options.remote, 36c.proxy(function(){this.$element.trigger("loaded.bs.modal")},this))};g.VERSION="3.3.4";g.TRANSITION_DURATION=300;g.BACKDROP_TRANSITION_DURATION=150;g.DEFAULTS={backdrop:!0,keyboard:!0,show:!0};g.prototype.toggle=function(b){return this.isShown?this.hide():this.show(b)};g.prototype.show=function(b){var a=this,d=c.Event("show.bs.modal",{relatedTarget:b});this.$element.trigger(d);this.isShown||d.isDefaultPrevented()||(this.isShown=!0,this.checkScrollbar(),this.setScrollbar(),this.$body.addClass("modal-open"), 37this.escape(),this.resize(),this.$element.on("click.dismiss.bs.modal",'[data-dismiss\x3d"modal"]',c.proxy(this.hide,this)),this.$dialog.on("mousedown.dismiss.bs.modal",function(){a.$element.one("mouseup.dismiss.bs.modal",function(f){c(f.target).is(a.$element)&&(a.ignoreBackdropClick=!0)})}),this.backdrop(function(){var f=c.support.transition&&a.$element.hasClass("fade");a.$element.parent().length||a.$element.appendTo(a.$body);a.$element.show().scrollTop(0);a.adjustDialog();f&&a.$element[0].offsetWidth; 38a.$element.addClass("in").attr("aria-hidden",!1);a.enforceFocus();var k=c.Event("shown.bs.modal",{relatedTarget:b});f?a.$dialog.one("bsTransitionEnd",function(){a.$element.trigger("focus").trigger(k)}).emulateTransitionEnd(g.TRANSITION_DURATION):a.$element.trigger("focus").trigger(k)}))};g.prototype.hide=function(b){b&&b.preventDefault();b=c.Event("hide.bs.modal");this.$element.trigger(b);this.isShown&&!b.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),c(document).off("focusin.bs.modal"), 39this.$element.removeClass("in").attr("aria-hidden",!0).off("click.dismiss.bs.modal").off("mouseup.dismiss.bs.modal"),this.$dialog.off("mousedown.dismiss.bs.modal"),c.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",c.proxy(this.hideModal,this)).emulateTransitionEnd(g.TRANSITION_DURATION):this.hideModal())};g.prototype.enforceFocus=function(){c(document).off("focusin.bs.modal").on("focusin.bs.modal",c.proxy(function(b){this.$element[0]===b.target||this.$element.has(b.target).length|| 40this.$element.trigger("focus")},this))};g.prototype.escape=function(){if(this.isShown&&this.options.keyboard)this.$element.on("key
40down.dismiss.bs.modal",c.proxy(function(b){27==b.which&&this.hide()},this));else this.isShown||this.$element.off("keydown.dismiss.bs.modal")};g.prototype.resize=function(){if(this.isShown)c(window).on("resize.bs.modal",c.proxy(this.handleUpdate,this));else c(window).off("resize.bs.modal")};g.prototype.hideModal=function(){var b=this;this.$element.hide();this.backdrop(function(){b.$body.removeClass("modal-open"); 41b.resetAdjustments();b.resetScrollbar();b.$element.trigger("hidden.bs.modal")})};g.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove();this.$backdrop=null};g.prototype.backdrop=function(b){var a=this,d=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var f=c.support.transition&&d;this.$backdrop=c('\x3cdiv class\x3d"modal-backdrop '+d+'" /\x3e').appendTo(this.$body);this.$element.on("click.dismiss.bs.modal",c.proxy(function(k){this.ignoreBackdropClick? 42this.ignoreBackdropClick=!1:k.target===k.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus():this.hide())},this));f&&this.$backdrop[0].offsetWidth;this.$backdrop.addClass("in");b&&(f?this.$backdrop.one("bsTransitionEnd",b).emulateTransitionEnd(g.BACKDROP_TRANSITION_DURATION):b())}else!this.isShown&&this.$backdrop?(this.$backdrop.removeClass("in"),d=function(){a.removeBackdrop();b&&b()},c.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",d).emulateTransitionEnd(g.BACKDROP_TRANSITION_DURATION): 43d()):b&&b()};g.prototype.handleUpdate=function(){this.adjustDialog()};g.prototype.adjustDialog=function(){var b=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&b?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!b?this.scrollbarWidth:""})};g.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})};g.prototype.checkScrollbar=function(){var b=window.innerWidth;b||(b=document.documentElement.getBoundingClientRect(), 44b=b.right-Math.abs(b.left));this.bodyIsOverflowing=document.body.clientWidth<b;this.scrollbarWidth=this.measureScrollbar()};g.prototype.setScrollbar=function(){var b=parseInt(this.$body.css("padding-right")||0,10);this.originalBodyPad=document.body.style.paddingRight||"";this.bodyIsOverflowing&&this.$body.css("padding-right",b+this.scrollbarWidth)};g.prototype.resetScrollbar=function(){this.$body.css("padding-right",this.originalBodyPad)};g.prototype.measureScrollbar=function(){var b=document.createElement("div"); 45b.className="modal-scrollbar-measure";this.$body.append(b);var a=b.offsetWidth-b.clientWidth;this.$body[0].removeChild(b);return a};var e=c.fn.modal;c.fn.modal=h;c.fn.modal.Constructor=g;c.fn.modal.noConflict=function(){c.fn.modal=e;return this};c(document).on("click.bs.modal.data-api",'[data-toggle\x3d"modal"]',function(b){var a=c(this),d=a.attr("href"),f=c(a.attr("data-target")||d&&d.replace(/.*(?=#[^\s]+$)/,""));d=f.data("bs.modal")?"toggle":c.extend({remote:!/#/.test(d)&&d},f.data(),a.data()); 46a.is("a")&&b.preventDefault();f.one("show.bs.modal",function(k){if(!k.isDefaultPrevented())f.one("hidden.bs.modal",function(){a.is(":visible")&&a.trigger("focus")})});h.call(f,d,this)})}(jQuery); 47+function(c){var h=function(e,b){this.$element=this.hoverState=this.timeout=this.enabled=this.options=this.type=null;this.init("tooltip",e,b)};h.VERSION="3.3.4";h.TRANSITION_DURATION=150;h.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'\x3cdiv class\x3d"tooltip" role\x3d"tooltip"\x3e\x3cdiv class\x3d"tooltip-arrow"\x3e\x3c/div\x3e\x3cdiv class\x3d"tooltip-inner"\x3e\x3c/div\x3e\x3c/div\x3e',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}}; 48h.prototype.init=function(e,b,a){this.enabled=!0;this.type=e;this.$element=c(b);this.options=this.getOptions(a);this.$viewport=this.options.viewport&&c(this.options.viewport.selector||this.options.viewport);if(this.$element[0]instanceof document.constructor&&!this.options.selector)throw Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");e=this.options.trigger.split(" ");for(b=e.length;b--;)if(a=e[b],"click"==a)this.$element.on("click."+this.type, 49this.options.selector,c.proxy(this.toggle,this));else if("manual"!=a){var d="hover"==a?"mouseleave":"focusout";this.$element.on(("hover"==a?"mouseenter":"focusin")+"."+this.type,this.options.selector,c.proxy(this.enter,this));this.$element.on(d+"."+this.type,this.options.selector,c.proxy(this.leave,this))}this.options.selector?this._options=c.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()};h.prototype.getDefaults=function(){return h.DEFAULTS};h.prototype.getOptions=function(e){e= 50c.extend({},this.getDefaults(),this.$element.data(),e);e.delay&&"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay});return e};h.prototype.getDelegateOptions=function(){var e={},b=this.getDefaults();this._options&&c.each(this._options,function(a,d){b[a]!=d&&(e[a]=d)});return e};h.prototype.enter=function(e){var b=e instanceof this.constructor?e:c(e.currentTarget).data("bs."+this.type);if(b&&b.$tip&&b.$tip.is(":visible"))b.hoverState="in";else{b||(b=new this.constructor(e.currentTarget, 51this.getDelegateOptions()),c(e.currentTarget).data("bs."+this.type,b));clearTimeout(b.timeout);b.hoverState="in";if(!b.options.delay||!b.options.delay.show)return b.show();b.timeout=setTimeout(function(){"in"==b.hoverState&&b.show()},b.options.delay.show)}};h.prototype.leave=function(e){var b=e instanceof this.constructor?e:c(e.currentTarget).data("bs."+this.type);b||(b=new this.constructor(e.currentTarget,this.getDelegateOptions()),c(e.currentTarget).data("bs."+this.type,b));clearTimeout(b.timeout); 52b.hoverState="out";if(!b.options.delay||!b.options.delay.hide)return b.hide();b.timeout=setTimeout(function(){"out"==b.hoverState&&b.hide()},b.options.delay.hide)};h.prototype.show=function(){var e=c.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(e);var b=c.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(!e.isDefaultPrevented()&&b){var a=this;e=this.tip();b=this.getUID(this.type);this.setContent();e.attr("id",b);this.$element.attr("aria-describedby", 53b);this.options.animation&&e.addClass("fade");b="function"==typeof this.options.placement?this.options.placement.call(this,e[0],this.$element[0]):this.options.placement;var d=/\s?auto?\s?/i,f=d.test(b);f&&(b=b.replace(d,"")||"top");e.detach().css({top:0,left:0,display:"block"}).addClass(b).data("bs."+this.type,this);this.options.container?e.appendTo(this.options.container):e.insertAfter(this.$element);d=this.getPosition();var k=e[0].offsetWidth,l=e[0].offsetHeight;if(f){f=b;var m=this.options.container? 54c(this.options.container):this.$element.parent();m=this.getPosition(m);b="bottom"==b&&d.bottom+l>m.bottom?"top":"top"==b&&d.top-l<m.top?"bottom":"right"==b&&d.right+k>m.width?"left":"left"==b&&d.left-k<m.left?"right":b;e.removeClass(f).addClass(b)}d=this.getCalculatedOffset(b,d,k,l);this.applyPlacement(d,b);b=function(){var n=a.hoverState;a.$element.trigger("shown.bs."+a.type);a.hoverState=null;"out"==n&&a.leave(a)};c.support.transition&&this.$tip.hasClass("fade")?e.one("bsTransitionEnd",b).emulateTransitionEnd(h.TRANSITION_DURATION): 55b()}}};h.prototype.applyPlacement=function(e,b){var a=this.tip(),d=a[0].offsetWidth,f=a[0].offsetHeight,k=parseInt(a.css("margin-top"),10),l=parseInt(a.css("margin-left"),10);isNaN(k)&&(k=0);isNaN(l)&&(l=0);e.top+=k;e.left+=l;c.offset.setOffset(a[0],c.extend({using:function(n){a.css({top:Math.round(n.top),left
55:Math.round(n.left)})}},e),0);a.addClass("in");k=a[0].offsetWidth;l=a[0].offsetHeight;"top"==b&&l!=f&&(e.top=e.top+f-l);var m=this.getViewportAdjustedDelta(b,e,k,l);m.left?e.left+=m.left:e.top+= 56m.top;d=(b=/top|bottom/.test(b))?2*m.left-d+k:2*m.top-f+l;f=b?"offsetWidth":"offsetHeight";a.offset(e);this.replaceArrow(d,a[0][f],b)};h.prototype.replaceArrow=function(e,b,a){this.arrow().css(a?"left":"top",50*(1-e/b)+"%").css(a?"top":"left","")};h.prototype.setContent=function(){var e=this.tip(),b=this.getTitle();e.find(".tooltip-inner")[this.options.html?"html":"text"](b);e.removeClass("fade in top bottom left right")};h.prototype.hide=function(e){function b(){"in"!=a.hoverState&&d.detach();a.$element.removeAttr("aria-describedby").trigger("hidden.bs."+ 57a.type);e&&e()}var a=this,d=c(this.$tip),f=c.Event("hide.bs."+this.type);this.$element.trigger(f);if(!f.isDefaultPrevented())return d.removeClass("in"),c.support.transition&&d.hasClass("fade")?d.one("bsTransitionEnd",b).emulateTransitionEnd(h.TRANSITION_DURATION):b(),this.hoverState=null,this};h.prototype.fixTitle=function(){var e=this.$element;(e.attr("title")||"string"!=typeof e.attr("data-original-title"))&&e.attr("data-original-title",e.attr("title")||"").attr("title","")};h.prototype.hasContent= 58function(){return this.getTitle()};h.prototype.getPosition=function(e){e=e||this.$element;var b=e[0],a="BODY"==b.tagName;b=b.getBoundingClientRect();null==b.width&&(b=c.extend({},b,{width:b.right-b.left,height:b.bottom-b.top}));var d=a?{top:0,left:0}:e.offset();e={scroll:a?document.documentElement.scrollTop||document.body.scrollTop:e.scrollTop()};a=a?{width:c(window).width(),height:c(window).height()}:null;return c.extend({},b,e,a,d)};h.prototype.getCalculatedOffset=function(e,b,a,d){return"bottom"== 59e?{top:b.top+b.height,left:b.left+b.width/2-a/2}:"top"==e?{top:b.top-d,left:b.left+b.width/2-a/2}:"left"==e?{top:b.top+b.height/2-d/2,left:b.left-a}:{top:b.top+b.height/2-d/2,left:b.left+b.width}};h.prototype.getViewportAdjustedDelta=function(e,b,a,d){var f={top:0,left:0};if(!this.$viewport)return f;var k=this.options.viewport&&this.options.viewport.padding||0,l=this.getPosition(this.$viewport);/right|left/.test(e)?(a=b.top-k-l.scroll,b=b.top+k-l.scroll+d,a<l.top?f.top=l.top-a:b>l.top+l.height&&(f.top= 60l.top+l.height-b)):(d=b.left-k,b=b.left+k+a,d<l.left?f.left=l.left-d:b>l.width&&(f.left=l.left+l.width-b));return f};h.prototype.getTitle=function(){var e=this.$element,b=this.options;return e.attr("data-original-title")||("function"==typeof b.title?b.title.call(e[0]):b.title)};h.prototype.getUID=function(e){do e+=~~(1E6*Math.random());while(document.getElementById(e));return e};h.prototype.tip=function(){return this.$tip=this.$tip||c(this.options.template)};h.prototype.arrow=function(){return this.$arrow= 61this.$arrow||this.tip().find(".tooltip-arrow")};h.prototype.enable=function(){this.enabled=!0};h.prototype.disable=function(){this.enabled=!1};h.prototype.toggleEnabled=function(){this.enabled=!this.enabled};h.prototype.toggle=function(e){var b=this;e&&(b=c(e.currentTarget).data("bs."+this.type),b||(b=new this.constructor(e.currentTarget,this.getDelegateOptions()),c(e.currentTarget).data("bs."+this.type,b)));b.tip().hasClass("in")?b.leave(b):b.enter(b)};h.prototype.destroy=function(){var e=this;clearTimeout(this.timeout); 62this.hide(function(){e.$element.off("."+e.type).removeData("bs."+e.type)})};var g=c.fn.tooltip;c.fn.tooltip=function(e){return this.each(function(){var b=c(this),a=b.data("bs.tooltip"),d="object"==typeof e&&e;if(a||!/destroy|hide/.test(e))if(a||b.data("bs.tooltip",a=new h(this,d)),"string"==typeof e)a[e]()})};c.fn.tooltip.Constructor=h;c.fn.tooltip.noConflict=function(){c.fn.tooltip=g;return this}}(jQuery); 63+function(c){var h=function(e,b){this.init("popover",e,b)};if(!c.fn.tooltip)throw Error("Popover requires tooltip.js");h.VERSION="3.3.4";h.DEFAULTS=c.extend({},c.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'\x3cdiv class\x3d"popover" role\x3d"tooltip"\x3e\x3cdiv class\x3d"arrow"\x3e\x3c/div\x3e\x3ch3 class\x3d"popover-title"\x3e\x3c/h3\x3e\x3cdiv class\x3d"popover-content"\x3e\x3c/div\x3e\x3c/div\x3e'});h.prototype=c.extend({},c.fn.tooltip.Constructor.prototype); 64h.prototype.constructor=h;h.prototype.getDefaults=function(){return h.DEFAULTS};h.prototype.setContent=function(){var e=this.tip(),b=this.getTitle(),a=this.getContent();e.find(".popover-title")[this.options.html?"html":"text"](b);e.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof a?"html":"append":"text"](a);e.removeClass("fade top bottom left right in");e.find(".popover-title").html()||e.find(".popover-title").hide()};h.prototype.hasContent=function(){return this.getTitle()|| 65this.getContent()};h.prototype.getContent=function(){var e=this.$element,b=this.options;return e.attr("data-content")||("function"==typeof b.content?b.content.call(e[0]):b.content)};h.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var g=c.fn.popover;c.fn.popover=function(e){return this.each(function(){var b=c(this),a=b.data("bs.popover"),d="object"==typeof e&&e;if(a||!/destroy|hide/.test(e))if(a||b.data("bs.popover",a=new h(this,d)),"string"==typeof e)a[e]()})}; 66c.fn.popover.Constructor=h;c.fn.popover.noConflict=function(){c.fn.popover=g;return this}}(jQuery); 67+function(c){function h(b,a){this.$body=c(document.body);this.$scrollElement=c(b).is(document.body)?c(window):c(b);this.options=c.extend({},h.DEFAULTS,a);this.selector=(this.options.target||"")+" .nav li \x3e a";this.offsets=[];this.targets=[];this.activeTarget=null;this.scrollHeight=0;this.$scrollElement.on("scroll.bs.scrollspy",c.proxy(this.process,this));this.refresh();this.process()}function g(b){return this.each(function(){var a=c(this),d=a.data("bs.scrollspy"),f="object"==typeof b&&b;d||a.data("bs.scrollspy", 68d=new h(this,f));if("string"==typeof b)d[b]()})}h.VERSION="3.3.4";h.DEFAULTS={offset:10};h.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)};h.prototype.refresh=function(){var b=this,a="offset",d=0;this.offsets=[];this.targets=[];this.scrollHeight=this.getScrollHeight();c.isWindow(this.$scrollElement[0])||(a="position",d=this.$scrollElement.scrollTop());this.$body.find(this.selector).map(function(){var f= 69c(this);f=f.data("target")||f.attr("href");var k=/^#./.test(f)&&c(f);return k&&k.length&&k.is(":visible")&&[[k[a]().top+d,f]]||null}).sort(function(f,k){return f[0]-k[0]}).each(function(){b.offsets.push(this[0]);b.targets.push(this[1])})};h.prototype.process=function(){var b=this.$scrollElement.scrollTop()+this.options.offset,a=this.getScrollHeight(),d=this.options.offset+a-this.$scrollElement.height(),f=this.offsets,k=this.targets,l=this.activeTarget,m;this.scrollHeight!=a&&this.refresh();if(b>= 70d)return l!=(m=k[k.length-1])&&this.activate(m);if(l&&b<f[0])return this.activeTarget=null,this.clear();for(m=f.length;m--;)l!=k[m]&&b>=f[m]&&(void 0===f[m+1]||b<f[m+1])&&this.activate(k[m])};h.prototype.activate=function(b){this.activeTarget=b;this.clear();b=c(this.selector+'[data-target\x3d"'+b+'"],'+this.selector+'[href\x3d"'+b+'"]').parents("li").addClass("active");b.parent(".dropdown-menu").length&&(b=b.closest("li.dropdown").addClass("active"));b.trigger("activate.bs.scrollspy")};h.prototype.clear= 71function(){c(this.selector).parentsUntil(this.options.target,".active").removeClass("active")};var e=c.fn.scrollspy;c.fn.scrollspy=g;c.fn.scrollspy.Constructor=h;c.fn.scrollspy.noConflict=function(){c.fn.scrollspy=e;return this};c(window).on("load.bs.scrollspy.data-api",function(){c('[data-spy\x3d"scroll"]').each(function(){var b=c(this);g.call(b,b.data())})})}(jQuery); 72+function(c){function h(a){return this.each(function(){var d=c(this),f=d.data("bs.tab");f||d.data("bs.tab",f=new g(this));if("string"==typeof a)f[a]()})}var g=function(a){this.element=c(a)};g.VERSION="3.3.4";g.TRANSITION_DURATION=150;g.prototype.show=function(){var a=this.element,d=a.closest("ul:not(.dropdown-menu)"),f=a.data("target");f||(f=(f=a.attr("href"))&&f.replace(/.*(?=#[^\s]*$)/,""));if(!a.parent("li").hasClass("active")){var k=d.find(".active:last a"),l=c.Event("hide.bs.tab",{relatedTarget:a[0]}), 73m=c.Event("show.bs.tab",{relatedTarget:k[0]});k.trigger(l);a.trigger(m);m.isDefaultPrevented()||l.isDefaultPrevented()||(f=c(f),this.activate(a.closest("li"),d),this.activate(f,f.parent(),function(){k.trigger({type:"hidden.bs.tab",relatedTarget:a[0]});a.trigger({type:"shown.bs.tab",relatedTarget:k[0]})}))}};g.prototype.activate=function(a,d,f){function k(){l.removeClass("active").find("\x3e .dropdown-menu \x3e .active").removeClass("active").end().find('[data-toggle\x3d"tab"]').attr("aria-expanded", 74!1);a.addClass("active").find('[data-toggle\x3d"tab"]').attr("aria-expanded",!0);m?(a[0].offsetWidth,a.addClass("in")):a.removeClass("fade");a.parent(".dropdown-menu").length&&a.closest("li.dropdown").addClass("active").end().find('[data-toggle\x3d"tab"]').attr("aria-expanded",!0);f&&f()}var l=d.find("\x3e .active"),m=f&&c.support.transition&&(l.length&&l.hasClass("fade")||!!d.find("\x3e .fade").length);l.length&&m?l.one("bsTransitionEnd",k).emulateTransitionEnd(g.TRANSITION_DURATION):k();l.removeClass("in")}; 75var e=c.fn.tab;c.fn.tab=h;c.fn.tab.Constructor=g;c.fn.tab.noConflict=function(){c.fn.tab=e;return this};var b=function(a){a.preventDefault();h.call(c(this),"show")};c(document).on("click.bs.tab.data-api",'[data-toggle\x3d"tab"]',b).on("click.bs.tab.data-api",'[data-toggle\x3d"pill"]',b)}(jQuery); 76+function(c){function h(b){return this.each(function(){var a=c(this),d=a.data("bs.affix"),f="object"==typeof b&&b;d||a.data("bs.affix",d=new g(this,f));if("string"==typeof b)d[b]()})}var g=function(b,a){this.options=c.extend({},g.DEFAULTS,a);this.$target=c(this.options.target).on("scroll.bs.affix.data-api",c.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",c.proxy(this.checkPositionWithEventLoop,this));this.$element=c(b);this.pinnedOffset=this.unpin=this.affixed=null;this.checkPosition()}; 77g.VERSION="3.3.4";g.RESET="affix affix-top affix-bottom";g.DEFAULTS={offset:0,target:window};g.prototype.getState=function(b,a,d,f){var k=this.$target.scrollTop(),l=this.$element.offset(),m=this.$target.height();if(null!=d&&"top"==this.affixed)return k<d?"top":!1;if("bottom"==this.affixed)return null!=d?k+this.unpin<=l.top?!1:"bottom":k+m<=b-f?!1:"bottom";var n=null==this.affixed;l=n?k:l.top;return null!=d&&k<=d?"top":null!=f&&l+(n?m:a)>=b-f?"bottom":!1};g.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset; 78this.$element.removeClass(g.RESET).addClass("affix");var b=this.$target.scrollTop();return this.pinnedOffset=this.$element.offset().top-b};g.prototype.checkPositionWithEventLoop=function(){setTimeout(c.proxy(this.checkPosition,this),1)};g.prototype.checkPosition=function(){if(this.$element.is(":visible")){var b=this.$element.height(),a=this.options.offset,d=a.top,f=a.bottom,k=c(document.body).height();"object"!=typeof a&&(f=d=a);"function"==typeof d&&(d=a.top(this.$element));"function"==typeof f&& 79(f=a.bottom(this.$element));a=this.getState(k,b,d,f);
79if(this.affixed!=a){null!=this.unpin&&this.$element.css("top","");d="affix"+(a?"-"+a:"");var l=c.Event(d+".bs.affix");this.$element.trigger(l);if(l.isDefaultPrevented())return;this.affixed=a;this.unpin="bottom"==a?this.getPinnedOffset():null;this.$element.removeClass(g.RESET).addClass(d).trigger(d.replace("affix","affixed")+".bs.affix")}"bottom"==a&&this.$element.offset({top:k-b-f})}};var e=c.fn.affix;c.fn.affix=h;c.fn.affix.Constructor=g;c.fn.affix.noConflict= 80function(){c.fn.affix=e;return this};c(window).on("load",function(){c('[data-spy\x3d"affix"]').each(function(){var b=c(this),a=b.data();a.offset=a.offset||{};null!=a.offsetBottom&&(a.offset.bottom=a.offsetBottom);null!=a.offsetTop&&(a.offset.top=a.offsetTop);h.call(b,a)})})}(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.