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